/* 弹窗遮罩 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.2s ease;
}

.modal-overlay.active {
    display: flex;
}

/* 弹窗主体 */
.modal-box {
    background: #ffffff;
    border-radius: 20px;
    width: 400px;
    max-width: 92vw;
    padding: 28px 28px 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    animation: slideUp 0.25s ease;
    position: relative;
}

/* 选项卡导航 */
.info-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #eef2f7;
    margin-bottom: 20px;
}

.info-tabs .tab-item {
    padding: 10px 20px;
    font-size: 15px;
    color: #7b8ba3;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: 0.2s;
    font-weight: 500;
}

.info-tabs .tab-item:hover {
    color: #1f2a3a;
}

.info-tabs .tab-item.active {
    color: #1f6fb5;
    border-bottom-color: #1f6fb5;
}

/* 选项卡内容容器 */
.tab-content {
    min-height: 220px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.2s ease;
}

.tab-pane.active {
    display: block;
}

/* 概览 - 信息列表 */
.info-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f2f5f9;
    font-size: 15px;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: #6a7b8c;
}

.info-item .info-value {
    background: #e8ecf0;
    padding: 2px 12px;
    border-radius: 12px;
    font-size: 13px;
}
/* 密码表单 */
.password-form .form-group {
    margin-bottom: 16px;
}

.password-form .form-group label {
    display: block;
    font-size: 14px;
    color: #6a7b8c;
    margin-bottom: 4px;
    font-weight: 500;
}

.password-form .form-group input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #dce3ed;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    transition: 0.2s;
    background: #fafcff;
}

.password-form .form-group input:focus {
    border-color: #1f6fb5;
    box-shadow: 0 0 0 3px rgba(31, 111, 181, 0.12);
}

.password-form .submit-btn {
    width: 100%;
    padding: 11px;
    background: #1f6fb5;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    margin-top: 4px;
}

.password-form .submit-btn:hover {
    background: #175a94;
}

/* 底部按钮 */
.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #eef2f7;
}

.modal-btn {
    padding: 8px 22px;
    border-radius: 30px;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
}

.modal-btn.cancel {
    background: #f0f4fe;
    color: #3a4a5e;
}

.modal-btn.cancel:hover {
    background: #e3ecfa;
}

.modal-btn.danger {
    background: #fde8e8;
    color: #b33a3a;
}

.modal-btn.danger:hover {
    background: #fcd5d5;
}

/* 简单动画 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 480px) {
    .modal-box {
        padding: 20px 16px 18px;
    }
    .info-tabs .tab-item {
        padding: 8px 14px;
        font-size: 14px;
    }
    .info-item {
        font-size: 14px;
    }
}