/**
 * Piana Hotel Booking - Frontend Styles
 * Company: Piana It Solutions
 */

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
    --phb-primary: #1E3A2F;
    --phb-primary-dark: #267399;
    --phb-secondary: #4CAF50;
    --phb-danger: #f44336;
    --phb-warning: #ff9800;
    --phb-dark: #333333;
    --phb-gray: #666666;
    --phb-light-gray: #f5f5f5;
    --phb-border: #dddddd;
    --phb-white: #ffffff;
    --phb-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --phb-shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
    --phb-radius: 8px;
    --phb-transition: all 0.3s ease;
}

/* ========================================
   ROOM GRID
   ======================================== */
.phb-room-grid {
    display: grid;
    gap: 30px;
    margin: 0 -15px;
}

.phb-grid-col-1 {
    grid-template-columns: 1fr;
}

.phb-grid-col-2 {
    grid-template-columns: repeat(2, 1fr);
}

.phb-grid-col-3 {
    grid-template-columns: repeat(3, 1fr);
}

.phb-grid-col-4 {
    grid-template-columns: repeat(4, 1fr);
}

.phb-room-card {
    background: var(--phb-white);
    border-radius: var(--phb-radius);
    overflow: hidden;
    box-shadow: var(--phb-shadow);
    transition: var(--phb-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.phb-room-card:hover {
    box-shadow: var(--phb-shadow-hover);
    transform: translateY(-5px);
}

.phb-room-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.phb-room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.phb-room-card:hover .phb-room-image img {
    transform: scale(1.1);
}

.phb-room-number {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--phb-primary);
    color: var(--phb-white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.phb-room-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.phb-room-title {
    margin: 0 0 15px;
    font-size: 22px;
    font-weight: 600;
}

.phb-room-title a {
    color: var(--phb-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.phb-room-title a:hover {
    color: var(--phb-primary);
}

.phb-room-excerpt {
    color: var(--phb-gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.phb-room-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--phb-gray);
    font-size: 14px;
}

.phb-room-amenities {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.phb-amenity-icon {
    width: 36px;
    height: 36px;
    background: var(--phb-light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--phb-primary);
    font-size: 14px;
    transition: var(--phb-transition);
}

.phb-amenity-icon:hover {
    background: var(--phb-primary);
    color: var(--phb-white);
}

.phb-room-price {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--phb-border);
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.phb-price-label {
    color: var(--phb-gray);
    font-size: 14px;
}

.phb-price-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--phb-primary);
}

.phb-price-suffix {
    color: var(--phb-gray);
    font-size: 14px;
}

.phb-book-btn {
    display: inline-block;
    background: var(--phb-primary);
    color: var(--phb-white);
    padding: 12px 30px;
    border-radius: var(--phb-radius);
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    margin-top: 15px;
    transition: var(--phb-transition);
    border: none;
    cursor: pointer;
    width: 100%;
}

.phb-book-btn:hover {
    background: var(--phb-primary-dark);
    color: var(--phb-white);
}

/* ========================================
   ROOM SINGLE
   ======================================== */
.phb-room-single {
    max-width: 1200px;
    margin: 0 auto;
}

.phb-room-gallery {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: var(--phb-radius);
    margin-bottom: 30px;
}

.phb-room-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phb-room-number-large {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--phb-primary);
    color: var(--phb-white);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
}

.phb-room-single-content {
    padding: 0 15px;
}

.phb-single-title {
    font-size: 36px;
    margin-bottom: 25px;
    color: var(--phb-dark);
}

.phb-room-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--phb-gray);
    margin-bottom: 40px;
}

.phb-room-specs,
.phb-room-amenities-full,
.phb-price-box {
    background: var(--phb-light-gray);
    padding: 30px;
    border-radius: var(--phb-radius);
    margin-bottom: 30px;
}

.phb-room-specs h3,
.phb-room-amenities-full h3,
.phb-price-box h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 22px;
    color: var(--phb-dark);
}

.phb-specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.phb-specs-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--phb-gray);
}

.phb-specs-list i {
    color: var(--phb-primary);
    font-size: 18px;
}

.phb-amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.phb-amenity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

.phb-amenity-item i {
    color: var(--phb-secondary);
    font-size: 18px;
}

.phb-price-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed var(--phb-border);
}

.phb-price-row:last-child {
    border-bottom: none;
}

.phb-booking-widget-form {
    background: var(--phb-light-gray);
    padding: 30px;
    border-radius: var(--phb-radius);
    margin-top: 30px;
}

.phb-booking-widget-form h3 {
    margin-top: 0;
    margin-bottom: 20px;
}

/* ========================================
   BOOKING FORM
   ======================================== */
.phb-booking-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--phb-white);
    padding: 40px;
    border-radius: var(--phb-radius);
    box-shadow: var(--phb-shadow);
}

.phb-form-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 10px;
    color: var(--phb-dark);
}

.phb-form-subtitle {
    text-align: center;
    color: var(--phb-gray);
    margin-bottom: 30px;
    font-size: 16px;
}

.phb-booking-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.phb-form-row {
    display: flex;
    gap: 20px;
}

.phb-form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.phb-form-group.half,
.phb-half {
    flex: 0 0 calc(50% - 10px);
}

.phb-form-group label {
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--phb-dark);
    font-size: 14px;
}

.phb-form-input {
    padding: 14px 16px;
    border: 1px solid var(--phb-border);
    border-radius: var(--phb-radius);
    font-size: 15px;
    transition: var(--phb-transition);
    background: var(--phb-white);
}

.phb-form-input:focus {
    outline: none;
    border-color: var(--phb-primary);
    box-shadow: 0 0 0 3px rgba(51, 153, 204, 0.1);
}

.phb-form-input::placeholder {
    color: #999;
}

select.phb-form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.phb-booking-summary {
    background: var(--phb-light-gray);
    padding: 20px;
    border-radius: var(--phb-radius);
    margin-top: 20px;
}

.phb-booking-summary h4 {
    margin: 0 0 15px;
    font-size: 18px;
}

.phb-summary-content {
    line-height: 1.8;
}

.phb-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--phb-border);
}

.phb-summary-row:last-child {
    border-bottom: none;
    font-weight: 600;
    font-size: 18px;
    color: var(--phb-primary);
    margin-top: 10px;
    padding-top: 10px;
    border-top: 2px solid var(--phb-primary);
}

.phb-payment-section {
    background: #e8f5e9;
    padding: 20px;
    border-radius: var(--phb-radius);
    border-left: 4px solid var(--phb-secondary);
}

.phb-payment-section h4 {
    margin: 0 0 10px;
    color: var(--phb-secondary);
}

.phb-payment-info {
    margin: 0;
    font-size: 14px;
    color: var(--phb-gray);
}

.phb-submit-group {
    margin-top: 10px;
}

.phb-submit-btn {
    width: 100%;
    padding: 16px 30px;
    background: var(--phb-secondary);
    color: var(--phb-white);
    border: none;
    border-radius: var(--phb-radius);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--phb-transition);
}

.phb-submit-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.phb-submit-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.phb-form-messages {
    margin-top: 20px;
}

.phb-message {
    padding: 15px 20px;
    border-radius: var(--phb-radius);
    margin-bottom: 15px;
}

.phb-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.phb-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ========================================
   AVAILABILITY CALENDAR
   ======================================== */
.phb-availability-calendar-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.phb-availability-calendar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.phb-calendar-month {
    background: var(--phb-white);
    border-radius: var(--phb-radius);
    overflow: hidden;
}

.phb-calendar-header {
    color: var(--phb-white);
    margin: 0;
    padding: 15px 20px;
    text-align: center;
    font-size: 18px;
}

.phb-calendar-table {
    width: 100%;
    border-collapse: collapse;
}

.phb-calendar-table th {
    background: var(--phb-light-gray);
    padding: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--phb-gray);
}

.phb-calendar-table td {
    padding: 0;
    text-align: center;
}

.phb-calendar-day {
    padding: 12px;
    cursor: pointer;
    transition: var(--phb-transition);
    position: relative;
}

.phb-calendar-day:not(.empty):hover {
    background: var(--phb-primary);
    color: var(--phb-white);
}

.phb-calendar-day.available {
    background: rgba(76, 175, 80, 0.1);
    color: var(--phb-secondary);
    font-weight: 500;
}

.phb-calendar-day.booked {
    background: rgba(244, 67, 54, 0.1);
    color: var(--phb-danger);
    text-decoration: line-through;
    cursor: not-allowed;
}

.phb-calendar-day.past {
    color: #ccc;
    background: var(--phb-light-gray);
    cursor: not-allowed;
}

.phb-calendar-day.empty {
    background: transparent;
}

.phb-calendar-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    padding: 20px;
    background: var(--phb-white);
    border-radius: var(--phb-radius);
}

.phb-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--phb-gray);
}

.phb-legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.phb-legend-color.available {
    background: var(--phb-secondary);
}

.phb-legend-color.booked {
    background: var(--phb-danger);
}

/* ========================================
   ROOM FEATURES WIDGET
   ======================================== */
.phb-room-features-widget {
    padding: 20px 0;
}

.phb-features-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--phb-dark);
}

.phb-features-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.phb-features-grid {
    display: grid;
    gap: 20px;
}

.phb-features-list {
    flex-direction: column;
}

.phb-features-list .phb-feature-item {
    width: 100%;
}

.phb-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: var(--phb-light-gray);
    border-radius: var(--phb-radius);
    transition: var(--phb-transition);
}

.phb-feature-item:hover {
    background: var(--phb-primary);
    color: var(--phb-white);
}

.phb-feature-item:hover .phb-feature-icon {
    color: var(--phb-white);
}

.phb-feature-icon {
    font-size: 20px;
    color: var(--phb-primary);
    transition: var(--phb-transition);
}

.phb-feature-label {
    font-size: 15px;
}

/* ========================================
   ICONS (using CSS content as fallback)
   ======================================== */
.phb-icon-users::before { content: "\f0c0"; }
.phb-icon-bed::before { content: "\f236"; }
.phb-icon-size::before { content: "\f065"; }
.phb-icon-view::before { content: "\f06e"; }
.phb-icon-floor::before { content: "\f0b2"; }
.phb-icon-wifi::before { content: "\f1eb"; }
.phb-icon-tv::before { content: "\f26c"; }
.phb-icon-ac::before { content: "\f2dc"; }
.phb-icon-minibar::before { content: "\f000"; }
.phb-icon-coffee::before { content: "\f0f4"; }
.phb-icon-safe::before { content: "\f023"; }
.phb-icon-hairdryer::before { content: "\f0e4"; }
.phb-icon-bathtub::before { content: "\f2cd"; }
.phb-icon-shower::before { content: "\f2cc"; }
.phb-icon-balcony::before { content: "\f1ad"; }
.phb-icon-sofa::before { content: "\f4b8"; }
.phb-icon-desk::before { content: "\f2b9"; }
.phb-icon-robe::before { content: "\f218"; }
.phb-icon-slippers::before { content: "\f54b"; }
.phb-icon-check::before { content: "\f00c"; }

/* Font Awesome fallback classes */
[class^="phb-icon-"]::before,
[class*=" phb-icon-"]::before {
    font-family: "Font Awesome 5 Free", "FontAwesome", sans-serif;
    font-weight: 900;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   MINI BOOKING FORM (in room single)
   ======================================== */
.phb-mini-booking-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.phb-mini-booking-form .phb-form-row {
    margin-bottom: 0;
}

.phb-mini-booking-form label {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--phb-dark);
}

.phb-mini-booking-form .phb-form-input {
    padding: 12px;
    font-size: 14px;
}

.phb-price-preview {
    background: var(--phb-white);
    padding: 15px;
    border-radius: var(--phb-radius);
    margin: 10px 0;
    font-weight: 600;
    color: var(--phb-primary);
    text-align: center;
}

.phb-check-availability {
    background: var(--phb-primary);
    width: 100%;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.phb-hidden {
    display: none !important;
}

.phb-loading {
    position: relative;
    pointer-events: none;
}

.phb-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--phb-border);
    border-top-color: var(--phb-primary);
    border-radius: 50%;
    animation: phb-spin 0.8s linear infinite;
}

@keyframes phb-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   BOOKING CONFIRMATION PAGE
   ======================================== */
.phb-confirmation-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    background: var(--phb-white);
    border-radius: var(--phb-radius);
    box-shadow: var(--phb-shadow);
    text-align: center;
}

.phb-confirmation-icon {
    width: 80px;
    height: 80px;
    background: var(--phb-secondary);
    color: var(--phb-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 30px;
}

.phb-confirmation-title {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--phb-dark);
}

.phb-confirmation-message {
    font-size: 16px;
    color: var(--phb-gray);
    margin-bottom: 30px;
    line-height: 1.6;
}

.phb-confirmation-details {
    background: var(--phb-light-gray);
    padding: 30px;
    border-radius: var(--phb-radius);
    text-align: left;
    margin-bottom: 30px;
}

.phb-confirmation-details h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
}

.phb-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--phb-border);
}

.phb-detail-row:last-child {
    border-bottom: none;
}

.phb-detail-label {
    font-weight: 600;
    color: var(--phb-dark);
}

.phb-detail-value {
    color: var(--phb-gray);
}

.phb-back-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--phb-primary);
    color: var(--phb-white);
    text-decoration: none;
    border-radius: var(--phb-radius);
    font-weight: 600;
    transition: var(--phb-transition);
}

.phb-back-btn:hover {
    background: var(--phb-primary-dark);
    color: var(--phb-white);
}

/* ========================================
   VENUE BOOKING & MULTIPLE ROOMS
   ======================================== */
.phb-booking-type-selector {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 15px;
    background: var(--phb-light-gray);
    border-radius: var(--phb-radius);
}

.phb-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
}

.phb-radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--phb-primary);
}

.phb-venue-fields {
    background: #fff3e0;
    padding: 20px;
    border-radius: var(--phb-radius);
    border-left: 4px solid #ff9800;
    margin-bottom: 20px;
}

.phb-rooms-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    background: var(--phb-light-gray);
    border-radius: var(--phb-radius);
}

.phb-room-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: var(--phb-white);
    border-radius: var(--phb-radius);
    cursor: pointer;
    transition: var(--phb-transition);
    border: 2px solid transparent;
}

.phb-room-checkbox:hover {
    border-color: var(--phb-primary);
}

.phb-room-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--phb-primary);
    flex-shrink: 0;
}

.phb-room-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.phb-room-info strong {
    font-size: 16px;
    color: var(--phb-dark);
}

.phb-room-info small {
    font-size: 13px;
    color: var(--phb-gray);
}

.phb-hint {
    margin-top: 10px;
    padding: 10px 15px;
    background: #e3f2fd;
    border-radius: var(--phb-radius);
    font-size: 13px;
    color: var(--phb-primary);
    border-left: 3px solid var(--phb-primary);
}

.phb-min-rooms-notice {
    background: #e8f5e9;
    padding: 15px 20px;
    border-radius: var(--phb-radius);
    margin-bottom: 20px;
    border-left: 4px solid var(--phb-secondary);
}

.phb-min-rooms-notice.phb-warning {
    background: #ffebee;
    border-left-color: var(--phb-danger);
}

.phb-min-rooms-notice.phb-warning .phb-notice-text {
    color: var(--phb-danger);
}

.phb-notice-text {
    margin: 0;
    font-size: 14px;
    color: var(--phb-dark);
}

/* ========================================
   COMPACT ROOM CARDS GRID - Airbnb Style
   ======================================== */
.phb-rooms-section {
    margin: 25px 0;
    display: none;
}

.phb-rooms-section.visible {
    display: block;
}

.phb-rooms-loading {
    display: none;
}

.phb-rooms-loading.visible {
    display: block;
}

.phb-rooms-message {
    text-align: center;
    padding: 40px 20px;
    color: var(--phb-gray);
    font-size: 14px;
}

.phb-rooms-message p {
    margin: 0;
}

.phb-room-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.phb-room-card-compact.unavailable {
    opacity: 0.5;
    pointer-events: none;
}

.phb-room-card-compact.unavailable .phb-room-card-label {
    background: #f5f5f5;
    border-color: #ddd;
}

.phb-room-card-compact {
    position: relative;
}

.phb-room-checkbox-hidden {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
}

.phb-room-card-label {
    display: flex;
    flex-direction: column;
    padding: 16px;
    background: rgba(45, 90, 61, 0.03);
    border: 1px solid #2d5a3d;
    border-radius: var(--phb-radius);
    cursor: pointer;
    transition: var(--phb-transition);
    min-height: 120px;
    position: relative;
    z-index: 1;
}

.phb-room-card-label:hover {
    border-color: var(--phb-primary);
}

.phb-room-checkbox-hidden:checked + .phb-room-card-label {
    border-color: var(--phb-border);
    background: var(--phb-white);
}

.phb-room-card-top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.phb-room-card-check {
    width: 18px;
    height: 18px;
    border: 2px solid var(--phb-border);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    transition: var(--phb-transition);
}

.phb-room-checkbox-hidden:checked + .phb-room-card-label .phb-room-card-check {
    background: #2d5a3d;
    border-color: #2d5a3d;
}

.phb-room-checkbox-hidden:checked + .phb-room-card-label .phb-room-card-check::after {
    content: "✓";
    color: var(--phb-white);
    font-size: 11px;
    font-weight: bold;
}

.phb-room-card-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 2px;
}

.phb-room-card-type {
    font-size: 13px;
    font-weight: 500;
    color: var(--phb-dark);
    text-transform: capitalize;
}

.phb-room-card-number {
    font-size: 13px;
    color: var(--phb-dark);
    font-weight: 400;
}

.phb-room-card-price {
    font-size: 13px;
    font-weight: 500;
    color: var(--phb-dark);
    text-align: right;
    white-space: nowrap;
}

.phb-room-card-price small {
    font-size: 11px;
    font-weight: 400;
    color: var(--phb-gray);
}

.phb-room-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--phb-light-gray);
}

.phb-room-card-label-type {
    font-size: 10px;
    font-weight: 600;
    color: var(--phb-gray);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.phb-room-card-capacity {
    font-size: 11px;
    color: var(--phb-gray);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Weekday Info Line */
.phb-weekday-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    font-size: 13px;
    color: var(--phb-gray);
    border-bottom: 1px solid var(--phb-light-gray);
    margin-bottom: 20px;
}

.phb-info-icon {
    font-size: 14px;
}

/* Price Summary Box - New Design */
.phb-price-box {
    background: var(--phb-light-gray);
    padding: 20px;
    border-radius: var(--phb-radius);
    margin: 25px 0;
    display: none;
}

.phb-price-box.active {
    display: block;
}

.phb-price-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--phb-border);
}

.phb-price-header span:first-child {
    font-size: 15px;
    color: var(--phb-dark);
}

.phb-price-header .phb-price-total {
    font-size: 24px;
    font-weight: 700;
    color: var(--phb-dark);
}

.phb-price-breakdown {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.phb-price-item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--phb-gray);
}

.phb-price-item span:last-child {
    font-weight: 500;
    color: var(--phb-dark);
}

.phb-price-note {
    font-size: 12px;
    color: var(--phb-gray);
    margin: 0;
    font-style: italic;
}

/* Submit Button */
.phb-submit-modern {
    width: 100%;
    padding: 16px 30px;
    background: #2d5a3d;
    color: var(--phb-white);
    border: none;
    border-radius: var(--phb-radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--phb-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.phb-submit-modern:hover {
    background: #1e3d2a;
}

/* Full width column class */
.phb-form-col-full {
    flex: 1 1 100%;
    width: 100%;
}

/* ========================================
   GUESTS DROPDOWN (Airbnb Style)
   ======================================== */
.phb-guests-dropdown {
    position: relative;
}

.phb-guests-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid var(--phb-border);
    border-radius: var(--phb-radius);
    background: var(--phb-white);
    cursor: pointer;
    transition: var(--phb-transition);
}

.phb-guests-toggle:hover {
    border-color: var(--phb-primary);
}

.phb-guests-toggle.active {
    border-color: var(--phb-primary);
    box-shadow: 0 0 0 3px rgba(51, 153, 204, 0.1);
}

.phb-guests-count-text {
    font-size: 15px;
    color: var(--phb-dark);
}

.phb-guests-arrow {
    font-size: 12px;
    color: var(--phb-gray);
    transition: transform 0.2s ease;
}

.phb-guests-toggle.active .phb-guests-arrow {
    transform: rotate(180deg);
}

.phb-guests-popup {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--phb-white);
    border: 1px solid var(--phb-border);
    border-radius: var(--phb-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 20px;
    z-index: 100;
    display: none;
}

.phb-guests-popup.active {
    display: block;
}

.phb-guests-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--phb-light-gray);
}

.phb-guests-row:last-of-type {
    border-bottom: none;
}

.phb-guests-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.phb-guests-type {
    font-size: 15px;
    font-weight: 600;
    color: var(--phb-dark);
}

.phb-guests-age {
    font-size: 13px;
    color: var(--phb-gray);
}

.phb-guests-counter {
    display: flex;
    align-items: center;
    gap: 16px;
}

.phb-guests-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--phb-border);
    background: var(--phb-white);
    color: var(--phb-dark);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--phb-transition);
}

.phb-guests-btn:hover:not(:disabled) {
    border-color: var(--phb-primary);
    color: var(--phb-primary);
}

.phb-guests-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.phb-guests-counter span {
    font-size: 16px;
    font-weight: 600;
    color: var(--phb-dark);
    min-width: 24px;
    text-align: center;
}

.phb-guests-footer {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--phb-light-gray);
    font-size: 13px;
    color: var(--phb-gray);
}

/* ========================================
   CUSTOM DATE PICKER
   ======================================== */
.phb-custom-datepicker {
    position: relative;
}

.phb-date-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border: none;
    border-bottom: 2px solid #1E3A2F;
    background: transparent;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.phb-date-display:hover {
    border-bottom-color: var(--phb-primary);
}

.phb-date-text {
    font-size: 15px;
    color: #9B9B9B;
}

.phb-date-text.has-date {
    color: var(--phb-dark);
}

.phb-date-display .phb-date-icon {
    font-size: 16px;
    color: #2C3E2D;
}

.phb-calendar-popup {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--phb-white);
    border: 1px solid var(--phb-border);
    border-radius: var(--phb-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 16px;
    z-index: 9999;
    display: none;
    min-width: 320px;
    width: max-content;
}

.phb-calendar-popup.active {
    display: block;
}

.phb-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--phb-light-gray);
}

.phb-calendar-month {
    font-size: 14px;
    font-weight: 600;
    color: var(--phb-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.phb-calendar-nav {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: var(--phb-dark);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s;
}

.phb-calendar-nav:hover {
    background: var(--phb-light-gray);
}

.phb-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.phb-calendar-day-header {
    font-size: 11px;
    font-weight: 600;
    color: var(--phb-gray);
    text-align: center;
    padding: 8px 0;
    text-transform: uppercase;
}

.phb-calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--phb-dark);
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}

.phb-calendar-day:hover:not(.disabled):not(.selected) {
    background: var(--phb-light-gray);
}

.phb-calendar-day.selected {
    background: #1E3A2F;
    color: var(--phb-white);
}

.phb-calendar-day.disabled {
    color: #ccc;
    cursor: not-allowed;
}

.phb-calendar-day.other-month {
    color: #ccc;
}

.phb-calendar-day.today {
    border: 1px solid var(--phb-primary);
}

/* Contact Modal Styles */
.phb-contact-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.phb-contact-modal.active {
    display: flex;
}

.phb-contact-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.phb-contact-modal-content {
    position: relative;
    background: var(--phb-white);
    border-radius: var(--phb-radius);
    width: 90%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: phbModalSlideIn 0.3s ease-out;
}

@keyframes phbModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.phb-contact-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--phb-border);
}

.phb-contact-modal-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--phb-dark);
}

.phb-contact-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--phb-gray);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.phb-contact-modal-close:hover {
    background: var(--phb-light-gray);
    color: var(--phb-dark);
}

.phb-contact-modal-body {
    padding: 24px;
}

.phb-contact-modal-intro {
    margin: 0 0 20px 0;
    font-size: 14px;
    color: var(--phb-gray);
    line-height: 1.5;
}

.phb-contact-form-group {
    margin-bottom: 16px;
}

.phb-contact-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--phb-dark);
    margin-bottom: 6px;
}

.phb-contact-form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--phb-border);
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.phb-contact-form-group input:focus {
    outline: none;
    border-color: var(--phb-primary);
}

.phb-contact-modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.phb-contact-modal-actions .phb-btn-secondary {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid var(--phb-border);
    background: var(--phb-white);
    color: var(--phb-dark);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.phb-contact-modal-actions .phb-btn-secondary:hover {
    background: var(--phb-light-gray);
}

.phb-contact-modal-actions .phb-submit-modern {
    flex: 2;
}

.phb-contact-modal-error {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 12px;
    text-align: center;
}

/* Prevent body scroll when modal is open */
body.phb-modal-open {
    overflow: hidden;
}
