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

html {
    height: 100%;
    height: -webkit-fill-available;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: #000000;
    color: white;
    overflow: hidden;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    min-height: 100dvh;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hidden {
    display: none !important;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1a2634 0%, #0d1318 50%, #000000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.loading-content {
    text-align: center;
}

.loader {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(212, 175, 55, 0.2);
    border-top-color: #D4AF37;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

.loading-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

/* Permission Screen */
.permission-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1a2634 0%, #0d1318 50%, #000000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.permission-content {
    text-align: center;
    padding: 0 40px;
    max-width: 400px;
}

.permission-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.permission-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.permission-subtext {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 22px;
    margin-bottom: 28px;
}

.permission-button {
    background: linear-gradient(135deg, #D4AF37 0%, #C5A028 100%);
    color: #3D2914;
    border: none;
    border-radius: 16px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    transition: transform 0.2s;
}

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

.permission-button:active {
    transform: translateY(0);
}

/* Map Container */
#mapContainer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

#map {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

/* Leaflet Dark Theme Override */
.leaflet-container {
    background: #0e1626;
}

.leaflet-tile {
    filter: brightness(0.7) contrast(1.2) saturate(0.8);
}

/* Fix marker click hitbox */
.leaflet-marker-icon {
    cursor: pointer !important;
}

.leaflet-marker-icon.marker-icon-wrapper {
    background: transparent !important;
    border: none !important;
}

/* Leaflet Zoom Controls - Bottom Left */
.leaflet-top.leaflet-left {
    top: auto !important;
    bottom: 20px !important;
    left: 16px !important;
}

.leaflet-bottom.leaflet-left {
    bottom: 20px !important;
    left: 16px !important;
}

.leaflet-left .leaflet-control {
    margin-left: 0 !important;
}

.leaflet-control-zoom {
    border: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    margin-bottom: 0 !important;
}

.leaflet-control-zoom a {
    background: rgba(30, 30, 30, 0.95) !important;
    color: #D4AF37 !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
}

.leaflet-control-zoom a:hover {
    background: rgba(40, 40, 40, 0.95) !important;
    color: #C5A028 !important;
}

.leaflet-control-zoom-in {
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
}

.leaflet-control-zoom-out {
    border-bottom-left-radius: 12px !important;
    border-bottom-right-radius: 12px !important;
}

/* Top Banner */
.top-banner {
    position: absolute;
    top: 20px;
    left: 16px;
    right: 16px;
    background: rgba(20, 20, 20, 0.95);
    border-radius: 16px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    cursor: pointer;
    transition: transform 0.2s;
}

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

.banner-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.banner-icon {
    flex-shrink: 0;
}

.banner-text {
    flex: 1;
}

.banner-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.banner-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
}

.banner-chevron {
    flex-shrink: 0;
}

/* Top Right Buttons Container */
.top-right-buttons {
    position: absolute;
    top: 90px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

/* Feedback Button (Top Right) */
.feedback-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    background: linear-gradient(135deg, rgba(20, 20, 22, 0.95) 0%, rgba(30, 28, 20, 0.95) 100%);
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 12px;
    color: #D4AF37;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.feedback-btn span {
    color: #D4AF37;
}

.feedback-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(30, 30, 32, 0.98) 0%, rgba(40, 36, 24, 0.98) 100%);
    border-color: #D4AF37;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.feedback-btn:active {
    transform: translateY(0);
}

.feedback-btn svg {
    transition: transform 0.2s ease;
}

.feedback-btn:hover svg {
    transform: scale(1.1);
}

/* Support Me Button (Top Right) */
.support-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    background: linear-gradient(135deg, rgba(20, 20, 22, 0.95) 0%, rgba(30, 28, 20, 0.95) 100%);
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 12px;
    color: #D4AF37;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.support-btn span {
    color: #D4AF37;
}

.support-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(30, 30, 32, 0.98) 0%, rgba(40, 36, 24, 0.98) 100%);
    border-color: #D4AF37;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.support-btn:active {
    transform: translateY(0);
}

.support-btn svg {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.support-btn:hover svg {
    transform: scale(1.1);
}

/* My Location Button */
.my-location-btn {
    position: absolute;
    bottom: 100px;
    right: 16px;
    background: rgba(30, 30, 30, 0.95);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 24px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.2s;
}

.my-location-btn:hover {
    transform: translateY(-2px);
}

.my-location-btn:active {
    transform: translateY(0);
}

/* Custom Marker Styles */
.marker-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.marker-police-inner {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #EF4444;
    border: 3px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    pointer-events: auto;
}

.marker-minor-inner {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #D4AF37;
    border: 3px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    pointer-events: auto;
}

.marker-major-inner {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #4CAF50;
    border: 3px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    pointer-events: auto;
}

/* Legacy marker classes (for backwards compatibility) */
.marker-police {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #EF4444;
    border: 3px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.marker-minor {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #D4AF37;
    border: 3px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.marker-major {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #4CAF50;
    border: 3px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    cursor: pointer;
}

.modal-content {
    position: relative;
    background: rgba(25, 25, 25, 0.98);
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    padding: 20px;
    width: 100%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.modal-handle {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    margin: 0 auto 20px;
}

.modal-title {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    text-align: center;
    margin-bottom: 6px;
}

.modal-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    margin-bottom: 24px;
}

/* Report Options */
.report-option {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    gap: 14px;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
    text-align: left;
}

.report-option:hover {
    background: rgba(255, 255, 255, 0.08);
}

.report-icon {
    width: 50px;
    height: 50px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.police-icon {
    background: #EF4444;
}

.minor-icon {
    background: #D4AF37;
}

.major-icon {
    background: #4CAF50;
}

.report-info {
    flex: 1;
}

.report-title {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.report-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.cancel-button {
    margin-top: 8px;
    padding: 16px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
}

.cancel-button:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Rider Count Grid */
.rider-count-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 16px;
}

.rider-count-btn {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    border: 1px solid;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.rider-count-btn:hover {
    transform: scale(1.05);
}

.rider-count-btn.minor {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.3);
}

.rider-count-btn.major {
    background: rgba(76, 175, 80, 0.15);
    border-color: rgba(76, 175, 80, 0.3);
}

.rider-count-number {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
}

.rider-count-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
}

.skip-button {
    padding: 14px;
    background: transparent;
    border: none;
    color: #D4AF37;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin-bottom: 8px;
}

.skip-button:hover {
    color: #C5A028;
}

/* Activity Sheet */
.activity-sheet {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.activity-content {
    position: relative;
    background: rgba(25, 25, 25, 0.98);
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    padding: 20px;
    width: 100%;
    max-width: 600px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease-out;
}

.activity-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.activity-title {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
}

.close-button {
    width: 36px;
    height: 36px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.close-button:hover {
    background: rgba(255, 255, 255, 0.15);
}

.activity-list {
    overflow-y: auto;
    flex: 1;
}

.activity-section {
    margin-bottom: 24px;
}

.activity-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.activity-section-icon {
    width: 32px;
    height: 32px;
    border-radius: 16px;
    background: #D4AF37;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    flex: 1;
}

.activity-section-count {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
}

.activity-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 8px;
    gap: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.activity-item:hover {
    background: rgba(255, 255, 255, 0.12);
}

.activity-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.activity-item-content {
    flex: 1;
}

.activity-item-text {
    font-size: 14px;
    color: #fff;
}

.activity-item-reporter {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 4px;
}

.activity-item-time {
    font-size: 12px;
    color: #D4AF37;
    font-weight: 600;
}

.activity-empty {
    text-align: center;
    padding: 40px 20px;
}

.activity-empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.activity-empty-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.activity-empty-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* Marker Detail */
.marker-detail {
    text-align: center;
    position: relative;
}

.share-btn {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #2a2a2a;
    border: 1.5px solid #3a3a3a;
    border-radius: 20px;
    color: #D4AF37;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.share-btn span {
    color: rgba(255, 255, 255, 0.9);
}

.share-btn:hover {
    background: #3a3a3a;
    border-color: #D4AF37;
}

.share-btn:active {
    transform: scale(0.97);
    background: #1a1a1a;
}

.marker-detail-icon {
    width: 72px;
    height: 72px;
    border-radius: 36px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marker-detail-title {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.marker-detail-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 22px;
    margin-bottom: 20px;
    padding: 0 12px;
}

.marker-detail-reporter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.marker-detail-reporter-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.marker-detail-reporter-name {
    font-size: 14px;
    font-weight: 600;
    color: #D4AF37;
}

/* Founder Badge */
.founder-badge {
    display: inline-block;
    padding: 2px 8px;
    margin-left: 6px;
    background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 100%);
    color: #000;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    vertical-align: middle;
}

.marker-detail-status {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    background: rgba(76, 175, 80, 0.15);
    padding: 10px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.marker-detail-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: #4CAF50;
}

.marker-detail-status-text {
    font-size: 14px;
    font-weight: 600;
    color: #4CAF50;
}

.marker-detail-upload-time {
    font-size: 14px;
    font-weight: 600;
    color: #4CAF50;
    margin-left: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.marker-detail-upload-time::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
}

.marker-detail-expires-in {
    font-size: 14px;
    font-weight: 600;
    color: #4CAF50;
    margin-left: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.marker-detail-expires-in::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
}

.marker-detail-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.marker-detail-buttons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 8px;
}

.detail-button-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #2a2a2a;
    border: 2px solid #D4AF37;
    border-radius: 12px;
    padding: 16px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s;
}

.detail-button-grid:active {
    transform: scale(0.95);
    background: #3a3a3a;
}

.detail-button-grid span {
    text-align: center;
    line-height: 1.2;
}

.detail-button-grid svg {
    flex-shrink: 0;
}

.detail-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 16px;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s;
}

.detail-button:hover {
    opacity: 0.9;
}

.detail-button-primary {
    background: #D4AF37;
    color: #3D2914;
}

.detail-button-danger {
    background: #EF4444;
    color: #fff;
}

.detail-button-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: rgba(25, 25, 25, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: toastIn 0.3s ease-out;
    pointer-events: all;
    min-width: 250px;
    text-align: center;
}

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

.toast.error {
    border-left: 4px solid #EF4444;
}

.toast.info {
    border-left: 4px solid #D4AF37;
}

.toast-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.toast-message {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

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

/* Responsive */
@media (max-width: 600px) {
    .modal-content {
        max-width: 100%;
    }

    .activity-content {
        max-width: 100%;
    }
}

/* Ad Banner Styles */
.ad-banner-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(20, 20, 20, 0.95);
    padding: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* =============================================
   LEFT-SIDE CONTROLS (bottom-left, above zoom)
   ============================================= */
.policy-controls {
    position: absolute;
    bottom: 102px; /* sits just above zoom controls */
    left: 10px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 3px;
    pointer-events: all;
}

.policy-btn {
    display: flex;
    align-items: center;
    gap: 9px;
    background: rgba(26, 26, 26, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.01em;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    padding: 13px 14px 13px 13px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.18s ease;
    white-space: nowrap;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    width: 48px;
    overflow: hidden;
}

.policy-btn:hover {
    width: auto;
    background: rgba(30, 30, 30, 0.98);
    border-color: rgba(212, 175, 55, 0.4);
    color: #D4AF37;
    box-shadow: 0 2px 12px rgba(212, 175, 55, 0.15);
}

.policy-btn svg {
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.18s;
}

.policy-btn:hover svg {
    opacity: 1;
}

.policy-btn-label {
    opacity: 0;
    width: 0;
    overflow: hidden;
    transition: opacity 0.18s ease, width 0.18s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.policy-btn:hover .policy-btn-label {
    opacity: 1;
    width: auto;
}

.policy-btn-disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.policy-btn-disabled:hover {
    background: rgba(26, 26, 26, 0.92);
    border-color: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.5);
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.policy-btn-disabled:hover .policy-btn-label::after {
    content: ' — Coming Soon';
    opacity: 0.6;
    font-style: italic;
}

/* =============================================
   UPLOAD SUCCESS CARD
   ============================================= */
.upload-success-card {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.92);
    z-index: 3000;
    width: min(400px, calc(100vw - 32px));
    background: rgba(18, 18, 18, 0.97);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 22px;
    padding: 32px 28px 26px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(212,175,55,0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.upload-success-card.visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: all;
}
.upload-card-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s;
}
.upload-card-close:hover { color: #fff; background: rgba(255,255,255,0.12); }

.upload-card-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 18px;
}
.upload-card-text {
    width: 100%;
    text-align: right;
    padding-right: 4px;
}
.upload-card-title {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    line-height: 1;
    margin-bottom: 10px;
}
.upload-card-sub {
    font-size: 15px;
    color: rgba(255,255,255,0.55);
    line-height: 1.5;
}
.upload-card-share {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #D4AF37;
    color: #000;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: background 0.15s;
}
.upload-card-share:hover { background: #c9a52e; }

/* =============================================
   MAP SEARCH BAR
   ============================================= */
.map-search-bar {
    position: absolute;
    top: 82px; /* below top banner with gap */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(16,16,16,0.92);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 9px 13px;
    width: min(320px, calc(100vw - 220px)); /* leaves room for right buttons (~170px) */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.map-search-icon { flex-shrink: 0; }
#mapSearchInput {
    background: none;
    border: none;
    outline: none;
    color: rgba(255,255,255,0.88);
    font-size: 13px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    flex: 1;
    min-width: 0;
}
#mapSearchInput::placeholder { color: rgba(255,255,255,0.3); }
#mapSearchClear {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    flex-shrink: 0;
}

/* =============================================
   VERSION ROW + SOCIAL BUTTONS
   ============================================= */
#versionRow {
    position: absolute;
    bottom: 198px; /* above #socialButtons (152px + 40px height + 6px gap) */
    right: 12px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 6px;
}
#versionLabel {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.55);
    background: rgba(10,10,10,0.78);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 5px;
    padding: 3px 8px;
    backdrop-filter: blur(6px);
    cursor: pointer;
    user-select: none;
    position: relative;
    transition: border-color 0.15s, color 0.15s;
}
#versionLabel:hover {
    border-color: rgba(212,175,55,0.4);
    color: rgba(255,255,255,0.8);
}
#versionTooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    right: 0;
    background: rgba(12,12,12,0.96);
    border: 1px solid rgba(212,175,55,0.35);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    color: #D4AF37;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.18s, transform 0.18s;
    box-shadow: 0 4px 16px rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
}
#versionTooltip.show {
    opacity: 1;
    transform: translateY(0);
}
/* patchNotesBtn removed - version label is now clickable */
/* DEV: Version label (#versionLabel) and tooltip (#versionTooltip) text
        live in index.html. Bump version +0.1 for major, +0.05 for minor.
        Keep tooltip copy to 1–5 words. No style changes needed per release. */

#socialButtons {
    position: absolute;
    bottom: 152px; /* 8px above .my-location-btn top edge (btn bottom:100px + height:44px) */
    right: 12px;
    z-index: 1000;
    display: flex;
    flex-direction: row;
    gap: 6px;
}
#tiktokBtn,
#youtubeBtn {
    width: 40px;
    height: 40px;
    background: rgba(12,12,12,0.88);
    border: 1.5px solid rgba(255,255,255,0.14);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.45);
    transition: background 0.18s, transform 0.15s;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
#tiktokBtn:hover,
#youtubeBtn:hover { background: rgba(40,40,40,0.96); transform: scale(1.07); }

/* =============================================
   GEOCODING SEARCH RESULTS DROPDOWN
   ============================================= */
.map-search-bar {
    position: relative; /* needed for results dropdown positioning */
}

.map-search-results {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: rgba(14, 14, 14, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1100;
    max-height: 280px;
    overflow-y: auto;
}

.map-search-results::-webkit-scrollbar {
    width: 4px;
}
.map-search-results::-webkit-scrollbar-track {
    background: transparent;
}
.map-search-results::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.12);
    border-radius: 2px;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 11px 14px;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    text-align: left;
    transition: background 0.12s;
    color: inherit;
}
.search-result-item:last-child {
    border-bottom: none;
}
.search-result-item:hover,
.search-result-item:focus {
    background: rgba(212, 175, 55, 0.08);
    outline: none;
}

.search-result-icon {
    font-size: 15px;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.search-result-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.search-result-primary {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-secondary {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.38);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-arrow {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.25);
    transition: color 0.12s;
}
.search-result-item:hover .search-result-arrow {
    color: #D4AF37;
}

.search-result-empty {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 14px 16px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.38);
}
.search-result-empty strong {
    color: rgba(255, 255, 255, 0.55);
}

.search-result-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.search-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-top-color: #D4AF37;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    flex-shrink: 0;
}

/* =============================================
   LIGHT / DARK MODE VARIABLES
   ============================================= */

/* Default = light mode */
:root {
    --bg-map: #e8e0d8;
    --modal-bg: rgba(250, 248, 245, 0.98);
    --modal-border: rgba(0,0,0,0.1);
    --modal-title: #111;
    --modal-subtitle: rgba(0,0,0,0.5);
    --modal-handle: rgba(0,0,0,0.15);
    --btn-bg: rgba(245, 243, 240, 0.97);
    --btn-border: rgba(212,175,55,0.45);
    --btn-text: #111;
    --banner-bg: rgba(245, 243, 240, 0.97);
    --banner-text: #111;
    --banner-sub: rgba(0,0,0,0.5);
    --search-bg: rgba(245, 243, 240, 0.95);
    --search-border: rgba(0,0,0,0.12);
    --search-text: rgba(0,0,0,0.85);
    --search-placeholder: rgba(0,0,0,0.35);
    --search-results-bg: rgba(248, 246, 243, 0.99);
    --result-border: rgba(0,0,0,0.06);
    --result-primary: rgba(0,0,0,0.88);
    --result-secondary: rgba(0,0,0,0.4);
    --policy-bg: rgba(240, 238, 235, 0.93);
    --policy-border: rgba(0,0,0,0.1);
    --policy-text: rgba(0,0,0,0.6);
    --version-bg: rgba(240,238,235,0.85);
    --version-border: rgba(0,0,0,0.12);
    --version-text: rgba(0,0,0,0.5);
    --social-bg: rgba(240,238,235,0.92);
    --social-border: rgba(0,0,0,0.12);
    --social-icon: #111;
    --report-option-bg: #fff;
    --report-option-border: rgba(0,0,0,0.08);
    --report-title-c: #111;
    --report-desc-c: rgba(0,0,0,0.5);
    --activity-bg: rgba(248,246,243,0.98);
    --toast-bg: rgba(245,243,240,0.97);
    --toast-text: #111;
    --upload-card-bg: rgba(250,248,245,0.98);
    --upload-title-c: #111;
    --upload-sub-c: rgba(0,0,0,0.45);
}

[data-theme="dark"] {
    --bg-map: #1a1a1a;
    --modal-bg: rgba(20, 20, 20, 0.97);
    --modal-border: rgba(255,255,255,0.08);
    --modal-title: #fff;
    --modal-subtitle: rgba(255,255,255,0.5);
    --modal-handle: rgba(255,255,255,0.15);
    --btn-bg: rgba(30,30,30,0.95);
    --btn-border: rgba(212,175,55,0.3);
    --btn-text: #fff;
    --banner-bg: rgba(20,20,20,0.95);
    --banner-text: #fff;
    --banner-sub: rgba(255,255,255,0.5);
    --search-bg: rgba(16,16,16,0.92);
    --search-border: rgba(255,255,255,0.12);
    --search-text: rgba(255,255,255,0.88);
    --search-placeholder: rgba(255,255,255,0.3);
    --search-results-bg: rgba(14,14,14,0.98);
    --result-border: rgba(255,255,255,0.05);
    --result-primary: rgba(255,255,255,0.9);
    --result-secondary: rgba(255,255,255,0.38);
    --policy-bg: rgba(26,26,26,0.92);
    --policy-border: rgba(255,255,255,0.12);
    --policy-text: rgba(255,255,255,0.65);
    --version-bg: rgba(10,10,10,0.78);
    --version-border: rgba(255,255,255,0.12);
    --version-text: rgba(255,255,255,0.55);
    --social-bg: rgba(12,12,12,0.88);
    --social-border: rgba(255,255,255,0.14);
    --social-icon: #fff;
    --report-option-bg: rgba(20,20,20,0.97);
    --report-option-border: rgba(255,255,255,0.07);
    --report-title-c: #fff;
    --report-desc-c: rgba(255,255,255,0.5);
    --activity-bg: rgba(18,18,18,0.97);
    --toast-bg: rgba(24,24,24,0.97);
    --toast-text: #fff;
    --upload-card-bg: rgba(18,18,18,0.97);
    --upload-title-c: #fff;
    --upload-sub-c: rgba(255,255,255,0.55);
}

/* Apply variables to existing elements */
.top-banner { background: var(--banner-bg) !important; }
.banner-title { color: var(--banner-text) !important; }
.banner-subtitle { color: var(--banner-sub) !important; }

.modal-content {
    background: var(--modal-bg) !important;
    border-top: 1px solid var(--modal-border) !important;
}
.modal-handle { background: var(--modal-handle) !important; }
.modal-title { color: var(--modal-title) !important; }
.modal-subtitle { color: var(--modal-subtitle) !important; }

.report-option {
    background: var(--report-option-bg) !important;
    border-color: var(--report-option-border) !important;
}
.report-title { color: var(--report-title-c) !important; }
.report-desc { color: var(--report-desc-c) !important; }

.cancel-button, .skip-button {
    color: var(--modal-subtitle) !important;
}

.activity-content { background: var(--activity-bg) !important; }
.activity-title { color: var(--modal-title) !important; }
.activity-item-text { color: var(--modal-title) !important; }
.activity-item-reporter { color: var(--modal-subtitle) !important; }

.map-search-bar {
    background: var(--search-bg) !important;
    border-color: var(--search-border) !important;
}
#mapSearchInput { color: var(--search-text) !important; }
#mapSearchInput::placeholder { color: var(--search-placeholder) !important; }

.map-search-results {
    background: var(--search-results-bg) !important;
    border-color: var(--search-border) !important;
}
.search-result-item { border-color: var(--result-border) !important; }
.search-result-primary { color: var(--result-primary) !important; }
.search-result-secondary { color: var(--result-secondary) !important; }

.policy-btn {
    background: var(--policy-bg) !important;
    border-color: var(--policy-border) !important;
    color: var(--policy-text) !important;
}
#versionLabel {
    background: var(--version-bg) !important;
    border-color: var(--version-border) !important;
    color: var(--version-text) !important;
}
#tiktokBtn, #youtubeBtn {
    background: var(--social-bg) !important;
    border-color: var(--social-border) !important;
}
#tiktokBtn svg path, #youtubeBtn svg path {
    fill: var(--social-icon) !important;
}

.upload-success-card {
    background: var(--upload-card-bg) !important;
}
.upload-card-title { color: var(--upload-title-c) !important; }
.upload-card-sub { color: var(--upload-sub-c) !important; }

/* ── THEME TOGGLE BUTTON (now lives inside .policy-controls) ── */
.theme-toggle-policy {
    background: var(--policy-bg, rgba(26,26,26,0.92));
    border-color: var(--policy-border, rgba(255,255,255,0.12));
    color: var(--policy-text, rgba(255,255,255,0.75));
}
.policy-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 17px;
    height: 17px;
}

/* =============================================
   DESTINATION MODAL
   ============================================= */
.dest-search-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0,0,0,0.06);
    border: 1px solid var(--modal-border, rgba(0,0,0,0.1));
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 8px;
}
[data-theme="dark"] .dest-search-wrap {
    background: rgba(255,255,255,0.06);
}
#destSearchInput {
    background: none;
    border: none;
    outline: none;
    color: var(--modal-title, #111);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    flex: 1;
}
#destSearchInput::placeholder { color: var(--modal-subtitle, rgba(0,0,0,0.4)); }

.dest-results {
    border: 1px solid var(--modal-border, rgba(0,0,0,0.1));
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    max-height: 200px;
    overflow-y: auto;
}
.dest-result-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 11px 14px;
    background: none;
    border: none;
    border-bottom: 1px solid var(--modal-border, rgba(0,0,0,0.06));
    color: var(--modal-title, #111);
    font-size: 13px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background 0.12s;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.dest-result-item:last-child { border-bottom: none; }
.dest-result-item:hover { background: rgba(212,175,55,0.08); }
.dest-loading, .dest-no-results {
    padding: 12px 16px;
    font-size: 13px;
    color: var(--modal-subtitle, rgba(0,0,0,0.45));
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.dest-selected {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(212,175,55,0.08);
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 12px;
}
.dest-selected-icon {
    width: 36px;
    height: 36px;
    background: rgba(212,175,55,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.dest-selected-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--modal-title, #111);
}
.dest-selected-dist {
    font-size: 12px;
    color: #D4AF37;
    font-weight: 600;
    margin-top: 2px;
}

.dest-map-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--modal-subtitle, rgba(0,0,0,0.4));
    margin-bottom: 14px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.dest-confirm-btn {
    border: 1px solid rgba(212,175,55,0.4) !important;
    margin-bottom: 8px;
}

/* Destination display in marker detail card */
.marker-detail-destination {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(212,175,55,0.08);
    border: 1px solid rgba(212,175,55,0.25);
    border-radius: 10px;
    padding: 10px 14px;
    margin: 10px 0;
}
.dest-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.dest-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(212,175,55,0.7);
}
.dest-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--modal-title, #fff);
}
.dest-dist {
    font-size: 12px;
    color: #D4AF37;
}

/* =============================================
   MOBILE FIXES (search + social buttons)
   ============================================= */
@media (max-width: 600px) {
    /* Move search bar left so it clears the Support Me / Feedback buttons */
    .map-search-bar {
        left: 10px !important;
        right: auto !important;
        transform: none !important;
        width: calc(100vw - 185px) !important; /* leave 175px for right buttons */
    }

    /* Social buttons slightly higher on mobile */
    #socialButtons {
        bottom: 162px !important;
    }

    #versionRow {
        bottom: 208px !important;
    }

    /* Smaller policy buttons on mobile */
    .policy-btn {
        padding: 10px 11px 10px 11px !important;
        width: 42px !important;
        border-radius: 8px !important;
    }
    .policy-btn svg {
        width: 15px !important;
        height: 15px !important;
    }

    /* Lower search bar 5px on mobile */
    .map-search-bar {
        left: 10px !important;
        right: auto !important;
        transform: none !important;
        width: calc(100vw - 185px) !important;
        top: 87px !important;
    }

    /* Policy controls on mobile: a touch higher for safe area */
    .policy-controls {
        bottom: 108px !important;
    }
}

/* =============================================
   LIGHT MODE OVERRIDES (non-dark theme)
   ============================================= */
:root:not([data-theme="dark"]) .support-btn,
:root:not([data-theme="dark"]) .feedback-btn {
    background: linear-gradient(135deg, rgba(255,255,255,0.97) 0%, rgba(255,252,240,0.97) 100%) !important;
    border-color: rgba(212,175,55,0.55) !important;
    color: #D4AF37 !important;
    box-shadow: 0 2px 12px rgba(212,175,55,0.15) !important;
}
:root:not([data-theme="dark"]) .support-btn span,
:root:not([data-theme="dark"]) .feedback-btn span {
    color: #D4AF37 !important;
}
:root:not([data-theme="dark"]) .my-location-btn {
    background: linear-gradient(135deg, rgba(255,255,255,0.97) 0%, rgba(255,252,240,0.97) 100%) !important;
    border-color: rgba(212,175,55,0.5) !important;
    color: #333 !important;
    box-shadow: 0 2px 12px rgba(212,175,55,0.15) !important;
}
:root:not([data-theme="dark"]) .leaflet-control-zoom a {
    background: rgba(255,255,255,0.97) !important;
    color: #D4AF37 !important;
    border: 1px solid rgba(212,175,55,0.4) !important;
}
:root:not([data-theme="dark"]) .leaflet-control-zoom a:hover {
    background: rgba(255,252,235,0.98) !important;
    color: #b8960e !important;
}
:root:not([data-theme="dark"]) .top-banner {
    background: linear-gradient(135deg, rgba(255,255,255,0.97) 0%, rgba(255,252,230,0.95) 100%) !important;
    border: 1px solid rgba(212,175,55,0.2) !important;
}
:root:not([data-theme="dark"]) .policy-btn {
    background: rgba(255,255,255,0.94) !important;
    border-color: rgba(212,175,55,0.25) !important;
    color: rgba(0,0,0,0.6) !important;
}
:root:not([data-theme="dark"]) .policy-btn:hover {
    background: rgba(255,252,235,0.98) !important;
    border-color: rgba(212,175,55,0.5) !important;
    color: #b8960e !important;
}

/* =============================================
   DESTINATION PICK-ON-MAP BUTTON
   ============================================= */
.dest-map-pick-btn {
    border: 1.5px dashed rgba(212,175,55,0.55) !important;
    margin-top: 4px;
}
.dest-pick-icon {
    background: rgba(212,175,55,0.15) !important;
    border: 1.5px dashed rgba(212,175,55,0.55);
}

/* Theme toggle policy btn icon slot */
.policy-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 17px;
    height: 17px;
}
