﻿/* =================================== */

/* Variables */
:root {
    --primary-green: #177D80;
    --dark-bg: #072A2B;
    --light-bg: #23CED1;
    --soft-light-bg: #76BBBC;
    --bg-light: #C1DDDD;
}

/* General Styles */
html {
    height: 100%;
}

body {
    min-height: 100%;
    display: flex !important;
    flex-direction: column;
    margin: 0;
    background-color: #f8f9fa;
    font-family: 'Unbounded', sans-serif;
}

.subfont {
    font-family: "Leelawadee UI", "Segoe UI", sans-serif;
}

#mainForm {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 100vh;
}

/* ===================================
   NAVBAR
   =================================== */
.navbar {
    background-color: var(--primary-green) !important;
}

.img-brand{
    height: 60px;
}

/* ===================================
   PAGE HEADER
   =================================== */
.page-header {
    background-color: white;
    padding: 2rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.step-indicator {
    color: #2563eb;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.demo-badge {
    color: #d97706;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    color: #64748b;
    font-size: 0.95rem;
}

/* ===================================
   HERO SECTION (Homepage)
   =================================== */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('/Site/img/home-cover.jpg') center/cover;
    min-height: 70vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
}

.hero-content {
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.btn-primary-custom {
    background-color: var(--primary-green);
    border: none;
    padding: 12px 40px;
    border-radius: 25px;
    font-weight: 600;
}

    .btn-primary-custom:hover {
        background-color: var(--dark-bg);
    }

.stats-section {
    margin-top: 4rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: white;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===================================
   SECTIONS
   =================================== */
.bike-categories {
    padding: 5rem 0;
    background-color: white;
}

.main-content {
    padding: 3rem 0;
    flex: 1 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    color: #2563eb;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-heading {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 4rem;
    color: #1e293b;
}

/* ===================================
   CARDS
   =================================== */
.section-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

    .section-card .section-header {
        display: flex;
        align-items: center;
        margin-bottom: 1.5rem;
    }

        .section-card .section-header.with-border {
            padding-bottom: 1rem;
            border-bottom: 2px solid #f1f5f9;
        }

.section-icon {
    width: 24px;
    height: 24px;
    margin-right: 0.75rem;
}

.section-card .section-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: #1e293b;
    text-align: left;
    text-transform: none;
    letter-spacing: normal;
}

.section-subtitle {
    color: #64748b;
    font-size: 0.9rem;
}

/* ===================================
   BIKE CARDS (Homepage)
   =================================== */
.bike-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    height: 100%;
    background-color: var(--soft-light-bg);
}

    .bike-card:hover {
        transform: translateY(-5px);
    }

.bike-icon-container {
    padding: 3rem 0;
    text-align: center;
}

.bike-icon {
    width: 120px;
    height: auto;
}

.bike-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-bg);
}

.bike-price {
    color: #2563eb;
    font-weight: 700;
    font-size: 1.1rem;
    float: right;
}

.bike-description {
    /*color: #64748b;*/
    color: var(--dark-bg);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.badge-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-right: 0.3rem;
    margin-bottom: 0.3rem;
    background-color: #dbeafe;
    color: #1e40af;
}

/* ===================================
   TOURS SECTION (Homepage)
   =================================== */

.tour-title > a {
    text-decoration:none;
    color: inherit;
}

.tours-section {
    background-color: var(--dark-bg);
    padding: 5rem 0;
}

.tour-card {
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    position: relative;
    color: white;
    padding: 2rem;
    min-height: 350px;
    background-color: var(--primary-green);
}

.tour-price {
    position: absolute;
    bottom: 40px;
    right: 40px;
    /*background-color: #2563eb;*/
    background-color: var(--dark-bg);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
}

.tour-category {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.tour-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.tour-description {
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.tour-info {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
}

.tour-info i {
    margin-right: 0.3rem;
}

.btn-view-tours {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    padding: 12px 40px;
    border-radius: 25px;
    font-weight: 600;
    display: inline-block;
    margin-top: 3rem;
}

    .btn-view-tours:hover {
        background-color: white;
        color: var(--dark-bg);
    }

.btn-view-bikes {
    background-color: transparent;
    border: 2px solid var(--dark-bg);
    color: var(--dark-bg);
    padding: 12px 40px;
    border-radius: 25px;
    font-weight: 600;
    display: inline-block;
    margin-top: 3rem;
}

    .btn-view-bikes:hover {
        background-color: var(--dark-bg);
        color: white;
    }

/* ===================================
   FORMS
   =================================== */
.date-input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-label {
    font-weight: 500;
    color: #475569;
    margin-bottom: 0.5rem;
}

.form-control {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

    .form-control:focus {
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    }

/* ===================================
   BIKE SELECTION (Step 1)
   =================================== */
.bike-selection-item {
    background: #ffffff;
    border: 2px solid var(--soft-light-bg);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

    .bike-selection-item.selected {
        background: var(--bg-light);
        border-color: var(--primary-green);
    }

.bike-item-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.bike-icon-small {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.bike-selection-item .bike-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: #1e293b;
    flex-grow: 1;
    float: none;
}

.bike-selection-item .bike-price {
    font-weight: 700;
    color: #1e293b;
    float: none;
}

.bike-details {
    color: #64748b;
    font-size: 0.9rem;
}

/* ===================================
   SIZE SELECTOR (Step 2)
   =================================== */
.bike-label {
    font-weight: 500;
    color: #475569;
    margin-bottom: 1rem;
}

.size-selector {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.size-btn {
    flex: 1;
    padding: 0.875rem;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 8px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .size-btn:hover {
        border-color: #cbd5e1;
    }

    .size-btn.selected {
        background-color: var(--primary-green);
        border-color: var(--dark-bg);
        color: white;
    }

/* ===================================
   ACCESSORIES (Step 2)
   =================================== */
.accessories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.accessory-item {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

    .accessory-item:hover {
        border-color: #cbd5e1;
    }

    .accessory-item.selected {
        border-color: var(--soft-light-bg);
        background-color: #C1DDDD;
    }

.accessory-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.accessory-icon {
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
}

.cart-icon-box{
    width: 50px !important;
    height: 50px !important;
}

.accessory-name {
    font-weight: 600;
    color: #1e293b;
    flex-grow: 1;
}

.accessory-price {
    color: #64748b;
    font-size: 0.9rem;
}

/* ===================================
   QUANTITY CONTROLS
   =================================== */
.quantity-control {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1rem;
}

.qty-bike {
    text-align: end;
}

@media (max-width: 768px) {
    .quantity-control {
        width: 100%;
    }
    .qty-bike {
        text-align: center;
    }
}

    .quantity-container {
        display: flex;
        justify-content: flex-end;
    }    

    .bike-selection-item .quantity-control {
        gap: 1rem;
    }

    .accessory-item .quantity-control {
        gap: 0.75rem;
        margin-top: 0.75rem;
    }

    .accessory-price{
        text-align: end;
    }

    .qty-btn {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: none;
        background-color: var(--soft-light-bg);
        color: var(--dark-bg);
        font-size: 1.2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease;
    }

        .qty-btn:hover {
            background-color: var(--dark-bg);
            color: white;
        }

/*.accessory-item .qty-btn {
    width: 32px;
    height: 32px;
    background-color: #f1f5f9;
    color: var(--dark-bg);
    font-size: 1.1rem;
}

        .accessory-item .qty-btn:hover {
            background-color: var(--light-bg);
            color: var(--dark-bg);
        }

        .accessory-item .qty-btn.plus {
            background-color: var(--dark-bg);
            color: white;
        }

            .accessory-item .qty-btn.plus:hover {
                background-color: var(--light-bg);
                color: var(--dark-bg);
            }*/

    .qty-value {
        font-size: 1.1rem;
        font-weight: 600;
        min-width: 30px;
        text-align: center;
    }

    .accessory-item .qty-value {
        min-width: 25px;
    }

    /* ===================================
   CART PAGE ITEMS
   =================================== */
    .period-info {
        background-color: #eff6ff;
        border-radius: 10px;
        padding: 1.25rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .period-dates {
        font-weight: 600;
        color: #1e293b;
    }

    .period-duration {
        background-color: #dbeafe;
        color: #1e40af;
        padding: 0.4rem 1rem;
        border-radius: 20px;
        font-weight: 600;
        font-size: 0.9rem;
    }

    .bike-item {
        display: flex;
        align-items: center;
        padding: 1rem 0;
        border-bottom: 1px solid #f1f5f9;
    }

        .bike-item:last-child {
            border-bottom: none;
        }

    .bike-icon-box {
        width: 50px;
        height: 50px;
        background: #eff6ff;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 1rem;
    }

    .bike-item .bike-details {
        flex-grow: 1;
    }

    .bike-item .bike-name {
        font-weight: 600;
        color: #1e293b;
        margin-bottom: 0.25rem;
        font-size: 1rem;
    }

    .bike-specs {
        color: #64748b;
        font-size: 0.85rem;
    }

    .bike-item .bike-price,
    .cart-accessory-item .bike-price {
        font-weight: 700;
        color: #1e293b;
        text-align: right;
        float: none;
        font-size: 1rem;
    }

    .accessory-icon-box {
        width: 40px;
        height: 40px;
        background: #fef3c7;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 1rem;
    }

    .cart-accessory-item {
        display: flex;
        align-items: center;
        padding: 0.875rem 0;
        border-bottom: 1px solid #f1f5f9;
    }

        .cart-accessory-item:last-child {
            border-bottom: none;
        }

        .cart-accessory-item .accessory-details {
            flex-grow: 1;
        }

        .cart-accessory-item .accessory-name {
            font-weight: 600;
            color: #1e293b;
            margin-bottom: 0.15rem;
        }

    .accessory-specs {
        color: #64748b;
        font-size: 0.85rem;
    }

    .cart-accessory-item .accessory-price {
        color: #64748b;
        text-align: right;
    }

    /* ===================================
   SUMMARY SECTION (Cart)
   =================================== */
    .summary-section {
        background-color: #fef9c3;
        border-radius: 12px;
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .summary-row {
        display: flex;
        justify-content: space-between;
        padding: 0.5rem 0;
        color: #854d0e;
    }

    .summary-label {
        font-size: 0.95rem;
    }

    .summary-value {
        font-weight: 600;
    }

    .summary-total {
        display: flex;
        justify-content: space-between;
        padding-top: 1rem;
        margin-top: 1rem;
        border-top: 2px solid #fde047;
        font-size: 1.3rem;
        font-weight: 700;
        color: #713f12;
    }

    .alert-demo {
        background-color: #fef3c7;
        border: 1px solid #fde047;
        border-radius: 10px;
        padding: 1rem 1.25rem;
        display: flex;
        align-items: start;
        margin-bottom: 1.5rem;
    }

    .alert-icon {
        color: #d97706;
        margin-right: 0.75rem;
        margin-top: 0.15rem;
    }

    .alert-text {
        color: #78350f;
        font-size: 0.95rem;
    }

    /* ===================================
   FIXED BOTTOM SECTION
   =================================== */
    .total-section {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        padding: 1.5rem 0;
        box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
        z-index: 100;
    }

    .total-label {
        font-size: 0.9rem;
        color: #64748b;
        margin-bottom: 0.25rem;
    }

    .total-amount {
        font-size: 1.8rem;
        font-weight: 700;
        color: #1e293b;
    }

    .content-spacer {
        height: 120px;
    }

    /* ===================================
   BUTTONS
   =================================== */
    .btn-back {
        background: transparent;
        border: 2px solid #e2e8f0;
        color: #475569;
        padding: 0.875rem 2rem;
        border-radius: 8px;
        font-weight: 600;
        margin-right: 1rem;
        transition: all 0.2s ease;
    }

        .btn-back:hover {
            border-color: #cbd5e1;
            background-color: #f8fafc;
        }

    .btn-continue {
        background-color: var(--dark-bg);
        color: white;
        border: none;
        padding: 0.875rem 2.5rem;
        border-radius: 8px;
        font-weight: 600;
        font-size: 1rem;
        transition: all 0.3s ease;
    }

        .btn-continue:hover {
            background-color: var(--light-bg);
            transform: translateY(-1px);
        }

.btn-create-booking {
    background-color: var(--dark-bg);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.05rem;
    width: 100%;
    transition: all 0.3s ease;
}

    .btn-create-booking:hover {
        background-color: var(--light-bg);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
    }

    /* ===================================
   FOOTER
   =================================== */
    footer {
        background-color: var(--dark-bg);
        color: white;
        padding: 2rem 0 1rem;
        flex-shrink: 0;
        margin-top: auto;
    }

        footer a {
            color: #94a3b8;
            text-decoration: none;
        }

            footer a:hover {
                color: white;
            }

    /* ===================================
   RESPONSIVE
   =================================== */
    @media (max-width: 768px) {
        .hero-title {
            font-size: 2.5rem;
        }

        .hero-subtitle {
            font-size: 1.1rem;
        }

        .section-heading {
            font-size: 2rem;
        }

        .date-input-group {
            grid-template-columns: 1fr;
        }

        .accessories-grid {
            grid-template-columns: 1fr;
        }

        .total-section .btn-back {
            margin-bottom: 0.5rem;
        }
    }

    /* ==================================
   SUCCESS
   ==================================
*/

    .success-container {
        max-width: 700px;
        margin: 0 auto;
        text-align: center;
    }

    .success-icon {
        width: 120px;
        height: 120px;
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 2rem;
        animation: scaleIn 0.5s ease-out;
        box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
    }

        .success-icon i {
            font-size: 4rem;
            color: white;
        }

    @keyframes scaleIn {
        0% {
            transform: scale(0);
            opacity: 0;
        }

        50% {
            transform: scale(1.1);
        }

        100% {
            transform: scale(1);
            opacity: 1;
        }
    }

    .success-title {
        font-size: 2.5rem;
        font-weight: 700;
        color: #1e293b;
        margin-bottom: 1rem;
    }

    .success-subtitle {
        font-size: 1.2rem;
        color: #64748b;
        margin-bottom: 2rem;
    }

    .booking-number {
        background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
        border-radius: 15px;
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .booking-label {
        font-size: 0.9rem;
        color: #64748b;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 0.5rem;
    }

    .booking-code {
        font-size: 2rem;
        font-weight: 700;
        color: #2563eb;
        font-family: 'Courier New', monospace;
    }

    .info-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .info-card {
        background-color: #f8fafc;
        border-radius: 12px;
        padding: 1.5rem;
        text-align: left;
    }

    .info-icon {
        width: 40px;
        height: 40px;
        background-color: white;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1rem;
        color: #2563eb;
        font-size: 1.3rem;
    }

    .info-label {
        font-size: 0.85rem;
        color: #64748b;
        margin-bottom: 0.25rem;
    }

    .info-value {
        font-weight: 600;
        color: #1e293b;
        font-size: 1.1rem;
    }

    .email-confirmation {
        background-color: #f0fdf4;
        border: 1px solid #bbf7d0;
        border-radius: 12px;
        padding: 1.5rem;
        margin-bottom: 2rem;
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .email-icon {
        font-size: 2rem;
        color: #16a34a;
    }

    .email-text {
        text-align: left;
        flex-grow: 1;
    }

    .email-title {
        font-weight: 600;
        color: #166534;
        margin-bottom: 0.25rem;
    }

    .email-description {
        font-size: 0.9rem;
        color: #15803d;
        margin: 0;
    }

    .action-buttons {
        display: flex;
        gap: 1rem;
        justify-content: center;
        margin-top: 2rem;
    }

    .btn-home {
        background-color: white;
        color: #475569;
        border: 2px solid #e2e8f0;
        padding: 0.875rem 2rem;
        border-radius: 10px;
        font-weight: 600;
        transition: all 0.3s ease;
    }

        .btn-home:hover {
            border-color: #cbd5e1;
            background-color: #f8fafc;
        }

    .next-steps {
        background-color: white;
        border-radius: 15px;
        padding: 2rem;
        text-align: left;
        margin-top: 2rem;
    }

    .next-steps-title {
        font-size: 1.3rem;
        font-weight: 700;
        color: #1e293b;
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .step-item {
        display: flex;
        align-items: start;
        gap: 1rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid #f1f5f9;
    }

        .step-item:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

    .step-number {
        width: 35px;
        height: 35px;
        background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        flex-shrink: 0;
    }

    .step-content {
        flex-grow: 1;
    }

    .step-title {
        font-weight: 600;
        color: #1e293b;
        margin-bottom: 0.25rem;
    }

    .step-description {
        font-size: 0.9rem;
        color: #64748b;
        margin: 0;
    }

    /* ==================================
   ERRORS
   ==================================
*/

    .error-message {
        background-color: #fef2f2;
        border: 1px solid #fecaca;
        border-radius: 12px;
        padding: 1.5rem;
        margin-bottom: 2rem;
        text-align: left;
    }

    .error-message-icon {
        font-size: 1.5rem;
        color: #dc2626;
        margin-right: 1rem;
    }

    .error-message-content {
        display: flex;
        align-items: start;
    }

    .error-message-text {
        flex-grow: 1;
    }

    .error-message-title {
        font-weight: 600;
        color: #991b1b;
        margin-bottom: 0.5rem;
    }

    .error-message-description {
        font-size: 0.95rem;
        color: #b91c1c;
        margin: 0;
    }

    .error-container {
        max-width: 700px;
        margin: 0 auto;
        text-align: center;
    }

    .error-icon {
        width: 120px;
        height: 120px;
        background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 2rem;
        animation: shake 0.5s ease-out;
        box-shadow: 0 10px 30px rgba(239, 68, 68, 0.3);
    }

        .error-icon i {
            font-size: 4rem;
            color: white;
        }

    @keyframes shake {
        0%, 100% {
            transform: translateX(0);
        }

        10%, 30%, 50%, 70%, 90% {
            transform: translateX(-8px);
        }

        20%, 40%, 60%, 80% {
            transform: translateX(8px);
        }
    }

    .error-title {
        font-size: 2.5rem;
        font-weight: 700;
        color: #1e293b;
        margin-bottom: 1rem;
    }

    .error-subtitle {
        font-size: 1.2rem;
        color: #64748b;
        margin-bottom: 2rem;
    }

    .error-code {
        background-color: #f8fafc;
        border-radius: 8px;
        padding: 0.5rem 1rem;
        display: inline-block;
        margin-top: 0.75rem;
        font-family: 'Courier New', monospace;
        color: #64748b;
        font-size: 0.9rem;
    }

    /* SUCCESS */

    .success-message {
        background-color: #f0fdf4;
        border: 1px solid #bbf7d0;
        border-radius: 12px;
        padding: 1.5rem;
        margin-bottom: 2rem;
        text-align: left;
    }

    .success-message-icon {
        font-size: 1.5rem;
        color: #16a34a;
        margin-right: 1rem;
    }

    .success-message-content {
        display: flex;
        align-items: start;
    }

    .success-message-text {
        flex-grow: 1;
    }

    .success-message-title {
        font-weight: 600;
        color: #166534;
        margin-bottom: 0.5rem;
    }

    .success-message-description {
        font-size: 0.95rem;
        color: #15803d;
        margin: 0;
    }

    .success-container {
        max-width: 700px;
        margin: 0 auto;
        text-align: center;
    }

    .success-icon {
        width: 120px;
        height: 120px;
        background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 2rem;
        animation: pulse 0.8s ease-out;
        box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
    }

        .success-icon i {
            font-size: 4rem;
            color: white;
        }

    @keyframes pulse {
        0% {
            transform: scale(0.9);
        }

        50% {
            transform: scale(1.05);
        }

        100% {
            transform: scale(1);
        }
    }

    .success-title {
        font-size: 2.5rem;
        font-weight: 700;
        color: #1e293b;
        margin-bottom: 1rem;
    }

    .success-subtitle {
        font-size: 1.2rem;
        color: #64748b;
        margin-bottom: 2rem;
    }

    .success-code {
        background-color: #f8fafc;
        border-radius: 8px;
        padding: 0.5rem 1rem;
        display: inline-block;
        margin-top: 0.75rem;
        font-family: 'Courier New', monospace;
        color: #64748b;
        font-size: 0.9rem;
    }

    /**/

    .reservation-details {
        background-color: #f8fafc;
        border-radius: 15px;
        padding: 2rem;
        margin-bottom: 2rem;
        text-align: left;
    }

    .details-title {
        font-size: 1.2rem;
        font-weight: 700;
        color: #1e293b;
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .detail-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.875rem 0;
        border-bottom: 1px solid #e2e8f0;
    }

        .detail-row:last-child {
            border-bottom: none;
        }

    .detail-label {
        color: #64748b;
        font-size: 0.95rem;
    }

    .detail-value {
        font-weight: 600;
        color: #1e293b;
    }

    .total-row {
        background-color: white;
        border-radius: 10px;
        padding: 1rem;
        margin-top: 1rem;
    }

        .total-row .detail-label {
            font-size: 1.1rem;
            color: #1e293b;
        }

        .total-row .detail-value {
            font-size: 1.5rem;
            color: #dc2626;
        }

    .action-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
    }

    .btn-retry {
        background-color: #dc2626;
        color: white;
        border: none;
        padding: 1rem 2rem;
        border-radius: 10px;
        font-weight: 600;
        font-size: 1.05rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        transition: all 0.3s ease;
    }

        .btn-retry:hover {
            background-color: #b91c1c;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
        }

    .btn-modify {
        background-color: #2563eb;
        color: white;
        border: none;
        padding: 0.875rem 2rem;
        border-radius: 10px;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        transition: all 0.3s ease;
    }

        .btn-modify:hover {
            background-color: #1d4ed8;
        }

    .btn-cancel {
        background-color: white;
        color: #475569;
        border: 2px solid #e2e8f0;
        padding: 0.875rem 2rem;
        border-radius: 10px;
        font-weight: 600;
        transition: all 0.3s ease;
    }

        .btn-cancel:hover {
            border-color: #cbd5e1;
            background-color: #f8fafc;
        }

    .help-section {
        background-color: #eff6ff;
        border-radius: 15px;
        padding: 2rem;
        margin-top: 2rem;
    }

    .help-title {
        font-size: 1.2rem;
        font-weight: 700;
        color: #1e40af;
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .help-content {
        text-align: left;
    }

    .help-item {
        display: flex;
        align-items: start;
        gap: 0.75rem;
        margin-bottom: 1rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid #dbeafe;
    }

        .help-item:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

    .help-icon {
        width: 30px;
        height: 30px;
        background-color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #2563eb;
        flex-shrink: 0;
    }

    .help-text {
        flex-grow: 1;
    }

    .help-item-title {
        font-weight: 600;
        color: #1e40af;
        margin-bottom: 0.25rem;
    }

    .help-item-description {
        font-size: 0.9rem;
        color: #3b82f6;
        margin: 0;
    }

    .contact-info {
        background-color: white;
        border-radius: 10px;
        padding: 1rem;
        margin-top: 1rem;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .contact-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: #1e40af;
        font-weight: 600;
    }

        .contact-item i {
            color: #2563eb;
        }

    /**/

    .card-link {
        display: block;
        color: inherit;
        text-decoration: none;
    }

    /**/

    .pages-hero-carousel {
        margin-bottom: 0;
    }

    .pages-hero-wrapper {
        position: relative;
        width: 100%;
        height: 500px;
        overflow: hidden;
    }

    .pages-hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        z-index: 1;
    }

    .mini-image {
        max-width: 100%;
        max-height: 100%;
    }

.tour-hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('/Site/img/home-cover.jpg') center/cover;
    height: 250px;
    min-height: unset;
}

.tour-hero-title {
    font-size: 2.0rem;
}

.p-section {
    padding: 5rem 0;
}