:root {
    --primary-color: #8e784f;
    --primary-dark: #70603e;
    --primary-light: #a99063;
    --primary-ultra-light: #f5f1ea;
    --secondary-color: #465362;
    --secondary-dark: #313c4e;
    --accent-color: #d8b26e;
    --success-color: #5aa786;
    --warning-color: #e6b86a;
    --danger-color: #cc6b5a;
    --light-color: #f8f9fa;
    --dark-color: #231f20;
    --text-color: #333333;
    --text-muted: #6c757d;
    --border-color: #e9e2d0;
    --border-radius: 10px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

* {
    font-family: 'Mitr', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: var(--text-color);
}

body {
    background-color: #f8f9fa;
    background-image: linear-gradient(135deg, rgba(142, 120, 79, 0.03) 0%, rgba(216, 178, 110, 0.03) 100%);
}

.booking-container {
    max-width: 800px;
    margin: 30px auto;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 20px;
}

.header {
    background-color: var(--primary-color);
    background-image: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 20px 0;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
    text-align: center;
    box-shadow: var(--box-shadow);
}

.header h1,
.header span {
    color: white;
}

.hotel-logo {
    width: 100px;
    height: 100px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.form-label {
    font-weight: 500;
    color: var(--secondary-color);
}

.search-container {
    background-color: var(--primary-ultra-light);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.form-control:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 0.2rem rgba(142, 120, 79, 0.2);
}

.input-group-text {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.input-group-text i {
    color: white;
}
.sum_booking {
    display: flex;
    justify-content: space-evenly;
    div {
        text-align: center;
        color:#198754
    }
}

.booking-details {
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.booking-status {
    font-size: 1rem;
    padding: 8px 12px;
    border-radius: var(--border-radius);
    display: inline-block;
    font-weight: 500;
    margin-bottom: 15px;
}

.status-confirmed {
    background-color: rgba(90, 167, 134, 0.2);
    color: #155724;
}

.status-pending {
    background-color: rgba(230, 184, 106, 0.2);
    color: #856404;
}

.status-cancelled {
    background-color: rgba(204, 107, 90, 0.2);
    color: #721c24;
}

.btn-search {
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 5px;
    border: none;
    transition: all 0.2s ease;
}

.btn-search:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-back {
    background-color: var(--secondary-color);
    color: white;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 5px;
    border: none;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-back:hover {
    background-color: var(--secondary-dark);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-danger {
    background-color: var(--danger-color);
    border-color: var(--danger-color);
    transition: all 0.2s ease;
}

.btn-danger:hover {
    background-color: #b25548;
    border-color: #b25548;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.view-details-btn {
    background-color: var(--primary-color) !important;
    color: white;
    transition: all 0.2s ease;
}

.view-details-btn:hover {
    background-color: var(--primary-dark) !important;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 20px 0;
}

.booking-card {
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.booking-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.card-header {
    border-bottom: 1px solid var(--border-color) !important;
}

/* Color text-primary to match our theme */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary-subtle {
    background-color: rgba(142, 120, 79, 0.1) !important;
}

/* Icon styling */
.bi {
    color: var(--primary-color);
}

h3,
h4,
h5 {
    color: var(--secondary-color);
}

@media screen and (min-width: 1201px) {
    .header h1 {
        font-size: 2.2rem;
    }

    .hotel-logo {
        width: 120px;
        height: 120px;
    }
}

@media screen and (max-width: 1200px) {
    .header h1 {
        font-size: 2rem;
    }

    .hotel-logo {
        width: 90px;
        height: 90px;
    }
}

@media screen and (max-width: 992px) {
    .header h1 {
        font-size: 1.6rem;
    }

    .hotel-logo {
        width: 60px;
        height: 60px;
    }
}

@media screen and (max-width: 576px) {
    .header h1 {
        font-size: 1.4rem;
    }

    .hotel-logo {
        width: 50px;
        height: 50px;
    }
}



/* Media queries and print styles remain unchanged */
@media print {
    body {
        background-color: white;
        padding: 0;
        margin: 0;
        font-size: 11pt;
        /* Reduced font size */
    }

    .booking-container {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
        box-shadow: none;
        border-radius: 0;
    }

    .header {
        background-color: white !important;
        color: #000 !important;
        padding: 10px 0 !important;
        /* Reduced padding */
        text-align: center;
        box-shadow: none;
        margin-bottom: 10px !important;
        /* Reduced margin */
    }

    .header h1,
    .header span {
        color: #000 !important;
    }

    .header h1 {
        font-size: 18pt !important;
        margin-bottom: 0 !important;
    }

    .search-container,
    #bookingsList,
    #noResults,
    .btn-search,
    .btn-back,
    #backToListButton,
    #printButton,
    #cancelBookingButton,
    .language-switcher-container,
    .header {
        display: none !important;
    }

    #bookingDetails {
        display: block !important;
        border: 1px solid #ddd;
        background-color: white;
        margin: 0;
        padding: 10px !important;
        /* Reduced padding */
        page-break-inside: avoid;
    }

    .booking-status {
        border: 1px solid #000;
        padding: 3px 8px !important;
        /* Reduced padding */
        font-size: 7pt !important;
        /* Reduced font size */
    }

    .status-confirmed {
        background-color: white !important;
        color: #000 !important;
        border: 1px solid #155724;
    }

    .status-pending {
        background-color: white !important;
        color: #000 !important;
        border: 1px solid #856404;
    }

    .status-cancelled {
        background-color: white !important;
        color: #000 !important;
        border: 1px solid #721c24;
    }

    .divider {
        border-top: 1px solid #ddd;
        margin: 8px 0 !important;
        /* Reduced margin */
    }

    /* Compact layout for print */
    .booking-header h3 {
        font-size: 14pt !important;
        margin-bottom: 5px !important;
    }

    .booking-header p {
        margin-bottom: 5px !important;
    }

    h5 {
        font-size: 12pt !important;
        margin-bottom: 5px !important;
    }

    p {
        margin-bottom: 3px !important;
        line-height: 1.3 !important;
    }

    .row {
        margin-left: -5px !important;
        margin-right: -5px !important;
    }

    .col-md-6 {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    /* Print header optimization */
    #printHeader {
        padding: 10px 0 !important;
    }

    #printHeader img {
        width: 60px !important;
        height: 60px !important;
    }

    #printHeader h2 {
        font-size: 16pt !important;
        margin-top: 5px !important;
        margin-bottom: 0 !important;
    }

    #printHeader p {
        font-size: 10pt !important;
    }

    /* Print footer optimization */
    #printBookingReference {
        margin-top: 10px !important;
    }

    #printBookingReference p {
        margin-bottom: 2px !important;
    }

    #printBookingReference small {
        font-size: 9pt !important;
    }
}

.group-header {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}


.cursor-pointer {
    cursor: pointer;
}

#nprogress .bar{
    height: 3px !important;
}