#roomcard {
    background-color: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#roomcard:hover {
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


/* #roomcard .title {
    text-transform: uppercase;
    font-size: 23px;
    word-spacing: 4px;
} */
#roomcard .title {
    font-size: 25px;
    font-weight: normal;
    color: #333;
    margin-bottom: 10px;
    text-transform: capitalize;
    letter-spacing: 1px;
    text-align: center;
    position: relative;
    padding: 0 30px;

}

/* Left and Right Decorative Lines */
#roomcard .title::before,
#roomcard .title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 20%;
    height: 2px;
    background-color: #17a2b8;
    transform: translateY(-50%);
}

#roomcard .title::before {
    left: 0;
}

#roomcard .title::after {
    right: 0;
}

/* Mobile-specific Styling */
@media (max-width: 768px) {
    #roomcard .title {
        font-size: 20px;
        padding: 10px 20px;
    }

    #roomcard .title::before,
    #roomcard .title::after {
        width: 12%;
    }
}


#roomcard p {
    margin: 0;
    color: rgb(70, 70, 70);
    font-size: 14px;
    line-height: 1.8;
}

#roomcard .img1 {
    height: 300px;
    width: 100%;
    object-fit: cover;

}

/* Card-style Modern Info Boxes */
#roomcard .info-box {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 10px;
    transition: box-shadow 0.3s ease-in-out;
}

#roomcard .info-box:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

#roomcard .info-box i {
    font-size: 24px;
    margin-right: 15px;
}

#roomcard .info-box div {
    color: #333;
}

#roomcard .info-box-info {
    background-color: #f0f8ff;
    border-left: 5px solid #17a2b8;
}


#roomcard .info-box-success {
    background-color: #f4fdf4;
    border-left: 5px solid #28a745;
}

#roomcard .info-box-info .info-icon {
    color: #17a2b8;

}

#roomcard .info-box-success .info-icon {
    color: #28a745;

}

@media (max-width: 768px) {
    #roomcard .info-box {
        margin-bottom: 15px;
        padding: 10px 15px;
    }

    #roomcard .info-box i {
        font-size: 20px;
    }
}


#roomcard .img2 {
    height: 100%;
    width: 100%;
    object-fit: cover;

}

#roomcard .totalprice {
    font-size: 25px;
    margin: 0;

}

#roomcard .totalprice small {
    font-size: small;
}

#roomcard .totalprice i {
    margin-right: 2px;
}


#roomcard .textdanger {
    color: red;
    font-size: 14px;
    margin-right: 10px;
    letter-spacing: 1px;
    font-style: italic;
    letter-spacing: 1px;
    /* font-weight: bold; */
}

#roomcard .textwarning {
    color: darkorange;
    font-size: 14px;
    margin-right: 10px;
    font-style: italic;
    letter-spacing: 1px;
    /* font-weight: bold; */
}

/* Smaller Button Size */
#roomcard .increment,
#roomcard .decrement {
    border-radius: 50%;
    width: 35px;
    height: 35px;
    font-size: 16px;
    font-weight: bolder;
    padding: 5px;
}

#roomcard .decrement,
#roomcard .increment {
    background-color: #fff;
    color: black;

}

#roomcard .decrement:disabled,
#roomcard .increment:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

#roomcard .decrement:hover:not(:disabled),
#roomcard .increment:hover:not(:disabled) {
    background-color: #0056b3;
    color: #fff;
}

#roomcard .form-control {
    width: 40px;
    text-align: center;
    font-size: 20px;
    margin-left: 10px;
    margin-right: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 5px;
    background-color: #f8f9fa;
    color: #333;
}

#roomcard .extradropdown {
    padding: 5px 0px;
}

#roomcard .extradropdown label {
    font-size: 14px;
    /* font-weight: bold; */
    color: rgb(70, 70, 70);
}


#roomcard .extradropdown select {
    padding: 2px 10px;
    border: 1px solid lightgray;
}

/* General Styles for Booking Summary */

#bookingsummary {
    position: sticky;
    top: 100px;
    padding: 10px;
    background-color: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: #333;
}

#bookingsummary .summarytitle {
    text-transform: uppercase;
    font-size: 20px;
    padding: 10px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
    font-size: 24px;
    color: #444;
    margin-bottom: 20px;
    font-weight: 700;
}


/* Stay Info Card */
#bookingsummary .card.stay-info {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

#bookingsummary .card.stay-info .card-body {
    padding: 15px;
}

#bookingsummary .card.stay-info .card-title {
    font-size: 18px;
    color: #4CAF50;
    font-weight: 600;
    margin-bottom: 15px;
}

#bookingsummary .card.stay-info table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: collapse;
}

#bookingsummary .card.stay-info table td {
    padding: 8px 15px;
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid #ddd;
}

#bookingsummary .card.stay-info table td strong {
    color: #444;
}

/* Room Summary Card */
#bookingsummary .card.room-summary {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

#bookingsummary .card.room-summary .card-body {
    padding: 20px;
}

#bookingsummary .card.room-summary .card-title {
    font-size: 18px;
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
}

#bookingsummary .card.room-summary table {
    width: 100%;
    border-collapse: collapse;
}

#bookingsummary .card.room-summary table td {
    padding: 10px;
    font-size: 14px;
    color: #444;
    border-bottom: 1px solid #f1f1f1;
}

#bookingsummary .card.room-summary table td strong {
    color: #333;
}

/* Table Styling */
#bookingsummary .card.room-summary table tr td {
    vertical-align: middle;
}

/* No Rooms Selected */
#bookingsummary .no-rooms {
    color: #f44336;
    text-align: center;
    font-size: 16px;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    #bookingsummary {
        padding: 15px;
    }

    #bookingsummary .summarytitle {
        font-size: 20px;
    }

    #bookingsummary .card.stay-info .card-body {
        padding: 12px;
    }

    #bookingsummary .card.room-summary .card-body {
        padding: 15px;
    }

    #bookingsummary .card.stay-info table td,
    #bookingsummary .card.room-summary table td {
        font-size: 12px;
        padding: 8px 10px;
    }
}


#bookingsummary .noroom {
    text-align: center;
    padding: 20px;
    width: 95%;
    max-width: 400px;
    margin: 40px auto;
}

#bookingsummary .noroom i {
    font-size: 50px;
    color: #4CAF50;
    margin-bottom: 15px;
}


#bookingsummary .no-rooms-message {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

#bookingsummary .quote {
    font-size: 16px;
    font-style: italic;
    color: #777;
    margin-top: 10px;
}


/* CHECKOUT PAGE CSS */

#checkout {
    padding: 20px 20px 40px 20px;
}

#checkout h2 {
    font-size: 30px;
    font-weight: 600;
    color: #333;
}

#checkout .border-line {
    width: 100px;
    height: 3px;
    background-color: orange;
    margin: 0 auto 30px auto;
}

#checkout legend {
    font-size: 25px;
    font-weight: 600;
    color: #333;
    padding: 10px;
    text-transform: uppercase;
    background-color: transparent;
}

#checkout legend::before {
    content: "\f0a1";
    /* Icon from FontAwesome */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 8px;
    color: orange;
}

/* #checkout table th {
    text-align: center;
    font-size: 16px;
    text-transform: capitalize;
    font-weight: 500;
}

#checkout table th .textsm {
    text-align: center;
    font-size: 12px;
    text-transform: capitalize;
    font-weight: 500;
}

#checkout table td {
    text-align: center;
    font-size: 15px;
} */

#checkout table {
    width: 100%;
    table-layout: fixed;
}

#checkout table th {
    text-align: center;
    font-size: 16px;
    text-transform: capitalize;
    font-weight: 700;
}

#checkout table th .textsm {
    text-align: center;
    font-size: 12px;
    text-transform: capitalize;
    font-weight: 500;
}

#checkout table td {
    text-align: center;
    font-size: 15px;
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
    #checkout table {
        font-size: 14px;
    }

    #checkout table th,
    #checkout table td {
        padding: 10px 5px;
    }
}

@media (max-width: 480px) {
    #checkout table th,
    #checkout table td {
        font-size: 12px;
        padding: 8px 4px;
    }

    #checkout table th .textsm {
        font-size: 10px;
    }

    /* Allow table to be scrollable horizontally */
    #checkout table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    #checkout table td,
    #checkout table th {
        min-width: 120px; /* Adjust this value based on your content */
    }
}


#checkout .form-control,
#checkout .form-select {
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    border-color: lightgray;
    border-radius: 2px;
    background-color: transparent;
}

#checkout .form-control:focus,
#checkout .form-select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, .25);

}

#checkout textarea.form-control {
    resize: vertical;
    min-height: 40px;

}


#thankpage {
    margin-top: 100px;
    padding: 20px 20px 40px 20px;
}

#thankpage .card-title {
    font-size: 30px;
    color: #333;
    font-weight: 600;
}

#thankpage .border-line {
    width: 100px;
    height: 3px;
    background-color: orange;
    margin: 0 auto 30px auto;
}

#thankpage h5 {
    font-size: 20px;
    color: #555;
    font-style: italic;
}

#thankpage p {
    font-size: 16px;
    color: #555;
}


#thankpage .border-section {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
}