/* Podstawowe style serwisu (dawniej inline w listings/base.html - ~30 KB w każdym HTML-u, teraz cache'owalny plik). */
        /* ===== CSS VARIABLES ===== */
        :root {
            /* Font Family */
            --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

            /* Spacing Scale */
            --space-xs: 4px;
            --space-sm: 8px;
            --space-md: 12px;
            --space-lg: 16px;
            --space-xl: 24px;
            --space-2xl: 32px;
            --space-3xl: 48px;

            /* Border Radius */
            --radius-sm: 6px;
            --radius-md: 10px;
            --radius-lg: 16px;
            --radius-xl: 24px;
            --radius-full: 9999px;

            /* Shadows */
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
            --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
            --shadow-glow: 0 0 20px rgba(14, 165, 233, 0.3);

            /* Color Palette - Dark Automotive Defaults (prevent flash) */
            --accent: #0ea5e9;
            --accent-strong: #0369a1;
            --bg-grad-start: #0f1419;
            --bg-grad-end: #1a1f2e;
            --card-bg: #1c2333;
            --text: var(--border);
            --muted: #94a3b8;
            --border: #2a3041;
            --hover: #252d3d;
            --badge: #ef4444;
            --success-bg: #052e16;
            --success-text: #86efac;
            --error-bg: #450a0a;
            --error-text: #fca5a5;
            --shadow: 0 10px 30px rgba(0,0,0,0.4);
            --radius: 12px;
        }

        /* Colors come from palette.js via CSS variables on :root */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            font-size: 16px;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        body {
            font-family: var(--font-primary);
            font-weight: 400;
            line-height: 1.6;
            background: #0f1419;
            min-height: 100vh; min-height: 100dvh;
            padding: var(--space-lg);
            padding-top: 0;
            color: var(--text);
            position: relative;
        }

        /* Animated background canvas */
        .animated-background-canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            pointer-events: none;
        }

        /* Background overlay for better content readability */
        .background-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            background: linear-gradient(135deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.4) 100%);
            pointer-events: none;
            opacity: 0.6;
        }

        /* Floating gradient orbs for extra depth */
        .floating-orb {
            position: fixed;
            border-radius: 50%;
            filter: blur(80px);
            opacity: 0.3;
            z-index: -1;
            pointer-events: none;
            animation: float 20s ease-in-out infinite;
        }

        .floating-orb-1 {
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
            top: -200px;
            right: -200px;
            animation-delay: 0s;
            animation-duration: 25s;
        }

        .floating-orb-2 {
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, #0284c7 0%, transparent 70%);
            bottom: -150px;
            left: -150px;
            animation-delay: -8s;
            animation-duration: 30s;
        }

        .floating-orb-3 {
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            animation-delay: -15s;
            animation-duration: 35s;
            opacity: 0.2;
        }

        @keyframes float {
            0%, 100% {
                transform: translate(0, 0) scale(1);
            }
            25% {
                transform: translate(30px, -30px) scale(1.1);
            }
            50% {
                transform: translate(-20px, 20px) scale(0.95);
            }
            75% {
                transform: translate(-30px, -20px) scale(1.05);
            }
        }
        .container {
            max-width: 1400px;
            margin: 0 auto;
        }

        /* ===== HEADER / NAVIGATION ===== */
        header {
            background: var(--card-bg);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-sm);
            margin-bottom: var(--space-2xl);
            margin-top: var(--space-lg);
            overflow: visible;
            position: sticky;
            top: 0;
            z-index: 99999;
            backdrop-filter: blur(10px);
            border: 1px solid var(--border);
        }

        .topbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: var(--space-lg) var(--space-xl);
            gap: var(--space-xl);
        }

        .brand {
            display: flex;
            align-items: center;
            gap: var(--space-md);
        }

        .logo {
            font-size: 1.75em;
            font-weight: 800;
            letter-spacing: -0.02em;
            background: linear-gradient(135deg, var(--accent) 0%, #38bdf8 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-decoration: none;
            transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
        }

        .nav {
            display: flex;
            gap: var(--space-xs);
        }

        .nav a {
            color: var(--text);
            text-decoration: none;
            padding: var(--space-sm) var(--space-md);
            border-radius: var(--radius-md);
            font-weight: 500;
            font-size: 0.9375rem;
            transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
            position: relative;
        }

        .nav a:hover {
            background: var(--hover);
            color: var(--accent);
        }

        /* Mobile menu button (hidden on desktop) */
        .mobile-menu-btn {
            display: none;
            flex-direction: column;
            justify-content: space-around;
            width: 48px;
            height: 48px;
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 8px;
            z-index: 1001;
        }

        .mobile-menu-btn .hamburger {
            width: 28px;
            height: 3px;
            background: var(--text);
            border-radius: 2px;
            transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
            transform-origin: center;
        }

        .mobile-menu-btn:hover .hamburger {
            background: var(--accent);
        }

        /* Mobile menu open state */
        .mobile-menu-btn.active .hamburger:nth-child(1) {
            transform: translateY(10px) rotate(45deg);
        }

        .mobile-menu-btn.active .hamburger:nth-child(2) {
            opacity: 0;
            transform: translateX(-20px);
        }

        .mobile-menu-btn.active .hamburger:nth-child(3) {
            transform: translateY(-8px) rotate(-45deg);
        }

        .auth {
            display: flex;
            align-items: center;
            gap: var(--space-md);
        }
        /* ===== SEARCHBAR ===== */
        .searchbar {
            padding: var(--space-lg) var(--space-xl);
            display: grid;
            grid-template-columns: repeat(7, minmax(120px, 1fr));
            gap: var(--space-md);
            align-items: end;
            transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, transform 0.2s ease-in-out, opacity 0.2s ease-in-out, filter 0.2s ease-in-out;
        }

        .searchbar.hidden {
            display: none;
        }

        .searchbar label {
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--muted);
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: var(--space-xs);
            display: block;
        }

        .searchbar input,
        .searchbar select {
            width: 100%;
            padding: var(--space-sm) var(--space-md);
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            font-size: 0.875rem;
            font-family: var(--font-primary);
            background: var(--card-bg);
            color: var(--text);
            transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, opacity 0.2s ease, filter 0.2s ease, outline-color 0.2s ease;
        }

        .searchbar input:focus,
        .searchbar select:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
            transform: translateY(-1px);
        }

        .searchbar .actions {
            display: flex;
            gap: var(--space-md);
        }

        /* ===== BUTTONS ===== */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: var(--space-sm);
            background: linear-gradient(135deg, var(--accent-strong) 0%, #075985 100%);
            color: #fff;
            text-decoration: none;
            border: none;
            border-radius: var(--radius-md);
            padding: var(--space-sm) var(--space-lg);
            cursor: pointer;
            position: relative;
            overflow: hidden;
            font-weight: 600;
            font-size: 0.875rem;
            font-family: var(--font-primary);
            box-shadow: var(--shadow-sm);
            transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), filter 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .btn:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        .btn:active {
            transform: translateY(0);
            box-shadow: var(--shadow-sm);
        }

        .btn.secondary {
            background: var(--hover);
            color: var(--text);
            border: 1px solid var(--border);
        }

        .btn.secondary:hover {
            background: var(--border);
        }

        .badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 20px;
            height: 20px;
            padding: 0 var(--space-sm);
            font-size: 0.75rem;
            font-weight: 700;
            border-radius: var(--radius-full);
            background: var(--badge);
            color: #fff;
            margin-left: var(--space-sm);
            box-shadow: 0 0 0 2px var(--card-bg) inset;
        }
        /* ===== DROPDOWN MENU ===== */
        .user-menu {
            position: relative;
        }

        .menu-btn {
            background: var(--hover);
            border: 1px solid var(--border);
            color: var(--text);
            border-radius: var(--radius-full);
            width: 48px;
            height: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            position: relative;
            transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
        }

        .menu-btn:hover {
            background: var(--border);
            transform: rotate(90deg);
        }

        .icon-badge {
            position: absolute;
            top: -4px;
            right: -4px;
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 20px;
            height: 20px;
            padding: 0 var(--space-xs);
            font-size: 0.6875rem;
            font-weight: 700;
            border-radius: var(--radius-full);
            background: var(--badge);
            color: #fff;
            border: 2px solid var(--card-bg);
        }

        .dropdown {
            position: absolute;
            right: 0;
            top: 48px;
            background: var(--card-bg);
            box-shadow: var(--shadow-xl);
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            min-width: 260px;
            padding: 0;
            display: none;
            z-index: 1000;
            backdrop-filter: blur(10px);
        }

        .dropdown.open {
            display: block;
            animation: scaleIn 0.2s ease-out;
        }

        .dropdown > div:first-child {
            border-bottom: 1px solid var(--border);
            margin-bottom: var(--space-xs);
            padding-bottom: var(--space-xs);
        }

        .dropdown a,
        .dropdown button {
            display: flex;
            align-items: center;
            justify-content: space-between;
            color: var(--text);
            text-decoration: none;
            padding: var(--space-sm) var(--space-md);
            border-radius: var(--radius-sm);
            font-weight: 500;
            font-size: 0.875rem;
            transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
        }

        .dropdown a:hover,
        .dropdown button:hover {
            background: var(--hover);
            color: var(--accent);
        }

        .dropdown form {
            margin: 0;
        }
        /* ===== CONTENT AREA ===== */
        .content {
            background: var(--card-bg);
            padding: var(--space-xl);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-lg);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
            z-index: 10;
        }

        /* ===== FORM ELEMENTS ===== */
        .form-grid {
            display: grid;
            gap: var(--space-md);
            grid-template-columns: repeat(2, minmax(160px, 1fr));
        }

        .form-field {
            display: flex;
            flex-direction: column;
        }

        .form-field label {
            display: block;
            font-size: 0.8125rem;
            font-weight: 600;
            color: var(--muted);
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: var(--space-sm);
        }

        .form-field .hint {
            color: var(--muted);
            font-size: 0.8125rem;
            margin-top: var(--space-xs);
        }

        .form-control,
        .form-field input,
        .form-field select,
        .form-field textarea {
            width: 100%;
            padding: var(--space-sm) var(--space-md);
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            font-size: 0.9375rem;
            font-family: var(--font-primary);
            background: var(--card-bg);
            color: var(--text);
            transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, opacity 0.2s ease, filter 0.2s ease, outline-color 0.2s ease;
        }

        .form-control:focus,
        .form-field input:focus,
        .form-field select:focus,
        .form-field textarea:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
        }

        .actions-row {
            display: flex;
            gap: var(--space-md);
            align-items: center;
        }
        /* Layout helpers */
        @media (max-width: 900px) {
            .searchbar { grid-template-columns: repeat(2, minmax(120px, 1fr)); }
            .topbar { flex-direction: row; gap: var(--space-md); align-items: center; }
            .brand { flex: 1; display: flex; align-items: center; justify-content: space-between; }
            .mobile-menu-btn { display: flex; }
            .nav {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: var(--card-bg);
                border: 1px solid var(--border);
                border-radius: var(--radius-md);
                flex-direction: column;
                padding: var(--space-md);
                gap: 0;
                box-shadow: var(--shadow-lg);
                z-index: 1000;
                max-height: 80vh;
                overflow-y: auto;
            }
            .nav.active { display: flex; }
            .nav a {
                padding: var(--space-md);
                border-radius: var(--radius-md);
                width: 100%;
                text-align: center;
                border-bottom: 1px solid var(--border);
            }
            .nav a:last-child { border-bottom: none; }
            .form-grid { grid-template-columns: 1fr; }
        }

        @media (max-width: 640px) {
            .auth { flex-wrap: wrap; justify-content: center; }
            .auth .btn { flex: 1; min-width: 120px; text-align: center; }
        }

        @media (max-width: 480px) {
            .searchbar { grid-template-columns: 1fr; }
            .toast-container {
                top: auto;
                bottom: var(--space-md);
                right: var(--space-md);
                left: var(--space-md);
                max-width: none;
            }
        }
        /* Utility */
        .sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
        /* Global link styles - prevent color change after visiting and remove underlines */
        a { color: inherit; text-decoration: none; }
        a:visited { color: inherit; text-decoration: none; }
        a:hover { text-decoration: none; }
        .logo, .logo:visited { color: var(--accent); text-decoration: none; }
        .nav a, .nav a:visited { color: var(--accent); text-decoration: none; }
        .dropdown a, .dropdown a:visited { color: var(--text); text-decoration: none; }
        .btn, .btn:visited { color: #fff; text-decoration: none; }
        .btn.secondary, .btn.secondary:visited { color: var(--text); text-decoration: none; }
        /* ===== TOAST NOTIFICATIONS ===== */
        .toast-container {
            position: fixed;
            top: var(--space-lg);
            right: var(--space-lg);
            z-index: 100000;
            max-width: 400px;
        }

        .toast {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            padding: var(--space-md);
            margin-bottom: var(--space-md);
            box-shadow: var(--shadow-xl);
            display: flex;
            align-items: flex-start;
            gap: var(--space-md);
            animation: slideInRight 0.2s ease-out;
            position: relative;
            backdrop-filter: blur(10px);
        }

        .toast.success {
            border-left: 4px solid #10b981;
        }

        .toast.error,
        .toast.danger {
            border-left: 4px solid #ef4444;
        }

        .toast.warning {
            border-left: 4px solid #f59e0b;
        }

        .toast.info {
            border-left: 4px solid var(--accent);
        }

        .toast-icon {
            flex-shrink: 0;
            width: 24px;
            height: 24px;
        }

        .toast-content {
            flex: 1;
            color: var(--text);
            font-size: 0.875rem;
            line-height: 1.5;
            font-weight: 500;
        }

        .toast-close {
            flex-shrink: 0;
            background: none;
            border: none;
            color: var(--muted);
            cursor: pointer;
            font-size: 1.25rem;
            line-height: 1;
            padding: 0;
            width: 20px;
            height: 20px;
            transition: color 0.2s ease;
        }

        .toast-close:hover {
            color: var(--text);
        }

        .toast.hiding {
            animation: slideOutRight 0.2s ease-in forwards;
        }
        /* Legacy messages (fallback for non-JS) */
        .messages { list-style:none; margin: 14px 0; }
        .message { padding: 10px 14px; border-radius:8px; margin-bottom: 8px; }
        .message.success { background: var(--success-bg); color: var(--success-text); }
        .message.error { background: var(--error-bg); color: var(--error-text); }
        /* ===== THEME TOGGLE ===== */
        .theme-toggle {
            background: var(--hover);
            border: 1px solid var(--border);
            color: var(--text);
            border-radius: var(--radius-full);
            width: 48px;
            height: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
        }

        .theme-toggle:hover {
            background: var(--border);
            transform: rotate(15deg);
        }
        /* Cookie consent banner */
        .cookie-banner {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: var(--card-bg);
            border-top: 1px solid var(--border);
            box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
            padding: 20px;
            z-index: 9999;
            display: none;
        }
        .cookie-banner.show {
            display: block;
        }
        .cookie-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
        }
        .cookie-text {
            flex: 1;
            min-width: 280px;
        }
        .cookie-text p {
            margin: 0 0 8px 0;
            font-size: 14px;
            line-height: 1.5;
            color: var(--text);
        }
        .cookie-text a {
            color: var(--accent);
            text-decoration: underline;
        }
        .cookie-options {
            margin-top: 12px;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        .cookie-option {
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
            font-size: 14px;
            color: var(--text);
        }
        .cookie-option input[type="checkbox"] {
            width: 18px;
            height: 18px;
            cursor: pointer;
        }
        .cookie-option input[type="checkbox"]:disabled {
            cursor: not-allowed;
            opacity: 0.6;
        }
        .cookie-option span {
            user-select: none;
        }
        .cookie-actions {
            display: flex;
            gap: 10px;
            flex-shrink: 0;
        }
        .cookie-actions .btn {
            padding: 10px 20px;
            font-size: 14px;
            border-radius: 8px;
            cursor: pointer;
            border: none;
            text-decoration: none;
            display: inline-block;
        }
        .cookie-actions .btn-primary {
            background: var(--accent-strong);
            color: #fff;
        }
        .cookie-actions .btn-secondary {
            background: var(--hover);
            color: var(--text);
        }
        /* Global: hide number input spinners and prevent platform-specific steppers */
        input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
        input[type="number"]::-webkit-outer-spin-button,
        input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

        /* ===== ANIMATIONS ===== */
        /* Fade-in animation on page load */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

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

        @keyframes scaleIn {
            from {
                opacity: 0;
                transform: scale(0.9);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }

        /* Apply animations to main elements */
        .container {
            animation: fadeIn 0.2s ease-out;
        }

        header {
            animation: slideInLeft 0.2s ease-out;
        }

        .content {
            animation: fadeInUp 0.2s ease-out;
        }

        /* Enhanced button animations */
        .btn {
            transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), filter 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.3);
            transform: translate(-50%, -50%);
            transition: width 0.2s, height 0.2s;
        }

        .btn:hover::before {
            width: 300px;
            height: 300px;
        }

        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        }

        .btn:active {
            transform: translateY(0);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
        }

        /* Logo animation */
        .logo {
            transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
        }

        .logo:hover {
            transform: scale(1.05);
            filter: brightness(1.1);
        }

        /* Nav link animations */
        .nav a {
            transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
            position: relative;
        }

        .nav a::after {
            content: '';
            position: absolute;
            bottom: 4px;
            left: 50%;
            width: 0;
            height: 2px;
            background: var(--accent);
            transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, opacity 0.2s ease, filter 0.2s ease, width 0.2s ease;
            transform: translateX(-50%);
        }

        .nav a:hover::after {
            width: 80%;
        }

        /* Searchbar input animations */
        .searchbar input:focus,
        .searchbar select:focus {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            border-color: var(--accent);
        }

        /* User menu button animation */
        .menu-btn {
            transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
        }

        .menu-btn:hover {
            transform: rotate(90deg);
        }

        /* Loading spinner */
        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        .spinner {
            display: inline-block;
            width: 40px;
            height: 40px;
            border: 4px solid rgba(255, 255, 255, 0.3);
            border-top-color: #fff;
            border-radius: 50%;
            animation: spin 0.2s linear infinite;
        }

        /* Shimmer effect for loading */
        @keyframes shimmer {
            0% { background-position: -1000px 0; }
            100% { background-position: 1000px 0; }
        }

        .shimmer {
            background: linear-gradient(90deg, var(--card-bg) 0%, var(--hover) 50%, var(--card-bg) 100%);
            background-size: 1000px 100%;
            animation: shimmer 0.2s infinite;
        }

        /* Staggered animation for lists */
        .listing-card {
            opacity: 0;
            animation: fadeInUp 0.2s ease-out forwards;
        }

        .listing-card:nth-child(1) { animation-delay: 0.1s; }
        .listing-card:nth-child(2) { animation-delay: 0.2s; }
        .listing-card:nth-child(3) { animation-delay: 0.3s; }
        .listing-card:nth-child(4) { animation-delay: 0.4s; }
        .listing-card:nth-child(5) { animation-delay: 0.5s; }
        .listing-card:nth-child(6) { animation-delay: 0.6s; }

        /* Google Places Autocomplete Dropdown Styles */
        .pac-container {
            font-family: var(--font-primary);
            background-color: var(--card-bg);
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-xl);
            border: 1px solid var(--border);
            z-index: 9999 !important;
            margin-top: 4px;
        }

        .pac-item {
            padding: var(--space-sm) var(--space-md);
            border-bottom: 1px solid var(--border);
            cursor: pointer;
            transition: background 0.2s ease;
        }

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

        .pac-item:hover {
            background-color: var(--hover);
        }

        .pac-item-selected {
            background-color: var(--hover);
        }

        .pac-item-query {
            font-weight: 600;
            color: var(--text);
        }

        .pac-matched {
            font-weight: 700;
            color: var(--accent);
        }

        .pac-icon {
            margin-right: var(--space-sm);
        }

    
