 /* ========================================
   CHECKOUT PAGE STYLES 
   ======================================== */

 
.checkout-page {
    padding-top: 0 !important;
    font-family: 'RecklessNeue', serif;
    font-weight: normal;
    overflow-x: hidden;
        background: rgb(247 245 240);

}

.checkout-section {
    padding: 0;
    background: #f5f5f5;
    min-height: calc(100vh - 120px);
}

form#create-account-form .form-group.form-check{
    justify-content: space-between;
}

.form-check-input:checked {
    background-color: #053333;
    border-color: #053333;
}

input.service-check:checked {
    accent-color: #053333;
}

/* ========================================
   MAIN LAYOUT - Two Column Grid
   ======================================== */

.checkout-wrapper {
    display: grid;
    grid-template-columns: 50% 1fr;
    gap: 0;
    max-width: 100%;
    margin: 0;
    padding: 0;
    min-height: calc(100vh - 120px);
}

/* ========================================
   LEFT COLUMN - Services Section (Dark Green)
   ======================================== */

.checkout-left {
    background: #053333;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

/* Selected Room Card (White card inside dark section) */
.selected-room-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.selected-room-card h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.room-details {
    display: flex;
    gap: 1.5rem;
}

.form-group.form-check {
    flex-direction: initial;
}

.room-image-small {
    width: 250px;
    height: 170px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.room-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.room-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.room-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.room-meta .meta-item i {
    color: #053333;
    width: 16px;
}

.room-price-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.room-price-display .price-label {
    font-weight: 400;
    color: #666;
    font-size: 0.9rem;
}

.room-price-display .price-value {
    font-weight: 700;
    color: #053333;
    font-size: 1.1rem;
}

/* ========================================
   ADDITIONAL SERVICES CARD
   ======================================== */

.additional-services-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.additional-services-card > h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2rem;
    text-align: center;
}

/* ========================================
   SERVICE CATEGORIES
   ======================================== */

.service-category {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
}

.service-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.service-category-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-category-title i {
    color: #053333;
    font-size: 1.3rem;
}

/* ========================================
   SERVICE ITEMS - Parking (Checkboxes)
   ======================================== */

.service-item.service-checkbox {
    display: block;
    margin-bottom: 1rem;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.service-item.service-checkbox:hover {
    border-color: #053333;
    background:#f7f5f0;
}

.service-item.service-checkbox .service-info {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.service-item.service-checkbox .service-check {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

.service-item.service-checkbox .service-label {
    flex: 1;
    cursor: pointer;
}

.service-item.service-checkbox .service-name {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.service-item.service-checkbox .service-description {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.service-price-inline {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.service-price-inline .price-amount {
    font-weight: 700;
    color: #053333;
    font-size: 1.1rem;
}

.service-price-inline .price-period {
    font-size: 0.85rem;
    color: #666;
}

/* ========================================
   SERVICE ITEMS - Catering (With Quantity)
   ======================================== */

.service-item.service-with-quantity {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.service-item.service-with-quantity:last-child {
    border-bottom: none;
}

.service-item.service-with-quantity .service-info {
    flex: 1;
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    gap: 1rem;
}

.service-item.service-with-quantity .service-name {
    font-weight: 600;
    color: #1f2937;
    font-size: 1rem;
}

.service-price-badge {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    font-weight: 700;
    color: #053333;
    font-size: 1.1rem;
    white-space: nowrap;
}

.service-price-badge .price-unit {
    font-size: 0.75rem;
    color: #666;
    font-weight: 400;
}

.service-item.service-with-quantity .service-description {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.service-quantity {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    flex-shrink: 0;
}

.qty-label {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    font-weight: 400;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 0.25rem;
}

.qty-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 700;
    color: #374151;
    transition: all 0.2s ease;
}

.qty-btn:hover {
    background: #053333;
    color: white;
}

.qty-btn:active {
    transform: scale(0.95);
}

.service-qty-input {
    width: 50px;
    height: 32px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 600;
    color: #1f2937;
    font-size: 1rem;
}

.service-qty-input:focus {
    outline: none;
}

/* Remove spinner arrows from number input */
.service-qty-input::-webkit-inner-spin-button,
.service-qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.service-qty-input[type=number] {
    -moz-appearance: textfield;
}

/* ========================================
   SERVICE ITEMS - Other Services (Select Dropdown)
   ======================================== */

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}
/* 
.service-item:last-child {
    border-bottom: none;
} */

.service-item .service-info {
    flex: 1;
    padding-right: 1rem;
}

.service-item .service-name {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.service-item .service-description {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.service-item .service-price {
    font-weight: 700;
    color: #053333;
    font-size: 0.95rem;
}

.service-item .service-quantity {
    flex-shrink: 0;
}

.service-qty.form-control {
    width: 80px;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #1f2937;
    background: white;
    cursor: pointer;
}

.service-qty.form-control:focus {
    outline: none;
    border-color: #053333;
    box-shadow: 0 0 0 3px rgba(5, 51, 51, 0.1);
}

/* ========================================
   TOTAL CARD (Bottom of left column)
   ======================================== */

.total-card {
    background: transparent;
    border-radius: 0;
    padding: 2rem 0 0 0;
    color: white;
    margin-top: 1rem;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.total-label {
    font-size: 1.1rem;
    font-weight: 400;
    color: white;
}

.total-value {
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.vat-notice {
    font-size: 0.85rem;
    opacity: 0.8;
    margin: 0;
    color: white;
}

/* ========================================
   RIGHT COLUMN - Account Section (White)
   ======================================== */

.checkout-right {
    background: white;
    padding: 3rem 3rem;
    position: static;
    height: auto;
}

.account-card {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    max-width: 500px;
    margin: 0 auto;
}

.account-card h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.account-subtitle {
    color: #666;
    margin-bottom: 2.5rem;
    font-size: 1rem;
}

/* ========================================
   ACCOUNT FORM
   ======================================== */

.account-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.account-form .form-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0;
}

.account-form .form-group  label {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.9rem;
    width: 50%;
}

.account-form .form-control {
    padding: 0.85rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    background: white;
    transition: all 0.2s ease;
}

.account-form .form-control:focus {
    outline: none;
    border-color: #053333;
    box-shadow: 0 0 0 3px rgba(5, 51, 51, 0.1);
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.form-check-input {
    width: 18px;
    height: 18px;
    margin: 0;
    margin-top: 3px;
    flex-shrink: 0;
    cursor: pointer;
}

.form-check-label {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    cursor: pointer;
}

.form-group.form-check .form-check-input {
    margin-right: 0.5em;
}


.form-check-label a {
    color: #053333;
    text-decoration: none;
    font-weight: 600;
}

.form-check-label a:hover {
    text-decoration: underline;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn-create-account,
.btn-confirm-booking {
    width: 100%;
    padding: 1rem 1.5rem;
    background: #053333;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-create-account:hover,
.btn-confirm-booking:hover {
    background: #042828;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 51, 51, 0.3);
}

.btn-create-account:active,
.btn-confirm-booking:active {
    transform: translateY(0);
}

.login-link {
    text-align: center;
    margin-top: 2rem;
    color: #666;
    font-size: 0.95rem;
}

.login-link span {
    color: #666;
}

.login-link a {
    color: #053333;
    font-weight: 700;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

/* ========================================
   LOGGED IN STATE
   ======================================== */

.user-email {
    background: #f3f4f6;
    padding: 1rem;
    border-radius: 6px;
    color: #374151;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    text-align: center;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1200px) {
    .checkout-wrapper {
        grid-template-columns: 650px 1fr;
    }
}

@media (max-width: 1024px) {
    .checkout-wrapper {
        grid-template-columns: 1fr;
    }
    
    .checkout-left {
        padding: 2rem 1.5rem;
    }
    
    .checkout-right {
        padding: 2rem 1.5rem;
    }
    
    .account-card {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .checkout-left,
    .checkout-right {
        padding: 1.5rem 1rem;
    }
    
    .room-details {
        flex-direction: column;
    }
    
    .room-image-small {
        width: 100%;
        height: 200px;
    }
    
    .service-item.service-with-quantity {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .service-quantity {
        align-items: center;
        width: 100%;
    }
    
    .qty-controls {
        width:auto;
        max-width: 200px;
    }
    
    .service-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .service-price-badge {
        align-self: flex-start;
    }
    
    .total-value {
        font-size: 1.5rem;
    }
    .account-form .form-group label{
        font-size: 0.8rem;
        width: 70%;
    }

    form#create-account-form   label.form-check-label{
        text-align: right;
    }

    .btn-create-account, .btn-confirm-booking {
        width: 100%;
        padding: .7rem;
        background: #053333;
        font-size: .7rem;
        margin: auto;
    }

}

@media (max-width: 480px) {
    .checkout-wrapper {
        gap: 0;
    }
    
    .additional-services-card {
        padding: 1.5rem;
    }
    
    .selected-room-card {
        padding: 1rem;
    }
    
    .service-category-title {
        font-size: 1.1rem;
    }
    
    .account-card h2 {
        font-size: 1.5rem;
    }
}