/* --- 全局变量和基础设置 --- */
:root {
    --primary-color: #2ab280;
    --primary-hover: #249a70;
    --background-color: #f8f9fa;
    --box-background: #ffffff;
    --text-primary: #3B4B5E;
    --text-secondary: #8693a6;
    --border-color: #e9ecef;
    --input-bg-color: #f1f3f5;
}

* {
    box-sizing: border-box;
    word-break: break-all;
}

body {
    background-color: var(--background-color);
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- 布局容器 --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-lg-2, .col-12 {
    width: 100%;
    padding: 0 15px;
}

.col-lg-10 {
     flex: 0 0 80%;
    max-width: 80%;
    padding: 0 15px;
}


.box {
    background-color: var(--box-background);
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

hr {
    border: 0;
    border-top: 1px solid var(--border-color);
    margin: 2rem 0;
}

/* --- 侧边栏导航 --- */
.sidebar {
    padding: 1.5rem;
    position: sticky;
    top: 2rem;
}

.nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav__item a {
    display: flex;
    align-items: center;
    padding: 0.8rem 1.2rem;
    margin: 0.5rem 0;
    border-radius: 0.75rem;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav__item a:hover {
    background-color: var(--input-bg-color);
    color: var(--text-primary);
}

.nav__item a.active {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 6px 15px rgba(42, 178, 128, 0.3);
}

.nav__item a i {
    margin-right: 1rem;
    font-size: 1.3rem;
    line-height: 1;
}


/* --- 通用内容样式 --- */
.title-2fa, .title-photo, .title-money {
    color: var(--text-primary);
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.title-p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.title--h5 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.tip-p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.tip-p strong {
    color: var(--text-primary);
}

.tip-p a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.tip-p a:hover {
    text-decoration: underline;
}

.footer {
    text-align: center;
    padding-top: 2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* --- 响应式布局 --- */
@media (min-width: 992px) {
    .col-lg-2 {
        flex: 0 0 20%;
        max-width: 20%;
    }
    .col-lg-10 {
        flex: 0 0 80%;
        max-width: 80%;
    }
}

@media (max-width: 991.98px) {
    .sidebar {
        position: static;
        margin-bottom: 2rem;
    }
    .nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav__item a {
        flex-direction: column;
        padding: 1rem;
    }
    .nav__item a i {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}

