:root {
    --brand-dark: #1c2b39;
    --brand-accent: #2f6f4f;
}

body {
    background-color: #f4f6f8;
}

.app-topbar {
    background-color: var(--brand-dark);
}

.app-layout {
    display: flex;
    min-height: calc(100vh - 56px);
}

.app-sidebar {
    width: 260px;
    background-color: #fff;
    border-right: 1px solid #dee2e6;
}

@media (min-width: 768px) {
    .app-sidebar {
        position: sticky;
        top: 56px;
        height: calc(100vh - 56px);
    }
}

.app-menu .nav-link {
    color: #333;
    padding: 0.65rem 1.25rem;
    border-left: 3px solid transparent;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.app-menu .nav-link:hover {
    background-color: #f1f3f5;
}

.app-menu .nav-link.active {
    background-color: #eaf3ee;
    border-left-color: var(--brand-accent);
    color: var(--brand-accent);
    font-weight: 600;
}

.app-menu .menu-toggle .chevron {
    margin-left: auto;
    transition: transform 0.2s ease;
}

.app-menu .menu-toggle[aria-expanded="true"] .chevron {
    transform: rotate(180deg);
}

.app-submenu .nav-link {
    padding-left: 2.75rem;
    font-size: 0.92rem;
}

.app-content {
    flex: 1;
    min-width: 0;
}

/* Login page */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-dark), #35506b);
}

.login-card {
    width: 100%;
    max-width: 380px;
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.login-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.login-logo img {
    width: 100%;
    max-width: 280px;
    height: auto;
}

/* Homepage */
.home-page {
    min-height: 100vh;
    margin: 0;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.home-logo {
    max-width: 560px;
    width: 80vw;
    height: auto;
}

.home-login-link {
    color: #d9b26b;
    text-decoration: none;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid #d9b26b;
    padding: 0.6rem 2rem;
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.home-login-link:hover {
    background-color: #d9b26b;
    color: #000;
}
