﻿/* ========== 左侧账户导航样式 ========== */

.account-sidebar .nav {
    padding-left: 0 !important;
}

.account-sidebar h5,
.account-sidebar .nav-link {
    text-align: left;
    color: #000;
    padding-left: 12px;
    margin: 0;
}

.account-sidebar h5 {
    position: relative;
    padding-bottom: 0.5rem;
    margin-bottom: 1.25rem;
    font-weight: bold;
}

    .account-sidebar h5::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: -12px;
        right: 0;
        height: 1px;
        background-color: #ddd;
    }

.account-sidebar .nav-link {
    display: block;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    text-decoration: none;
    transition: background-color 0.2s ease, margin-left 0.2s ease, padding-left 0.2s ease;
}

    .account-sidebar .nav-link:hover {
        margin-left: -12px;
        padding-left: 24px;
        background-color: #f8f9fa;
        color: #000;
    }

    .account-sidebar .nav-link.active {
        margin-left: -12px;
        padding-left: 24px;
        background-color: #e9ecef;
        font-weight: 600;
        color: #000 !important;
    }

.account-sidebar {
    border-right: 1px solid #e0e0e0;
    padding-right: 40px;
}

/* ========== 右侧内容区 ========== */

.account-intro {
    font-size: 1rem;
    color: #333;
    margin-bottom: 1.5rem;
    margin-top: -8px;
}

.dashboard-cards a.card {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
    background-color: #fff;
}

.dashboard-cards .card i {
    color: #999 !important;
    transition: color 0.2s ease;
}

.dashboard-cards a.card:hover {
    color: inherit !important;
    background-color: #f9f9f9 !important;
    box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.12) !important;
    transform: translateY(-2px);
}

    .dashboard-cards a.card:hover i {
        color: #777 !important;
    }

.mb-3.position-relative {
    position: relative !important;
}

/* ========== 按钮样式 ========== */

.btn-dark {
    background-color: #000;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 0.375rem;
}

.btn-save {
    width: 180px;
    font-size: 0.75rem;
    font-weight: 600;
}

