@import url("https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/css/intlTelInput.css");
/* assets/frontend.css */
/* Booking Form Styles */
.hrb-booking-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}


.hrb-close {
    color: rgba(255,255,255,0.8);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.hrb-close:hover {
    color: white;
}

.hrb-modal-body {
    padding: 25px;
}

.hrb-booking-full-details .hrb-detail-row {
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.hrb-extras-full {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px solid #e2e8f0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hrb-booking-container {
        padding: 20px;
        margin: 10px;
    }
    
    .hrb-booking-container h2 {
        font-size: 24px;
    }
    
    .hrb-detail-row {
        flex-direction: column;
        gap: 5px;
    }
    
    .hrb-booking-actions {
        text-align: center;
    }
    
    .hrb-btn {
        margin: 5px;
        width: 100%;
        max-width: 200px;
    }
}

/* Animation Classes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hrb-booking-card {
    animation: fadeIn 0.5s ease-out;
}

.hrb-success-message {
    animation: fadeIn 0.5s ease-out;
}

/* Loading States */
.hrb-loading {
    position: relative;
    opacity: 0.7;
    pointer-events: none;
}

.hrb-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #e2e8f0;
    border-top-color: #4f46e5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Custom Scrollbar */
.hrb-checkbox-group::-webkit-scrollbar {
    width: 6px;
}

.hrb-checkbox-group::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.hrb-checkbox-group::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.hrb-checkbox-group::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Date picker custom styles */
.ui-datepicker {
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

.ui-datepicker-header {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%) !important;
    color: white !important;
    border-radius: 8px 8px 0 0 !important;
}

.ui-datepicker-title {
    color: white !important;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
    border: none !important;
    background: transparent !important;
    color: white !important;
}

.ui-datepicker td a {
    border-radius: 4px !important;
    transition: all 0.2s ease !important;
}

.ui-datepicker td a:hover {
    background: #4f46e5 !important;
    color: white !important;
    border-color: #4f46e5 !important;
}

.ui-datepicker .ui-datepicker-today a {
    background: #fef3c7 !important;
    color: #92400e !important;
}

.ui-datepicker .ui-datepicker-current-day a {
    background: #4f46e5 !important;
    color: white !important;
}

/* Print Styles */
@media print {
    .hrb-booking-actions,
    .hrb-btn {
        display: none !important;
    }
    
    .hrb-booking-card {
        break-inside: avoid;
        border: 1px solid #000 !important;
        box-shadow: none !important;
    }
    
    .hrb-booking-header {
        background: #f0f0f0 !important;
        color: #000 !important;
    }
}

/* Accessibility Improvements */
.hrb-btn:focus,
.hrb-form-group input:focus,
.hrb-form-group select:focus,
.hrb-form-group textarea:focus {
    outline: 2px solid #4f46e5;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hrb-booking-card {
        border: 2px solid #000;
    }
    
    .hrb-btn-primary {
        background: #000;
        border: 2px solid #000;
    }
    
    .hrb-btn-secondary {
        background: #666;
        border: 2px solid #666;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .hrb-booking-card,
    .hrb-btn,
    .hrb-form-group input,
    .hrb-form-group select,
    .hrb-form-group textarea {
        transition: none;
    }
    
    .hrb-booking-card {
        animation: none;
    }
    
    .hrb-success-message {
        animation: none;
        opacity: 1;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.hrb-booking-container h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 600;
}

.hrb-login-notice {
    text-align: center;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    margin-bottom: 20px;
}

.hrb-login-notice a {
    color: #fff;
    text-decoration: underline;
    font-weight: bold;
}

/* Form Layout */
.hrb-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .hrb-form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.hrb-form-group {
    display: flex;
    flex-direction: column;
}

.hrb-form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.hrb-form-group input,
.hrb-form-group select,
.hrb-form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fff;
}

.hrb-form-group input:focus,
.hrb-form-group select:focus,
.hrb-form-group textarea:focus {
    border-color: #4f46e5;
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    transform: translateY(-1px);
}

.hrb-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Pricing Summary */
.hrb-pricing-summary {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 20px;
    border-radius: 10px;
    margin: 25px 0;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.hrb-price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}

.hrb-price-row.hrb-total {
    border-top: 2px solid #4f46e5;
    padding-top: 15px;
    margin-top: 15px;
    font-weight: bold;
    font-size: 18px;
    color: #4f46e5;
}

/* Events & Attractions Section */
#events-attractions-section {
    background: #f8fafc;
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
    border: 1px solid #e2e8f0;
}

#events-attractions-section h3 {
    margin-top: 0;
    color: #333;
    font-size: 20px;
    font-weight: 600;
}

.hrb-section-description {
    color: #64748b;
    font-style: italic;
    margin-bottom: 20px;
}

.hrb-checkbox-group {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    padding: 15px;
    border-radius: 8px;
    background: white;
}

.hrb-checkbox-item {
    margin-bottom: 12px;
    padding: 10px;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.hrb-checkbox-item:hover {
    background-color: #f1f5f9;
}

.hrb-checkbox-item:last-child {
    margin-bottom: 0;
}

.hrb-checkbox-item label {
    display: block;
    cursor: pointer;
    font-weight: normal;
    margin-bottom: 0;
}

.hrb-checkbox-item input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.1);
}

.hrb-no-items {
    color: #64748b;
    font-style: italic;
    text-align: center;
    margin: 0;
    padding: 20px;
}

/* Buttons */
.hrb-form-actions {
    text-align: center;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid #e2e8f0;
}

.hrb-btn {
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hrb-btn-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.hrb-btn-primary:hover {
    background: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.hrb-btn-secondary {
    background: #64748b;
    color: white;
    box-shadow: 0 4px 15px rgba(100, 116, 139, 0.3);
}

.hrb-btn-secondary:hover {
    background: #475569;
    transform: translateY(-2px);
}

.hrb-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Success Message */
.hrb-success-message {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    margin-top: 25px;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.hrb-success-message h3 {
    margin-top: 0;
    color: white;
    font-size: 22px;
}

/* User Bookings Styles */
.hrb-user-bookings {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.hrb-user-bookings h2 {
    text-align: center;
    color: #333;
    margin-bottom: 40px;
    font-size: 32px;
    font-weight: 600;
}

.hrb-bookings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
}

@media (max-width: 768px) {
    .hrb-bookings-grid {
        grid-template-columns: 1fr;
    }
}

/* Booking Cards */
.hrb-booking-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.hrb-booking-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.hrb-booking-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hrb-booking-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.hrb-booking-status {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hrb-booking-status.pending {
    background: rgba(245, 158, 11, 0.9);
    color: #92400e;
}

.hrb-booking-status.confirmed {
    background: rgba(16, 185, 129, 0.9);
    color: #065f46;
}

.hrb-booking-status.cancelled {
    background: rgba(239, 68, 68, 0.9);
    color: #991b1b;
}

.hrb-booking-status.completed {
    background: rgba(59, 130, 246, 0.9);
    color: #1e40af;
}

.hrb-booking-details {
    padding: 25px;
}

.hrb-detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}

.hrb-detail-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.hrb-detail-row strong {
    color: #374151;
    font-weight: 600;
}

.hrb-amount {
    color: #4f46e5;
    font-weight: bold;
    font-size: 18px;
}

/* Booking Extras */
.hrb-booking-extras {
    background: #f8fafc;
    padding: 20px;
    border-top: 1px solid #e2e8f0;
}

.hrb-extras-section {
    margin-bottom: 15px;
}

.hrb-extras-section:last-child {
    margin-bottom: 0;
}

.hrb-extras-section h4 {
    margin: 0 0 10px 0;
    color: #374151;
    font-size: 16px;
    font-weight: 600;
}

.hrb-extras-section ul {
    margin: 0;
    padding-left: 20px;
    list-style-type: disc;
}

.hrb-extras-section li {
    margin-bottom: 6px;
    color: #64748b;
}

/* Booking Actions */
.hrb-booking-actions {
    padding: 20px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    text-align: right;
}

.hrb-btn-small {
    font-size: 12px;
    padding: 8px 16px;
    margin-left: 8px;
}

.hrb-btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.hrb-btn-danger:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

/* No Bookings State */
.hrb-no-bookings {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    color: #64748b;
}

.hrb-no-bookings h3 {
    color: #374151;
    margin-bottom: 15px;
    font-size: 24px;
}

.hrb-no-bookings a {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 600;
}

.hrb-no-bookings a:hover {
    text-decoration: underline;
}

/* Modal Styles */
.hrb-modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}


.hrb-close {
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #fff;
}

.hrb-close:hover {
    color: #4f46e5;
}

.hrb-modal-body {
    padding: 25px;
}

.hrb-modal-footer {
    padding: 25px;
    border-top: 1px solid #e2e8f0;
}
}

/* Registration Form */
.hrb-register-form input, select {
    margin: 5px 0 20px;
    border-radius: 3px !important;
}

.hrb-register-form input:focus {
    border-color: #2271b1;
  background-color: #fff;
  box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.2);
  outline: none;
}

.hrb-register-form button {
    background-color: #2271b1;
    color: #fff;
    font-weight: 600;
    border: none;
    width: 100%;
}

.hrb-register-form button:hover {
    background-color: #1a5687;
    color: #fff;
}

.hrb-reg-form-row{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.hrb-form-label{
    font-size: 16px;
    font-weight: 600;
}

.hrb-center {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

/* Login Form */
.hrb-login-form input {
    margin: 5px 0 20px;
    border-radius: 3px;
}

.hrb-login-form input:focus {
    border-color: #2271b1;
  background-color: #fff;
  box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.2);
  outline: none;
}

.hrb-login-form button {
    background-color: #2271b1;
    color: #fff;
    font-weight: 600;
    border: none;
    width: 100%;
}

.hrb-login-form button:hover {
    background-color: #1a5687;
    color: #fff;
}

.hrb-form-label{
    font-size: 16px;
    font-weight: 600;
}

.hrb-center {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

/* Frontend Styles */

.hrb-view-toggle {
    margin-bottom: 20px;
    text-align: right;
}
.hrb-view-toggle button {
    padding: 8px 12px;
    margin-left: 5px;
    cursor: pointer;
}
.hrb-view-toggle .active {
    background-color: #0073aa;
    color: #fff;
}

.hrb-rooms.grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.hrb-rooms.list-view {
    display: block;
}
.hrb-room-card {
    border: 1px solid #ddd;
    padding: 5px;
    border-radius: 6px;
    background: #fff;
    display: flex;
    flex-direction: column;
}
.hrb-room-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hrb-room-card h3 {
    font-size: 22px;
    font-weight: 700;
}

.hrb-rooms.list-view .hrb-room-card {
    flex-direction: row;
    gap: 20px;
}
.hrb-room-img img {
    width: 100%;
    height: auto;
    border-radius: 6px 6px 0 0;
}
.hrb-room-details {
    padding: 10px;
}
.hrb-room-details h3 {
    margin: 10px 0;
}
.hrb-book-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}

.hrb-book-btn:hover {
    background-color: #015b85;
    color: #fff;
    text-decoration: none;
}