/*
 * MaltLive 2026 - Exhibition Guide
 * File: styles.css
 * Version: v5.2 - 2026-02-16 13:47:00 GST
 * Description: Added voting styles, rating popup modal, star selector, My Ratings cards
 */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

:root {
    --teal: #1A7B7B;
    --gold: #D4941A;
    --deep-gold: #8B6914;
    --charcoal: #2C2416;
    --warm-black: #1A1410;
    --cream: #F5F1E8;
    --smoke: #4A4035;
    --highlight: #FFB84D;
    --light-teal: #2A9B9B;
}

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

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    background: linear-gradient(135deg, var(--warm-black) 0%, var(--charcoal) 100%);
    color: var(--cream);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ==================== LANDING PAGE ==================== */
.landing-page {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.landing-container {
    max-width: 600px;
    width: 100%;
    text-align: center;
    position: relative;
}

.logo-container {
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease-out;
}

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

.main-logo {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin-bottom: 1rem;
}

.tagline {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--cream);
    opacity: 0.9;
    margin-bottom: 1rem;
    font-weight: 300;
}

.event-dates {
    font-family: 'Roboto', sans-serif; font-weight: 700;
    font-size: 1.5rem;
    color: var(--gold);
    letter-spacing: 0.1em;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

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

/* Buttons */
.btn {
    padding: 1.2rem 2rem;
    font-family: 'Roboto', sans-serif; font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    transition: all 0.3s 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.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

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

.btn-primary {
    background: var(--gold);
    color: var(--warm-black);
    box-shadow: 0 4px 20px rgba(212, 148, 26, 0.3);
}

.btn-primary:hover {
    background: var(--highlight);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 148, 26, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--cream);
    border: 2px solid var(--teal);
    font-family: 'Roboto', sans-serif; font-weight: 700;
    letter-spacing: 0.08em;
}

.btn-secondary:hover {
    background: var(--teal);
    border-color: var(--light-teal);
    transform: translateY(-2px);
}

.btn-small {
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

.btn-icon {
    background: transparent;
    border: none;
    color: var(--cream);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.btn-logout {
    font-size: 1.8rem;
    transition: color 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-logout svg {
    width: 24px;
    height: 24px;
}

.btn-logout:hover {
    color: var(--gold);
    transform: scale(1.1);
}

.btn-logout:active {
    transform: scale(0.95);
}

/* Registration Form */
.registration-form {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, var(--charcoal), var(--warm-black));
    border: 3px solid var(--gold);
    padding: 2.5rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.8);
    animation: slideIn 0.4s ease-out;
    text-align: left;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -45%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.close-form {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--cream);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.close-form:hover {
    color: var(--gold);
}

.registration-form h2 {
    font-family: 'Roboto', sans-serif; font-weight: 700;
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
}

.form-subtitle {
    margin-bottom: 2rem;
    opacity: 0.8;
    font-size: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gold);
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.9rem;
    background: rgba(74, 64, 53, 0.3);
    border: 2px solid var(--smoke);
    color: var(--cream);
    font-size: 1rem;
    font-family: 'Roboto', sans-serif; font-weight: 300;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(74, 64, 53, 0.5);
}

.form-group small {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.85rem;
    opacity: 0.7;
}

.radio-group {
    display: flex;
    gap: 1.5rem;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
    color: var(--cream);
}

.radio-group input[type="radio"] {
    width: auto;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 20, 16, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(212, 148, 26, 0.2);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.loading-overlay p {
    margin-top: 1rem;
    font-size: 1.2rem;
    color: var(--gold);
}

/* ==================== APP PAGE ==================== */
.app-page {
    padding-bottom: 70px; /* Space for mobile nav */
}

.app-header {
    background: linear-gradient(to bottom, rgba(26, 20, 16, 0.98), rgba(44, 36, 22, 0.95));
    border-bottom: 2px solid var(--gold);
    padding: 0.8rem 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    height: 40px;
    cursor: pointer;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-info span {
    font-size: 1rem;
    color: var(--gold);
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 20, 16, 0.98), rgba(44, 36, 22, 0.95));
    border-top: 2px solid var(--gold);
    display: flex;
    justify-content: space-around;
    padding: 0.5rem;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    background: none;
    border: none;
    color: var(--cream);
    opacity: 0.6;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s;
}

.nav-item.active {
    opacity: 1;
    color: var(--gold);
}

.nav-icon {
    font-size: 1.5rem;
}

.nav-label {
    font-size: 0.75rem;
    font-family: 'Roboto', sans-serif; font-weight: 700;
    letter-spacing: 0.05em;
}

/* Side Menu */
/* Registration Banner */
.registration-banner {
    background: linear-gradient(90deg, var(--teal), var(--light-teal));
    color: white;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.95rem;
}

.registration-banner button {
    background: white;
    color: var(--teal);
    border: none;
    padding: 0.4rem 1rem;
    font-family: 'Roboto', sans-serif; font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.registration-banner button:hover {
    background: var(--gold);
    color: var(--warm-black);
}

/* Main Content */
.app-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

.view-container {
    display: none;
}

.view-container.active {
    display: block;
    animation: fadeIn 0.4s ease-in;
}

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

.view-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.view-header h2 {
    font-family: 'Roboto', sans-serif; font-weight: 700;
    font-size: 2rem;
    color: var(--gold);
    letter-spacing: 0.1em;
}

/* Map Legend - REMOVED */

.map-container {
    background: rgba(245, 241, 232, 0.98);
    padding: 1.5rem;
    border: 3px solid var(--gold);
    min-height: 400px;
    position: relative;
    overflow: hidden;
    cursor: grab;
}

.map-container:active {
    cursor: grabbing;
}

/* Highlighted stand - solid deep red border (no glow) */
.selected {
    stroke: #DC3545 !important;
    stroke-width: 4px !important;
}

/* Hover on selected stand should keep red */
.floor-plan-svg rect.selected:hover {
    fill: #DC3545 !important;
    fill-opacity: 0.35 !important;
}

/* Logo pulse animation (breathing effect) */
.pulsing-logo {
    animation: logoPulse 1s ease-in-out infinite;
    transform-origin: center;
    transform-box: fill-box;
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.85;
    }
}

.loader {
    text-align: center;
    padding: 3rem;
    color: var(--charcoal);
    font-size: 1.2rem;
}

/* Exhibitor Grid */
.exhibitor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.exhibitor-card {
    background: linear-gradient(135deg, rgba(74, 64, 53, 0.3), rgba(44, 36, 22, 0.5));
    border: 2px solid var(--smoke);
    padding: 0.8rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
}

.exhibitor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--highlight));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.exhibitor-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 148, 26, 0.3);
}

.exhibitor-card:hover::before {
    transform: scaleX(1);
}

.card-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.card-logo-wrap {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Compact logo for directory cards only */
.directoryView .card-logo-wrap {
    width: 50px;
    height: 50px;
}

.card-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
    padding: 6px;
    border-radius: 8px;
}

/* Compact padding for directory cards */
.directoryView .card-logo {
    width: 50px;
    height: 50px;
    padding: 2px;
}

.card-title {
    flex: 1;
}

.card-title h3 {
    font-family: 'Roboto', sans-serif; font-weight: 700;
    font-size: 1.6rem;
    color: var(--gold);
    margin-bottom: 0.3rem;
    letter-spacing: 0.08em;
}

.stand-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--warm-black);
    padding: 0.2rem 0.6rem;
    font-family: 'Roboto', sans-serif; font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
}

.brand-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.brand-tag {
    padding: 0.4rem 0.8rem;
    background: rgba(212, 148, 26, 0.2);
    border: 1px solid var(--gold);
    font-size: 0.85rem;
}

.card-actions {
    margin-top: 0.75rem;
    display: flex;
    gap: 0.5rem;
}

/* Compact button styling for directory cards */
.directoryView .card-actions {
    gap: 0.3rem;
}

.btn-favorite {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    padding: 0.6rem 1.2rem;
    font-family: 'Roboto', sans-serif; font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    flex: 1;
}

/* Compact button for directory cards */
.directoryView .btn-favorite {
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
}

.btn-favorite:hover {
    background: var(--gold);
    color: var(--warm-black);
}

.btn-favorite.favorited {
    background: var(--gold);
    color: var(--warm-black);
}

.btn-view-map {
    background: var(--teal);
    border: none;
    color: white;
    padding: 0.6rem 1.2rem;
    font-family: 'Roboto', sans-serif; font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    flex: 1;
}

/* Compact button for directory cards */
.directoryView .btn-view-map {
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
}

.btn-view-map:hover {
    background: var(--light-teal);
}

/* Visited Button */
.btn-visited {
    background: transparent;
    border: 2px solid var(--teal);
    color: var(--teal);
    padding: 0.6rem 1.2rem;
    font-family: 'Roboto', sans-serif; font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    flex: 1;
}

/* Compact button for directory cards */
.directoryView .btn-visited {
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
}

.btn-visited:hover {
    background: var(--teal);
    color: white;
}

.btn-visited.visited {
    background: var(--teal);
    color: white;
}

/* Search */
.search-container {
    margin-bottom: 2rem;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 100%;
    padding: 1.2rem 3rem 1.2rem 1.5rem;
    background: rgba(74, 64, 53, 0.3);
    border: 2px solid var(--smoke);
    color: var(--cream);
    font-size: 1.1rem;
    font-family: 'Roboto', sans-serif; font-weight: 300;
    transition: all 0.3s;
}

.btn-clear-search {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(74, 64, 53, 0.6);
    border: none;
    color: var(--cream);
    font-size: 1.4rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    line-height: 1;
}

.btn-clear-search:hover {
    background: rgba(220, 53, 69, 0.6);
    color: white;
}

.search-input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(74, 64, 53, 0.5);
    box-shadow: 0 0 20px rgba(212, 148, 26, 0.2);
}

.search-input::placeholder {
    color: var(--cream);
    opacity: 0.5;
}

/* Stand Popup */
.stand-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0;
    visibility: hidden;
    z-index: 300;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stand-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.popup-content {
    background: linear-gradient(135deg, var(--charcoal), var(--warm-black));
    border: 3px solid var(--gold);
    padding: 2rem;
    max-width: 500px;
    width: 90vw;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
}

.close-popup {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--cream);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    z-index: 1;
}

.close-popup:hover {
    color: var(--gold);
}

/* Popup Header - horizontal layout like cards */
.popup-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.popup-logo-wrap {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    background: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    padding: 8px;
    border-radius: 8px;
}

.popup-title {
    flex: 1;
    min-width: 0;
}

.popup-title h3 {
    font-family: 'Roboto', sans-serif; font-weight: 700;
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 0;
    margin-top: 0.3rem;
    letter-spacing: 0.08em;
}

.popup-content h3 {
    font-family: 'Roboto', sans-serif; font-weight: 700;
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
    letter-spacing: 0.08em;
}

.popup-stand {
    font-size: 0.85rem;
    color: var(--highlight);
    margin-bottom: 0;
    font-weight: 600;
}

.popup-brands {
    margin: 1.5rem 0;
}

.popup-brands h4 {
    font-family: 'Roboto', sans-serif; font-weight: 700;
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    letter-spacing: 0.08em;
}

.popup-brands .brand-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.popup-description {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(212, 148, 26, 0.3);
    line-height: 1.7;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 250;
}

.overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--cream);
    opacity: 0.6;
}

.empty-state:not(.no-icon)::before {
    content: '';
    display: block;
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none'%3E%3Cpath d='M18 10h28l-4 30a6 6 0 0 1-6 5H28a6 6 0 0 1-6-5L18 10z' stroke='%23D4941A' stroke-width='2.5' fill='%23D4941A' fill-opacity='0.15'/%3E%3Cpath d='M16 10h32' stroke='%23D4941A' stroke-width='2.5' stroke-linecap='round'/%3E%3Cpath d='M26 50h12v4H26z' fill='%23D4941A' fill-opacity='0.3'/%3E%3Cpath d='M22 54h20' stroke='%23D4941A' stroke-width='2.5' stroke-linecap='round'/%3E%3Cpath d='M44 18c4 0 7 2 7 6s-3 6-7 6' stroke='%23D4941A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.empty-state.no-icon::before {
    display: none;
}

/* SVG Map Styles */
.floor-plan-svg {
    width: 100%;
    height: auto;
    display: block;
    cursor: crosshair;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.floor-plan-svg rect {
    transition: all 0.2s;
    cursor: pointer;
}

.floor-plan-svg .occupied {
    fill: rgba(212, 148, 26, 0.15) !important;
    stroke: var(--gold) !important;
    stroke-width: 1.5 !important;
}

.floor-plan-svg .empty {
    fill: rgba(74, 64, 53, 0.05) !important;
    stroke: var(--smoke) !important;
    stroke-width: 0.5 !important;
    cursor: default;
}

.floor-plan-svg .selected {
    fill: #DC3545 !important;
    fill-opacity: 0.25 !important;
    stroke: #DC3545 !important;
    stroke-width: 4 !important;
    animation: blink 1s infinite;
}

.floor-plan-svg rect:hover:not(.empty) {
    fill: var(--gold) !important;
    fill-opacity: 0.3 !important;
}

/* Stand Logo Overlays on Map */
.stand-logo-overlay {
    position: absolute;
    object-fit: contain;
    pointer-events: none;
    opacity: 0.95;
    background: #f0f0f0;
    padding: 4px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Stand Name Overlay (when logo missing) */
.stand-name-overlay {
    position: absolute;
    pointer-events: none;
    background: #f0f0f0;
    padding: 4px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    color: var(--charcoal);
    text-align: center;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Sponsorship Banner */
.sponsor-banner {
    text-align: center;
    padding: 0.8rem 1rem;
    background: rgba(245, 241, 232, 0.15);
    border-top: 1px solid rgba(212, 148, 26, 0.2);
    border-bottom: 1px solid rgba(212, 148, 26, 0.2);
}

.sponsor-banner-landing {
    margin: 1.5rem 0;
}

.sponsor-banner-app {
    /* NOT sticky â€” scrolls with content to reclaim viewport space */
    padding: 0.5rem 1rem;
    background: rgba(74, 64, 53, 0.4);
}

.sponsor-text {
    font-size: 0.65rem;
    color: #888;
    margin-bottom: 0.3rem;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 300;
}

.sponsor-logo {
    max-width: 100px;
    max-height: 30px;
    object-fit: contain;
    background: #f0f0f0;
    padding: 4px 8px;
    border-radius: 4px;
}

.sponsor-logo-landing {
    max-width: 140px;
    max-height: 40px;
    padding: 6px 10px;
}

/* ==================== v5.0 ADDITIONS ==================== */

/* View instruction text (below headers) */
.view-instruction {
    font-size: 0.85rem;
    color: var(--cream);
    opacity: 0.5;
    margin-bottom: 0.75rem;
    margin-top: -0.75rem;
    font-style: italic;
}

/* Secondary form actions row */
.form-actions-secondary {
    display: flex;
    justify-content: space-between;
    margin-top: 0.25rem;
}

/* Floating Labels */
.floating-label-group {
    position: relative;
}

.floating-label-group input,
.floating-label-group select {
    padding: 1.2rem 0.9rem 0.5rem;
}

.floating-label-group label {
    position: absolute;
    top: 50%;
    left: 0.9rem;
    transform: translateY(-50%);
    color: rgba(245, 241, 232, 0.5);
    font-size: 1rem;
    font-weight: 300;
    pointer-events: none;
    transition: all 0.2s ease;
    margin-bottom: 0;
}

.floating-label-group input:focus ~ label,
.floating-label-group input:not(:placeholder-shown) ~ label,
.floating-label-group select:focus ~ label,
.floating-label-group select:valid ~ label.select-label {
    top: 0.35rem;
    transform: translateY(0);
    font-size: 0.72rem;
    color: var(--gold);
    font-weight: 600;
}

.floating-label-group select ~ label.select-label {
    /* When select has a value selected */
    top: 0.35rem;
    transform: translateY(0);
    font-size: 0.72rem;
    color: var(--gold);
    font-weight: 600;
}

/* Field label (for radio groups) */
.field-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gold);
    font-weight: 600;
}

/* Form footer link */
.form-footer-link {
    text-align: center;
    margin-top: 1.2rem;
    font-size: 0.95rem;
    opacity: 0.8;
}

.form-footer-link a {
    color: var(--gold);
    text-decoration: underline;
    cursor: pointer;
}

.form-footer-link a:hover {
    color: var(--highlight);
}

/* Split form actions (two buttons side by side) */
.form-actions-split {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.btn-split {
    flex: 1;
    padding: 1rem;
    font-size: 1rem;
}

/* Text button (skip link) */
.btn-text {
    background: none;
    border: none;
    color: var(--cream);
    opacity: 0.7;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.8rem;
    width: 100%;
    text-align: center;
    transition: opacity 0.2s;
    font-family: 'Roboto', sans-serif;
}

.btn-text:hover {
    opacity: 1;
    color: var(--gold);
}

/* Reset button â€” smaller */
.btn-reset {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    white-space: nowrap;
}

/* Destructive button (Clear All) */
.btn-destructive {
    background: transparent;
    border: 1.5px solid rgba(220, 53, 69, 0.5);
    color: #DC3545;
    padding: 0.5rem 1rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.05em;
}

.btn-destructive:hover {
    background: rgba(220, 53, 69, 0.15);
    border-color: #DC3545;
}

/* ==================== TOAST NOTIFICATIONS ==================== */
.toast-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3000;
    pointer-events: none;
    padding-top: 0.5rem;
}

.toast {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.2rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    max-width: 90vw;
    width: auto;
    pointer-events: auto;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.toast-show {
    transform: translateY(0);
    opacity: 1;
}

.toast-hide {
    transform: translateY(-100%);
    opacity: 0;
}

.toast-success {
    background: linear-gradient(135deg, #1A7B7B, #2A9B9B);
    color: white;
    border: 1px solid rgba(255,255,255,0.15);
}

.toast-error {
    background: linear-gradient(135deg, #8B2020, #DC3545);
    color: white;
    border: 1px solid rgba(255,255,255,0.15);
}

.toast-message {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    opacity: 0.7;
    line-height: 1;
    padding: 0 0.2rem;
}

.toast-close:hover {
    opacity: 1;
}

/* ==================== CONFIRM DIALOG ==================== */
.confirm-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2500;
    display: flex;
    align-items: center;
    justify-content: center;
}

.confirm-dialog {
    background: linear-gradient(135deg, var(--charcoal), var(--warm-black));
    border: 2px solid var(--gold);
    padding: 2rem;
    max-width: 400px;
    width: 85%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.confirm-dialog p {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.confirm-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.confirm-actions .btn {
    min-width: 100px;
}

/* ==================== MY LISTS MODAL ==================== */
.my-lists-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.my-lists-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.my-lists-modal-content {
    position: relative;
    background: linear-gradient(135deg, var(--charcoal), var(--warm-black));
    border: 2px solid var(--gold);
    padding: 2rem;
    max-width: 400px;
    width: 85%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    z-index: 2001;
    animation: slideIn 0.3s ease-out;
}

.my-lists-modal-content h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    letter-spacing: 0.08em;
}

.my-lists-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.my-lists-buttons .btn {
    padding: 1rem;
    font-size: 1.1rem;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--cream);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.close-modal:hover {
    color: var(--gold);
}

/* ==================== FLOATING SEARCH FAB ==================== */
.search-fab {
    position: fixed;
    bottom: 90px;
    right: 16px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gold);
    border: none;
    color: var(--warm-black);
    cursor: pointer;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(212, 148, 26, 0.4);
    transition: all 0.3s;
    opacity: 1;
    visibility: visible;
}

.search-fab:hover {
    background: var(--highlight);
    transform: scale(1.1);
}

.search-fab:active {
    transform: scale(0.95);
}

/* Mobile responsive adjustment for search FAB */
@media (max-width: 768px) {
    .search-fab {
        bottom: 80px;
        right: 12px;
        width: 48px;
        height: 48px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .search-fab {
        bottom: 75px;
        right: 10px;
        width: 46px;
        height: 46px;
    }
}

/* ==================== SEARCH HINT ==================== */
.search-hint {
    font-size: 0.85rem;
    color: var(--cream);
    opacity: 0.5;
    margin-top: 0.5rem;
    font-style: italic;
}

/* ==================== NAV SVG ICONS ==================== */
.nav-icon svg {
    display: block;
}

.nav-item.active .nav-icon svg {
    stroke: var(--gold);
    fill: none;
}

.nav-item.active .nav-icon svg[fill="currentColor"] {
    fill: var(--gold);
    stroke: var(--gold);
}

/* ==================== VOTING & RATING STYLES ==================== */

/* Voteable Brand Styling (in popup) */
.voteable-brand {
    background: var(--gold) !important;
    color: var(--warm-black) !important;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s;
}

.voteable-brand:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(212, 148, 26, 0.5);
}

/* Rating Popup Modal */
.rating-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.rating-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.rating-popup-content {
    position: relative;
    background: linear-gradient(135deg, var(--charcoal), var(--warm-black));
    border: 2px solid var(--gold);
    padding: 2rem;
    max-width: 400px;
    width: 85%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    z-index: 2001;
    animation: slideIn 0.3s ease-out;
}

.rating-popup-header {
    margin-bottom: 1.5rem;
}

.rating-distillery {
    font-size: 0.9rem;
    color: var(--cream);
    opacity: 0.8;
    margin: 0;
    margin-bottom: 0.5rem;
}

.rating-brand {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--gold);
    margin: 0;
    letter-spacing: 0.08em;
}

/* Star Rating Selector */
.rating-stars-container {
    margin: 2rem 0;
}

.rating-stars {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.rating-star {
    font-size: 3rem;
    color: rgba(212, 148, 26, 0.3);
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.rating-star:hover {
    color: var(--gold);
    transform: scale(1.15);
}

.rating-star.filled {
    color: var(--gold);
}

.rating-star.hover-filled {
    color: var(--gold);
    transform: scale(1.15);
}

.rating-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.rating-actions .btn {
    min-width: 100px;
}

/* My Ratings Grid */
.ratings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Rating Card */
.rating-card {
    background: linear-gradient(135deg, rgba(74, 64, 53, 0.3), rgba(44, 36, 22, 0.5));
    border: 2px solid var(--smoke);
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.rating-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--highlight));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.rating-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 148, 26, 0.3);
}

.rating-card:hover::before {
    transform: scaleX(1);
}

.rating-card-header {
    margin-bottom: 1rem;
    text-align: center;
}

.rating-distillery {
    font-size: 0.9rem;
    color: var(--cream);
    opacity: 0.7;
    margin: 0;
    margin-bottom: 0.5rem;
}

.rating-brand {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--gold);
    margin: 0;
    letter-spacing: 0.08em;
}

.rating-card-stars {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0;
    font-size: 1.5rem;
}

.rating-card-stars .rating-star {
    font-size: 1.5rem;
    cursor: default;
    color: rgba(212, 148, 26, 0.3);
}

.rating-card-stars .rating-star.filled {
    color: var(--gold);
}

.rating-card-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1rem;
}

.rating-card-actions .btn {
    flex: 1;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .exhibitor-grid {
        grid-template-columns: 1fr;
    }

    .registration-form {
        padding: 1.5rem;
    }

    .header-logo {
        height: 30px;
    }

    .user-info span {
        display: inline;
        font-size: 0.85rem;
    }

    .view-header h2 {
        font-size: 1.5rem;
    }

    .map-container {
        padding: 1rem;
    }
    
    .form-actions-split {
        flex-direction: column;
    }
    
    .btn-split {
        width: 100%;
    }
}