/* ===== CSS VARIABLES ===== */
:root {
    --bg-primary: #e5deeb;
    --bg-secondary: #f8f9fa;
    --text-primary: #1a1a1a;
    --text-secondary: #6c757d;
    --primary-purple: #e60aea;
    --primary-purple-hover: #da00dd;
    --light-purple: #f5f3ff;
    --border-purple: #f889e5;
    --navbar-height: 65px;
}

[data-theme="dark"] {
    --bg-primary: rgba(53, 52, 52, 0.922);
    --bg-secondary: #1a1a1a;
    --text-primary: #e4e4e7;
    --text-secondary: #a1a1aa;
    --light-purple: #27272a;
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: background 0.3s ease, color 0.3s ease;
}

.navbar {
    width: 100%;
    max-width: 100%;
    overflow: visible;
    box-sizing: border-box;
    background: #ffffff;
    padding: 0.8rem 2rem;
    height: var(--navbar-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    z-index: 1100;
    border-radius: 0 0 25px 25px;
}

[data-theme="dark"] .navbar {
    background: linear-gradient(135deg, #18181b 0%, #27272a 50%, #3f3f46 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ===== LOGO ===== */
.logo {
    font-size: 2.2rem;
    font-style: italic;
    font-family: Allura;
    font-weight: bolder;
    color: var(--primary-purple-hover);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-90px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.logo:hover {
    transform: translateY(-2px);
}

.logo img {
    object-fit: contain;
}

[data-theme="dark"] .logo {
    color: #e4e4e7;
}

/* ===== NAV CENTER ===== */
.nav-center {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-item {
    color: var(--text-secondary);
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    background: transparent;
}

.nav-item:hover,
.nav-item.active {
    background: var(--light-purple);
    color: var(--primary-purple);
    transform: translateY(-2px);
}

.nav-item i {
    font-size: 1.25rem;
}

[data-theme="dark"] .nav-item {
    color: #ffffff;
}

[data-theme="dark"] .nav-item:hover,
[data-theme="dark"] .nav-item.active {
    background: #38383c;
    color: var(--primary-purple);
}

/* ===== NAV ACTIONS ===== */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

/* ===== SEARCH BOX ===== */
.search-box {
    position: relative;
    z-index: 1050;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
    z-index: 2;
}

.search-input {
    background: var(--light-purple);
    border: 1px solid var(--border-purple);
    color: var(--text-primary);
    padding: 0.6rem 1rem 0.6rem 2.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    width: 300px;
}

.search-input::placeholder {
    color: #9ca3af;
}

.search-input:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
    width: 350px;
}

[data-theme="dark"] .search-input {
    background: #18181b;
    border-color: #3f3f46;
    color: #e4e4e7;
}

[data-theme="dark"] .search-input::placeholder {
    color: #c6c6cc;
}

[data-theme="dark"] .search-input:focus {
    background: #27272a;
    border-color: var(--primary-purple);
}

/* ===== BUTTONS ===== */
.nav-btn {
    background: var(--primary-purple);
    border: none;
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(230, 10, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.nav-btn:hover::before {
    left: 100%;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 10, 234, 0.4);
}

/* Upload Button */
.upload-btn {
    background: #e60aea !important;
    min-width: 130px;
    height: 40px;
}

.upload-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(227, 54, 204, 0.4) !important;
}

/* Icon Button (Theme Toggle) */
.icon-btn {
    background: var(--light-purple);
    border: 1px solid var(--border-purple);
    color: var(--primary-purple);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn:hover {
    background: #ede9fe;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

[data-theme="dark"] .icon-btn {
    background: #27272a;
    border-color: #3f3f46;
    color: #ffffff;
}

[data-theme="dark"] .icon-btn:hover {
    background: #3f3f46;
}

/* ===== MODAL OVERLAY ===== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9999;
    overflow: hidden;
    padding: 20px;
}

.modal-overlay.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay iframe {
    width: 220vw;
    height: 100vh;
    border-radius: 20px;
    border: none;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: #333;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.close-modal:hover {
    background: #ec4899;
    color: white;
    transform: rotate(90deg);
}

[data-theme="dark"] .close-modal {
    background: rgba(39, 39, 42, 0.9);
    color: white;
}

/* ===== PROFILE DROPDOWN ===== */
.profile-dropdown-menu {
    position: fixed;
    top: 70px;
    right: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    min-width: 220px;
    overflow: hidden;
    animation: slideDown 0.2s ease;
    border: 1px solid #e0e0e0;
}

[data-theme="dark"] .profile-dropdown-menu {
    background: #27272a;
    border-color: #3f3f46;
}

.profile-dropdown-menu .user-info {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
    background: linear-gradient(135deg, #e336cc15 0%, #9b4dca15 100%);
}

[data-theme="dark"] .profile-dropdown-menu .user-info {
    border-bottom-color: #3f3f46;
    background: #18181b;
}

.profile-dropdown-menu .user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
}

.menu-item {
    padding: 14px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.2s;
    background: white;
    font-size: 14px;
}

.menu-item:hover {
    background: #f5f5f5;
}

[data-theme="dark"] .menu-item:hover {
    background: #000000;
}

.menu-item.logout {
    color: #e74c3c;
    border-top: 1px solid #e0e0e0;
}

[data-theme="dark"] .menu-item.logout {
    border-top-color: #3f3f46;
}

/* ===== ANIMATIONS ===== */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== LOGGED IN STATE ===== */
body.logged-in .search-input {
    width: 260px;
}

body.logged-in .search-input:focus {
    width: 280px;
}

/* ===== NOTIFICATION ===== */
.login-success-notification {
    position: fixed;
    top: 80px;
    right: 20px;
    background: #d4edda;
    color: #155724;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    animation: slideInRight 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    border-left: 4px solid #28a745;
}

/* ===== SEARCH RESULTS DROPDOWN ===== */
.search-results-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1100 !important;
    display: none;
    border: 1px solid var(--border-purple, #f889e5);
    animation: fadeIn 0.2s ease;
}

[data-theme="dark"] .search-results-dropdown {
    background: #27272a;
    border-color: #3f3f46;
}

.search-results-dropdown::-webkit-scrollbar {
    width: 6px;
}

.search-results-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.search-results-dropdown::-webkit-scrollbar-thumb {
    background: var(--primary-purple, #e336cc);
    border-radius: 3px;
}

.home-container,
.home-feed-container,
.container {
    z-index: 1;
    position: relative;
}

.left-sidebar,
.right-sidebar,
.feed-sidebar {
    z-index: 1;
    position: relative;
}

.search-result-item {
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: var(--light-purple, #f5f3ff);
    transform: translateX(4px);
}

[data-theme="dark"] .search-result-item {
    border-bottom-color: #3f3f46;
}

[data-theme="dark"] .search-result-item:hover {
    background: #38383c;
}

/* ===== SEARCH TABS ===== */
.search-tabs {
    display: flex;
    border-bottom: 2px solid var(--border-color, #e4e6eb);
    background: var(--card-bg, white);
    position: sticky;
    top: 0;
    z-index: 10;
}

[data-theme="dark"] .search-tabs {
    background: #27272a;
    border-bottom-color: #3f3f46;
}

.search-tab {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-secondary, #65676b);
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
}

.search-tab:hover {
    background: var(--light-purple, #f5f3ff);
    color: var(--primary-purple, #e336cc);
}

[data-theme="dark"] .search-tab:hover {
    background: #38383c;
}

.search-tab.active {
    color: var(--primary-purple, #e336cc);
}

.search-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-purple, #e336cc);
    border-radius: 3px 3px 0 0;
}

.search-tab i {
    font-size: 1rem;
}

.tab-count {
    background: var(--primary-purple, #e336cc);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}

.search-results-content {
    max-height: 400px;
    overflow-y: auto;
}

.search-results-content::-webkit-scrollbar {
    width: 6px;
}

.search-results-content::-webkit-scrollbar-track {
    background: transparent;
}

.search-results-content::-webkit-scrollbar-thumb {
    background: var(--primary-purple, #e336cc);
    border-radius: 3px;
}

.post-result {
    position: relative;
}

.post-result:hover {
    background: var(--light-purple, #f5f3ff) !important;
}

[data-theme="dark"] .post-result:hover {
    background: #38383c !important;
}

/* ===== RESPONSIVE — LARGE DESKTOP ===== */
@media (max-width: 1200px) {
    .search-input {
        width: 210px;
    }

    .search-input:focus {
        width: 300px;
    }
}

/* ===== RESPONSIVE — TABLET ===== */
@media (max-width: 1024px) {
    .nav-center {
        gap: 0.3rem;
    }

    .nav-item {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .search-input {
        width: 150px;
    }

    .search-input:focus {
        width: 250px;
    }
}

/* ===== SEARCH RESPONSIVE ===== */
@media (max-width: 768px) {
    .search-results-dropdown {
        left: -20px;
        right: -20px;
        max-height: 300px;
        border-radius: 8px;
    }

    .search-result-item {
        padding: 10px 12px;
    }

    .search-tabs {
        position: sticky;
        top: 0;
    }

    .search-tab {
        font-size: 0.85rem;
        padding: 10px 12px;
    }

    .search-tab span {
        display: none;
    }

    .search-tab i {
        font-size: 1.1rem;
    }

    .tab-count {
        font-size: 0.7rem;
        padding: 1px 6px;
    }

    .search-results-content {
        max-height: 350px;
    }
}

@media (max-width: 480px) {
    .search-tab {
        padding: 8px 10px;
    }

    .search-results-content {
        max-height: 300px;
    }

    .modal-overlay iframe {
        max-width: 100%;
        border-radius: 15px;
    }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE NAV BUTTONS — hidden on desktop, shown on mobile
   This single rule outside a media query is intentional.
═══════════════════════════════════════════════════════════ */
.mobile-nav-btn {
    display: none !important;
    text-decoration: none;
}

/* ═══════════════════════════════════════════════════════════
   MOBILE  ≤ 768px
   ONLY these rules apply on phones.
   Desktop / tablet CSS above is completely untouched.
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

    /* Single row, no wrap */
    .navbar {
        padding: 0 0.75rem !important;
        height: 58px !important;
        flex-wrap: nowrap !important;
        border-radius: 0 0 16px 16px !important;
    }

    .logo img {
        width: 36px !important;
        height: 36px !important;
    }

    /* Hide desktop nav links and search */
    .nav-center {
        display: none !important;
    }

    .search-box {
        display: none !important;
    }

    /* Show Explore + Creator Bazaar icon buttons */
    .mobile-nav-btn {
        display: flex !important;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: var(--light-purple);
        border: 1px solid var(--border-purple);
        color: var(--primary-purple);
        align-items: center;
        justify-content: center;
        font-size: 0.9rem;
        flex-shrink: 0;
        transition: all 0.2s ease;
    }

    .mobile-nav-btn:hover,
    .mobile-nav-btn.active {
        background: var(--primary-purple) !important;
        color: #fff !important;
        transform: translateY(-2px);
    }

    /* nav-actions: tight, no wrap */
    .nav-actions {
        gap: 0.4rem !important;
        flex-shrink: 0;
        flex-wrap: nowrap !important;
    }

    /* All pill buttons → circles */
    .nav-btn {
        padding: 0 !important;
        min-width: unset !important;
        width: 38px !important;
        height: 38px !important;
        border-radius: 50% !important;
        justify-content: center;
    }

    .nav-btn span {
        display: none !important;
    }

    #uploadContentBtn {
        width: 38px !important;
        height: 38px !important;
        min-width: unset !important;
        padding: 0 !important;
        border-radius: 50% !important;
        justify-content: center;
    }

    #uploadContentBtn span {
        display: none !important;
    }

    .icon-btn {
        width: 36px !important;
        height: 36px !important;
        flex-shrink: 0;
    }

    .profile-dropdown-menu {
        right: 8px !important;
        left: 8px !important;
        min-width: unset !important;
    }

    .login-success-notification {
        right: 10px;
        left: 10px;
        font-size: 14px;
    }
}

/* ═══════════════════════════════════════════════════════════
   SMALL MOBILE  ≤ 480px
═══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {

    .navbar {
        padding: 0 0.6rem !important;
        height: 54px !important;
    }

    /* Hide logo text — icon only */
    .logo {
        font-size: 0 !important;
        gap: 0 !important;
    }

    .logo img {
        width: 34px !important;
        height: 34px !important;
    }

    .nav-btn {
        width: 34px !important;
        height: 34px !important;
    }

    .icon-btn {
        width: 34px !important;
        height: 34px !important;
        font-size: 0.85rem !important;
    }

    .mobile-nav-btn {
        width: 34px !important;
        height: 34px !important;
        font-size: 0.85rem !important;
    }

    #uploadContentBtn {
        width: 34px !important;
        height: 34px !important;
    }

    .nav-actions {
        gap: 0.3rem !important;
    }
}

/*
 * header-mobile-fix.css
 * Append to END of header.css — replaces previous mobile section entirely.
 * Desktop/tablet view: completely untouched.
 */

/* ── Hidden on desktop ──────────────────────────────────── */
.mobile-menu-wrapper {
    display: none;
    position: relative;
}

/* ── Logo text: never wrap on any screen ────────────────── */
.logo {
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 0;
}

.logo-text {
    display: inline;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ══════════════════════════════════════════════════════════
   MOBILE  ≤ 768px
══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

    .navbar {
        padding: 0 0.75rem !important;
        height: 58px !important;
        flex-wrap: nowrap !important;
        border-radius: 0 0 16px 16px !important;
    }

    /* Logo — shrink image, keep text on one line */
    .logo {
        font-size: 1.5rem !important;
        gap: 0.3rem !important;
    }

    .logo img {
        width: 34px !important;
        height: 34px !important;
    }

    /* Hide desktop nav + search */
    .nav-center {
        display: none !important;
    }

    .search-box {
        display: none !important;
    }

    /* Show hamburger wrapper */
    .mobile-menu-wrapper {
        display: block;
    }

    /* Hamburger button */
    .mobile-menu-trigger {
        width: 36px !important;
        height: 36px !important;
        flex-shrink: 0;
    }

    .mobile-menu-trigger.open {
        background: var(--primary-purple) !important;
        color: #fff !important;
    }

    /* Dropdown panel — hidden until .open */
    .mobile-nav-dropdown {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 50%;
        transform: translateX(-50%);
        min-width: 180px;
        background: #fff;
        border: 1px solid var(--border-purple);
        border-radius: 14px;
        box-shadow: 0 8px 24px rgba(230, 10, 234, 0.18);
        z-index: 9999;
        overflow: hidden;
    }

    .mobile-nav-dropdown.open {
        display: block;
    }

    [data-theme="dark"] .mobile-nav-dropdown {
        background: #27272a;
        border-color: #3f3f46;
    }

    .mobile-nav-link {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 18px;
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--text-primary);
        text-decoration: none;
        border-bottom: 1px solid var(--border-purple);
        transition: background 0.15s;
    }

    .mobile-nav-link:last-child {
        border-bottom: none;
    }

    .mobile-nav-link i {
        color: var(--primary-purple);
        width: 16px;
        text-align: center;
    }

    .mobile-nav-link:hover,
    .mobile-nav-link.active {
        background: var(--light-purple);
        color: var(--primary-purple);
    }

    [data-theme="dark"] .mobile-nav-link {
        color: #e4e4e7;
    }

    [data-theme="dark"] .mobile-nav-link:hover,
    [data-theme="dark"] .mobile-nav-link.active {
        background: #38383c;
    }

    /* nav-actions: no wrap, tight */
    .nav-actions {
        gap: 0.35rem !important;
        flex-shrink: 0;
        flex-wrap: nowrap !important;
    }

    /* Buttons → small circles */
    .nav-btn {
        padding: 0 !important;
        min-width: unset !important;
        width: 36px !important;
        height: 36px !important;
        border-radius: 50% !important;
        justify-content: center;
    }

    .nav-btn span {
        display: none !important;
    }

    #uploadContentBtn {
        width: 36px !important;
        height: 36px !important;
        min-width: unset !important;
        padding: 0 !important;
        border-radius: 50% !important;
        justify-content: center;
    }

    #uploadContentBtn span {
        display: none !important;
    }

    .icon-btn {
        width: 36px !important;
        height: 36px !important;
        flex-shrink: 0;
    }

    .profile-dropdown-menu {
        right: 8px !important;
        left: 8px !important;
        min-width: unset !important;
    }

    .login-success-notification {
        right: 10px;
        left: 10px;
        font-size: 14px;
    }
}

/* ══════════════════════════════════════════════════════════
   SMALL MOBILE  ≤ 480px
══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {

    .navbar {
        padding: 0 0.5rem !important;
        height: 54px !important;
    }

    /* Hide logo text — icon only */
    .logo-text {
        display: none !important;
    }

    .logo img {
        width: 32px !important;
        height: 32px !important;
    }

    .nav-btn {
        width: 33px !important;
        height: 33px !important;
    }

    .icon-btn {
        width: 33px !important;
        height: 33px !important;
        font-size: 0.82rem !important;
    }

    .mobile-menu-trigger {
        width: 33px !important;
        height: 33px !important;
    }

    #uploadContentBtn {
        width: 33px !important;
        height: 33px !important;
    }

    .nav-actions {
        gap: 0.28rem !important;
    }

    /* On very small screens anchor dropdown to right so it doesn't clip */
    .mobile-nav-dropdown {
        left: auto !important;
        right: 0 !important;
        transform: none !important;
    }
}

/* ── Add this at the end of your header.css file, replacing the previous mobile fix ── */

/* FIX: Keep logo text visible and consistent font on mobile */
@media (max-width: 768px) {

    /* Keep logo text visible on mobile */
    .logo-text {
        display: inline !important;
        font-size: 1.5rem !important;
        /* Same as desktop */
        font-family: Allura !important;
        /* Same font as desktop */
        font-weight: bolder !important;
        white-space: nowrap !important;
        overflow: visible !important;
    }

    /* Adjust logo container to accommodate text */
    .logo {
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
        flex-shrink: 1 !important;
        min-width: 0 !important;
    }

    /* Keep logo image size */
    .logo img {
        width: 34px !important;
        height: 34px !important;
    }
}

@media (max-width: 480px) {

    /* On very small screens, keep font consistent but slightly smaller if needed */
    .logo-text {
        font-size: 1.3rem !important;
    }

    .logo img {
        width: 30px !important;
        height: 30px !important;
    }
}