* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #6b7280;
    line-height: 1.6;
    background: #f9fafb;
}

/* ── NAVBAR ── */
.navbar { background: rgba(255,255,255,0.97); box-shadow: 0 1px 0 #e5e7eb; backdrop-filter: blur(8px); position: fixed; top: 0; left: 0; right: 0; z-index: 1000; }

.nav-container {
    width: 100%; padding: 0;
    display: flex; align-items: center; gap: 0;
}
.logo-img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.mobile-toggle {
    display: flex; align-items: center; justify-content: center;
    background: transparent; border: none; font-size: 1.2rem;
    cursor: pointer; color: #1a1a1a;
    width: 56px; height: 56px; flex-shrink: 0;
    transition: color 0.3s ease, background 0.2s ease;
}
.mobile-toggle:hover { background: rgba(0,0,0,0.06); }
@media (min-width: 1025px) {
    .mobile-toggle { color: #1a1a1a; }
    .mobile-toggle:hover { background: rgba(0,0,0,0.05); }
}
.logo {
    display: flex; align-items: center; gap: 0.6rem;
    font-size: 1.25rem; font-weight: 700; padding-left: 4px; flex-shrink: 0;
}
.logo-name { color: #1a1a1a; transition: color 0.3s ease; }

@media (max-width: 1024px) { .logo { padding-left: 6px; } }

/* ── LEFT SIDEBAR ── */
.left-sidebar {
    position: fixed; top: 56px; left: 0;
    width: 56px; height: calc(100vh - 56px);
    background: #fff; border-right: 1px solid #e5e7eb;
    z-index: 900; overflow: hidden; padding: 0;
    transition: width 0.26s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 2px 0 6px rgba(0,0,0,0.04);
    display: flex; flex-direction: column;
}
.left-sidebar:hover { width: 230px; }
.sidebar-scroll-area {
    flex: 1; overflow-y: auto; overflow-x: hidden;
    padding: 8px 6px; scrollbar-width: thin; scrollbar-color: #d1d5db transparent;
}
.sidebar-scroll-area::-webkit-scrollbar { width: 3px; }
.sidebar-scroll-area::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 4px; }
.sidebar-item {
    display: flex; align-items: center; gap: 12px; padding: 9px 10px;
    border-radius: 8px; cursor: pointer; text-decoration: none;
    color: #374151; font-size: 0.9rem; font-weight: 500;
    transition: background 0.15s, color 0.15s; white-space: nowrap; overflow: hidden;
}
.sidebar-item:hover { background: #f3f4f6; color: #1a1a1a; }
.sidebar-item.active { background: #eff2ff; color: #3b45cc; font-weight: 600; }
.sidebar-item .sidebar-icon {
    width: 36px; height: 36px; display: flex; align-items: center;
    justify-content: center; flex-shrink: 0; color: #6b7280; transition: color 0.15s;
}
.left-sidebar:not(:hover):not(.sidebar-pinned):not(.mobile-open) .sidebar-item { padding-left: 4px; padding-right: 4px; justify-content: center; gap: 0; }
.left-sidebar:not(:hover):not(.sidebar-pinned):not(.mobile-open) .sidebar-item .sidebar-label { display: none; }

.sidebar-item .sidebar-icon svg { width: 20px; height: 20px; stroke: currentColor; }
.sidebar-item:hover .sidebar-icon { color: #1a1a1a; }
.sidebar-item.active .sidebar-icon { color: #3b45cc; }
.sidebar-item .sidebar-label {
    opacity: 0; transition: opacity 0.15s ease 0.05s; flex: 1; overflow: hidden; text-overflow: ellipsis;
}
.left-sidebar:hover .sidebar-item .sidebar-label { opacity: 1; }
.sidebar-divider { height: 1px; background: #f0f0f0; margin: 5px 4px; }
.sidebar-bottom-profile {
    flex-shrink: 0; display: flex; align-items: center; gap: 10px; padding: 10px;
    border-top: 1px solid #f0f0f0; cursor: pointer; transition: background 0.15s;
    overflow: hidden; white-space: nowrap;
}
.sidebar-bottom-profile:hover { background: #f9fafb; }
.sidebar-bottom-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid #e5e7eb; flex-shrink: 0; }
.sidebar-bottom-info { opacity: 0; transition: opacity 0.15s ease 0.05s; overflow: hidden; }
.left-sidebar:hover .sidebar-bottom-info { opacity: 1; }
.sidebar-bottom-name { font-size: 0.85rem; font-weight: 600; color: #1a1a1a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-bottom-sub { font-size: 0.72rem; color: #9ca3af; }
@media (max-width: 1024px) {
    .left-sidebar { display: flex !important; width: 230px !important; transform: translateX(-100%); transition: transform 0.26s cubic-bezier(0.4,0,0.2,1) !important; }
    .left-sidebar.mobile-open { transform: translateX(0); }
    .left-sidebar:hover { width: 230px !important; }
    .left-sidebar .sidebar-item .sidebar-label,
    .left-sidebar .sidebar-bottom-info { opacity: 1 !important; }
}
.left-sidebar.sidebar-pinned { width: 230px; }
.left-sidebar.sidebar-pinned .sidebar-item .sidebar-label { opacity: 1; }
.left-sidebar.sidebar-pinned .sidebar-bottom-info { opacity: 1; }

/* ── MAIN WRAPPER ── */
.main-content-wrapper { margin-left: 56px; transition: margin-left 0.26s cubic-bezier(0.4,0,0.2,1); }
.main-content-wrapper.sidebar-pinned { margin-left: 230px; }
@media (max-width: 1024px) {
    .main-content-wrapper { margin-left: 0 !important; }
    .main-content-wrapper.sidebar-pinned { margin-left: 0 !important; }
}

/* ── HERO ── */
.events-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #374151 100%);
    padding: 7rem 2rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.events-hero-content { max-width: 700px; margin: 0 auto; position: relative; z-index: 2; }
.events-hero h1 { font-size: 2.8rem; color: white; font-weight: 800; margin-bottom: 0.75rem; letter-spacing: -0.02em; }
.events-hero p { font-size: 1.15rem; color: #d1d5db; }
@media (max-width: 740px) { .events-hero h1 { font-size: 2rem; } .events-hero p { font-size: 1rem; } }
@media (max-width: 480px) { .events-hero h1 { font-size: 1.6rem; } }

/* ── FILTER BAR ── */
.events-filter-bar {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 0.85rem 2rem;
    position: relative; z-index: 800;
}
.events-filter-bar.is-fixed {
    position: fixed; top: 56px; left: 56px; right: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.events-filter-bar.is-fixed.sidebar-pinned { left: 230px; }
@media (max-width: 1024px) {
    .events-filter-bar.is-fixed, .events-filter-bar.is-fixed.sidebar-pinned { left: 0 !important; }
}
.events-filter-bar-spacer { width: 100%; height: 0; }
.filter-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; gap: 0.75rem; flex-wrap: nowrap;
    overflow-x: auto; scrollbar-width: thin;
}
/* Search — shadow on bottom + right */
.filter-search {
    flex: 0 1 260px; min-width: 160px; position: relative;
}
.filter-search-icon-btn {
    display: none; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 8px; border: 1.5px solid #e5e7eb;
    background: white; cursor: pointer; flex-shrink: 0;
}
.filter-search-icon-btn svg { width: 18px; height: 18px; stroke: #6b7280; }
@media (max-width: 1024px) {
    .filter-search { flex: 0 0 auto; min-width: 0; width: 0; margin: 0; padding: 0; border: none; transition: width 0.25s ease; overflow: hidden; }
    .filter-search.mobile-open { width: 200px; }
    .filter-search input { opacity: 0; transition: opacity 0.2s; pointer-events: none; }
    .filter-search.mobile-open input { opacity: 1; pointer-events: auto; }
    .filter-search-icon-btn { display: flex; }
}
.filter-search svg {
    position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
    width: 16px; height: 16px; stroke: #9ca3af; pointer-events: none;
}
.filter-search input {
    width: 100%;
    padding: 0.55rem 0.75rem 0.55rem 2.2rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9rem; color: #1a1a1a; outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 3px 3px 0px #e5e7eb;
}
.filter-search input:focus {
    border-color: #1a1a1a;
    box-shadow: 3px 3px 0px #d1d5db;
}

/* Filter dropdown */
.filter-dropdown-wrap { position: relative; flex-shrink: 0; }
.filter-dropdown-btn {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.55rem 1rem;
    border: 1.5px solid #e5e7eb; border-radius: 8px;
    background: white; cursor: pointer;
    font-size: 0.88rem; font-weight: 600; color: #374151;
    transition: border-color 0.2s, background 0.2s;
    white-space: nowrap;
}
.filter-dropdown-btn:hover { border-color: #1a1a1a; background: #f9fafb; }
.filter-dropdown-btn.open { border-color: #1a1a1a; background: #f9fafb; }
.filter-dropdown-btn svg { width: 14px; height: 14px; stroke: #6b7280; transition: transform 0.2s; }
.filter-dropdown-btn.open svg { transform: rotate(180deg); }
.filter-badge {
    background: #1a1a1a; color: white;
    font-size: 0.7rem; font-weight: 700;
    padding: 1px 6px; border-radius: 10px; min-width: 18px; text-align: center;
}

.filter-dropdown-panel {
    display: none;
    position: absolute; top: calc(100% + 6px); right: 0;
    background: white; border: 1.5px solid #e5e7eb; border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    min-width: 240px; padding: 0;
    max-height: 70vh; overflow-y: auto;
    z-index: 900;
}
.filter-dropdown-panel.open { display: block; }

.panel-search-wrap {
    position: sticky; top: 0; z-index: 2;
    background: white; padding: 0.6rem 0.75rem;
    border-bottom: 1px solid #f0f1f3;
}
.panel-search-input {
    width: 100%; box-sizing: border-box;
    padding: 0.4rem 0.65rem;
    border: 1.5px solid #e5e7eb; border-radius: 6px;
    font-size: 0.82rem; color: #1a1a1a; outline: none;
}
.panel-search-input:focus { border-color: #1a1a1a; }
.panel-options { padding-top: 0.3rem; }

.filter-columns {
    display: flex; align-items: flex-start;
}
.filter-col { flex: 1; min-width: 0; }
.filter-col + .filter-col { border-left: 1px solid #f0f1f3; }
@media (max-width: 740px) {
    .filter-dropdown-panel { min-width: 240px; max-width: calc(100vw - 2rem); }
    .filter-columns { flex-direction: column; }
    .filter-col + .filter-col { border-left: none; border-top: 1px solid #f0f1f3; margin-top: 0.3rem; padding-top: 0.3rem; }
}

.filter-dropdown-panel .panel-header {
    padding: 0.5rem 1rem 0.4rem;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.07em;
    text-transform: uppercase; color: #9ca3af;
    border-bottom: 1px solid #f0f1f3; margin-bottom: 0.3rem;
}
.filter-check-item {
    display: flex; align-items: center; gap: 0.65rem;
    padding: 0.45rem 1rem; cursor: pointer;
    transition: background 0.15s;
}
.filter-check-item:hover { background: #f9fafb; }
.filter-check-item input[type="checkbox"] {
    width: 15px; height: 15px; cursor: pointer;
    accent-color: #1a1a1a;
}
.filter-check-item label {
    font-size: 0.875rem; font-weight: 700; color: #000; cursor: pointer; flex: 1;
}

.panel-footer {
    border-top: 1px solid #f0f1f3; margin-top: 0.3rem;
    padding: 0.5rem 1rem 0.2rem;
    display: flex; justify-content: space-between; align-items: center;
    position: sticky; bottom: 0; background: white;
}
.panel-clear { font-size: 0.8rem; color: #6b7280; cursor: pointer; font-weight: 500; background: none; border: none; padding: 0; }
.panel-clear:hover { color: #1a1a1a; }
.panel-apply {
    font-size: 0.8rem; font-weight: 700; background: #1a1a1a;
    color: white; border: none; padding: 0.35rem 0.9rem;
    border-radius: 6px; cursor: pointer; transition: background 0.2s;
}
.panel-apply:hover { background: #374151; }

/* ── EVENTS GRID ── */
.events-main { max-width: 1200px; margin: 0 auto; padding: 2.5rem 2rem 4rem; }

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-height: 2150px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    padding-right: 6px;
    box-shadow: inset 0 -14px 10px -12px rgba(0,0,0,.06);
}
.events-grid::-webkit-scrollbar { width: 6px; }
.events-grid::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 4px; }
@media (max-width: 1100px) and (min-width: 741px) { .events-grid { grid-template-columns: repeat(2, 1fr); max-height: 2550px; } }
@media (max-width: 740px) { .events-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; max-height: 2550px; } }
@media (max-width: 560px) { .events-grid { grid-template-columns: 1fr; gap: 1rem; max-height: 2300px; } }

.event-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    transition: transform 0.28s, box-shadow 0.28s;
    cursor: pointer;
    border: 1px solid #f0f1f3;
    display: flex; flex-direction: column;
}
.event-card:hover { transform: translateY(-5px); box-shadow: 0 14px 28px rgba(0,0,0,0.11); }
.event-card.hidden { display: none; }

/* Card image wrapper — type badge inside */
.event-img-wrap { position: relative; overflow: hidden; }
.event-image { width: 100%; height: 185px; object-fit: cover; display: block; transition: transform 0.3s; }
.event-card:hover .event-image { transform: scale(1.03); }

/* Type badge — top right of image */
.event-type-badge {
    position: absolute; top: 10px; right: 10px;
    padding: 4px 10px; border-radius: 20px;
    font-size: 11px; font-weight: 700; letter-spacing: 0.03em;
    background: #1a1a1a; color: white;
}
.badge-retail, .badge-tech, .badge-food-beverage,
.badge-services, .badge-healthcare, .badge-education { background: #1a1a1a; color: white; }

.event-content { padding: 1.1rem 1.25rem 1.25rem; flex: 1; display: flex; flex-direction: column; }

.event-card { position: relative; --banner-h: 185px; --logo: 56px; }
.card-logo {
    position: absolute; z-index: 3;
    left: 1.25rem; top: calc(var(--banner-h) - var(--logo) / 2);
    width: var(--logo); height: var(--logo); border-radius: 50%;
    border: 3px solid #fff; background: var(--lc, #3b45cc); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 800; letter-spacing: .02em;
    box-shadow: 0 2px 10px rgba(0,0,0,.18); overflow: hidden;
    pointer-events: none; user-select: none;
}
.card-logo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #fff; }
.event-content { padding-top: calc(var(--logo, 56px) / 2 + .7rem); }

/* Business ID row — right-aligned */
.event-date {
    display: flex; justify-content: flex-end; width: 100%;
    color: #000; font-size: 11.5px; font-weight: 700;
    margin-bottom: 0.5rem; letter-spacing: 0.03em;
    background: transparent; padding: 0; border-radius: 0;
}

.event-title {
    font-size: 1rem; font-weight: 700; color: #0f172a;
    margin-bottom: 0.4rem; line-height: 1.35;
    min-height: 2.7em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.event-description {
    color: #6b7280; font-size: 0.83rem; line-height: 1.6;
    margin-bottom: 0.85rem; flex: 1;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.event-meta {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 0.85rem; border-top: 1px solid #f0f1f3;
}
.event-location {
    display: flex; align-items: center; gap: 5px;
    color: #9ca3af; font-size: 11.5px;
}
.event-location svg { width: 12px; height: 12px; stroke: #9ca3af; flex-shrink: 0; }

/* View Details button */
.btn-view-details {
    display: inline-flex; align-items: center; gap: 5px;
    background: #1a1a1a; color: white;
    padding: 0.38rem 0.9rem; border-radius: 6px;
    border: none; font-size: 0.78rem; font-weight: 700;
    cursor: pointer; transition: background 0.2s, transform 0.2s;
    white-space: nowrap; text-decoration: none;
}
.btn-view-details:hover { background: #374151; transform: translateY(-1px); }
.btn-view-details svg { width: 12px; height: 12px; stroke: white; transition: transform 0.2s; }
.btn-view-details:hover svg { transform: translateX(2px); }

/* No results */
.no-results {
    grid-column: 1 / -1;
    text-align: center; padding: 4rem 2rem;
    color: #9ca3af; font-size: 1rem;
    display: none;
}
.no-results svg { width: 40px; height: 40px; stroke: #d1d5db; margin-bottom: 0.75rem; display: block; margin-left: auto; margin-right: auto; }

/* ── FOOTER ── */
.footer { background: #f9fafb; color: #6b7280; padding: 3rem 2rem 1rem; border-top: 1px solid #e5e7eb; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; margin-bottom: 2rem; }

.footer-brand {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 1.5rem; padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb; margin-bottom: 2rem;
    flex-wrap: wrap;
}
.footer-brand-left { max-width: 320px; }
.footer-brand-left p { margin-top: 0.5rem; font-size: 0.9rem; }
.footer-social { display: flex; align-items: center; gap: 0.6rem; margin-top: 1rem; }
.social-icon {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 8px;
    background: white; border: 1.5px solid #e5e7eb;
    color: #6b7280; transition: all 0.2s; cursor: pointer; text-decoration: none;
}
.social-icon:hover { border-color: #1a1a1a; color: #1a1a1a; background: #f3f4f6; transform: translateY(-2px); }
.social-icon[title="Twitter / X"]:hover { background: #000000; color: white; border-color: #000000; }
.social-icon[title="LinkedIn"]:hover { background: #0A66C2; color: white; border-color: #0A66C2; }
.social-icon[title="GitHub"]:hover { background: #24292e; color: white; border-color: #24292e; }
.social-icon[title="Instagram"]:hover { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366); color: white; border-color: transparent; }
.social-icon[title="YouTube"]:hover { background: #FF0000; color: white; border-color: #FF0000; }
.social-icon svg { width: 16px; height: 16px; stroke: currentColor; fill: none; }

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.footer-section h4 { color: #1e3a5f; margin-bottom: 1rem; font-size: 0.92rem; font-weight: 700; }
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 0.5rem; }
.footer-section a { color: #6b7280; text-decoration: none; font-size: 0.88rem; transition: color 0.3s; }
.footer-section a:hover { color: #1e3a5f; }
.footer-bottom {
    text-align: center; padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb; color: #9ca3af;
    max-width: 1200px; margin: 0 auto; padding-left: 2rem; padding-right: 2rem;
    font-size: 0.85rem;
}
@media (max-width: 480px) {
    .footer-links { grid-template-columns: repeat(2, 1fr); }
    .footer-brand { flex-direction: column; }
}

/* ── AUTH MODAL ── */
.form-group { margin-bottom: 0.75rem; }
.form-group label { display: block; margin-bottom: 0.4rem; font-size: 0.85rem; font-weight: 600; color: #1a1a1a; }
.form-group input, .form-group select { width: 100%; padding: 0.65rem; border: 2px solid #e5e7eb; border-radius: 8px; font-size: 0.9rem; color: #1a1a1a; background: white; transition: border-color 0.3s; }
.form-group input:focus, .form-group select:focus { outline: none; border-color: #1a1a1a; }
.btn-auth { width: 100%; padding: 0.7rem; background: #1a1a1a; color: white; border: none; border-radius: 8px; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: background 0.3s; margin-top: 0.75rem; }
.btn-auth:hover { background: #374151; }
.btn-google { width: 100%; padding: 0.7rem; background: white; color: #1a1a1a; border: 2px solid #e5e7eb; border-radius: 8px; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.btn-google:hover { background: #f9fafb; border-color: #1a1a1a; }
.otp-section { display: none; }
.otp-section.active { display: block; }
.forgot-password-btn { display: flex; align-items: center; justify-content: center; gap: 0.5rem; background: none; border: none; color: #6b7280; font-size: 0.85rem; cursor: pointer; padding: 0.5rem 0; font-weight: 500; width: 100%; }
.forgot-password-btn:hover { color: #1a1a1a; }

.otp-boxes { display: flex; gap: 8px; justify-content: center; margin: 1.2rem 0 0.5rem; }
.otp-box {
    width: 44px; height: 52px;
    border: 2px solid #e5e7eb; border-radius: 10px;
    font-size: 1.4rem; font-weight: 700; color: #1a1a1a;
    text-align: center; outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    caret-color: #1a1a1a;
}
.otp-box:focus { border-color: #1a1a1a; box-shadow: 0 0 0 3px rgba(26,26,26,0.08); }
.otp-box.filled { border-color: #374151; background: #f9fafb; }
.otp-sent-info {
    background: #f0fdf4; border: 1px solid #bbf7d0;
    border-radius: 8px; padding: 0.7rem 1rem;
    font-size: 0.82rem; color: #065f46;
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 0.5rem;
}
.otp-sent-info svg { width: 15px; height: 15px; stroke: #059669; flex-shrink: 0; }
.otp-resend {
    text-align: center; margin-top: 0.8rem;
    font-size: 0.82rem; color: #6b7280;
}
.otp-resend-btn {
    background: none; border: none; color: #1a1a1a;
    font-weight: 700; cursor: pointer; font-size: 0.82rem;
    padding: 0; transition: color 0.2s;
}
.otp-resend-btn:hover { color: #374151; }
.otp-resend-btn:disabled { color: #9ca3af; cursor: default; }
.otp-context-label { text-align: center; font-size: 0.83rem; color: #6b7280; margin-top: 0.25rem; }
.otp-context-label strong { color: #1a1a1a; }

.forgot-panel { display: none; }
.forgot-panel.active { display: block; }
.forgot-back-btn {
    display: inline-flex; align-items: center; gap: 5px;
    background: none; border: none; color: #6b7280; font-size: 0.85rem;
    font-weight: 600; cursor: pointer; margin-bottom: 1rem; padding: 0;
    transition: color 0.2s;
}
.forgot-back-btn:hover { color: #1a1a1a; }
.forgot-back-btn svg { width: 14px; height: 14px; stroke: currentColor; }
.forgot-panel h4 { font-size: 1.1rem; color: #1a1a1a; font-weight: 700; margin-bottom: 0.3rem; }
.forgot-panel p { font-size: 0.83rem; color: #6b7280; margin-bottom: 1.2rem; }
.forgot-success {
    display: none; text-align: center; padding: 1.5rem 1rem;
}
.forgot-success.active { display: block; }
.forgot-success-icon {
    width: 52px; height: 52px; border-radius: 50%;
    background: #d1fae5; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 0.75rem;
}
.forgot-success-icon svg { width: 24px; height: 24px; stroke: #065f46; }
.forgot-success h4 { font-size: 1rem; color: #1a1a1a; font-weight: 700; margin-bottom: 0.4rem; }
.forgot-success p { font-size: 0.83rem; color: #6b7280; }

/* ===== GLOBAL NAV ADDITIONS (quickbar / bottom bar / messaging) ===== */
@media (max-width:1024px){ .left-sidebar.mobile-open { z-index: 1200; } }
.gnav-quickbar { display:flex; align-items:center; gap:4px; margin-left:auto; padding-right:8px; }
@media (max-width:1024px){ .gnav-quickbar{ display:none; } }
.gnav-qitem { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; width:58px; height:48px; border-radius:8px; cursor:pointer; text-decoration:none; color:#6b7280; background:none; border:none; font-family:inherit; transition:background .15s,color .15s; position:relative; }
.gnav-qitem:hover { background:#f3f4f6; color:#1a1a1a; }
.gnav-qitem.active { color:#3b45cc; }
.gnav-qitem svg { width:19px; height:19px; }
.gnav-qitem span { font-size:0.62rem; font-weight:600; }
.gnav-badge { position:absolute; top:0; left:calc(50% + 7px); background:#ef4444; color:#fff; font-size:0.6rem; font-weight:700; border-radius:50%; width:16px; height:16px; line-height:16px; text-align:center; display:flex; align-items:center; justify-content:center; }
.gnav-bitem { flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; color:#9ca3af; text-decoration:none; background:none; border:none; font-family:inherit; position:relative; }
.gnav-bitem.active { color:#3b45cc; }
.gnav-bitem svg { width:21px; height:21px; }
.gnav-bitem span { font-size:0.65rem; font-weight:600; }

.gnav-conv { display:flex; align-items:center; gap:10px; padding:10px 12px; cursor:pointer; }
.gnav-conv:hover { background:#f9fafb; }
.gnav-conv img { width:42px; height:42px; border-radius:50%; object-fit:cover; flex-shrink:0; }
.gnav-conv-info { flex:1; min-width:0; }
.gnav-conv-name { font-size:.84rem; font-weight:700; color:#1a1a1a; }
.gnav-conv-preview { font-size:.76rem; color:#9ca3af; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.gnav-conv.unread .gnav-conv-name, .gnav-conv.unread .gnav-conv-preview { color:#1a1a1a; font-weight:700; }
.gnav-unread-dot { width:8px; height:8px; border-radius:50%; background:#3b45cc; flex-shrink:0; }

.gnav-chat-win { width:280px; background:#fff; border-radius:10px 10px 0 0; box-shadow:0 -2px 12px rgba(0,0,0,.12); border:1px solid #e5e7eb; border-bottom:none; overflow:hidden; display:flex; flex-direction:column; transition:height .2s; }
.gnav-chat-win.collapsed { height:48px; }
.gnav-chat-win.expanded { height:380px; }
@media (max-width:600px){ .gnav-chat-win{ display:none; } }

.gnav-chat-header { height:48px; min-height:48px; background:#3b45cc; color:#fff; display:flex; align-items:center; gap:8px; padding:0 10px; cursor:pointer; flex-shrink:0; }
.gnav-chat-header img { width:28px; height:28px; border-radius:50%; object-fit:cover; flex-shrink:0; }
.gnav-chat-header-name { flex:1; font-weight:700; font-size:.82rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.gnav-chat-header-actions { display:flex; align-items:center; gap:8px; }

.gnav-chat-body { flex:1; display:none; flex-direction:column; }
.gnav-chat-win.expanded .gnav-chat-body { display:flex; }
.gnav-chat-msgs { flex:1; overflow-y:auto; padding:10px; display:flex; flex-direction:column; gap:7px; }
.gnav-bubble { max-width:78%; padding:7px 11px; border-radius:13px; font-size:.79rem; line-height:1.4; }
.gnav-bubble.them { background:#f3f4f6; color:#1a1a1a; align-self:flex-start; border-bottom-left-radius:4px; }
.gnav-bubble.me { background:#3b45cc; color:#fff; align-self:flex-end; border-bottom-right-radius:4px; }
.gnav-chat-input { display:flex; gap:6px; padding:8px; border-top:1px solid #f0f1f3; }
.gnav-chat-input input { flex:1; border:1.5px solid #e5e7eb; border-radius:18px; padding:6px 12px; font-size:.78rem; outline:none; font-family:inherit; }
.gnav-chat-input button { background:#1a1a1a; color:#fff; border:none; border-radius:50%; width:30px; height:30px; cursor:pointer; flex-shrink:0; font-size:.85rem; }
.gnav-badge-mini { background:#ef4444; color:#fff; font-size:.62rem; font-weight:700; border-radius:8px; padding:0 5px; line-height:1.4; min-width:14px; text-align:center; }

@media (max-width: 1024px) {
    .footer-social a[aria-label="Instagram"] { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: white; }
    .footer-social a[aria-label="X (Twitter)"] { background: #000000; color: white; }
    .footer-social a[aria-label="LinkedIn"] { background: #0A66C2; color: white; }
    .footer-social a[aria-label="YouTube"] { background: #FF0000; color: white; }
    .footer-social a[aria-label="Discord"] { background: #5865F2; color: white; }
}
.footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; padding: 0 2rem; }
.footer-section { text-align: left; }
.footer-section .logo { justify-content: flex-start; }
.footer-section a { color: #6b7280; text-decoration: none; transition: color 0.3s; }
.footer-section a:hover { color: #1e3a5f; }
.footer-brand-info { flex: 1 1 auto; min-width: 0; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1rem; flex-wrap: nowrap; }
.footer-social a { width: 34px; height: 34px; border-radius: 8px; background: #e5e7eb; display: flex; align-items: center; justify-content: center; color: #6b7280; transition: background 0.2s, color 0.2s; text-decoration: none; }
.footer-social a svg { width: 16px; height: 16px; fill: currentColor; }
.footer-social a:hover { background: #1a1a1a; color: white; }
.footer-social a[aria-label="Instagram"]:hover { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: white; }
.footer-social a[aria-label="X (Twitter)"]:hover { background: #000000; color: white; }
.footer-social a[aria-label="LinkedIn"]:hover { background: #0A66C2; color: white; }
.footer-social a[aria-label="YouTube"]:hover { background: #FF0000; color: white; }
.footer-social a[aria-label="Discord"]:hover { background: #5865F2; color: white; }

@media (max-width: 1024px) {
    .footer-container { grid-template-columns: repeat(2, 1fr); }
    .footer-container .footer-section:first-child { grid-column: 1 / -1; flex-direction: column; align-items: flex-start; }
    .footer-container .footer-section:first-child .footer-social { margin-top: 0.75rem; flex-wrap: wrap; }
    .footer-social a[aria-label="Instagram"] { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: white; }
    .footer-social a[aria-label="X (Twitter)"] { background: #000000; color: white; }
    .footer-social a[aria-label="LinkedIn"] { background: #0A66C2; color: white; }
    .footer-social a[aria-label="YouTube"] { background: #FF0000; color: white; }
    .footer-social a[aria-label="Discord"] { background: #5865F2; color: white; }
}
