/* Room Hourly Booking - Form Styles */

.room-hourly-wrapper {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
}

/* Building Cards */
.building-card {
    cursor: pointer;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.building-card:hover {
    border-color: #0d6efd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.building-card.selected {
    border-color: #0d6efd;
    background: linear-gradient(135deg, #e7f1ff 0%, #cce5ff 100%);
}

.building-card .building-name {
    font-weight: 600;
    color: #1d2327;
}

.building-card .building-location {
    color: #6c757d;
    font-size: 12px;
}

/* Room Checkboxes */
.room-checkbox-item {
    padding: 10px 15px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.room-checkbox-item:hover {
    background: #f8f9fa;
}

.room-checkbox-item.checked {
    background: linear-gradient(135deg, #e7f1ff 0%, #cce5ff 100%);
    border-color: #0d6efd;
}

.room-checkbox-item label {
    display: flex;
    align-items: center;
    cursor: pointer;
    width: 100%;
}

.room-checkbox-item input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
}

.room-price-info {
    margin-left: auto;
    font-size: 12px;
    color: #6c757d;
}

/* Rental Type Buttons */
.btn-group .btn-check:checked + .btn-outline-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    border-color: #0d6efd;
    color: white;
}

/* Submit Button */
#submit-btn {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    border: none;
    padding: 15px 30px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

#submit-btn:hover {
    background: linear-gradient(135deg, #0b5ed7 0%, #0a58ca 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.4);
}

#submit-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Form Floating Labels */
.form-floating label {
    color: #6c757d;
}

.form-floating input:focus ~ label,
.form-floating input:not(:placeholder-shown) ~ label,
.form-floating textarea:focus ~ label,
.form-floating textarea:not(:placeholder-shown) ~ label {
    color: #0d6efd;
}

/* Manage Reservation Page */
.room-hourly-manage-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.room-hourly-manage-wrapper .card {
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.room-hourly-manage-wrapper .card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
    border-radius: 12px 12px 0 0 !important;
}

/* Calendar */
.room-hourly-calendar-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .room-hourly-wrapper,
    .room-hourly-manage-wrapper,
    .room-hourly-calendar-wrapper {
        padding: 10px;
    }
    
    .building-card {
        margin-bottom: 10px;
    }
}
