/* 专业金融级会员页面样?*/

.member-main {
    min-height: calc(100vh - 80px);
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 2rem 0;
}

.member-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 2rem;
    grid-template-areas: 
        "user-overview assets-overview assets-overview"
        "trading-stats trading-stats trading-stats"
        "recent-trades recent-trades quick-actions"
        "security-settings security-settings security-settings";
}

/* 会员卡片基础样式 */
.member-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.member-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.card-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-header h3 i {
    font-size: 1.1rem;
}

.card-content {
    padding: 1.5rem;
}

/* 用户概览卡片 */
.user-overview {
    grid-area: user-overview;
}

.user-status {
    display: flex;
    gap: 0.5rem;
}

.status-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.status-badge.verified {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.status-badge.active {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.status-badge.pending {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.status-badge.inactive {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.status-badge.rejected {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.user-info-grid {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.user-avatar-large {
    flex-shrink: 0;
}

.avatar-placeholder {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.user-details-large h4 {
    margin: 0 0 0.5rem 0;
    color: #1f2937;
    font-size: 1.4rem;
    font-weight: 600;
}

.user-email {
    color: #6b7280;
    margin: 0 0 1rem 0;
    font-size: 0.95rem;
}

.user-info-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.info-item:last-child {
    border-bottom: none;
}

.info-item i {
    width: 16px;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.info-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    min-width: 80px;
}

.info-value {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 600;
    flex: 1;
}

/* 用户等级特殊样式 */
#userLevel {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* 导航栏用户等级样?*/
.user-level {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    font-size: 0.9rem;
}

.stat-label {
    color: #6b7280;
    font-size: 0.8rem;
    font-weight: 500;
}

.stat-value {
    color: #1f2937;
    font-size: 1rem;
    font-weight: 600;
}

/* 数字资产概览 */
.assets-overview {
    grid-area: assets-overview;
}

.asset-actions {
    display: flex;
    gap: 0.5rem;
}

.btn {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-outline {
    background: transparent;
    color: #374151;
    border: 2px solid #d1d5db;
    font-weight: 600;
}

.btn-outline:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
    color: #1f2937;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.assets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.asset-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.asset-item:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.asset-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.asset-icon.btc {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.asset-icon.eth {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.asset-icon.ltc {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
}

.asset-icon.wbtc {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.asset-info {
    flex: 1;
}

.asset-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.asset-balance {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.asset-value {
    font-size: 0.9rem;
    color: #6b7280;
}

.asset-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background: white;
    color: #6b7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

/* 交易统计 */
.trading-stats {
    grid-area: trading-stats;
}

.time-filter select {
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.9rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.stat-content {
    flex: 1;
}

.stat-label {
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.stat-value {
    color: #1f2937;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-change {
    font-size: 0.8rem;
    font-weight: 500;
}

.stat-change.positive {
    color: #059669;
}

.stat-change.negative {
    color: #dc2626;
}

.stat-change.neutral {
    color: #6b7280;
}

/* 最近交?*/
.recent-trades {
    grid-area: recent-trades;
}

.view-all {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.view-all:hover {
    opacity: 1;
}

.trades-list {
    max-height: 300px;
    overflow-y: auto;
}

.no-trades {
    text-align: center;
    color: #6b7280;
    padding: 3rem 1rem;
}

.no-trades i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.trade-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.3s ease;
}

.trade-item:hover {
    background: #f8fafc;
}

.trade-item:last-child {
    border-bottom: none;
}

.trade-info h5 {
    margin: 0 0 0.25rem 0;
    color: #1f2937;
    font-size: 1rem;
}

.trade-info p {
    margin: 0;
    color: #6b7280;
    font-size: 0.9rem;
}

.trade-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.trade-status.completed {
    background: #dcfce7;
    color: #166534;
}

.trade-status.pending {
    background: #fef3c7;
    color: #92400e;
}

.trade-status.cancelled {
    background: #fee2e2;
    color: #991b1b;
}

/* 快捷操作 */
.quick-actions {
    grid-area: quick-actions;
}

.actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.action-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.action-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.action-icon.buy {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.action-icon.sell {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.action-icon.transfer {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.action-icon.payment {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.action-content h4 {
    margin: 0 0 0.5rem 0;
    color: #1f2937;
    font-size: 1.1rem;
    font-weight: 600;
}

.action-content p {
    margin: 0;
    color: #6b7280;
    font-size: 0.9rem;
}

/* 安全设置 */
.security-settings {
    grid-area: security-settings;
}

.security-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.security-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.security-item:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.security-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.security-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.security-details h4 {
    margin: 0 0 0.25rem 0;
    color: #1f2937;
    font-size: 1rem;
    font-weight: 600;
}

.security-details p {
    margin: 0;
    color: #6b7280;
    font-size: 0.9rem;
}

.security-status {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* 用户下拉菜单 */
.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    min-width: 200px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.user-info:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.user-dropdown a:hover {
    background: #f3f4f6;
}

.user-dropdown a i {
    width: 16px;
    text-align: center;
}

.dropdown-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 0.5rem 0;
}

/* 响应式设?*/
@media (max-width: 1200px) {
    .member-container {
        grid-template-columns: 1fr 1fr;
        grid-template-areas: 
            "user-overview assets-overview"
            "trading-stats trading-stats"
            "recent-trades quick-actions"
            "security-settings security-settings";
    }
}

@media (max-width: 768px) {
    .member-container {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "user-overview"
            "assets-overview"
            "trading-stats"
            "recent-trades"
            "quick-actions"
            "security-settings";
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .assets-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
    
    .user-info-grid {
        flex-direction: column;
        text-align: center;
    }
    
    .user-info-list {
        gap: 0.5rem;
    }
    
    .info-item {
        padding: 0.25rem 0;
    }
    
    .info-label {
        min-width: 60px;
        font-size: 0.8rem;
    }
    
    .info-value {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .member-main {
        padding: 1rem 0;
    }
    
    .card-content {
        padding: 1rem;
    }
    
    .asset-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .security-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .security-status {
        width: 100%;
        justify-content: space-between;
    }
}

/* 邮箱认证模态框样式 */
.email-verification-form {
    padding: 1rem 0;
}

.email-info {
    margin-bottom: 1.5rem;
}

.email-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.email-value {
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #1f2937;
    font-weight: 500;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.email-hint {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

.verification-section {
    margin-top: 1.5rem;
}

.verification-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.verification-input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.verification-input-group input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.875rem;
    transition: border-color 0.2s;
}

.verification-input-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.send-code-btn {
    padding: 0.75rem 1rem;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    color: #374151;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.send-code-btn:hover:not(:disabled) {
    background: #e5e7eb;
    border-color: #9ca3af;
}

.send-code-btn:disabled {
    background: #f9fafb;
    color: #9ca3af;
    cursor: not-allowed;
}

.verification-hint {
    font-size: 0.75rem;
    color: #6b7280;
}

/* 个人资料模态框样式 */
.profile-modal-content {
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.profile-compact {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.profile-avatar-small {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #1e3a8a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
}

.profile-basic h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
}

.profile-basic p {
    margin: 0 0 0.5rem 0;
    color: #64748b;
    font-size: 0.875rem;
}

.profile-status {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.profile-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.profile-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 600;
    color: #374151;
    font-size: 0.875rem;
}

.profile-card-content {
    padding: 1rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 500;
    color: #64748b;
    font-size: 0.875rem;
}

.info-value {
    color: #1e293b;
    font-weight: 500;
    font-size: 0.875rem;
}

.status-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.status-badge.active {
    background: #dcfce7;
    color: #166534;
}

.status-badge.inactive {
    background: #fef2f2;
    color: #dc2626;
}

.status-badge.verified {
    background: #dcfce7;
    color: #166534;
}

.status-badge.pending {
    background: #fef3c7;
    color: #d97706;
}

.modal-footer {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding: 1rem 1.5rem;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}

/* 模态框关闭按钮优化 */
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.modal-close:hover {
    background: #e2e8f0;
    color: #374151;
    transform: scale(1.1);
}

.modal-close:active {
    transform: scale(0.95);
}

/* 确保关闭按钮在模态框内容之上 */
.modal-content {
    position: relative;
}

/* 底部按钮优化 */
.modal-footer .btn {
    min-width: 80px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.modal-footer .btn-outline {
    background: white;
    border: 2px solid #e2e8f0;
    color: #64748b;
}

.modal-footer .btn-outline:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #374151;
}

.modal-footer .btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1e3a8a);
    border: none;
    color: white;
}

.modal-footer .btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* 响应式设?*/
@media (max-width: 768px) {
    .profile-modal-content {
        max-width: 95vw;
        margin: 1rem;
    }
    
    .profile-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-status {
        justify-content: center;
    }
    
    .modal-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
    
    .modal-footer {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .modal-footer .btn {
        width: 100%;
        justify-content: center;
    }
}

/* 修改密码模态框样式 */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

/* 修复输入框图标重叠问?*/
.input-group {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-group i {
    position: absolute;
    left: 16px;
    color: #6b7280;
    z-index: 2;
    font-size: 1rem;
    pointer-events: none;
}

.input-group input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 3rem !important;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-sizing: border-box;
    background: white;
}

.input-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* 确保模态框中的输入框样式正?*/
.modal .input-group input {
    padding-left: 3rem !important;
}

/* 支付密码输入框特殊样?*/
.input-group input[type="password"][pattern="[0-9]{6}"] {
    text-align: center;
    font-size: 1rem;
    letter-spacing: 0.3rem;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    padding-left: 1rem !important;
}

.input-group input[type="password"][pattern="[0-9]{6}"]:focus {
    letter-spacing: 0.5rem;
}

.form-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}


.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

/* 密码强度指示?*/
.password-strength {
    margin-top: 0.5rem;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.password-strength.weak .password-strength-bar {
    background: #ef4444;
    width: 25%;
}

.password-strength.medium .password-strength-bar {
    background: #f59e0b;
    width: 50%;
}

.password-strength.strong .password-strength-bar {
    background: #10b981;
    width: 75%;
}

.password-strength.very-strong .password-strength-bar {
    background: #059669;
    width: 100%;
}

/* 支付密码输入框样?*/
input[type="password"][pattern="[0-9]{6}"] {
    text-align: center;
    font-size: 1rem;
    letter-spacing: 0.3rem;
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

input[type="password"][pattern="[0-9]{6}"]:focus {
    letter-spacing: 0.5rem;
}

/* 认证信息样式 */
.auth-info {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.auth-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6, #1e3a8a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.auth-details h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
}

.auth-details p {
    margin: 0 0 1rem 0;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

.email-display {
    background: white;
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    font-size: 0.9rem;
}

.email-display strong {
    color: #374151;
}

.email-display span {
    color: #3b82f6;
    font-weight: 500;
}

.phone-display {
    background: white;
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    font-size: 0.9rem;
}

.phone-display strong {
    color: #374151;
}

.phone-display span {
    color: #3b82f6;
    font-weight: 500;
}

/* 二维码样?*/
.qr-code {
    margin: 1rem 0;
    text-align: center;
}

.qr-placeholder {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748b;
}

.qr-placeholder i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.qr-placeholder p {
    margin: 0;
    font-size: 0.8rem;
}

/* 密钥显示样式 */
.secret-key {
    background: #f1f5f9;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.secret-key strong {
    color: #374151;
    font-size: 0.9rem;
}

.secret-key code {
    background: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    border: 1px solid #d1d5db;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: #1f2937;
    flex: 1;
}

.secret-key button {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
}

/* 表单帮助文本 */
.form-help {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.25rem;
    line-height: 1.4;
}

/* 按钮样式调整 */
.btn-secondary {
    background: #6b7280;
    color: white;
    border: none;
}

.btn-secondary:hover {
    background: #4b5563;
}

/* 响应式调?*/
@media (max-width: 768px) {
    .auth-info {
        flex-direction: column;
        text-align: center;
    }
    
    .auth-icon {
        align-self: center;
    }
    
    .secret-key {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .secret-key code {
        text-align: center;
        word-break: break-all;
    }
}

/* 支付密码状态样?*/
.status-badge.pending {
    background: #fef3c7;
    color: #d97706;
}

.status-badge.verified {
    background: #dcfce7;
    color: #166534;
}

/* 安全设置按钮文字重新设计 */
.security-status .btn-outline {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    min-width: 60px;
    text-align: center;
    transition: all 0.3s ease;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    height: 28px;
}

.security-status .btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.security-status .btn-outline:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.security-status .btn-outline:hover::before {
    left: 100%;
}

.security-status .btn-outline:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.5);
}

/* 不同按钮的个性化设计 */
.security-status .btn-outline:nth-child(2) {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.security-status .btn-outline:nth-child(2):hover {
    background: linear-gradient(135deg, #059669, #047857);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.security-status .btn-outline:nth-child(3) {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.security-status .btn-outline:nth-child(3):hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.security-status .btn-outline:nth-child(4) {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.security-status .btn-outline:nth-child(4):hover {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

/* 响应式调?*/
@media (max-width: 768px) {
    .security-status .btn-outline {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
        min-width: 50px;
        height: 24px;
    }
}


/* 短信验证码样?*/
.sms-input-group {
    display: flex;
    gap: 0.75rem;
    align-items: flex-end;
}

.sms-input-group .input-group {
    flex: 1;
}

.sms-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 110px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.sms-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.sms-btn:hover::before {
    left: 100%;
}

.sms-btn:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.sms-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.sms-btn:disabled {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
    color: #a0aec0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.sms-btn:disabled::before {
    display: none;
}

.sms-btn.countdown {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    color: #718096;
    border: 2px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sms-btn.countdown::before {
    display: none;
}

@media (max-width: 768px) {
    .sms-input-group {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .sms-btn {
        width: 100%;
        min-width: auto;
    }
}
