/* =======================
   Page Layout
======================= */

.page-main {
    max-width: 1120px;
    margin: 0 auto;
    padding: 14px 20px 60px;
}

/* =======================
   Header
======================= */

.navbar {
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 1px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-logo {
    width: 100px !important;
    height: auto;
    object-fit: contain;
}

.navbar-title {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 18px;
    font-weight: 700;
}

.brand-sub {
    font-size: 12px;
    color: #5b6b82;
}

.navbar-menu {
    display: flex;
    gap: 32px;
    font-size: 17px;
    font-weight: 600;
    color: #1d2f48;
}

.navbar-menu a {
    padding-bottom: 4px;
    position: relative;
}

.navbar-menu a::after {
    content: "";
    width: 0;
    height: 2px;
    background: #2ea4ff;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: 0.2s ease;
}

.navbar-menu a.active::after,
.navbar-menu a:hover::after {
    width: 100%;
}

/* =======================
   Header Auth
======================= */

.navbar-auth {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.navbar-auth-logged {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 999px;
    background-color: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    margin-right: 6px;
}

.user-chip-icon {
    font-size: 0.95rem;
}

.user-chip-name {
    font-weight: 600;
}

.user-chip-suffix {
    color: #666;
    font-size: 0.85rem;
}

.auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s ease-in-out;
}

.auth-btn--outline {
    border-color: #2b7cff;
    color: #2b7cff;
    background-color: #ffffff;
}

.auth-btn--outline:hover {
    background-color: #2b7cff;
    color: #ffffff;
}

.auth-btn--ghost {
    background-color: transparent;
    color: #444;
}

.auth-btn--ghost:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

.auth-btn--outline-red {
    border-color: #f05a5a;
    color: #f05a5a;
    background-color: #ffffff;
}

.auth-btn--outline-red:hover {
    background-color: #f05a5a;
    color: #ffffff;
}

/* Old auth styles */
.auth-login {
    background: #4db5ff;
    color: #fff;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 6px 14px rgb(91, 186, 251);
}

.auth-welcome {
    font-size: 13px;
    color: #1d2f48;
    font-weight: 600;
}

/* =======================
   Footer
======================= */

.footer {
    background: #0f2038;
    color: #d3e1ff;
    margin-top: 60px;
}

.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 32px 20px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 26px;
}

.footer-logo {
    width: 130px;
}

.footer-title {
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 14px;
}

.footer-note,
.footer-holiday {
    font-size: 12px;
    color: #9fb0d5;
}

.footer-bottom {
    margin-top: 24px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    color: #9fb0d5;
}