input[type="text"], input[type="email"], input[type="url"], input[type="file"], input[type="password"], input[type="number"], input[type="date"], input[type="search"], input[type="tel"], textarea, select{
    height: 52px;
    padding: 5px 15px;
    background: none;
    border-color: #b99d75;
    border-style: solid;
    border-width: 1px;
    color: #1a1b1a;
    font-size: 16px;
    font-size: 1rem;
    line-height: 2;
    font-weight: 400;
    transition: 0.3s;
}

.elementor-section.elementor-section-boxed > .elementor-container{
    max-width: 100% !important;
}

.cs-reservation-form .cs-form-field .field-input-wrap.checkin-date{
    position: relative;
}

.cs-reservation-form .date-range{
    position: absolute;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
}

.booking-info {
    background-color: #fff;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
    font-family: inherit;
}

.booking-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 16px;
}

.booking-info .booking-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    font-size: 0.95rem;
    color: #374151;
}

@media (min-width: 640px) {
    .booking-info .booking-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px 24px;
    }
}

.booking-info .booking-item {
    display: flex;
    flex-direction: row;
}

.booking-info .booking-item span {
    font-weight: 500;
    margin-right: 6px;
    color: #111827;
}

.booking-info.room-booking-form .cs-check-in, .booking-info.room-booking-form .cs-rooms {
    padding-right: 6px;
}

.booking-info.room-booking-form .cs-check-out, .booking-info.room-booking-form .cs-guest {
    padding-right: 6px;
}



/* variant */
.room-variants-container {
    margin-top: 2rem;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.room-variants-container h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #1a1b1a;
}

.room-variants-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    /* display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem; */
}

.room-variant-item {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    transition: box-shadow 0.3s ease;
}

.room-variant-item:hover {
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.room-variant-item h4 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

/* Gallery Styling */
.variant-gallery {
    margin-bottom: 1rem;
    overflow: hidden;
}

.gallery-images {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 0.5rem;
}

.gallery-images::-webkit-scrollbar {
    height: 6px;
}

.gallery-images::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px;
}

.gallery-images::-webkit-scrollbar-track {
    background-color: #f0f0f0;
}

.gallery-item {
    flex: 0 0 auto;
    width: 300px;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Rest of your existing styles */
.variant-description {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 0.75rem;
}

.variant-price,
.variant-policy,
.variant-minimum-stay {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #444;
}

.price-label,
.policy-label,
.minimum-stay-label {
    font-weight: 500;
    color: #222;
}


.policy-description,
.minimum-stay-value {
    color: #555;
}

.variant-price .price-amount{
    color: rgb(255, 94, 31);
    font-size: 24px;
    font-weight: 700;
}

.cs-form-field.cs-submit {
    margin-top: 1rem;
}

.cs-btn-color-black {
    background-color: #333;
    color: #fff;
    padding: 0.6rem 1.2rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.cs-btn-color-black:hover {
    background-color: #000;
}

/* Extra services */
.cs-extra-service-group {
    margin-top: 1rem;
}

.csf-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #444;
}

.cs-extra-service {
    margin-bottom: 0.75rem;
    background-color: #f5f5f5;
    padding: 0.75rem;
    border-radius: 10px;
}

.cs-form-label label {
    font-weight: 500;
    margin-left: 0.5rem;
}

.cs-form-price {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #333;
}

.cs-service-description {
    font-size: 0.85rem;
    color: #777;
    margin-top: 0.5rem;
}

/* Quantity styling */
.cs-form-quantity input[type="text"] {
    width: 60px;
    text-align: center;
    padding: 0.3rem;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.cs-quantity button {
    width: 26px;
    height: 26px;
    background-color: #eee;
    border: none;
    border-radius: 50%;
    font-weight: bold;
    cursor: pointer;
}

.cs-quantity button:hover {
    background-color: #ddd;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gallery-item {
        width: 150px;
        height: 120px;
    }
    
    .room-variants-list {
        grid-template-columns: 1fr;
    }
}


/* Tool tip price breakdown */
/* wp-content/themes/your-theme/css/room-variants.css */
.price-breakdown-tooltip {
    position: absolute;
    background: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    font-size: 14px;
    line-height: 1.5;
    max-width: 250px;
    display: none;
    top: 100%;
    left: 0;
    margin-top: 5px;
}

.variant-price {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.price-breakdown-tooltip strong {
    font-weight: bold;
}

.price-amount:hover + .info-indicator + .price-breakdown-tooltip {
    display: block;
}

.price-loading {
    display: inline-block;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.price-error {
    color: #e74c3c;
    font-size: 14px;
}

.info-indicator {
    display: none; /* Sembunyikan saat loading */
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    background: #3498db;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
}

.info-indicator:hover {
    background: #2980b9;
}



/* Booking edit info */
.booking-edit-section {
    margin: 20px 0;
}

.toggle-edit-booking {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.toggle-edit-booking:hover {
    background: #0056b3;
}

.booking-edit-container {
    margin: 20px 0;
}

.booking-edit-form {
    max-width: 600px;
}

.edit-booking-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.edit-form-field {
    position: relative;
    width: 50%;
    padding: 0 15px;
    margin-bottom: 30px;
}

.edit-form-field.edit-submit {
    width: 100%;
}

.edit-form-label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-size: 14px;
}

.edit-field-input {
    position: relative;
}

.edit-field-input input[type="text"] {
    width: 100%;
    height: 48px;
    padding: 0 35px 0 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.edit-date-picker:after {
    content: "\25BC";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #666;
}

.edit-date-range-picker {
    cursor: pointer;
}

.edit-has-dropdown {
    position: relative;
}

.edit-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #f8f5f1;
    border: 1px solid #ddd;
    padding: 15px;
    z-index: 999;
    display: none;
}

.edit-has-dropdown:hover .edit-dropdown {
    display: block;
}

.edit-quantity {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.edit-quantity .edit-input-text {
    width: 40px;
    text-align: center;
    border: none;
    background: none;
    font-size: 16px;
}

.edit-minus,
.edit-plus {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    font-size: 16px;
    line-height: 28px;
}

.edit-submit-btn {
    width: 100%;
    height: 48px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.edit-submit-btn:hover {
    background: #0056b3;
}

/* Media Query untuk responsive */
@media (max-width: 768px) {
    .edit-form-field {
        width: 100%;
    }
}