/* Guest Portal Container Styles */
.guest-portal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 16px;
}


/* Dashboard Container */
.dashboard-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 24px;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    width: 100%;
}

/* Detail Headings */
.detail-headings {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.detail-headings h1 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 30px;
    color: #1a1a1a;
}

.detail-headings iconify-icon {
    color: #4a5568;
}

.tile-header {
    margin-bottom: 24px;
}

.tile-header h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #2d3748;
}

.tile-icon {
    color: #4a5568;
}

/* Table Styles */
.table-responsive {
    margin: 16px 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.table {
    margin-bottom: 0;
}

.table th {
    background-color: #f8fafc;
    color: #4a5568;
    font-weight: 600;
    padding: 16px;
}

.table td {
    padding: 16px;
    vertical-align: middle;
}

/* Badge Styles */
.badge {
    padding: 8px 12px;
    font-weight: 500;
    font-size: 14px;
}

/* Tile Footer */
.tile-footer {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-actions .rns-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 14px;
}

.header-actions .rns-btn iconify-icon {
    color: inherit;
}

.property-info-actions{
display:flex;
flex-flow: row wrap;
gap: 10px;
margin-top: 12px;
}

/* === Guest Reservations Styles === */
/* Container */
.rns-guest-reservations-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 16px;
}

/* Loading and Error States */
.rns-loading-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 48px 16px;
}

.rns-alert {
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid transparent;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rns-alert-error {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

.rns-alert-success {
    color: #0a3622;
    background-color: #d1eddf;
    border-color: #badbcc;
}

.rns-alert-info {
    color: #055160;
    background-color: #cff4fc;
    border-color: #b6effb;
}



/* Payment Success Styles */
.rns-payment-success {
    text-align: center;
    padding: 2rem 1rem;
}

.rns-success-content {
    max-width: 500px;
    margin: 0 auto;
}

.rns-success-icon {
    margin-bottom: 1.5rem;
}

.rns-success-details {
    text-align: left;
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

/* Payment Summary Section */
.rns-payment-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #dee2e6;
}

.payment-amount, .balance-info {
    text-align: center;
}

.amount-label, .balance-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.amount-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0a3622;
}

.balance-value {
    font-size: 1.25rem;
    font-weight: 600;
}

.remaining-balance .balance-value {
    color: #fd7e14; /* Orange for remaining balance */
}

.balance-paid .balance-value {
    color: #0a3622; /* Green for fully paid */
}

.balance-unknown .balance-value {
    color: #6c757d; /* Gray for unknown/applied status */
}

/* Reservation Summary Section */
.rns-reservation-summary {
    border-top: 1px solid #dee2e6;
    padding-top: 1rem;
}

.rns-reservation-summary p {
    margin-bottom: 0.75rem;
    color: #495057;
}

.rns-reservation-summary p:last-child {
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .rns-payment-summary {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Current Balance Display at Top of Payment Form */
.rns-current-balance-display {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.rns-balance-info-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.25rem;
}

.rns-balance-info-header iconify-icon {
    font-size: 1.25rem;
    color: #6c757d;
}

.rns-balance-info-header .balance-label {
    color: #6c757d;
}

.rns-balance-info-header .balance-amount {
    color: #fd7e14;
    font-weight: 700;
    font-size: 1.25rem;
}


/* Responsive for balance display */
@media (max-width: 576px) {
    .rns-balance-info-header {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .rns-balance-info-header .balance-amount {
        font-size: 1.5rem;
    }
}

/* Payment Review Page Styling - Compact Version */
.rns-payment-review {
    padding: 0;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.rns-review-section {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.rns-section-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #dee2e6;
}

.rns-section-header iconify-icon {
    font-size: 1rem;
    color: #0a3622;
}

.rns-section-header h4 {
    color: #0a3622;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

/* Payment Amount Section - Compact */
.rns-payment-amount-section {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
    border-color: #0a3622;
    text-align: center;
    padding: 0.75rem;
}

.rns-amount-display {
    padding: 0;
}

.rns-amount-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: #0a3622;
    margin-bottom: 0.25rem;
}

.rns-amount-label {
    display: block;
    color: #6c757d;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Inline Labels */
.rns-inline-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
    margin-top: 0.5rem;
}

.rns-inline-label:first-child {
    margin-top: 0;
}

/* Compact Payment Method */
.rns-payment-method-compact {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
}

.rns-payment-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.rns-payment-icon {
    font-size: 1.25rem;
    color: #0a3622;
}

.rns-payment-text {
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    color: #0a3622;
    font-weight: 600;
}

.rns-payment-name {
    font-size: 0.875rem;
    color: #495057;
    font-weight: 500;
    margin-left: 1.75rem;
}

/* Compact Billing */
.rns-billing-compact {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 0.75rem;
}

.rns-address-compact {
    font-size: 0.875rem;
    color: #495057;
    line-height: 1.3;
}

/* Compact Reservation */
.rns-reservation-compact {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 0.75rem;
}

.rns-reservation-line {
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    color: #495057;
    line-height: 1.3;
}

.rns-reservation-line:last-child {
    margin-bottom: 0;
}

.rns-reservation-line strong {
    color: #0a3622;
    font-weight: 600;
}


/* Modal Scrolling Fix */
.rns-modal-content {
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.rns-modal-body {
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

/* Footer Notice - Step 2 Only */
.rns-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.rns-footer-notice {
    background: #e7f3ff;
    border: 1px solid #b3d9ff;
    border-radius: 4px;
    padding: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    flex: 1;
    max-width: 60%;
}

.rns-footer-notice iconify-icon {
    color: #0066cc;
    font-size: 1rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.rns-footer-notice p {
    margin: 0;
    color: #004080;
    font-size: 0.75rem;
    line-height: 1.4;
}

.rns-footer-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* Responsive Design for Review Page */
@media (max-width: 768px) {
    .rns-payment-review {
        max-height: calc(100vh - 180px);
    }
    
    .rns-amount-value {
        font-size: 1.5rem;
    }
    
    .rns-review-section {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .rns-section-header h4 {
        font-size: 0.9rem;
    }
    
    /* Stack footer notice above buttons on mobile */
    .rns-modal-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .rns-footer-notice {
        max-width: 100%;
        order: 1;
    }
    
    .rns-footer-buttons {
        order: 2;
        justify-content: center;
    }
    
    /* Responsive unit header layout */
    .rns-unit-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .rns-property-info {
        max-width: 100%;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid #e5e7eb;
        padding-top: 15px;
    }
    
    .rns-property-image {
        width: 100%;
        max-width: 100%;
    }
}

.checkout-payment-input{
    gap:0px;
}

/* Same as Guest Checkbox */
.rns-same-as-guest-check {
    margin: 10px 0px 0px 0px;
    padding: 10px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.rns-same-as-guest-check:hover {
    background: #e9ecef;
    border-color: #ced4da;
}

.rns-same-as-guest-check .rns-form-check-input {
    margin: 0;
    flex-shrink: 0;
}

.rns-same-as-guest-check .rns-form-check-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #495057;
    margin-bottom: 0;
    cursor: pointer;
    flex: 1;
}

.rns-same-as-guest-check .rns-form-check-label iconify-icon {
    color: #0a3622;
    font-size: 1.125rem;
}

/* Removed broad mobile styles - .rns-same-as-guest-check already has proper flex layout */

/* Map Styles */
.rns-map-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rns-map {
    width: 100%;
    height: 600px;
    border-radius: 6px;
    overflow: hidden;
}

.rns-map-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 16px;
    flex-wrap: wrap;
}

.rns-map-actions .rns-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    min-width: 180px;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.rns-map-actions .rns-btn iconify-icon {
    font-size: 20px;
}

/* Primary Button */

.rns-map-actions .rns-btn:hover {
    background-color: var(--primary-color, #0056b3);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Secondary Button */
.rns-map-actions .rns-btn-secondary {
    background-color: #4285f4;
    color: white;
}

.rns-map-actions .rns-btn-secondary:hover {
    background-color: #3367d6;
}

/* Outline Button */
.rns-map-actions .rns-btn-outline {
    background-color: transparent;
    color: #4a5568;
    border: 1px solid #e2e8f0;
}

.rns-map-actions .rns-btn-outline:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

@media (max-width: 768px) {
    .rns-map {
        height: 400px;
    }

    .rns-map-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .rns-map-actions .rns-btn {
        width: 100%;
    }

    .table-responsive {
        overflow: auto;
    }

}

.rns-rental-terms {
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 16px;
    background-color: #f8f9fa;
    max-height: 400px; 
    overflow-y: auto;
}

.rns-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: -2px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: rns-spinner-border .75s linear infinite;
}

@keyframes rns-spinner-border {
  to { transform: rotate(360deg); }
}

.rns-text-muted { color: #6c757d; }
.rns-text-small { font-size: 14px; }

/* === Payment Review Step Styles === */

.rns-review-section {
    margin-bottom: 24px;
}

.rns-review-table {
    width: 100%;
    font-size: 15px;
}

.rns-review-table th,
.rns-review-table td {
    padding: 8px 0;
    vertical-align: top;
}

.rns-review-table th {
    text-align: left;
    font-weight: 500;
    width: 150px; /* Adjust width as needed */
    color: #555;
}

/* Reservation Card */
.rns-reservation-card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 32px;
    overflow: hidden;
}

.rns-card-content {
    display: flex;
    gap: 20px;
    padding: 20px;
}

/* Property Image */
.rns-property-image {
    width: 100%;
    overflow: hidden;
    height: 175px;
    width: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: opacity 0.3s ease;
}

.rns-property-image.loading {
    opacity: 0.6;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 0.3; }
    100% { opacity: 0.6; }
}

.rns-property-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.rns-property-thumbnail:hover {
    transform: scale(1.05);
}

/* Content Section */
.rns-content-section {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rns-property-info {
    flex: 1;
    min-width: 0;
    max-width: calc(100% - 270px); /* Account for image width + gap */
    padding-bottom: 12px;
}

.rns-property-info h4 {
    margin: 0 0 8px 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #2d3748;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.rns-unit-header-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.rns-unit-header-link:hover h4 {
    color: #0a3622;
}

.rns-unit-header h5 {
    margin: 0 0 8px 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2d3748;
}

.rns-unit-header {
    display: flex;
    gap: 20px;
    flex-flow: row nowrap;
    border-bottom: 1px solid #e5e7eb;
    align-items: flex-start;
    min-height: 200px;
}


/* Property Details */
.rns-property-amenities {
    margin-top: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.rns-detail-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background-color: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    color: #4a5568;
    white-space: nowrap;
}

.rns-detail-item iconify-icon {
    font-size: 18px;
    color: #666;
}

/* Property Address */
.rns-property-address {
    margin-top: 12px;
    font-size: 15px;
}

.rns-address-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #4a5568;
    text-decoration: none;
    transition: color 0.2s ease;
    padding: 4px 0;
}

.rns-address-link:hover {
    color: var(--primary-color);
}

.rns-address-link iconify-icon {
    color: var(--primary-color);
    font-size: 19px;
}

/* Reservation Details */
.rns-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.rns-reservation-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rns-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rns-info-item:last-child {
    margin-bottom: 0;
}

.rns-info-item iconify-icon {
    font-size: 18px;
    color: #666;
    flex-shrink: 0;
}

.rns-badge-pending {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 12px;
    background-color: #fef3c7;
    color: #92400e;
    margin-left: 8px;
}

.rns-badge-success {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 12px;
    background-color: #d1fae5; /* Light green */
    color: #065f46;      /* Dark green */
    margin-left: 8px;
}

/* Actions Section */
.rns-actions-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-left: 20px;
    border-left: 1px solid #e5e7eb;
    min-width: 250px;
}

.rns-action-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Terms Status Text */
.rns-terms-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    width: 100%;
    text-align: center;
}

.rns-terms-status.accepted {
    background-color: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.rns-terms-status.not-accepted {
    background-color: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.rns-terms-status iconify-icon {
    font-size: 18px;
}

.rns-form-check-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border: 1px solid #e2e8f0; /* Light grey border */
    border-radius: 6px;
    background-color: #f8f9fa; /* Subtle light background */
    transition: background-color 0.2s ease, border-color 0.2s ease;
    margin-top: 10px; /* Add some space above it */
    margin-bottom: 10px; /* Add some space below it */
}

/* Styles when the checkbox within .rns-form-check-inline is checked */
.rns-form-check-inline:has(input.rns-form-check-input[type="checkbox"]:checked) {
    background-color: #ecfdf5; /* Light green background */
    border-color: #a7f3d0;     /* Complementary green border */
}

/* Optional: Adjust label color when checked for better contrast if needed */
.rns-form-check-inline:has(input.rns-form-check-input[type="checkbox"]:checked) label.rns-form-check-label {
    color: #065f46; /* Darker green text for contrast, if desired */
}

.rns-form-check-inline input.rns-form-check-input[type="checkbox"] {
    flex-grow: 0;   /* Do not grow beyond content size */
    flex-shrink: 2; /* Do not shrink smaller than content size */
}

.rns-form-check-inline label.rns-form-check-label {
    flex-grow: 1;   /* Allow label to take up remaining horizontal space */
    flex-shrink: 1; /* Allow label to shrink if space is very limited */
    min-width: 0;   /* Allows flex-shrink to work properly with long text */
}

/* Action Buttons (View Terms, View Map) */
.rns-action-btn {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 8px 12px;
    font-weight: 500;
    color: #4a5568;
    background-color: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    gap: 8px;
}

.rns-action-btn:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
    color: var(--primary-color);
}

.rns-action-btn iconify-icon {
    font-size: 18px;
}

/* Balance Section */
.rns-balance-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    background-color: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    min-width: 200px;
}

.rns-balance-amount {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.rns-balance-label {
    color: #4a5568;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.rns-balance-value {
    font-size: 28px;
    color: #1a202c;
    font-weight: 700;
    line-height: 1.2;
}

.rns-balance-due {
    font-size: 16px;
    color: #dc2626;
    font-weight: 600;
    
}

/* Status Buttons */
.rns-status-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rns-status-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
}

.rns-status-button.rns-status-success {
    background-color: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.rns-view-terms-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4a5568;
    text-decoration: none;
    padding: 8px 12px;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background-color: transparent;
}

.rns-view-terms-link:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
    color: var(--primary-color);
}

.rns-view-terms-link iconify-icon {
    font-size: 18px;
}

.rns-btn-success-outline {
    background-color: transparent;
    border: 1px solid #6ee7b7; /* Brighter green border */
    color: #047857; /* Medium green text */
}

.rns-btn-success-outline:hover {
    background-color: #ecfdf5; /* Very light green background on hover */
    border-color: #34d399; /* Darker green border on hover */
    color: #059669; /* Slightly darker green text on hover */
}

/* Reservations Header Styles */
.rns-reservations-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.guest-header-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .guest-header-actions {
        flex-direction: row;
        gap: 1rem;
        justify-content: flex-end;
        flex-wrap: nowrap;
    }
}

@media (max-width: 767px) {
    .rns-reservations-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .guest-header-actions {
        width: 100%;
        justify-content: stretch;
    }
    
    .guest-header-actions .rns-btn {
        flex: 1;
        text-align: center;
        justify-content: center;
    }
    
    /* Mobile payment type selection improvements */
    .payment-type-selection {
        flex-direction: column;
        gap: 12px;
    }
    
    .payment-type-selection .rns-form-check {
        width: 100%;
        justify-content: flex-start;
    }
}

/* Responsive Styles */
@media (max-width: 1000px) {
    .rns-card-content {
        flex-direction: column;
        gap: 16px;
    }

    .rns-content-section {
        flex: none;
        width: 100%;
        border-bottom: 1px solid #e5e7eb;
        padding-bottom: 16px;
    }

    .rns-actions-section {
        flex: none;
        width: 100%;
        border-left: none;
        padding-left: 0;
    }

    .rns-details-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .rns-reservation-info {
        gap: 4px;
    }

    .rns-unit-header {
        flex-direction: column;
        gap: 15px;
        min-height: auto;
    }

    .rns-property-image {
        flex: none;
        width: 100%;
        height: 200px;
    }

    .rns-property-info {
        max-width: 100%;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid #e5e7eb;
        padding-top: 15px;
    }

    .rns-balance-section {
        width: 100%;
    }
}
