/* ========================================
   ROOM DETAILS BOOKING INTERFACE
   ======================================== */
/* Date Selection Section */
.dates-warning-box {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.6;
}

.dates-warning-box strong {
    color: #856404;
    font-size: 15px;
}

.dates-warning-box ul {
    color: #856404;
}

.dates-warning-box ul li {
    margin: 5px 0;
}
.booking-dates-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #fff3cd;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
}

.calendar-instruction,
.dates-instruction {
    font-size: 14px;
    color: #856404;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 4px;
}

.date-inputs-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 15px;
    width: 100%;
    visibility: visible !important;
}

.date-input-group {
    display: flex !important;
    flex-direction: column;
    width: 100%;
    visibility: visible !important;
}

.date-input-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #495057;
    font-size: 14px;
    display: block !important;
    visibility: visible !important;
}

.roomboss-date-input {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 200px !important;
    padding: 12px 15px !important;
    font-size: 16px !important;
    border: 2px solid #dee2e6 !important;
    border-radius: 6px !important;
    background: white !important;
    cursor: pointer !important;
    transition: border-color 0.3s ease;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    box-sizing: border-box !important;
    height: auto !important;
    min-height: 45px !important;
    position: relative !important;
}
#booking-sec input[type=date]{
    z-index: 999 !important;
}
.roomboss-date-input:focus {
    outline: none;
    border-color: #007bff !important;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1) !important;
}

.roomboss-date-input:invalid {
    border-color: #dc3545;
}


.roomboss-room-details-container {
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.roomboss-room-details-container h2 {
    font-size: 28px;
    color: #212529;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.roomboss-room-details-container h3 {
    font-size: 18px;
    color: #495057;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Calendar Section */
.booking-calendar-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Guest Selector */
.booking-guests-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.roomboss-guest-select {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.roomboss-guest-select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

/* Booking Summary */
.booking-summary-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #e7f3ff;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #cce5ff;
    font-size: 16px;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item span:first-child {
    font-weight: 600;
    color: #495057;
}

.summary-item span:last-child {
    color: #212529;
    font-weight: 500;
}

/* Proceed Button */
.roomboss-proceed-button {
    width: 100%;
    padding: 18px;
    font-size: 18px;
    font-weight: 700;
    color: white;
    background: #007bff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,123,255,0.3);
}

.roomboss-proceed-button:hover:not(:disabled) {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,123,255,0.4);
}

.roomboss-proceed-button:disabled {
    background: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}

.roomboss-proceed-button:active:not(:disabled) {
    transform: translateY(0);
}



/* RoomBoss Custom Styling - Base Styles Only */
/* Dynamic styles are generated from plugin settings */

/* Availability Calendar Container */
thead[_ngcontent-ng-c3504307902] tr[_ngcontent-ng-c3504307902] .date-col[_ngcontent-ng-c3504307902] {
    background: black;
}
rb-sigcal {
    display: block;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Daily Availability Container */
rb-daily-availability {
    display: block;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Container Base Styling */
.roomboss-container {
    padding: 20px;
}




/* Date cell styling */
rb-sigcal::part(date-cell) {
    transition: all 0.3s ease;
}

rb-sigcal::part(date-cell):hover {
    transform: scale(1.05);
}

/* Available dates styling with color text */
rb-sigcal::part(available-date) {
    color: white;
    font-weight: 500;
}

/* Unavailable dates styling with color text */
rb-sigcal::part(unavailable-date) {
    color: white;
    font-weight: 500;
}

/* Daily availability row styling */
rb-daily-availability::part(availability-row) {
    transition: background-color 0.2s ease;
}

rb-daily-availability::part(availability-row):hover {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Loading state */
rb-sigcal[loading],
rb-daily-availability[loading] {
    opacity: 0.6;
    pointer-events: none;
}

/* Custom scrollbar for components */
rb-sigcal::-webkit-scrollbar,
rb-daily-availability::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

rb-sigcal::-webkit-scrollbar-track,
rb-daily-availability::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

rb-sigcal::-webkit-scrollbar-thumb,
rb-daily-availability::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

rb-sigcal::-webkit-scrollbar-thumb:hover,
rb-daily-availability::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.roomboss-legend {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
}

.roomboss-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.roomboss-legend-color {
    width: 20px;
    height: 20px;
    border-radius: 3px;
}

.roomboss-legend-available {
    background-color: #28a745;
}

.roomboss-legend-unavailable {
    background-color: #dc3545;
}

/* Better date header styling */
rb-daily-availability::part(date-header) {
    font-weight: 600;
    font-size: 13px;
    padding: 8px 4px;
    text-align: center;
}

/* Make room type names more visible */
rb-daily-availability::part(room-name) {
    font-weight: 600;
    font-size: 14px;
    padding: 10px;
}

/* Better cell sizing */
rb-daily-availability::part(availability-cell) {
    min-width: 50px;
    min-height: 40px;
}

/* ========================================
   BOOKING BUTTON STYLING
   ======================================== */

/* Default Button Style */
.roomboss-book-button {
    display: inline-block;
    padding: 15px 40px;
    background: #007bff;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    border: none;
    cursor: pointer;
    margin: 20px 0;
}

/* Hover Effect */
.roomboss-book-button:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    color: #ffffff !important;
    text-decoration: none;
}

/* Active/Click Effect */
.roomboss-book-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 123, 255, 0.2);
}

/* Responsive - Mobile */
@media (max-width: 768px) {
      rb-sigcal,
    rb-daily-availability {
        padding: 10px;
    }
    
    .roomboss-container {
        padding: 15px;
    }
        .roomboss-room-details-container {
        padding: 20px 15px;
    }
    
    .roomboss-room-details-container h2 {
        font-size: 24px;
    }
    
    .summary-item {
        font-size: 14px;
    }
    
    .roomboss-proceed-button {
        font-size: 16px;
        padding: 15px;
    }
       .date-inputs-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    rb-sigcal,
    rb-daily-availability {
        padding: 5px;
    }
    
    .roomboss-container {
        padding: 10px;
    }
}