/**
 * ReservePress Hotels - Public Styles
 * 
 * Theme-independent styles using CSS custom properties
 * 
 * @version 2.0.0
 */

/* ==========================================================================
   CSS Variables (set by PHP based on settings)
   ========================================================================== */

:root {
    --rph-primary: #c9a227;
    --rph-primary-hover: #b8960f;
    --rph-secondary: #1a1a2e;
    --rph-text: #333333;
    --rph-text-light: #666666;
    --rph-border: #e0e0e0;
    --rph-bg: #ffffff;
    --rph-bg-alt: #f9f9f9;
    --rph-radius: 8px;
    --rph-shadow: 0 2px 8px rgba(0,0,0,0.1);
    --rph-success: #10b981;
    --rph-warning: #f59e0b;
    --rph-danger: #ef4444;
}

/* ==========================================================================
   Base Components
   ========================================================================== */

/* Buttons */
.rph-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    border: none;
    border-radius: var(--rph-radius);
    cursor: pointer;
    transition: all 0.2s ease;
}

.rph-btn-primary {
    background-color: var(--rph-primary);
    color: #ffffff;
}

.rph-btn-primary:hover {
    background-color: var(--rph-primary-hover);
    color: #ffffff;
}

.rph-btn-secondary {
    background-color: var(--rph-secondary);
    color: #ffffff;
}

.rph-btn-outline {
    background-color: transparent;
    border: 2px solid var(--rph-primary);
    color: var(--rph-primary);
}

.rph-btn-outline:hover {
    background-color: var(--rph-primary);
    color: #ffffff;
}

.rph-btn-small {
    padding: 8px 16px;
    font-size: 13px;
}

/* ==========================================================================
   Booking Widget
   ========================================================================== */

.rph-booking-widget {
    background: var(--rph-bg);
    border-radius: var(--rph-radius);
    box-shadow: var(--rph-shadow);
    padding: 24px;
}

.rph-widget-title {
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--rph-text);
}

.rph-search-form .rph-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
}

.rph-booking-widget--horizontal .rph-form-row {
    flex-wrap: nowrap;
}

.rph-booking-widget--vertical .rph-form-row {
    flex-direction: column;
}

.rph-form-field {
    flex: 1;
    min-width: 140px;
}

.rph-form-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--rph-text-light);
}

.rph-form-field input,
.rph-form-field select {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid var(--rph-border);
    border-radius: var(--rph-radius);
    background: var(--rph-bg);
    color: var(--rph-text);
    transition: border-color 0.2s;
}

.rph-form-field input:focus,
.rph-form-field select:focus {
    outline: none;
    border-color: var(--rph-primary);
}

.rph-form-submit {
    flex: 0 0 auto;
    min-width: auto;
}

.rph-form-submit .rph-btn {
    width: 100%;
    white-space: nowrap;
}

/* Search Results */
.rph-search-results {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--rph-border);
}

/* ==========================================================================
   Room Grid
   ========================================================================== */

.rph-rooms-grid {
    display: grid;
    grid-template-columns: repeat(var(--rph-columns, 3), 1fr);
    gap: 24px;
}

@media (max-width: 992px) {
    .rph-rooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .rph-rooms-grid {
        grid-template-columns: 1fr;
    }
}

.rph-room-card {
    background: var(--rph-bg);
    border-radius: var(--rph-radius);
    box-shadow: var(--rph-shadow);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.rph-room-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.rph-room-image {
    position: relative;
    padding-top: 66.67%; /* 3:2 aspect ratio */
    overflow: hidden;
}

.rph-room-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.rph-room-card:hover .rph-room-image img {
    transform: scale(1.05);
}

.rph-room-image--placeholder {
    background: var(--rph-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rph-room-image--placeholder .dashicons {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    color: var(--rph-border);
}

.rph-room-content {
    padding: 20px;
}

.rph-room-title {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 600;
}

.rph-room-title a {
    color: var(--rph-text);
    text-decoration: none;
}

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

.rph-room-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--rph-text-light);
}

.rph-room-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.rph-room-meta .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.rph-room-amenities {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.rph-amenity {
    font-size: 16px;
}

.rph-amenity-more {
    font-size: 12px;
    color: var(--rph-text-light);
    background: var(--rph-bg-alt);
    padding: 2px 6px;
    border-radius: 4px;
}

.rph-room-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--rph-border);
}

.rph-room-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.rph-price-amount {
    font-size: 20px;
    font-weight: 700;
    color: var(--rph-primary);
}

.rph-price-period {
    font-size: 13px;
    color: var(--rph-text-light);
}

/* ==========================================================================
   Promotions
   ========================================================================== */

.rph-promotions-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.rph-promotion-card {
    background: var(--rph-bg);
    border-radius: var(--rph-radius);
    box-shadow: var(--rph-shadow);
    overflow: hidden;
}

.rph-promotion--featured {
    border: 2px solid var(--rph-primary);
}

.rph-promotion-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.rph-promotion-content {
    padding: 20px;
}

.rph-promotion-title {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--rph-text);
}

.rph-promotion-description {
    margin: 0 0 16px 0;
    font-size: 14px;
    color: var(--rph-text-light);
}

.rph-promotion-discount {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 16px;
    padding: 8px 16px;
    background: var(--rph-primary);
    color: #ffffff;
    border-radius: var(--rph-radius);
}

.rph-discount-value {
    font-size: 24px;
    font-weight: 700;
}

.rph-discount-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.rph-promotion-code {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.rph-code-label {
    font-size: 13px;
    color: var(--rph-text-light);
}

.rph-code-value {
    padding: 4px 12px;
    font-family: monospace;
    font-size: 14px;
    font-weight: 600;
    background: var(--rph-bg-alt);
    border: 1px dashed var(--rph-border);
    border-radius: 4px;
}

.rph-promotion-terms,
.rph-promotion-expires {
    margin: 0 0 8px 0;
    font-size: 12px;
    color: var(--rph-text-light);
}

/* ==========================================================================
   My Reservations
   ========================================================================== */

.rph-my-reservations h2 {
    margin: 0 0 24px 0;
    font-size: 24px;
    color: var(--rph-text);
}

.rph-no-reservations {
    text-align: center;
    padding: 48px 24px;
    background: var(--rph-bg-alt);
    border-radius: var(--rph-radius);
}

.rph-no-reservations .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: var(--rph-border);
    margin-bottom: 16px;
}

.rph-no-reservations p {
    margin: 0 0 20px 0;
    color: var(--rph-text-light);
}

.rph-reservations-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rph-reservation-card {
    background: var(--rph-bg);
    border-radius: var(--rph-radius);
    box-shadow: var(--rph-shadow);
    overflow: hidden;
}

.rph-reservation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--rph-bg-alt);
    border-bottom: 1px solid var(--rph-border);
}

.rph-booking-number {
    font-family: monospace;
    font-weight: 600;
    color: var(--rph-text);
}

.rph-status {
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 20px;
}

.rph-status--pending {
    background: #fef3c7;
    color: #92400e;
}

.rph-status--confirmed {
    background: #d1fae5;
    color: #065f46;
}

.rph-status--active {
    background: #dbeafe;
    color: #1e40af;
}

.rph-status--completed {
    background: #e5e7eb;
    color: #374151;
}

.rph-status--cancelled {
    background: #fee2e2;
    color: #991b1b;
}

.rph-reservation-body {
    padding: 20px;
}

.rph-reservation-room {
    margin-bottom: 16px;
    font-size: 16px;
}

.rph-reservation-dates {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.rph-date {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rph-date-label {
    font-size: 12px;
    color: var(--rph-text-light);
}

.rph-date-value {
    font-weight: 600;
    color: var(--rph-text);
}

.rph-date-arrow {
    color: var(--rph-border);
}

.rph-reservation-details {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: var(--rph-text-light);
}

.rph-reservation-footer {
    padding: 16px 20px;
    background: var(--rph-bg-alt);
    border-top: 1px solid var(--rph-border);
}

.rph-total {
    font-size: 16px;
    color: var(--rph-text);
}

.rph-total strong {
    color: var(--rph-primary);
}

/* ==========================================================================
   Availability Calendar
   ========================================================================== */

.rph-availability-calendar {
    background: var(--rph-bg);
    border-radius: var(--rph-radius);
    box-shadow: var(--rph-shadow);
    padding: 24px;
}

.rph-calendar-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 48px;
    color: var(--rph-text-light);
}

.rph-calendar-loading .dashicons {
    animation: rph-spin 1s linear infinite;
}

@keyframes rph-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.rph-calendar-legend {
    display: flex;
    gap: 24px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--rph-border);
}

.rph-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--rph-text-light);
}

.rph-legend-box {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.rph-legend--available .rph-legend-box {
    background: var(--rph-success);
}

.rph-legend--booked .rph-legend-box {
    background: var(--rph-warning);
}

.rph-legend--blocked .rph-legend-box {
    background: var(--rph-border);
}

/* ==========================================================================
   Login Required
   ========================================================================== */

.rph-login-required {
    text-align: center;
    padding: 48px 24px;
    background: var(--rph-bg-alt);
    border-radius: var(--rph-radius);
}

.rph-login-required p {
    margin: 0 0 20px 0;
    color: var(--rph-text-light);
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.rph-no-rooms,
.rph-no-promotions {
    text-align: center;
    padding: 48px 24px;
    background: var(--rph-bg-alt);
    border-radius: var(--rph-radius);
    color: var(--rph-text-light);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
    .rph-booking-widget--horizontal .rph-form-row {
        flex-wrap: wrap;
    }
    
    .rph-form-field {
        min-width: calc(50% - 8px);
    }
    
    .rph-form-submit {
        width: 100%;
    }
    
    .rph-reservation-dates {
        flex-wrap: wrap;
    }
    
    .rph-date-arrow {
        display: none;
    }
}

/* ==========================================================================
   Booking Form
   ========================================================================== */

.rph-booking-form {
    max-width: 1200px;
    margin: 0 auto;
}

/* Steps indicator */
.rph-booking-steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    padding: 20px 0;
    border-bottom: 1px solid var(--rph-border);
}

.rph-step {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--rph-text-light);
}

.rph-step-number {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--rph-border);
    font-weight: 600;
    font-size: 14px;
}

.rph-step.active .rph-step-number {
    background: var(--rph-primary);
    color: #fff;
}

.rph-step.completed .rph-step-number {
    background: var(--rph-success);
    color: #fff;
}

.rph-step.completed .rph-step-number::before {
    content: '✓';
}

.rph-step-label {
    font-size: 14px;
    font-weight: 500;
}

.rph-step.active .rph-step-label {
    color: var(--rph-text);
}

/* Booking content layout */
.rph-booking-content {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
}

@media (max-width: 992px) {
    .rph-booking-content {
        grid-template-columns: 1fr;
    }
    
    .rph-booking-sidebar {
        order: -1;
    }
}

.rph-booking-main {
    min-height: 400px;
}

.rph-booking-step-content h2 {
    margin: 0 0 24px 0;
    font-size: 24px;
    color: var(--rph-text);
}

/* Form styles */
.rph-form {
    max-width: 600px;
}

.rph-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 576px) {
    .rph-form-row {
        grid-template-columns: 1fr;
    }
}

.rph-form-group {
    margin-bottom: 20px;
}

.rph-form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--rph-text);
}

.rph-form-group input,
.rph-form-group select,
.rph-form-group textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    border: 1px solid var(--rph-border);
    border-radius: var(--rph-radius);
    background: var(--rph-bg);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.rph-form-group input:focus,
.rph-form-group select:focus,
.rph-form-group textarea:focus {
    outline: none;
    border-color: var(--rph-primary);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

.rph-form-group input.error {
    border-color: var(--rph-danger);
}

/* Promo input */
.rph-promo-input {
    display: flex;
    gap: 10px;
}

.rph-promo-input input {
    flex: 1;
}

.rph-promo-message {
    margin-top: 8px;
    font-size: 13px;
}

.rph-promo-message.success {
    color: var(--rph-success);
}

.rph-promo-message.error {
    color: var(--rph-danger);
}

/* Form actions */
.rph-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.rph-btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

/* Summary sidebar */
.rph-summary-card {
    background: var(--rph-bg);
    border-radius: var(--rph-radius);
    box-shadow: var(--rph-shadow);
    padding: 24px;
    position: sticky;
    top: 20px;
}

.rph-summary-card h3 {
    margin: 0 0 20px 0;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--rph-border);
    font-size: 18px;
}

.rph-summary-room {
    margin-bottom: 20px;
}

.rph-summary-room img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--rph-radius);
    margin-bottom: 12px;
}

.rph-summary-room h4 {
    margin: 0;
    font-size: 16px;
}

.rph-summary-dates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid var(--rph-border);
    border-bottom: 1px solid var(--rph-border);
}

.rph-summary-date .rph-label {
    display: block;
    font-size: 12px;
    color: var(--rph-text-light);
    margin-bottom: 4px;
}

.rph-summary-date .rph-value {
    font-weight: 600;
    display: block;
}

.rph-summary-date .rph-time {
    font-size: 12px;
    color: var(--rph-text-light);
}

.rph-summary-guests {
    padding: 12px 0;
    font-size: 14px;
    color: var(--rph-text-light);
}

.rph-summary-guests .dashicons {
    font-size: 16px;
    vertical-align: middle;
    margin-right: 4px;
}

.rph-summary-pricing {
    padding-top: 16px;
    border-top: 1px solid var(--rph-border);
}

.rph-price-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.rph-price-row.rph-discount {
    color: var(--rph-success);
}

.rph-price-row.rph-total {
    padding-top: 12px;
    margin-top: 8px;
    border-top: 1px solid var(--rph-border);
    font-size: 18px;
    font-weight: 700;
}

.rph-price-row.rph-total span:last-child {
    color: var(--rph-primary);
}

/* Payment form */
.rph-payment-form {
    max-width: 500px;
}

.rph-payment-info {
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--rph-text-light);
}

.rph-test-mode {
    display: inline-block;
    background: var(--rph-warning);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-right: 8px;
}

.rph-card-element-wrapper {
    margin-bottom: 24px;
}

.rph-card-element-wrapper label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

#rph-card-element {
    padding: 14px;
    border: 1px solid var(--rph-border);
    border-radius: var(--rph-radius);
    background: var(--rph-bg);
}

.rph-error-message {
    color: var(--rph-danger);
    font-size: 14px;
    margin-top: 8px;
}

.rph-global-error {
    padding: 12px 16px;
    background: #fee2e2;
    border-radius: var(--rph-radius);
    margin-bottom: 20px;
}

/* Processing state */
.rph-processing {
    text-align: center;
    padding: 60px 20px;
}

.rph-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--rph-border);
    border-top-color: var(--rph-primary);
    border-radius: 50%;
    animation: rph-spin 1s linear infinite;
    margin: 0 auto 20px;
}

/* ==========================================================================
   Booking Confirmation
   ========================================================================== */

.rph-confirmation {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.rph-confirmation-header {
    text-align: center;
    padding: 40px 20px;
}

.rph-success-icon {
    margin-bottom: 20px;
}

.rph-success-icon .dashicons {
    font-size: 64px;
    width: 64px;
    height: 64px;
    color: var(--rph-success);
}

.rph-confirmation-header h1 {
    margin: 0 0 12px 0;
    font-size: 32px;
}

.rph-confirmation-message {
    color: var(--rph-text-light);
    font-size: 16px;
}

.rph-confirmation-card {
    background: var(--rph-bg);
    border-radius: var(--rph-radius);
    box-shadow: var(--rph-shadow);
    padding: 32px;
    margin-bottom: 24px;
}

.rph-booking-number {
    text-align: center;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--rph-border);
}

.rph-booking-number .rph-label {
    display: block;
    font-size: 14px;
    color: var(--rph-text-light);
    margin-bottom: 8px;
}

.rph-booking-number .rph-value {
    font-size: 28px;
    font-weight: 700;
    font-family: monospace;
    color: var(--rph-primary);
}

.rph-confirmation-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--rph-border);
}

.rph-confirmation-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.rph-confirmation-section h3 {
    margin: 0 0 16px 0;
    font-size: 16px;
    color: var(--rph-text);
}

.rph-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (max-width: 576px) {
    .rph-detail-grid {
        grid-template-columns: 1fr;
    }
}

.rph-detail-item .rph-label {
    display: block;
    font-size: 12px;
    color: var(--rph-text-light);
    margin-bottom: 4px;
}

.rph-detail-item .rph-value {
    font-weight: 500;
}

.rph-detail-item .rph-value small {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: var(--rph-text-light);
}

.rph-price-breakdown {
    max-width: 300px;
}

.rph-payment-status {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--rph-border);
}

.rph-paid {
    color: var(--rph-success);
    font-weight: 600;
}

.rph-paid .dashicons {
    font-size: 16px;
    vertical-align: middle;
}

.rph-property-info {
    background: var(--rph-bg-alt);
    border-radius: var(--rph-radius);
    padding: 20px;
    margin-bottom: 24px;
}

.rph-property-info h3 {
    margin: 0 0 12px 0;
}

.rph-property-info p {
    margin: 8px 0;
    font-size: 14px;
}

.rph-property-info .dashicons {
    font-size: 16px;
    vertical-align: middle;
    margin-right: 8px;
    color: var(--rph-text-light);
}

.rph-confirmation-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* Print styles */
@media print {
    .rph-confirmation-actions {
        display: none;
    }
}

/* ==========================================================================
   Search Results (AJAX loaded)
   ========================================================================== */

.rph-search-results-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rph-result-card {
    display: flex;
    gap: 20px;
    background: var(--rph-bg);
    border: 1px solid var(--rph-border);
    border-radius: var(--rph-radius);
    padding: 16px;
}

@media (max-width: 576px) {
    .rph-result-card {
        flex-direction: column;
    }
}

.rph-result-image {
    flex: 0 0 180px;
}

.rph-result-image img {
    width: 180px;
    height: 120px;
    object-fit: cover;
    border-radius: var(--rph-radius);
}

.rph-no-image {
    width: 180px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rph-bg-alt);
    border-radius: var(--rph-radius);
}

.rph-no-image .dashicons {
    font-size: 32px;
    color: var(--rph-border);
}

.rph-result-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.rph-result-title {
    margin: 0 0 8px 0;
    font-size: 18px;
}

.rph-result-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--rph-text-light);
    margin-bottom: auto;
}

.rph-result-pricing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--rph-border);
}

.rph-result-price {
    display: flex;
    flex-direction: column;
}

.rph-price-total {
    font-size: 20px;
    font-weight: 700;
    color: var(--rph-primary);
}

.rph-price-info {
    font-size: 12px;
    color: var(--rph-text-light);
}

/* ==========================================================================
   Booking Form Addons & Pets
   ========================================================================== */

.rph-form-section {
    margin: 30px 0;
    padding: 20px;
    background: var(--rph-bg-alt);
    border-radius: var(--rph-radius);
}

.rph-form-section h3 {
    margin: 0 0 10px;
    font-size: 16px;
}

.rph-section-desc {
    margin: 0 0 15px;
    color: var(--rph-text-light);
    font-size: 14px;
}

.rph-pet-notice {
    padding: 10px 15px;
    background: #fef3c7;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 14px;
}

.rph-pet-notice p {
    margin: 0;
}

#pet-details {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--rph-border);
}

.rph-pet-fees {
    margin-top: 15px;
    padding: 12px;
    background: var(--rph-bg);
    border-radius: 6px;
    font-size: 14px;
}

.rph-pet-fees p {
    margin: 5px 0;
}

.rph-deposit-note {
    color: var(--rph-text-light);
    font-size: 12px;
}

/* Addons List */
.rph-addons-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rph-addon-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px;
    background: var(--rph-bg);
    border: 1px solid var(--rph-border);
    border-radius: var(--rph-radius);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.rph-addon-item:hover {
    border-color: var(--rph-primary);
}

.rph-addon-item.selected {
    border-color: var(--rph-primary);
    box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.15);
}

.rph-addon-info {
    flex: 1;
}

.rph-addon-info label {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rph-addon-info strong {
    font-size: 15px;
}

.rph-addon-desc {
    margin: 8px 0 0 26px;
    font-size: 13px;
    color: var(--rph-text-light);
}

.rph-addon-pricing {
    text-align: right;
    min-width: 120px;
}

.rph-addon-price {
    display: block;
    font-weight: 600;
    font-size: 16px;
    color: var(--rph-primary);
}

.rph-addon-price-type {
    display: block;
    font-size: 11px;
    color: var(--rph-text-light);
    margin-top: 2px;
}

.rph-addon-quantity {
    margin-top: 10px;
}

.rph-addon-quantity label {
    font-size: 12px;
    margin-right: 5px;
}

.rph-addon-quantity select {
    width: 60px;
    padding: 4px;
    font-size: 13px;
}

/* Summary sidebar dynamic rows */
.rph-addons-total,
.rph-pet-fee-row,
.rph-pet-deposit-row {
    color: var(--rph-text);
}
