/* ============================================================
   SUPER NINJA FINAL PASS V2 — CSS
   Layered on top of all existing polish files
   ============================================================ */

/* === SUPPRESS OLD AUTH MODALS === */
#sl-auth-modal-r2,
#sl-auth-modal-r2 * {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: -9999 !important;
    opacity: 0 !important;
}
#sl-auth-modal:not([data-v2]) {
    display: none !important;
    visibility: hidden !important;
    z-index: -9999 !important;
}

/* === V2 AUTH MODAL === */
#v2AuthModal {
    z-index: 9999999 !important;
}
#v2AuthModal input:focus {
    border-color: rgba(212,175,55,0.5) !important;
    box-shadow: 0 0 0 2px rgba(212,175,55,0.15) !important;
}
#v2AuthModal .v2-auth-tab:hover {
    color: #D4AF37 !important;
}

/* ============================================================
   1. GLOBAL AUTH MODAL STYLES
   ============================================================ */
#sl-auth-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
#sl-auth-modal.active {
    display: flex !important;
}
#sl-auth-modal .sl-card {
    background: rgba(18,18,24,0.98);
    border: 1px solid rgba(212,175,55,0.15);
    border-radius: 20px;
    padding: 32px;
    max-width: 440px;
    width: 90%;
    box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}
#sl-auth-modal .sl-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
#sl-auth-modal .sl-title h3 {
    font-weight: 800;
    font-size: 20px;
    color: #D4AF37;
    margin: 0;
}
#sl-auth-modal .sl-close {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.5);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
#sl-auth-modal .sl-close:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}
#sl-auth-modal input[type="email"],
#sl-auth-modal input[type="password"],
#sl-auth-modal input[type="text"] {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 12px 16px;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
    box-sizing: border-box;
}
#sl-auth-modal input:focus {
    border-color: rgba(212,175,55,0.4);
}
#sl-auth-modal .sl-primary {
    background: linear-gradient(135deg, #D4AF37, #b8962e);
    color: #0a0a0a;
    border: none;
    border-radius: 12px;
    padding: 13px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}
#sl-auth-modal .sl-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}
#sl-auth-modal .sl-ghost {
    background: rgba(212,175,55,0.08);
    color: #D4AF37;
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 12px;
    padding: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}
#sl-auth-modal .sl-ghost:hover {
    background: rgba(212,175,55,0.15);
}
#sl-auth-modal .sl-auth-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
#sl-auth-modal .sl-auth-tab {
    flex: 1;
    padding: 12px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.4);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}
#sl-auth-modal .sl-auth-tab.active {
    color: #D4AF37;
    border-bottom-color: #D4AF37;
}

/* ============================================================
   2. UNIVERSAL SAVE-TO-LIST MODAL
   ============================================================ */
.sl-save-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);
    z-index: 99998;
    display: none;
    align-items: center;
    justify-content: center;
}
.sl-save-modal-overlay.active {
    display: flex;
}
.sl-save-modal {
    background: rgba(18,18,24,0.98);
    border: 1px solid rgba(212,175,55,0.15);
    border-radius: 20px;
    padding: 28px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.sl-save-modal h3 {
    color: #D4AF37;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 6px;
}
.sl-save-modal .sl-save-venue-name {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    margin-bottom: 18px;
}
.sl-save-modal .sl-save-lists {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 260px;
    overflow-y: auto;
    margin-bottom: 16px;
}
.sl-save-modal .sl-save-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    cursor: pointer;
    transition: all 0.2s;
}
.sl-save-modal .sl-save-list-item:hover {
    background: rgba(212,175,55,0.08);
    border-color: rgba(212,175,55,0.2);
}
.sl-save-modal .sl-save-list-item.selected {
    background: rgba(212,175,55,0.12);
    border-color: rgba(212,175,55,0.35);
}
.sl-save-modal .sl-save-list-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(212,175,55,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D4AF37;
    font-size: 15px;
    flex-shrink: 0;
}
.sl-save-modal .sl-save-list-item.selected .sl-save-list-icon {
    background: linear-gradient(135deg, #D4AF37, #b8962e);
    color: #0a0a0a;
}
.sl-save-modal .sl-save-list-name {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}
.sl-save-modal .sl-save-list-count {
    color: rgba(255,255,255,0.35);
    font-size: 12px;
}
.sl-save-modal .sl-save-list-check {
    margin-left: auto;
    color: #D4AF37;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.2s;
}
.sl-save-modal .sl-save-list-item.selected .sl-save-list-check {
    opacity: 1;
}
.sl-save-modal .sl-save-create-row {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}
.sl-save-modal .sl-save-create-input {
    flex: 1;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 10px 14px;
    color: #fff;
    font-size: 13px;
    outline: none;
}
.sl-save-modal .sl-save-create-input:focus {
    border-color: rgba(212,175,55,0.35);
}
.sl-save-modal .sl-save-create-btn {
    background: rgba(212,175,55,0.1);
    border: 1px solid rgba(212,175,55,0.25);
    color: #D4AF37;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}
.sl-save-modal .sl-save-create-btn:hover {
    background: rgba(212,175,55,0.2);
}
.sl-save-modal .sl-save-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}
.sl-save-modal .sl-save-cancel {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.6);
    border-radius: 12px;
    padding: 11px 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}
.sl-save-modal .sl-save-done {
    background: linear-gradient(135deg, #D4AF37, #b8962e);
    color: #0a0a0a;
    border: none;
    border-radius: 12px;
    padding: 11px 24px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}
.sl-save-modal .sl-save-done:hover {
    filter: brightness(1.1);
}

/* ============================================================
   3. NIGHTLIFE — STICKY MAP + SCROLLABLE LIST
   ============================================================ */
.nl-map-hero {
    position: sticky !important;
    top: 0;
    z-index: 50;
    height: 65vh !important;
    min-height: 450px;
    max-height: 700px;
}
.nightlife-venue-listings-section {
    position: relative;
    z-index: 60;
    background: #0a0a0a;
    min-height: 100vh;
}
/* Browse venues divider */
.nl-browse-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 20px;
    background: linear-gradient(180deg, rgba(10,10,10,0), rgba(10,10,10,1) 60%);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 70;
    pointer-events: none;
}
.nl-browse-divider .nl-browse-btn-v2 {
    pointer-events: all;
    background: linear-gradient(135deg, #D4AF37, #b8962e);
    color: #0a0a0a;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(212,175,55,0.3);
    transition: all 0.25s ease;
}
.nl-browse-divider .nl-browse-btn-v2:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(212,175,55,0.4);
}
/* Venue list peek cards */
.nl-venue-peek {
    display: flex;
    gap: 12px;
    padding: 0 20px;
    overflow: hidden;
    height: 70px;
    position: relative;
}
.nl-venue-peek::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(transparent, #0a0a0a);
    pointer-events: none;
}
.nl-venue-peek-card {
    flex-shrink: 0;
    width: 200px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
}
.nl-venue-peek-card img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
}
.nl-venue-peek-card .peek-name {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nl-venue-peek-card .peek-type {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
}

/* ============================================================
   4. NIGHTLIFE — FILTER CHIP ANIMATION (EXPLORE MATCH)
   ============================================================ */
.nl-map-chip {
    transition: all 0.25s cubic-bezier(0.4,0,0.2,1) !important;
    animation: none !important;
}
.nl-map-chip:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 0 12px rgba(212,175,55,0.2) !important;
}
.nl-map-chip:active {
    transform: scale(0.98) !important;
}
.nl-map-chip.active {
    background: linear-gradient(135deg, rgba(212,175,55,0.2), rgba(212,175,55,0.1)) !important;
    border-color: rgba(212,175,55,0.4) !important;
    color: #D4AF37 !important;
    box-shadow: 0 0 16px rgba(212,175,55,0.15) !important;
}

/* ============================================================
   5. NIGHTLIFE — VENUE CARD MATCHING EXPLORE STYLE
   ============================================================ */
#nlMapVenueCard {
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    background: rgba(18,18,24,0.98) !important;
    max-width: 340px !important;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1) !important;
}
#nlMapVenueCard .nl-map-vc-img {
    height: 160px !important;
    object-fit: cover !important;
    width: 100% !important;
}
#nlMapVenueCard .nl-map-vc-name {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #fff !important;
}
#nlMapVenueCard .nl-map-vc-type {
    font-size: 12px !important;
    color: rgba(255,255,255,0.5) !important;
}
#nlMapVenueCard .nl-map-vc-meta {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 13px !important;
    color: rgba(255,255,255,0.7) !important;
}
#nlMapVenueCard .nl-vc-action-btn {
    border-radius: 10px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 9px 16px !important;
    transition: all 0.2s !important;
}
#nlMapVenueCard .nl-vc-action-btn.primary {
    background: linear-gradient(135deg, #D4AF37, #b8962e) !important;
    color: #0a0a0a !important;
    border: none !important;
}
#nlMapVenueCard .nl-vc-action-btn.primary:hover {
    filter: brightness(1.1) !important;
}

/* ============================================================
   6. EXPLORE — HEADER / LOGO / NAV ICONS
   ============================================================ */
.sl-explore-logo {
    height: 36px !important;
    width: auto !important;
}
.sl-explore-header {
    gap: 12px !important;
}
/* Nav icons gold */
.sl-explore-header .sl-explore-icon-btn,
.sl-explore-header .sl-hdr-icon {
    color: #D4AF37 !important;
    border-color: rgba(212,175,55,0.2) !important;
    width: 38px !important;
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.sl-explore-header .sl-explore-icon-btn:hover,
.sl-explore-header .sl-hdr-icon:hover {
    background: rgba(212,175,55,0.1) !important;
}
/* Fix icon spacing */
.sl-hdr-right-icons {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

/* Favorite icon centered in circle */
.sl-list-card-save,
.sl-venue-card-save {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(0,0,0,0.5) !important;
    border: none !important;
    padding: 0 !important;
}
.sl-list-card-save i,
.sl-venue-card-save i {
    font-size: 14px !important;
    line-height: 1 !important;
}

/* ============================================================
   7. HOMEPAGE — "EAT. DRINK. DISCOVER." SINGLE LINE
   ============================================================ */
.hero-title-main {
    white-space: nowrap !important;
    letter-spacing: 0.04em !important;
    font-size: clamp(32px, 5vw, 56px) !important;
    text-align: center !important;
}

/* ============================================================
   8. PROFILE — PHOTO UPLOAD
   ============================================================ */
.profile-avatar-upload-wrap {
    position: relative;
    cursor: pointer;
}
.profile-avatar-upload-wrap:hover .profile-avatar-upload-overlay {
    opacity: 1;
}
.profile-avatar-upload-overlay {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}
.profile-avatar-upload-wrap input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}
/* Profile avatar image */
.profile-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* ============================================================
   9. PROFILE — TAB SYNC
   ============================================================ */
.profile-content-tabs .profile-content-tab {
    transition: all 0.25s cubic-bezier(0.4,0,0.2,1) !important;
}
.profile-content-tabs .profile-content-tab:hover {
    transform: scale(1.02);
    background: rgba(212,175,55,0.06);
}

/* ============================================================
   10. EXPLORE — LIST VIEW SPACING
   ============================================================ */
.sl-list-container {
    padding: 16px !important;
    gap: 14px !important;
}
.sl-list-card {
    border-radius: 14px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
    transition: all 0.25s !important;
}
.sl-list-card:hover {
    border-color: rgba(212,175,55,0.2) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3) !important;
}

/* ============================================================
   11. GLOBAL TOAST NOTIFICATION
   ============================================================ */
.sl-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(18,18,24,0.95);
    border: 1px solid rgba(212,175,55,0.25);
    color: #fff;
    padding: 14px 24px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    z-index: 999999;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    pointer-events: none;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.sl-toast.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ============================================================
   12. ITINERARY PANEL
   ============================================================ */
.sl-itinerary-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100vh;
    background: rgba(12,12,18,0.98);
    border-left: 1px solid rgba(212,175,55,0.12);
    z-index: 9998;
    transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 40px rgba(0,0,0,0.4);
}
.sl-itinerary-panel.open {
    right: 0;
}
.sl-itinerary-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sl-itinerary-header h3 {
    color: #D4AF37;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}
.sl-itinerary-close {
    background: rgba(255,255,255,0.06);
    border: none;
    color: rgba(255,255,255,0.5);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sl-itinerary-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}
.sl-itinerary-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 10px;
    transition: all 0.2s;
}
.sl-itinerary-item:hover {
    border-color: rgba(212,175,55,0.2);
}
.sl-itinerary-item img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}
.sl-itinerary-item-info {
    flex: 1;
    min-width: 0;
}
.sl-itinerary-item-name {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sl-itinerary-item-type {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
}
.sl-itinerary-item-remove {
    background: none;
    border: none;
    color: rgba(255,100,100,0.6);
    cursor: pointer;
    font-size: 14px;
    padding: 6px;
    border-radius: 8px;
    transition: all 0.2s;
}
.sl-itinerary-item-remove:hover {
    background: rgba(255,100,100,0.1);
    color: #ff6464;
}
.sl-itinerary-empty {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255,255,255,0.3);
    font-size: 14px;
}
.sl-itinerary-empty i {
    display: block;
    font-size: 32px;
    margin-bottom: 12px;
    color: rgba(212,175,55,0.3);
}
.sl-itinerary-footer {
    padding: 16px 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.sl-itinerary-share-btn {
    width: 100%;
    background: linear-gradient(135deg, #D4AF37, #b8962e);
    color: #0a0a0a;
    border: none;
    padding: 13px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}
.sl-itinerary-share-btn:hover {
    filter: brightness(1.1);
}

/* Hide duplicate my-location buttons */
.sl-map-ctrls button.sl-locate-btn-r3,
.nl-r3-my-loc-btn {
    /* Keep only the original ones */
}