.flex{
    display: flex;
}
.flex1{
    flex: 1;
}
.flex-start{
    display: flex;
    align-items: center;
}
.flex-end{
    display: flex;
    flex-direction: row-reverse;
}
.flex-center{
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-between{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-around{
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.main{
    padding: 10px;
    margin-bottom: 10px;
}
.card{
    padding: 15px;
    border-radius: 10px;
    background: #fff;
    margin-bottom: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.box-shadow{
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.margin-b-10{
    margin-bottom: 10px;
}
.ellipsis{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*background-color: white;*/
    padding: 20px;
    border-radius: 8px;
    z-index: 1001; /* 比蒙版更高 */
    display: none; /* 默认隐藏 */
}
.overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px); /* 毛玻璃效果 */
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.nav{
    background: #fff;
    padding: 10px;
    color: #666;
}

.empty{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.empty img{
    width: 200px;
}