/**
 * Interactive Hurghada Guide Styles
 * Premium design matching the main website theme
 */

/* ========================================
   CSS Variables (matching main theme)
======================================== */
:root {
    --guide-primary: #115E59;
    --guide-primary-light: #14B8A6;
    --guide-secondary: #0891B2;
    --guide-accent: #F59E0B;
    --guide-dark: #1E293B;
    --guide-light: #F8FAFC;
    --guide-white: #FFFFFF;
    --guide-gray: #64748B;
    --guide-gray-light: #E2E8F0;
    --guide-danger: #EF4444;
    --guide-success: #10B981;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
}

/* ========================================
   Main Layout
======================================== */
.interactive-guide-main {
    min-height: 100vh;
    background: var(--guide-light);
}

.guide-hero {
    background: linear-gradient(135deg, var(--guide-primary) 0%, var(--guide-secondary) 100%);
    padding: 3rem 1rem;
    text-align: center;
    color: var(--guide-white);
}

.guide-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.guide-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.guide-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 0;
    max-width: 1800px;
    margin: 0 auto;
    min-height: calc(100vh - 200px);
    position: relative;
}

@media (max-width: 1024px) {
    .guide-container {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Sidebar Styles
======================================== */
.guide-sidebar {
    background: var(--guide-white);
    border-right: 1px solid var(--guide-gray-light);
    overflow-y: auto;
    max-height: calc(100vh - 200px);
    position: sticky;
    top: 0;
}

@media (max-width: 1024px) {
    .guide-sidebar {
        max-height: none;
        border-right: none;
        border-bottom: 1px solid var(--guide-gray-light);
    }
}

.sidebar-section {
    padding: 1.5rem;
    border-bottom: 1px solid var(--guide-gray-light);
}

.sidebar-section:last-child {
    border-bottom: none;
}

.sidebar-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--guide-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Filter Styles */
.filter-group {
    margin-bottom: 1rem;
}

.filter-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--guide-gray);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-select,
.filter-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--guide-gray-light);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--guide-dark);
    background: var(--guide-white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.filter-select:focus,
.filter-input:focus {
    outline: none;
    border-color: var(--guide-primary-light);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

.btn-apply-filters {
    width: 100%;
    padding: 0.875rem;
    background: var(--guide-primary);
    color: var(--guide-white);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background var(--transition-fast), transform var(--transition-fast);
    margin-bottom: 0.5rem;
}

.btn-apply-filters:hover {
    background: var(--guide-secondary);
    transform: translateY(-1px);
}

.btn-clear-filters {
    width: 100%;
    padding: 0.75rem;
    background: transparent;
    color: var(--guide-gray);
    border: 1px solid var(--guide-gray-light);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-clear-filters:hover {
    background: var(--guide-gray-light);
    color: var(--guide-dark);
}

/* ========================================
   Tour Planner Styles
======================================== */
.tour-planner-section {
    background: linear-gradient(to bottom, #F0FDFA, var(--guide-white));
}

.planner-intro {
    font-size: 0.85rem;
    color: var(--guide-gray);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.tour-start-point {
    margin-bottom: 1.25rem;
}

.tour-start-point label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--guide-gray);
    margin-bottom: 0.4rem;
}

.btn-set-start {
    width: 100%;
    padding: 0.75rem;
    background: var(--guide-white);
    border: 2px dashed var(--guide-primary-light);
    border-radius: var(--radius-sm);
    color: var(--guide-primary);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all var(--transition-fast);
}

.btn-set-start:hover {
    background: #F0FDFA;
    border-style: solid;
}

.btn-set-start.active {
    background: var(--guide-primary-light);
    color: var(--guide-white);
    border-style: solid;
}

.start-point-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #F0FDFA;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    margin-top: 0.5rem;
    border: 1px solid var(--guide-primary-light);
}

.start-coords {
    font-size: 0.85rem;
    color: var(--guide-primary);
}

.btn-clear-start {
    background: none;
    border: none;
    color: var(--guide-danger);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    font-size: 1rem;
}

/* Tour Stops List */
.tour-stops-list {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 1rem;
}

.no-stops-msg {
    font-size: 0.85rem;
    color: var(--guide-gray);
    text-align: center;
    padding: 1rem;
    background: var(--guide-gray-light);
    border-radius: var(--radius-sm);
}

.tour-stop-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--guide-white);
    border: 1px solid var(--guide-gray-light);
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
    transition: all var(--transition-fast);
}

.tour-stop-item:hover {
    border-color: var(--guide-primary-light);
    box-shadow: var(--shadow-sm);
}

.stop-number {
    width: 24px;
    height: 24px;
    background: var(--guide-primary);
    color: var(--guide-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

.stop-name {
    flex: 1;
    font-size: 0.9rem;
    color: var(--guide-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.remove-stop {
    background: none;
    border: none;
    color: var(--guide-gray);
    cursor: pointer;
    padding: 0.25rem;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.remove-stop:hover {
    color: var(--guide-danger);
}

/* Tour Summary */
.tour-summary {
    background: var(--guide-primary);
    color: var(--guide-white);
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.35rem 0;
    font-size: 0.9rem;
}

.summary-item .label {
    opacity: 0.85;
}

/* Tour Actions */
.tour-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-calculate {
    flex: 2;
    padding: 0.875rem;
    background: var(--guide-accent);
    color: var(--guide-white);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-calculate:hover:not(:disabled) {
    background: #D97706;
    transform: translateY(-1px);
}

.btn-calculate:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-clear-tour {
    flex: 1;
    padding: 0.875rem;
    background: var(--guide-white);
    color: var(--guide-danger);
    border: 1px solid var(--guide-danger);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-clear-tour:hover {
    background: #FEF2F2;
}

/* Activity Legend */
.activity-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--guide-dark);
    padding: 0.35rem 0.65rem;
    background: var(--guide-light);
    border-radius: var(--radius-full);
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
}

/* ========================================
   Map Styles
======================================== */
.map-wrapper {
    position: relative;
    background: #E5E7EB;
}

.hurghada-map {
    width: 100%;
    height: calc(100vh - 200px);
    min-height: 500px;
}

@media (max-width: 1024px) {
    .hurghada-map {
        height: 60vh;
        min-height: 400px;
    }
}

/* Map Controls */
.map-controls {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    z-index: 10;
}

.map-control-btn {
    width: 40px;
    height: 40px;
    background: var(--guide-white);
    border: none;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.map-control-btn:hover {
    background: var(--guide-primary);
    color: var(--guide-white);
}

/* POI Count Badge */
.poi-count-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: var(--guide-dark);
    color: var(--guide-white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

/* ========================================
   POI Details Panel
======================================== */
.poi-details-panel {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    max-width: 100vw;
    height: 100vh;
    background: var(--guide-white);
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    transition: right var(--transition-normal);
    overflow-y: auto;
}

.poi-details-panel.open {
    right: 0;
}

.close-panel-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: var(--guide-gray-light);
    border: none;
    border-radius: var(--radius-full);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 10;
}

.close-panel-btn:hover {
    background: var(--guide-danger);
    color: var(--guide-white);
}

.poi-details-content {
    padding: 2rem;
    padding-top: 4rem;
}

/* POI Detail Elements */
.poi-image-hero {
    width: calc(100% + 4rem);
    height: 200px;
    object-fit: cover;
    margin: -2rem -2rem 1.5rem -2rem;
}

.poi-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--guide-dark);
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.poi-subtitle {
    font-size: 0.9rem;
    color: var(--guide-gray);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.poi-rating {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--guide-accent);
    font-weight: 600;
}

.poi-price-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #FEF3C7;
    color: #D97706;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
}

.poi-activities-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.activity-tag {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.35rem 0.75rem;
    background: var(--guide-light);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
}

.poi-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--guide-dark);
    margin-bottom: 1.5rem;
}

/* Tips Sections */
.poi-tips {
    margin-bottom: 1.5rem;
}

.tip-section {
    background: var(--guide-light);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
    border-left: 4px solid;
}

.tip-section.safety {
    border-color: var(--guide-danger);
    background: #FEF2F2;
}

.tip-section.financial {
    border-color: var(--guide-success);
    background: #F0FDF4;
}

.tip-section.experience {
    border-color: var(--guide-accent);
    background: #FFFBEB;
}

.tip-section h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tip-section p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--guide-dark);
}

/* Affiliate Links */
.poi-affiliate-links {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--guide-gray-light);
}

.poi-affiliate-links h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--guide-dark);
}

.affiliate-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.affiliate-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.affiliate-btn.booking {
    background: #003580;
    color: var(--guide-white);
}

.affiliate-btn.booking:hover {
    background: #00264d;
}

.affiliate-btn.viator {
    background: #FF5533;
    color: var(--guide-white);
}

.affiliate-btn.viator:hover {
    background: #E64420;
}

.affiliate-btn.getyourguide {
    background: #FFA500;
    color: var(--guide-white);
}

.affiliate-btn.getyourguide:hover {
    background: #E69500;
}

.btn-add-to-tour {
    width: 100%;
    padding: 1rem;
    background: var(--guide-primary);
    color: var(--guide-white);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all var(--transition-fast);
}

.btn-add-to-tour:hover {
    background: var(--guide-secondary);
    transform: translateY(-1px);
}

.btn-add-to-tour.added {
    background: var(--guide-success);
}

/* ========================================
   Modal Styles
======================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
}

.modal-content {
    background: var(--guide-white);
    border-radius: var(--radius-lg);
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: var(--guide-gray-light);
    border: none;
    border-radius: var(--radius-full);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--guide-danger);
    color: var(--guide-white);
}

.route-modal-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--guide-dark);
}

/* Route Details */
#route-details {
    margin-bottom: 1.5rem;
}

.route-waypoint {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--guide-gray-light);
}

.route-waypoint:last-child {
    border-bottom: none;
}

.waypoint-marker {
    width: 32px;
    height: 32px;
    background: var(--guide-primary);
    color: var(--guide-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.waypoint-marker.start {
    background: var(--guide-success);
}

.waypoint-info h4 {
    font-size: 1rem;
    color: var(--guide-dark);
    margin-bottom: 0.25rem;
}

.waypoint-info p {
    font-size: 0.85rem;
    color: var(--guide-gray);
}

.route-summary {
    background: var(--guide-primary);
    color: var(--guide-white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.route-stat h5 {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.route-stat .value {
    font-size: 1.5rem;
    font-weight: 700;
}

.route-actions {
    display: flex;
    gap: 1rem;
}

.btn-save-tour,
.btn-print-tour {
    flex: 1;
    padding: 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-save-tour {
    background: var(--guide-primary);
    color: var(--guide-white);
    border: none;
}

.btn-save-tour:hover {
    background: var(--guide-secondary);
}

.btn-print-tour {
    background: var(--guide-white);
    color: var(--guide-dark);
    border: 1px solid var(--guide-gray-light);
}

.btn-print-tour:hover {
    background: var(--guide-light);
}

/* ========================================
   Suggestions Section
======================================== */
.suggestions-section {
    padding: 2rem;
    background: var(--guide-white);
    border-top: 1px solid var(--guide-gray-light);
}

.suggestions-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--guide-dark);
}

.suggestions-list {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.suggestion-card {
    flex: 0 0 200px;
    padding: 1rem;
    background: var(--guide-light);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

.suggestion-card h4 {
    font-size: 0.95rem;
    color: var(--guide-dark);
    margin-bottom: 0.35rem;
}

.suggestion-card p {
    font-size: 0.8rem;
    color: var(--guide-gray);
}

/* ========================================
   Custom Map Marker Styles (Leaflet)
======================================== */
.custom-marker {
    background: transparent !important;
    border: none !important;
}

.marker-pin {
    width: 36px;
    height: 36px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
    color: white;
    font-weight: 600;
}

.marker-pin>* {
    transform: rotate(45deg);
}

.marker-pin:hover {
    transform: rotate(-45deg) scale(1.1);
}

.marker-pin.start-marker {
    width: 40px;
    height: 40px;
    font-size: 18px;
}

.marker-pin.tour-marker {
    font-size: 14px;
    font-weight: 700;
}

/* Marker Label - English POI name */
.marker-label {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 100;
}

/* Show labels ONLY on hover */
.custom-marker:hover .marker-label {
    opacity: 1;
    visibility: visible;
}

/* Google Maps CTA Button */
.google-maps-cta {
    background: linear-gradient(135deg, #4285F4 0%, #34A853 100%);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    text-align: center;
}

.google-maps-cta>p:first-child {
    color: white;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.btn-google-maps {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: white;
    color: #1a73e8;
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.btn-google-maps:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    color: #1557b0;
}

.btn-google-maps svg {
    fill: #EA4335;
}

.mobile-hint {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

/* Route waypoints in modal */
.route-waypoints h4 {
    font-size: 1rem;
    color: var(--guide-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--guide-gray-light);
}

/* Custom Popup Styles */
.custom-popup .leaflet-popup-content-wrapper {
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.custom-popup .leaflet-popup-content {
    margin: 0;
    min-width: 250px;
}

.leaflet-popup-content-custom {
    padding: 1rem;
}

.leaflet-popup-content-custom h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    color: #1E293B;
    font-weight: 600;
}

.leaflet-popup-content-custom p {
    margin: 0 0 0.75rem;
    font-size: 0.85rem;
    color: #64748B;
    line-height: 1.5;
}

.popup-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}

.popup-tag {
    padding: 0.2rem 0.5rem;
    background: #F1F5F9;
    border-radius: 9999px;
    font-size: 0.75rem;
    color: #334155;
}

.popup-buttons {
    display: flex;
    gap: 0.5rem;
}

.popup-btn-details,
.popup-btn-add {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.popup-btn-details {
    background: #115E59;
    color: white;
}

.popup-btn-details:hover {
    background: #0D4F4A;
}

.popup-btn-add {
    background: #F59E0B;
    color: white;
}

.popup-btn-add:hover {
    background: #D97706;
}

/* Leaflet attribution styling */
.leaflet-control-attribution {
    font-size: 10px !important;
    background: rgba(255, 255, 255, 0.8) !important;
}

/* ========================================
   Loading States
======================================== */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--guide-gray-light);
    border-top-color: var(--guide-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.skeleton {
    background: linear-gradient(90deg, var(--guide-gray-light) 25%, #F1F5F9 50%, var(--guide-gray-light) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ========================================
   Print Styles
======================================== */
@media print {

    .guide-sidebar,
    .map-controls,
    .close-panel-btn,
    .modal,
    .btn-add-to-tour,
    .route-actions {
        display: none !important;
    }

    .guide-container {
        display: block;
    }

    .hurghada-map {
        height: 400px;
    }
}