/* ========================================
   TukTour - Global Styles
   ======================================== */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'DM Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #1a1a2e;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-accent {
    color: #E8985F;
}

.section-tag {
    display: inline-block;
    background: rgba(232, 152, 95, 0.12);
    color: #E8985F;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

    .section-header h2 {
        font-size: 2.5rem;
        margin-bottom: 16px;
    }

    .section-header p {
        font-size: 1.1rem;
        color: #555;
        max-width: 600px;
        margin: 0 auto;
    }

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar-scrolled {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

    .nav-logo i {
        color: #E8985F;
        margin-right: 8px;
    }

.lang-toggle {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3px;
    gap: 2px;
    margin-left: auto;
    margin-right: 12px;
}

.lang-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    padding: 5px 12px;
    border-radius: 18px;
    font-size: 0.75rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

    .lang-btn:hover {
        color: white;
        background: rgba(255, 255, 255, 0.1);
    }

.lang-active {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    font-weight: 600;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 8px;
}

    .nav-links a {
        color: rgba(255, 255, 255, 0.85);
        text-decoration: none;
        padding: 8px 16px;
        border-radius: 8px;
        transition: all 0.3s ease;
        font-weight: 500;
        font-size: 0.95rem;
    }

        .nav-links a:hover {
            color: white;
            background: rgba(255, 255, 255, 0.1);
        }

    .nav-links .nav-btn {
        background: #E8985F;
        color: white !important;
        padding: 10px 24px;
        border-radius: 25px;
        font-weight: 600;
    }

        .nav-links .nav-btn:hover {
            background: #d4864d;
            transform: translateY(-1px);
        }

/* ========================================
   HERO
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    overflow: hidden;
}

    .hero::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -20%;
        width: 800px;
        height: 800px;
        background: radial-gradient(circle, rgba(232, 152, 95, 0.15) 0%, transparent 70%);
        border-radius: 50%;
    }

    .hero::after {
        content: '';
        position: absolute;
        bottom: -30%;
        left: -10%;
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
        border-radius: 50%;
    }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: rgba(232, 152, 95, 0.15);
    color: #E8985F;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(232, 152, 95, 0.3);
}

.hero h1 {
    font-size: 4rem;
    color: white;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 50px;
}

.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #E8985F;
    color: white;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

    .btn-primary-custom:hover {
        background: #d4864d;
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(232, 152, 95, 0.3);
    }

.btn-secondary-custom {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: white;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

    .btn-secondary-custom:hover {
        border-color: white;
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
    }

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

    .stat-label .fa-star {
        color: #f5c518;
        font-size: 0.75rem;
    }

/* ========================================
   FEATURES BAR
   ======================================== */
.features-bar {
    background: white;
    padding: 40px 0;
    border-bottom: 1px solid #eee;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

    .feature-item i {
        font-size: 1.8rem;
        color: #E8985F;
        flex-shrink: 0;
    }

    .feature-item h4 {
        font-family: 'DM Sans', sans-serif;
        font-size: 0.95rem;
        font-weight: 700;
        margin-bottom: 2px;
    }

    .feature-item p {
        font-size: 0.8rem;
        color: #777;
        margin: 0;
    }

/* ========================================
   ABOUT
   ======================================== */
.about {
    padding: 100px 0;
    background: #fafafa;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.img-placeholder {
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}

.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border: 5px solid white;
}

    .about-img-secondary .img-placeholder {
        height: 200px;
        border-radius: 12px;
    }

.about-badge-card {
    position: absolute;
    top: -20px;
    right: 20px;
    background: white;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.85rem;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-lead {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 16px;
    font-weight: 500;
}

.about-text > p {
    color: #666;
    margin-bottom: 30px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

    .about-feature i {
        color: #2D6A4F;
        font-size: 1.1rem;
    }

/* ========================================
   TOURS
   ======================================== */
.tours {
    padding: 100px 0;
    background: white;
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tour-filter {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tour-price-block {
    display: flex;
    flex-direction: column;
    margin-bottom: 8px;
    flex-shrink: 0;
    gap: 2px;
}

.tour-price-block .tour-price-amount {
    display: block;
}

.tour-price-total-label {
    display: block;
    font-size: 0.72rem;
    color: #888;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1px;
}

.tour-price-details {
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin-top: 4px;
    padding: 6px 10px;
    background: #f8f6f3;
    border-radius: 8px;
}

.tour-price-context {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #555;
    font-weight: 500;
    line-height: 1.6;
}

.tour-filter-select-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: #f8f6f3;
    border: 2px solid #e8e8e8;
    border-radius: 25px;
    padding: 10px 20px;
    transition: border-color 0.2s;
    gap: 10px;
}

    .tour-filter-select-wrapper:focus-within {
        border-color: #E8985F;
    }

    .tour-filter-select-wrapper > i:first-child {
        color: #E8985F;
        font-size: 0.95rem;
    }

.tour-filter-select {
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.9rem;
    font-family: inherit;
    color: #1a1a2e;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    padding-right: 20px;
    min-width: 160px;
}

.tour-filter-arrow {
    position: absolute;
    right: 16px;
    font-size: 0.7rem;
    color: #999;
    pointer-events: none;
}

.tour-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

    .tour-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    }

.tour-bestseller {
    border: 2px solid #E8985F;
}

.tour-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #E8985F;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tour-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.tour-image-real {
    background: #eee;
}

    .tour-image-real img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

    .tour-card:hover .tour-image-real img {
        transform: scale(1.05);
    }

/* Card Carousel (Airbnb style) */
.card-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: #222;
    font-size: 0.7rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.15s ease;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.card-carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.tour-card:hover .card-carousel-btn {
    opacity: 1;
}

.card-carousel-prev { left: 8px; }
.card-carousel-next { right: 8px; }

.card-carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 3;
}

.card-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.2s ease;
}

.card-dot-active {
    background: white;
    transform: scale(1.3);
}

.card-dot-more {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.tour-price-line {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 4px;
    flex-shrink: 0;
}

.tour-price-amount {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1a1a2e;
}

.tour-price-label {
    font-size: 0.82rem;
    color: #888;
    font-weight: 500;
}

.tour-info {
    padding: 16px 20px 16px;
    width: 100%;
    height: 410px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

    .tour-info h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
        flex-shrink: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .tour-info > p {
        color: #666;
        font-size: 0.85rem;
        margin-bottom: 12px;
        line-height: 1.4;
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: #ddd transparent;
    }

    .tour-info > p::-webkit-scrollbar {
        width: 4px;
    }

    .tour-info > p::-webkit-scrollbar-track {
        background: transparent;
    }

    .tour-info > p::-webkit-scrollbar-thumb {
        background: #ddd;
        border-radius: 4px;
    }

    .tour-info > p::-webkit-scrollbar-thumb:hover {
        background: #bbb;
    }

.tour-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
    font-size: 0.8rem;
    color: #888;
    flex-shrink: 0;
}

    .tour-meta i {
        margin-right: 5px;
        color: #E8985F;
    }

.tour-pickup {
    color: #5a9a6e;
    font-weight: 500;
}

    .tour-pickup i {
        color: #5a9a6e !important;
    }

.tour-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tour-tag {
    background: #f5f5f5;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.78rem;
    color: #555;
    font-weight: 500;
}

.btn-tour {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #1a1a2e;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
    flex-shrink: 0;
    margin-top: auto;
}

    .btn-tour:hover {
        background: #E8985F;
        transform: translateY(-1px);
    }

.btn-whatsapp-modal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

    .btn-whatsapp-modal:hover {
        background: #1da851;
        transform: translateY(-2px);
        color: white;
    }

.tour-modal-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ========================================
   TOUR DETAIL PAGE
   ======================================== */
.tour-detail-page {
    padding: 120px 0 80px;
    min-height: 80vh;
}

.tour-detail-empty {
    text-align: center;
    padding: 80px 20px;
}

    .tour-detail-empty i {
        color: #ccc;
        margin-bottom: 20px;
    }

    .tour-detail-empty h2 {
        margin-bottom: 10px;
    }

    .tour-detail-empty p {
        color: #888;
        margin-bottom: 24px;
    }

.tour-detail-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: start;
}

.tour-detail-gallery {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.tour-detail-main-img {
    position: relative;
    height: 450px;
    overflow: hidden;
}

    .tour-detail-main-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.tour-detail-info {
    padding: 10px 0;
}

    .tour-detail-info h1 {
        font-size: 2rem;
        color: #1a1a2e;
        margin: 12px 0 16px;
    }

.tour-detail-desc {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 28px;
}

.tour-detail-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.tour-detail-meta-item {
    font-size: 0.95rem;
    color: #666;
}

    .tour-detail-meta-item i {
        color: #E8985F;
        width: 22px;
        margin-right: 8px;
    }

.tour-detail-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .tour-detail-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .tour-detail-main-img {
        height: 300px;
    }

    .tour-detail-info h1 {
        font-size: 1.5rem;
    }

    .tour-modal-buttons {
        flex-direction: column;
    }
}

.tour-buttons {
    display: flex;
    gap: 10px;
    align-items: stretch;
    flex-shrink: 0;
    margin-top: auto;
}

    .tour-buttons .btn-tour {
        flex: 1;
        margin-top: 0;
    }

.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 14px;
    background: #25D366;
    color: white;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    flex-shrink: 0;
    white-space: nowrap;
}

    .btn-whatsapp:hover {
        background: #1da851;
        transform: translateY(-1px);
        color: white;
    }

/* ========================================
   TOUR PREVIEW MODAL
   ======================================== */
.tour-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
    animation: fadeIn 0.2s ease;
}

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

.tour-modal {
    background: white;
    border-radius: 24px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

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

.tour-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

    .tour-modal-close:hover {
        background: rgba(0, 0, 0, 0.85);
    }

.tour-modal-gallery {
    position: relative;
}

.tour-modal-main-image {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
}

    .tour-modal-main-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: opacity 0.3s ease;
    }

.tour-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: #1a1a2e;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

    .tour-modal-nav:hover {
        background: white;
        transform: translateY(-50%) scale(1.1);
    }

.tour-modal-prev { left: 16px; }
.tour-modal-next { right: 16px; }

.tour-modal-counter {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.tour-modal-thumbs {
    display: flex;
    gap: 8px;
    padding: 16px 24px;
    overflow-x: auto;
    background: #f8f8f8;
}

.tour-modal-thumb {
    width: 70px;
    height: 50px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    border: 3px solid transparent;
    transition: border-color 0.2s;
    opacity: 0.6;
}

    .tour-modal-thumb:hover,
    .tour-modal-thumb.thumb-active {
        opacity: 1;
    }

    .tour-modal-thumb.thumb-active {
        border-color: #E8985F;
    }

    .tour-modal-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.tour-modal-info {
    padding: 32px;
}

    .tour-modal-info h2 {
        font-size: 1.6rem;
        margin-bottom: 12px;
        color: #1a1a2e;
    }

.tour-modal-desc {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.tour-modal-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 16px;
}

.tour-modal-price .tour-price-amount {
    font-size: 1.6rem;
}

.tour-pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    margin-bottom: 18px;
    padding: 14px;
    background: rgba(232, 152, 95, 0.06);
    border-radius: 12px;
    border: 1px solid rgba(232, 152, 95, 0.15);
}

.tour-pricing-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.7);
    transition: background 0.2s;
}

.tour-pricing-item:hover {
    background: rgba(232, 152, 95, 0.1);
}

.tour-pricing-label {
    font-size: 0.8rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 5px;
}

.tour-pricing-label i {
    color: #E8985F;
}

.tour-pricing-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: #E8985F;
}

.tour-modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 28px;
}

    .tour-modal-meta i {
        color: #E8985F;
        margin-right: 6px;
    }

.tour-modal-info .btn-primary-custom {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 768px) {
    .tour-modal {
        border-radius: 16px;
        max-height: 95vh;
    }

    .tour-modal-main-image {
        height: 280px;
        border-radius: 16px 16px 0 0;
    }

    .tour-modal-info {
        padding: 24px;
    }

    .tour-modal-info h2 {
        font-size: 1.3rem;
    }

    .tour-modal-meta {
        gap: 12px;
    }
}

/* ========================================
   REAL TOURS (from drivers)
   ======================================== */
.real-tours {
    padding: 100px 0;
    background: #f8f6f3;
}

.real-tours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.real-tour-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

    .real-tour-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    }

.real-tour-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

    .real-tour-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

    .real-tour-card:hover .real-tour-image img {
        transform: scale(1.05);
    }

.real-tour-count {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.real-tour-info {
    padding: 24px;
}

    .real-tour-info h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
        color: #1a1a2e;
    }

    .real-tour-info > p {
        color: #666;
        font-size: 0.9rem;
        margin-bottom: 16px;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

.real-tour-meta {
    display: flex;
    gap: 20px;
    color: #999;
    font-size: 0.85rem;
}

    .real-tour-meta i {
        margin-right: 4px;
        color: #E8985F;
    }

@media (max-width: 968px) {
    .real-tours-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .real-tours-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   GALLERY
   ======================================== */
.gallery {
    padding: 100px 0;
    background: #fafafa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
}

.gallery-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    transition: all 0.3s ease;
}

    .gallery-overlay h4 {
        color: white;
        font-size: 1.1rem;
        margin-bottom: 4px;
    }

    .gallery-overlay p {
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.8rem;
        margin: 0;
    }

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials {
    padding: 100px 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: #fafafa;
    padding: 32px;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

    .testimonial-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
        border-color: transparent;
    }

.testimonial-stars {
    margin-bottom: 16px;
}

    .testimonial-stars i {
        color: #f5c518;
        font-size: 0.9rem;
        margin-right: 2px;
    }

.testimonial-card > p {
    color: #444;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: #888;
}

/* ========================================
   FAQ
   ======================================== */
.faq {
    padding: 100px 0;
    background: #fafafa;
}

.faq-list {
    max-width: 750px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .faq-item:hover {
        border-color: #E8985F;
    }

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
}

    .faq-question h4 {
        font-family: 'DM Sans', sans-serif;
        font-size: 1rem;
        font-weight: 600;
        margin: 0;
    }

    .faq-question i {
        color: #E8985F;
        transition: transform 0.3s ease;
        flex-shrink: 0;
        margin-left: 16px;
    }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

    .faq-answer p {
        padding: 0 24px 20px;
        color: #666;
        font-size: 0.95rem;
        line-height: 1.6;
        margin: 0;
    }

.faq-open {
    border-color: #E8985F;
}

    .faq-open .faq-question i {
        transform: rotate(180deg);
    }

    .faq-open .faq-answer {
        max-height: 200px;
    }

/* ========================================
   BOOKING
   ======================================== */
.booking {
    padding: 100px 0;
    background: #1a1a2e;
    color: white;
}

.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.booking-info h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: white;
}

.booking-info > p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

    .contact-item i {
        width: 48px;
        height: 48px;
        background: rgba(232, 152, 95, 0.15);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #E8985F;
        font-size: 1.2rem;
        flex-shrink: 0;
    }

    .contact-item strong {
        display: block;
        font-size: 0.9rem;
    }

    .contact-item span {
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.9rem;
    }

.booking-form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 36px;
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 6px;
        font-weight: 600;
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.8);
    }

.form-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 0.95rem;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.3s ease;
}

    .form-input:focus {
        outline: none;
        border-color: #E8985F;
        background: rgba(255, 255, 255, 0.12);
        box-shadow: 0 0 0 3px rgba(232, 152, 95, 0.15);
    }

    .form-input::placeholder {
        color: rgba(255, 255, 255, 0.35);
    }

.form-input option {
    background: #1a1a2e;
    color: white;
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

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

.btn-submit {
    width: 100%;
    padding: 14px;
    background: #E8985F;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'DM Sans', sans-serif;
}

    .btn-submit:hover:not(:disabled) {
        background: #d4864d;
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(232, 152, 95, 0.3);
    }

    .btn-submit:disabled {
        background: #2D6A4F;
        cursor: default;
    }

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: #0d0d1a;
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 12px;
}

    .footer-brand h3 i {
        color: #E8985F;
    }

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

    .social-links a {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.08);
        display: flex;
        align-items: center;
        justify-content: center;
        color: rgba(255, 255, 255, 0.6);
        text-decoration: none;
        transition: all 0.3s ease;
        font-size: 1.1rem;
    }

        .social-links a:hover {
            background: #E8985F;
            color: white;
            transform: translateY(-2px);
        }

.footer-links h4,
.footer-contact h4 {
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    padding: 5px 0;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

    .footer-links a:hover {
        color: #E8985F;
    }

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

    .footer-contact p i {
        color: #E8985F;
        width: 20px;
        margin-right: 8px;
    }

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ========================================
   ADMIN PANEL
   ======================================== */
.admin-tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.admin-tour-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f6f3;
    border-radius: 12px;
    transition: background 0.2s;
}

    .admin-tour-card:hover {
        background: #f0ede8;
    }

.admin-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
    padding: 12px 0;
}

.admin-tour-img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

    .admin-tour-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.admin-tour-info {
    flex: 1;
    min-width: 0;
}

    .admin-tour-info strong {
        display: block;
        font-size: 0.88rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.admin-bookings-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.admin-booking-card {
    padding: 16px;
    background: #f8f6f3;
    border-radius: 12px;
    border-left: 4px solid #E8985F;
}

.admin-booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.admin-booking-details {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
    color: #555;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .tours-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
        margin-left: auto;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 26, 46, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 4px;
        backdrop-filter: blur(10px);
    }

        .nav-links.nav-open {
            display: flex;
        }

        .nav-links li {
            width: 100%;
        }

        .nav-links a {
            display: block;
            padding: 12px 16px;
        }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-img-secondary {
        right: 10px;
        bottom: -20px;
        width: 150px;
    }

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

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .section-header h2,
    .about-text h2,
    .booking-info h2 {
        font-size: 2rem;
    }

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

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

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

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

/* ========================================
   DRIVER PAGE
   ======================================== */
.driver-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 160px 24px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .driver-hero::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -20%;
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, rgba(232, 152, 95, 0.12) 0%, transparent 70%);
        border-radius: 50%;
    }

.driver-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

    .driver-hero-content h1 {
        font-size: 3rem;
        color: white;
        margin-bottom: 16px;
    }

    .driver-hero-content p {
        color: rgba(255, 255, 255, 0.7);
        font-size: 1.1rem;
    }

.driver-page {
    background: #f5f5f5;
    padding: 40px 0 80px;
    min-height: 60vh;
}

.active-link {
    color: #E8985F !important;
}

/* Tabs */
.driver-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
    background: white;
    padding: 8px;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.tab-btn {
    flex: 1;
    padding: 14px 20px;
    border: none;
    background: transparent;
    border-radius: 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .tab-btn:hover:not(:disabled) {
        background: #f5f5f5;
        color: #333;
    }

    .tab-btn:disabled {
        opacity: 0.4;
        cursor: not-allowed;
    }

    .tab-btn.tab-active {
        background: #1a1a2e;
        color: white;
        box-shadow: 0 4px 15px rgba(26, 26, 46, 0.3);
    }

/* Section Card */
.driver-section {
    animation: fadeIn 0.3s ease;
}

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

.section-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

    .card-header h2 {
        font-size: 1.5rem;
        margin-bottom: 4px;
    }

    .card-header p {
        color: #888;
        font-size: 0.9rem;
        margin: 0;
    }

/* Driver Form */
.driver-form {
    max-width: 700px;
}

.form-row-driver {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group-driver {
    margin-bottom: 24px;
}

    .form-group-driver label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        font-size: 0.9rem;
        color: #333;
    }

        .form-group-driver label i {
            color: #E8985F;
            margin-right: 6px;
            width: 16px;
        }

.driver-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 2px solid #e8e8e8;
    background: #fafafa;
    color: #333;
    font-size: 0.95rem;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.3s ease;
}

    .driver-input:focus {
        outline: none;
        border-color: #E8985F;
        background: white;
        box-shadow: 0 0 0 4px rgba(232, 152, 95, 0.1);
    }

    .driver-input::placeholder {
        color: #aaa;
    }

.driver-textarea {
    min-height: 120px;
    resize: vertical;
}

.driver-input-file {
    width: 100%;
    padding: 10px;
    border: 2px dashed #ddd;
    border-radius: 10px;
    background: #fafafa;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    color: #666;
}

    .driver-input-file:hover {
        border-color: #E8985F;
    }

.image-preview-small {
    margin-top: 12px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #E8985F;
}

    .image-preview-small img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Upload Zone */
.upload-zone {
    position: relative;
    border: 2px dashed #ddd;
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s ease;
    min-height: 200px;
}

    .upload-zone:hover {
        border-color: #E8985F;
    }

    .upload-zone .driver-input-file {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer;
        z-index: 1;
    }

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    color: #aaa;
    text-align: center;
}

    .upload-placeholder i {
        color: #ddd;
        margin-bottom: 16px;
    }

    .upload-placeholder p {
        font-weight: 600;
        color: #666;
        margin-bottom: 4px;
    }

    .upload-placeholder span {
        font-size: 0.8rem;
    }

.image-preview-large {
    position: relative;
}

    .image-preview-large img {
        width: 100%;
        max-height: 400px;
        object-fit: cover;
        border-radius: 14px;
    }

.remove-preview {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 10;
    transition: background 0.3s ease;
}

    .remove-preview:hover {
        background: #e74c3c;
    }

/* Alerts */
.alert-error {
    background: #fef2f2;
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    border: 1px solid #fecaca;
}

    .alert-error i {
        margin-right: 8px;
    }

.booking-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a2e;
    color: #fff;
    padding: 16px 28px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards;
}

    .booking-toast i {
        color: #4ade80;
        font-size: 1.2rem;
    }

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

@keyframes toastOut {
    from { opacity: 1; transform: translateX(-50%) translateY(0); }
    to { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

.alert-success {
    background: #f0fdf4;
    color: #16a34a;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    border: 1px solid #bbf7d0;
}

    .alert-success i {
        margin-right: 8px;
    }

/* Submit Button */
.btn-driver-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 28px;
    background: #E8985F;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'DM Sans', sans-serif;
}

    .btn-driver-submit:hover:not(:disabled) {
        background: #d4864d;
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(232, 152, 95, 0.3);
    }

    .btn-driver-submit:disabled {
        opacity: 0.7;
        cursor: not-allowed;
    }

.btn-driver-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: #1a1a2e;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'DM Sans', sans-serif;
    margin-top: 16px;
}

    .btn-driver-action:hover {
        background: #E8985F;
        transform: translateY(-2px);
    }

/* Success Registration */
.success-registration {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    margin-bottom: 20px;
    color: #2D6A4F;
    animation: scaleIn 0.5s ease;
}

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

.success-registration h2 {
    color: #2D6A4F;
    margin-bottom: 8px;
}

.success-registration > p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Driver Profile Card */
.driver-profile-card {
    display: flex;
    align-items: center;
    gap: 24px;
    background: #fafafa;
    padding: 24px;
    border-radius: 16px;
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
    border: 1px solid #eee;
}

.profile-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #E8985F;
    flex-shrink: 0;
}

.profile-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E8985F, #D4764E);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.profile-details h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.profile-details p {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 4px;
}

    .profile-details p i {
        color: #E8985F;
        width: 18px;
        margin-right: 6px;
    }

.profile-bio {
    margin-top: 8px;
    font-style: italic;
    color: #888 !important;
}

.btn-edit-profile {
    margin-top: 12px;
    padding: 8px 18px;
    border: 1px solid #E8985F;
    background: transparent;
    color: #E8985F;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
}

    .btn-edit-profile:hover {
        background: #E8985F;
        color: white;
    }

.profile-edit-form {
    margin-top: 20px;
    padding: 24px;
    background: #f9f9f9;
    border-radius: 14px;
    border: 1px solid #eee;
}

.profile-edit-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

/* My Uploads */
.my-uploads {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

    .my-uploads h3 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

        .my-uploads h3 i {
            color: #E8985F;
            margin-right: 8px;
        }

.my-uploads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.my-upload-card {
    background: #fafafa;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

    .my-upload-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    }

.my-upload-img {
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .my-upload-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
        transition: transform 0.3s ease;
    }

.my-upload-card:hover .my-upload-img img {
    transform: scale(1.05);
}

.my-upload-info {
    padding: 16px;
}

    .my-upload-info h4 {
        font-size: 1rem;
        margin-bottom: 6px;
    }

    .my-upload-info p {
        font-size: 0.85rem;
        color: #666;
        margin-bottom: 8px;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

.upload-date {
    font-size: 0.78rem;
    color: #aaa;
}

    .upload-date i {
        margin-right: 4px;
    }

/* Public Gallery */
.public-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.gallery-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

    .gallery-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
        border-color: transparent;
    }

.gallery-card-img {
    height: 220px;
    overflow: hidden;
    background: #f0f0f0;
}

    .gallery-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
        transition: transform 0.5s ease;
    }

.gallery-card:hover .gallery-card-img img {
    transform: scale(1.08);
}

.gallery-card-info {
    padding: 20px;
}

    .gallery-card-info h4 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .gallery-card-info p {
        font-size: 0.9rem;
        color: #666;
        margin-bottom: 12px;
        line-height: 1.5;
    }

.gallery-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #aaa;
}

    .gallery-card-meta i {
        margin-right: 4px;
        color: #E8985F;
    }

/* Empty Gallery */
.empty-gallery {
    text-align: center;
    padding: 60px 20px;
    color: #aaa;
}

    .empty-gallery i {
        color: #ddd;
        margin-bottom: 20px;
    }

    .empty-gallery h3 {
        color: #666;
        margin-bottom: 8px;
    }

    .empty-gallery p {
        max-width: 400px;
        margin: 0 auto 20px;
        font-size: 0.95rem;
    }

/* Image Modal */
.image-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    backdrop-filter: blur(8px);
    animation: fadeIn 0.2s ease;
}

.image-modal-content {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

    .image-modal-content img {
        width: 100%;
        max-height: 500px;
        object-fit: contain;
        background: #f5f5f5;
        display: block;
    }

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 3;
    transition: background 0.3s ease;
}

    .modal-close:hover {
        background: #e74c3c;
    }

.modal-info {
    padding: 24px;
}

    .modal-info h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .modal-info p {
        color: #666;
        line-height: 1.6;
        margin-bottom: 12px;
    }

.modal-date {
    font-size: 0.85rem;
    color: #aaa;
}

    .modal-date i {
        margin-right: 4px;
    }

/* ========================================
   AUTH - Estilo Onepage
   ======================================== */
.op-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    padding: 20px 0;
}

.op-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 450px;
}

.op-logo {
    margin-bottom: 24px;
}

.op-heading {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.65rem;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    margin-bottom: 16px;
    line-height: 1.25;
}

.op-paragraph {
    text-align: center;
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 28px;
    padding: 0 8px;
}

/* Buttons */
.op-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 54px;
    border-radius: 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    margin-bottom: 10px;
    padding: 0 20px;
}

.op-btn__content {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .op-btn__content svg {
        flex-shrink: 0;
    }

/* Secondary (Google, Email) */
.op-btn--secondary {
    background: white;
    color: #2b2b2f;
    border: 1.5px solid #e0e0e5;
}

    .op-btn--secondary:hover {
        border-color: #c8c8cf;
        background: #fafafa;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    }

    .op-btn--secondary:active {
        background: #f5f5f5;
        transform: scale(0.995);
    }

/* Primary (Submit) */
.op-btn--primary {
    background: #E8985F;
    color: white;
    border: none;
    margin-top: 4px;
}

    .op-btn--primary:hover:not(:disabled) {
        background: #d4864d;
        box-shadow: 0 4px 14px rgba(232, 152, 95, 0.35);
    }

    .op-btn--primary:active:not(:disabled) {
        transform: scale(0.995);
    }

    .op-btn--primary:disabled {
        opacity: 0.65;
        cursor: not-allowed;
    }

/* Transparent (switch link) */
.op-btn--transparent {
    background: transparent;
    color: #6b7280;
    border: none;
    margin-top: 6px;
    height: 48px;
}

    .op-btn--transparent:hover {
        background: rgba(0, 0, 0, 0.03);
    }

.op-switch-text {
    font-weight: 450;
    font-size: 0.9rem;
    color: #6b7280;
}

    .op-switch-text strong {
        color: #1a1a2e;
        font-weight: 700;
    }

/* Divider */
.op-divider {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 16px 0;
}

    .op-divider::before,
    .op-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: #e5e7eb;
    }

    .op-divider span {
        padding: 0 16px;
        font-size: 0.78rem;
        color: #9ca3af;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 500;
    }

/* Form fields */
.op-field {
    width: 100%;
    margin-bottom: 12px;
    text-align: left;
}

.op-fields-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
}

.op-input {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    border: 1.5px solid #e0e0e5;
    border-radius: 10px;
    background: white;
    color: #1f2937;
    font-size: 0.92rem;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.15s ease;
}

    .op-input:focus {
        outline: none;
        border-color: #006aff;
        box-shadow: 0 0 0 3px rgba(0, 106, 255, 0.08);
    }

    .op-input::placeholder {
        color: #a0a3ab;
    }

.op-eye {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #a0a3ab;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 4px;
}

    .op-eye:hover {
        color: #2b2b2f;
    }

@media (max-width: 520px) {
    .op-card {
        padding: 0 12px;
    }

    .op-heading {
        font-size: 1.35rem;
    }

    .op-fields-row {
        grid-template-columns: 1fr;
    }
}

/* Social Auth Buttons */
.social-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

/* Google Sign-In Button (estilo oficial) */
.btn-google {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0;
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    overflow: hidden;
    height: 50px;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

    .btn-google:hover {
        border-color: #d2e3fc;
        background: #f7fafe;
        box-shadow: 0 1px 3px rgba(66, 133, 244, 0.15);
    }

    .btn-google:active {
        background: #edf3fe;
    }

.google-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background: white;
    border-right: 1px solid #dadce0;
}

.btn-google:hover .google-icon-wrapper {
    border-color: #d2e3fc;
}

.google-icon {
    width: 22px;
    height: 22px;
}

.google-btn-text {
    flex: 1;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: #3c4043;
    letter-spacing: 0.2px;
    padding-right: 50px;
}

/* Facebook Sign-In Button */
.btn-facebook {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    height: 50px;
    padding: 0 20px;
    background: #1877F2;
    color: white;
    border: none;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .btn-facebook:hover {
        background: #166fe5;
        box-shadow: 0 1px 3px rgba(24, 119, 242, 0.3);
    }

.social-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* Auth Divider */
.auth-divider {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

    .auth-divider::before,
    .auth-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: #e0e0e0;
    }

    .auth-divider span {
        padding: 0 16px;
        font-size: 0.82rem;
        color: #aaa;
        white-space: nowrap;
    }

/* Password Field */
.password-wrapper {
    position: relative;
}

    .password-wrapper .driver-input {
        padding-right: 48px;
    }

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #aaa;
    cursor: pointer;
    font-size: 1rem;
    padding: 4px;
}

    .password-toggle:hover {
        color: #E8985F;
    }

/* User Bar */
.user-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 16px 24px;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #E8985F;
}

.user-avatar-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E8985F, #D4764E);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.user-info strong {
    display: block;
    font-size: 0.95rem;
}

.user-info span {
    font-size: 0.8rem;
    color: #888;
}

.btn-logout {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f5f5f5;
    border: 1px solid #eee;
    border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .btn-logout:hover {
        background: #e74c3c;
        color: white;
        border-color: #e74c3c;
    }

/* Dashboard Stats */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.dash-stat-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

    .dash-stat-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }

    .dash-stat-card > i {
        font-size: 1.8rem;
        color: #E8985F;
        width: 50px;
        height: 50px;
        background: rgba(232, 152, 95, 0.1);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

.dash-stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a2e;
}

.dash-stat-label {
    font-size: 0.8rem;
    color: #888;
}

/* Upload Steps */
.upload-step {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.upload-step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #E8985F;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.upload-step-label {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1a1a2e;
}

/* Drop Area */
.upload-drop-area {
    position: relative;
    border: 2px dashed #d0d0d5;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.2s ease;
    margin-bottom: 16px;
}

    .upload-drop-area:hover {
        border-color: #E8985F;
        background: rgba(232, 152, 95, 0.03);
    }

.upload-drop-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.upload-drop-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    cursor: pointer;
    text-align: center;
}

    .upload-drop-label i {
        font-size: 2.5rem;
        color: #d0d0d5;
        margin-bottom: 14px;
        transition: color 0.2s ease;
    }

    .upload-drop-area:hover .upload-drop-label i {
        color: #E8985F;
    }

.upload-drop-title {
    font-weight: 600;
    font-size: 1rem;
    color: #333;
    margin-bottom: 4px;
}

.upload-drop-subtitle {
    font-size: 0.88rem;
    color: #888;
    margin-bottom: 8px;
}

.upload-drop-hint {
    font-size: 0.75rem;
    color: #aaa;
    background: #f5f5f5;
    padding: 4px 12px;
    border-radius: 20px;
}

/* Pending Thumbnails Grid */
.pending-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.pending-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pending-thumb {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
    background: #f0f0f0;
}

    .pending-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.pending-number {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pending-remove-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 0;
    background: none;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: #999;
    cursor: pointer;
    transition: all 0.15s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

    .pending-remove-btn:hover,
    .pending-remove-btn:active {
        background: #fef2f2;
        border-color: #e74c3c;
        color: #e74c3c;
    }

/* Add More Button */
.pending-add-wrap {
    position: relative;
    border-radius: 12px;
    border: 2px dashed #d0d0d5;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .pending-add-wrap:hover {
        border-color: #E8985F;
    }

.pending-add-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.pending-add-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    height: 100%;
    color: #aaa;
    transition: color 0.2s ease;
}

    .pending-add-wrap:hover .pending-add-content {
        color: #E8985F;
    }

    .pending-add-content i {
        font-size: 1.3rem;
    }

    .pending-add-content span {
        font-size: 0.72rem;
        font-weight: 600;
    }

/* Tour Carousel (multiple images in one card) */
.tour-carousel {
    position: relative;
    overflow: hidden;
}

.tour-images-strip {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

    .tour-images-strip::-webkit-scrollbar {
        display: none;
    }

.tour-strip-img {
    flex: 0 0 100%;
    scroll-snap-align: start;
    height: 200px;
    background: #f0f0f0;
}

    .tour-strip-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.tour-photo-count {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 600;
}

    .tour-photo-count i {
        margin-right: 4px;
    }

.gallery-photo-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 600;
    z-index: 2;
}

    .gallery-photo-badge i {
        margin-right: 4px;
    }

.gallery-card-img {
    position: relative;
}

/* Modal Navigation */
.modal-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 12px;
    background: #fafafa;
    border-bottom: 1px solid #eee;
    font-size: 0.85rem;
    color: #666;
    font-weight: 600;
}

.modal-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: white;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

    .modal-nav-btn:hover:not(:disabled) {
        background: #E8985F;
        color: white;
        border-color: #E8985F;
    }

    .modal-nav-btn:disabled {
        opacity: 0.3;
        cursor: not-allowed;
    }

/* Edit Tour Images Grid */
.edit-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
}

.edit-image-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1;
    background: #f0f0f0;
}

    .edit-image-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.edit-image-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.85);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    z-index: 3;
}

    .edit-image-remove:hover {
        background: #e74c3c;
        transform: scale(1.1);
    }

.edit-image-add {
    position: relative;
    border-radius: 10px;
    border: 2px dashed #d0d0d5;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
}

    .edit-image-add:hover {
        border-color: #E8985F;
    }

/* Upload Actions (edit/delete) */
.upload-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.btn-edit-img {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .btn-edit-img:hover {
        background: #E8985F;
        color: white;
        border-color: #E8985F;
    }

.btn-delete-img {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .btn-delete-img:hover {
        background: #e74c3c;
        color: white;
        border-color: #e74c3c;
    }

/* Driver Page Responsive */
@media (max-width: 768px) {
    .driver-hero-content h1 {
        font-size: 2rem;
    }

    .driver-tabs {
        flex-direction: column;
    }

    .section-card {
        padding: 24px;
    }

    .form-row-driver {
        grid-template-columns: 1fr;
    }

    .driver-profile-card {
        flex-direction: column;
        text-align: center;
    }

    .profile-details {
        text-align: center;
    }

    .public-gallery {
        grid-template-columns: 1fr;
    }

    .my-uploads-grid {
        grid-template-columns: 1fr;
    }

    .auth-form {
        padding: 24px;
    }

    .user-bar {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .user-info {
        flex-direction: column;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   BLAZOR OVERRIDES
   ======================================== */
.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "Ha ocurrido un error."
    }

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

/* ========================================
   MAP PICKER
   ======================================== */
.location-picker-wrapper {
    width: 100%;
}

.location-display {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    background: white;
}

    .location-display:hover {
        border-color: #E8985F;
        background: #fdf8f4;
    }

.location-text {
    color: #1a1a2e;
    font-weight: 500;
}

    .location-text i {
        color: #E8985F;
        margin-right: 8px;
    }

.location-placeholder {
    color: #999;
}

    .location-placeholder i {
        margin-right: 8px;
    }

.map-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
    animation: fadeIn 0.2s ease;
}

.map-modal {
    background: white;
    border-radius: 20px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 28px;
    animation: slideUp 0.3s ease;
}

.map-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

    .map-modal-header h3 {
        font-size: 1.3rem;
        color: #1a1a2e;
        margin: 0;
    }

    .map-modal-header i {
        color: #E8985F;
        margin-right: 8px;
    }

.map-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #f0f0f0;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

    .map-modal-close:hover {
        background: #e0e0e0;
        color: #333;
    }

.map-search-wrapper {
    position: relative;
    margin-bottom: 12px;
}

.map-search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    background: #f9f9f9;
    transition: border-color 0.2s;
}

    .map-search-box:focus-within {
        border-color: #E8985F;
        background: white;
    }

    .map-search-box > i {
        color: #999;
        font-size: 0.95rem;
    }

.map-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.95rem;
    color: #1a1a2e;
    font-family: inherit;
}

    .map-search-input::placeholder {
        color: #aaa;
    }

.map-search-clear {
    border: none;
    background: none;
    color: #999;
    cursor: pointer;
    padding: 4px;
    font-size: 0.85rem;
}

    .map-search-clear:hover {
        color: #555;
    }

.map-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    margin-top: 4px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    z-index: 100;
    max-height: 240px;
    overflow-y: auto;
}

.map-search-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.15s;
    border-bottom: 1px solid #f0f0f0;
}

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

    .map-search-item:hover {
        background: #fdf8f4;
    }

    .map-search-item i {
        color: #E8985F;
        margin-top: 3px;
        flex-shrink: 0;
    }

    .map-search-item span {
        font-size: 0.9rem;
        color: #333;
        line-height: 1.4;
    }

.map-modal-hint {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 14px;
    border: 2px solid #eee;
    overflow: hidden;
    z-index: 1;
}

.map-selected-location {
    margin-top: 16px;
    padding: 12px 18px;
    background: #f0faf5;
    border: 1px solid #2D6A4F;
    border-radius: 10px;
    color: #2D6A4F;
    font-weight: 500;
    font-size: 0.95rem;
}

    .map-selected-location i {
        color: #E8985F;
        margin-right: 8px;
    }

.map-modal-actions {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .map-modal {
        padding: 20px;
        border-radius: 16px;
    }

    .map-container {
        height: 300px;
    }
}

/* ========================================
   LIVE MAP
   ======================================== */
.live-map-page {
    padding: 30px 0 60px;
    min-height: 60vh;
}

.live-map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 10px;
}

.live-map-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

.live-map-legend {
    font-size: 0.8rem;
    color: #888;
}

.live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    display: inline-block;
    flex-shrink: 0;
}

.live-dot-active {
    background: #25d366;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.2);
    animation: livePulse 2s infinite;
}

.live-dot-recent {
    background: #f0ad4e;
    box-shadow: 0 0 0 3px rgba(240, 173, 78, 0.2);
}

@keyframes livePulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0.05); }
}

.live-map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid #f0f0f0;
    margin-bottom: 24px;
}

.live-map-element {
    height: 500px;
    width: 100%;
}

.live-drivers-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
    margin-top: 8px;
}

.live-driver-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: white;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid #f0f0f0;
}

.live-driver-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-color: #E8985F;
}

.live-driver-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.live-driver-avatar-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f8f6f3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.live-driver-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.live-driver-info strong {
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.live-driver-time {
    font-size: 0.75rem;
    color: #999;
}

.live-empty {
    text-align: center;
    padding: 50px 20px;
    color: #999;
}

.live-empty h3 {
    margin: 16px 0 8px;
    color: #555;
    font-size: 1.1rem;
}

.live-empty p {
    font-size: 0.85rem;
    max-width: 400px;
    margin: 0 auto;
}

/* Location sharing buttons (driver page) */
.btn-location-inactive {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    border: 2px solid #E8985F;
    background: transparent;
    color: #E8985F;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-location-inactive:hover {
    background: #E8985F;
    color: white;
}

.btn-location-active {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    border: 2px solid #25d366;
    background: #25d366;
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    animation: livePulse 2s infinite;
    white-space: nowrap;
}

.btn-location-active:hover {
    background: #1fb855;
    border-color: #1fb855;
}

/* Tuk tuk marker */
.tuktuk-marker {
    background: none !important;
    border: none !important;
}

@media (max-width: 768px) {
    .live-map-element {
        height: 350px;
    }

    .live-drivers-list {
        grid-template-columns: 1fr;
    }
}
