
/* ── Logo theme swap ─────────────────────────────────────────────────────── */

/* Dark variants always hidden by default (covers navbar + footer) */
.logo-dark { display: none; }

/* Dark mode navbar — large logo */
[data-theme="dark"] .main-logo-large.logo-default { display: none; }
[data-theme="dark"] .main-logo-large.logo-dark    { display: inline; width: 150px; height: auto; }

/* On mobile the large logo must stay hidden regardless of dark mode specificity */
/* Small logo swap is also scoped here to prevent bleeding onto desktop */
@media (max-width: 767px) {
    .main-logo-large,
    .main-logo-large.logo-default,
    .main-logo-large.logo-dark { display: none !important; }
    /* Ensure mini logo visible in light mode */
    .main-logo-small.logo-default { display: inline !important; }
    /* Dark mode swap for mini logo */
    [data-theme="dark"] .main-logo-small.logo-default { display: none !important; }
    [data-theme="dark"] .main-logo-small.logo-dark    { display: inline !important; }
}

/* Dark mode — Login: ghost with muted border → orange on hover */
[data-theme="dark"] .button-login {
    color: #cbd5e1 !important;
    background-color: transparent !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
}
[data-theme="dark"] .button-login:hover {
    background-color: #ff4a00 !important;
    border-color: #ff4a00 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(255, 74, 0, 0.32) !important;
}
/* Signup: inherits global #buttons dark mode (orange pill) */
[data-theme="dark"] .button-signup {
    color: #ffffff !important;
}



.main-logo-large {
    height: auto;
    width: 150px;
}
.main-logo-wrapper{
    position: static;
    top: 220px;
    left: 100px;
    margin-left: -330px;
    margin-bottom: 40px;
}

.main-logo-signup {
    width: 150px;
    position: relative;
}

.main-logo-small {
    height: 50px;
    margin-left: 0;
}


.main-logo-aspire-mobile{
    font-size: 9px;
    position: relative;
    left: -64px;
    bottom: -6px;}

.main-logo-aspire{
    font-size: 11px;
    position: relative;
    font-weight: lighter;
    right: 140px;
    bottom: -2px;
    color: darkgrey;
    font-style: italic;
}

.mag-glass-Img {
    height: 20px !important;
    width: 20px;
    margin-right: 10px;
    margin-top: 7px;
}

.search-bar-wrapper {
    margin: 0 !important;
    height: 31px !important;
    flex-grow: 2;
    display: none !important;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.auto-complete-wrapper {
    width: 100%;
    margin-right: 8px;
    margin-left: 8px;
    position: relative;
}

.suggestions {
    list-style: none;
    overflow-y: auto;
    padding: 0 10px 10px 10px;
    outline: none;
    border-radius: 10px;
    background-image: linear-gradient(120deg, white, rgb(255, 255, 255));
    box-shadow: 0 0 2px #2D4456;
    position: absolute;
    top: calc(100% + 5px);
    min-height: fit-content;
    max-height: calc(100vh / 2);
    width: 100%;
    z-index: 1001;
}

.suggestions li {
    padding: 5px;
    border-radius: 10px;
    border: rgba(27, 43, 66, 0.13) solid 1px;
}

.suggestion-active {
    background-color: #2D4456;
    opacity: 0.8;
    color: white;
    cursor: pointer;
}

.suggestions li:hover {
    background-color: #2D4456;
    opacity: 0.8;
    color: white;
    cursor: pointer;
}

.suggestions li:not(:last-of-type) {
    border-bottom: 1px solid #999;
    padding-bottom: 10px;
}

.autocomplete-title {
    /*max-height: 300px;*/
    overflow-y: auto;
}

.autocomplete-title::-webkit-scrollbar {
    width: 8px;
}

.autocomplete-title::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.autocomplete-title::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.autocomplete-title::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.autocomplete-thumb{
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
}

.autocomplete-posts{
    color: orange;
    font-weight: bold;
    display: none;
}

.nav-bar-start-item{
    border-radius: 8px !important;
}

.nav-bar-start-item:hover{
    background-color: rgba(241, 136, 5, 0.5) !important;
    border-radius: 8px !important;
}

.search-bar {
    height: calc(1.5em + 0.75rem - 3px);
    padding: 0 10px;
    color: #495057;
    border: 1px solid #ced4da;
    border-radius: 10px;
    position: relative;
    vertical-align: middle;
    background: #ffffff;
}

.search-bar:focus {
    box-shadow: 0 0 10px #f18805 !important;
    border-color: #f18805 !important;
    text-shadow: none !important;
    outline: none !important;
}

.formSearchNav {
    display: flex;
    margin: 0 !important;
    padding: 0 !important;
    flex-wrap: nowrap !important;
}

.side-bar-toggle {
    height: 32px;
    width: 32px;
    margin: 0 10px 0 20px;
    cursor: pointer;
}

.nav-bar-wrapper {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    height: 100vh;
    position: fixed;
    width: 100vw;
    z-index: 100;
    top: 0;
    left: 0;

}

.nav-bar {
    border-bottom: lightgray solid thin;
    height: 66px;
    margin-bottom: 50px;
    flex-wrap: nowrap;
    display: flex;
    justify-content: space-between;
    padding: 5px calc(((100vw - 1400px) / 2 + 20px)) 5px calc(((100vw - 1400px) / 2) + 10px);
    z-index: 999;
}

.seller-notification, .ai-notification {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #C1B6FF;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    color: #0F1429;
    z-index: 999;
    height: var(--notification-height);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: height 0.3s ease;
}

.ai-notification{
    background-color: #0CCEB3;
}

.seller-notification .seller-notification-button, .ai-notification-button {
    background-color: #0F1429;
    color: #fff;
    padding: 8px 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.seller-notification .seller-notification-button:hover {
    background-color: #3B4252;
}

.seller-notification-content, .ai-notification-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.seller-notification-text, .ai-notification-text {
    margin-right: 20px;
    white-space: nowrap;
}

.seller-notification-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #0F1429;
    margin-left: 20px;
    position: absolute;
    right: 20px;
}

.nav-bar-start {
    display: flex;
    flex-direction: row;
    flex: auto;
}

.nav-bar-start a {
    color: #333;
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    transition: color 0.3s ease-in-out, background-color 0.3s ease;
}

.nav-bar-start a:hover, .nav-bar-start a:active {
    color: #fff;
    background-color: #c4c4c4;
    border-radius: 5px;
}

.nav-bar-end {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.nav-not-logged-in {
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-nav .dropdown-menu {
    position: absolute;
    min-width: 216px;
    width: max-content !important;
    left: auto;
    right: 0;
    background-color: white;
    border-radius: 20px !important;
    box-shadow: 0 10px 20px 0 #00000026;
    padding: 16px 0 16px 0;
    margin-top: -11px;
}

.nav-bar .dropdown-item {
    color: #4F5674 !important;
}

.nav-bar .dropdown-item .navbar-settings{
    color: #5c5aff !important;
    font-weight: bolder;
}

.nav-bar .dropdown-item:hover {
    background-color: #ced4da;
}

.nav-dropdown-username, .nav-dropdown-email {
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    color: #1C1E29 !important;
    pointer-events: none;
    padding: 0 16px;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100%;
}

.nav-dropdown-email {
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    padding-bottom: 16px;
    color: #4F5674 !important;
}

.nav-dropdown-logout,
.nav-dropdown-admin {
    font-size: 14px !important;
    line-height: 16px !important;
    color: #828AAA !important;
}

.nav-dropdown-saved-created {
    display: flex;
    justify-content: space-between;
    min-width: max-content;
}

#collapsible-nav-dropdown {
    border-bottom: none !important;
    margin-left: 30px;
    padding: 16px 0;
    line-height: 24px;
}

.dropdown-toggle::after {
    display: none;
}

.nav-sidebar-body {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.nav-sidebar-background {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,.8);
    z-index: 2;
}

.nav-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    max-width: 500px;
    width: 75%;
    height: 100%;
    background-color: white;
    overflow-y: auto;
    z-index: 1000;
}

.nav-sidebar-logo {
    max-width: 100%;
    padding: 16px;
}

[data-theme="dark"] .nav-sidebar {
    background-color: #161d35;
    color: #f1f5f9;
}

[data-theme="dark"] .nav-sidebar-logo.logo-default { display: none !important; }
[data-theme="dark"] .nav-sidebar-logo.logo-dark    { display: inline !important; }

[data-theme="dark"] .sidebar-links,
[data-theme="dark"] .sidebar-links-admin {
    color: #f1f5f9;
}
[data-theme="dark"] .sidebar-logout-link {
    color: #f87171;
}
[data-theme="dark"] .sidebar-logout-link:hover {
    color: #fca5a5;
}
[data-theme="dark"] .sidebar-links-wrapper:hover .sidebar-links,
[data-theme="dark"] .sidebar-links-wrapper:hover .sidebar-links-admin {
    color: #ffffff;
}
[data-theme="dark"] .nav-sidebar .dropdown-divider {
    border-color: #2d3a5e;
}
[data-theme="dark"] .button-login-sidebar {
    color: #cbd5e1 !important;
    background-color: transparent !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
}
[data-theme="dark"] .button-login-sidebar:hover {
    background-color: #ff4a00 !important;
    border-color: #ff4a00 !important;
    color: #ffffff !important;
}
[data-theme="dark"] .button-signup-sidebar {
    color: #ffffff !important;
}

.navbar-brand {
    display: flex;
    align-items: flex-end;
    margin-right: 0;
}

.nav-bar .dropdown-item.nav-dropdown-admin {
    color: #007D47 !important;
    line-height: 24px !important;
    font-weight: 900 !important;
}

.nav-bar .dropdown-item.nav-dropdown-logout {
    color: #c0392b !important;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */

/* Light mode (default) */
.ft-root {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    width: 100%;
    margin-top: 96px;
}

.ft-logo-dark  { display: none; }

.ft-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 40px 16px;
    display: grid;
    grid-template-columns: 2fr 1.5fr 2fr;
    gap: 56px;
}

/* Brand column */
.ft-brand {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ft-logo-link {
    display: inline-block;
    line-height: 0;
}

.ft-logo {
    height: 30px;
    width: 140px;
}

.ft-tagline {
    color: #64748b;
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
    max-width: 250px;
}

.ft-socials {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.ft-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
    text-decoration: none;
}

.ft-social-btn:hover {
    color: #0f172a;
    background: #f1f5f9;
    border-color: #cbd5e0;
}

.ft-social-btn svg {
    width: 16px;
    height: 16px;
}

/* Shared column */
.ft-col {
    display: flex;
    flex-direction: column;
}

.ft-col-heading {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
    margin: 0 0 18px;
}

/* Mini Apps chips */
.ft-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ft-chip {
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--c);
    border: 1px solid var(--c);
    background-color: var(--c-bg, transparent);
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.18s ease, box-shadow 0.18s ease;
    white-space: nowrap;
}

.ft-chip:hover {
    background-color: var(--c-hover, transparent);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px var(--c-glow, transparent);
    text-decoration: none;
    color: var(--c);
}

/* Newsletter column */
.ft-newsletter-desc {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 20px;
}

.ft-form {
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    max-width: 360px;
}

.ft-email-input {
    flex: 1;
    min-width: 0;
    background: #fff;
    border: none;
    color: #0f172a;
    padding: 11px 16px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: background 0.2s;
}

.ft-email-input::placeholder {
    color: #94a3b8;
    font-style: italic;
}

.ft-email-input:focus {
    background: #f8fafc;
}

.ft-submit-btn {
    background: #1e3a8a;
    border: none;
    color: #fff;
    padding: 0 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
}

.ft-submit-btn:hover:not(:disabled) {
    background: #1d4ed8;
}

.ft-submit-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.ft-submit-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ft-spin 0.7s linear infinite;
    display: inline-block;
}

@keyframes ft-spin {
    to { transform: rotate(360deg); }
}

.ft-subscribed-msg {
    background: rgba(30, 58, 138, 0.06);
    border: 1px solid rgba(30, 58, 138, 0.18);
    color: #1e3a8a;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 14px;
    margin: 0;
    max-width: 360px;
}

/* Bottom bar */
.ft-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 40px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.ft-copy {
    font-size: 13px;
    color: #94a3b8;
}

.ft-legal {
    display: flex;
    gap: 24px;
}

.ft-legal-link {
    font-size: 13px;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.ft-legal-link:hover {
    color: #475569;
    text-decoration: none;
}

/* ── Footer — Dark mode ──────────────────────────────────────────────────── */

[data-theme="dark"] .ft-root {
    background: #0d0f1a;
    border-top-color: #1e2438;
}

[data-theme="dark"] .ft-logo-default { display: none; }
[data-theme="dark"] .ft-logo-dark    { display: block; }

[data-theme="dark"] .ft-tagline      { color: #8b9ab0; }
[data-theme="dark"] .ft-col-heading  { color: #4a5f73; }


[data-theme="dark"] .ft-newsletter-desc { color: #8b9ab0; }

[data-theme="dark"] .ft-social-btn {
    background: #161927;
    border-color: #1e2438;
    color: #64748b;
}
[data-theme="dark"] .ft-social-btn:hover {
    color: #e2e8f0;
    background: #1e2438;
    border-color: #2d3655;
}

[data-theme="dark"] .ft-form          { border-color: #1e2438; }
[data-theme="dark"] .ft-email-input   { background: #131625; color: #e2e8f0; }
[data-theme="dark"] .ft-email-input::placeholder { color: #475569; }
[data-theme="dark"] .ft-email-input:focus        { background: #181c30; }

[data-theme="dark"] .ft-subscribed-msg {
    background: rgba(30, 58, 138, 0.15);
    border-color: rgba(30, 58, 138, 0.3);
    color: #93c5fd;
}

[data-theme="dark"] .ft-bottom        { border-top-color: #1a1f36; }
[data-theme="dark"] .ft-copy          { color: #3d4f63; }
[data-theme="dark"] .ft-legal-link    { color: #3d4f63; }
[data-theme="dark"] .ft-legal-link:hover { color: #7d8fa6; }


.cookie-consent{
    padding-right: 160px !important;
}

/* ── Dark Mode Toggle ──────────────────────────────────────────────────────── */

.dark-toggle {
    background: none;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    width: 34px;
    height: 34px;
    cursor: pointer;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease;
    flex-shrink: 0;
    margin-right: 8px;
    color: #374151;
    line-height: 1;
}

.dark-toggle:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

[data-theme="dark"] .dark-toggle {
    border-color: #2d3148;
    color: #f1f5f9;
}

[data-theme="dark"] .dark-toggle:hover {
    background: #2d3148;
    border-color: #3d4168;
}

/* Signup page toggle — fixed top-right since navbar is hidden */
.signup-dark-toggle {
    position: fixed;
    top: 18px;
    right: 20px;
    z-index: 100;
}

/* ── Dark Mode — Navbar ────────────────────────────────────────────────────── */

[data-theme="dark"] .nav-bar {
    background-color: #13151f !important;
    border-bottom-color: #2d3148;
}

[data-theme="dark"] .nav-bar-start a {
    color: #cbd5e1;
}

[data-theme="dark"] .nav-bar-start a:hover,
[data-theme="dark"] .nav-bar-start a:active {
    color: #fff;
    background-color: #2d3148;
}

[data-theme="dark"] .nav-bar-start-item.active-nav-item {
    color: #fff;
    background-color: #2d3148;
}

[data-theme="dark"] .nav-bar .dropdown-menu {
    background-color: #1a1d2e;
    border-color: #2d3148;
}

[data-theme="dark"] .nav-bar .dropdown-item {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .nav-bar .dropdown-item:hover {
    background-color: #2d3148;
    color: #fff !important;
}

[data-theme="dark"] .nav-bar .dropdown-item.navbar-settings {
    color: #818cf8 !important;
}

[data-theme="dark"] .nav-bar .dropdown-item.nav-dropdown-admin {
    color: #34d399 !important;
}

[data-theme="dark"] .nav-bar .dropdown-item.nav-dropdown-logout {
    color: #f87171 !important;
}

[data-theme="dark"] .nav-dropdown-username {
    color: #f1f5f9 !important;
}
[data-theme="dark"] .nav-dropdown-email {
    color: #94a3b8 !important;
}

[data-theme="dark"] .nav-dropdown-divider {
    border-color: #2d3148;
}

/* Footer is always dark — no theme overrides needed */

/* ── End Dark Mode — Navbar & Footer ───────────────────────────────────────── */
