:root {
    --primary: #1976d2;
    --primary-soft: #e3f2fd;
    --text-main: #263238;
    --text-muted: #607d8b;
    --bg-body: #f5f7fa;
}

html {
    height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.main-container {
    flex: 1;
    padding-top: 70px;
    padding-bottom: 40px;
}

.text-muted {
    color: var(--text-muted);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.site-header__inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-header__logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-header__logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #1976d2, #42a5f5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
}

.site-header__logo-text {
    font-weight: 600;
    font-size: 18px;
}

.site-header__nav {
    display: flex;
    gap: 16px;
    align-items: center;
    font-size: 14px;
}

.site-header__nav a {
    color: var(--text-main);
    font-weight: 500;
}

.site-header__nav a.active {
    color: var(--primary);
}

.site-header__auth {
    display: flex;
    gap: 8px;
}

.site-header__auth .btn-sm {
    font-size: 13px;
    padding: 4px 10px;
}

.site-footer {
    border-top: 1px solid #e0e0e0;
    padding: 16px 0;
    background: #ffffff;
}

.site-footer__inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .site-header__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .site-header__nav {
        flex-wrap: wrap;
    }
    .site-header__auth {
        width: 100%;
        justify-content: flex-start;
    }
}