/* Booking Wrapper */
.vrbo-booking-wrapper {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Calendar Section */
.vrbo-calendar-section {
    background: #fff;
    padding: 25px 10px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.vrbo-calendar-section h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 20px;
}

#vrbo-calendar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 900px) {
    #vrbo-calendar {
        grid-template-columns: 1fr;
    }
}



.calendar-month {
    margin-bottom: 25px;
}

.month-header {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.day-header {
    text-align: center;
    font-weight: 600;
    font-size: 12px;
    color: #666;
    padding: 8px 0;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.2s;
}

.calendar-day.empty {
    background: transparent;
}

.calendar-day.available {
    background: #e8f5e9;
    color: #2e7d32;
    cursor: pointer;
    font-weight: 500;
}

.calendar-day.available:hover {
    background: #c8e6c9;
    transform: scale(1.05);
}

.calendar-day.booked {
    background: #ffebee;
    color: #c62828;
    cursor: not-allowed;
    text-decoration: line-through;
}

.calendar-day.selected {
    background: #2196f3;
    color: white;
    font-weight: 600;
}

.calendar-day.past {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

.calendar-legend {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.legend-color.available {
    background: #e8f5e9;
    border: 1px solid #2e7d32;
}

.legend-color.booked {
    background: #ffebee;
    border: 1px solid #c62828;
}

.legend-color.selected {
    background: #2196f3;
}

/* Booking Form */
.vrbo-booking-container {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.vrbo-booking-container h2 {
    margin: 0 0 25px 0;
    color: #333;
    text-align: center;
    font-size: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select {
    width: 100%;
    padding: 5px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #007bff;
}

.form-group select {
    cursor: pointer;
    background: white;
}

.payment-options {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.payment-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal;
}

.payment-options input[type="radio"] {
    cursor: pointer;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-right: 10px;
    margin-top: 10px;
}

.btn-primary {
    background-color: #007bff;
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn:not(.btn-primary) {
    background-color: #6c757d;
    color: white;
}

.btn:not(.btn-primary):hover {
    background-color: #545b62;
}

#availability-message {
    margin: 20px 0;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #c3e6cb;
    margin: 15px 0;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #f5c6cb;
    margin: 15px 0;
}

.price-breakdown {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin: 20px 0;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.price-row:last-child {
    border-bottom: none;
}

.price-row.total {
    border-top: 2px solid #333;
    margin-top: 10px;
    padding-top: 15px;
    font-size: 18px;
}

#payment-container {
    margin-top: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
}

#paypal-button-container {
    margin-top: 20px;
}

.venmo-info {
    text-align: center;
}

.venmo-info h3 {
    color: #3d95ce;
    margin-bottom: 20px;
}

.venmo-info p {
    margin: 10px 0;
    font-size: 16px;
}

.venmo-info strong {
    color: #333;
}

#venmo-complete-btn,
#venmo-cancel-btn {
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 900px) {
    .vrbo-booking-wrapper {
        grid-template-columns: 1fr;
    }
    
    .vrbo-calendar-section {
        position: relative;
        top: 0;
    }
}

@media (max-width: 600px) {
    .vrbo-booking-wrapper {
        padding: 10px;
    }
    
    .vrbo-calendar-section,
    .vrbo-booking-container {
        padding: 20px;
    }
    
    .calendar-grid {
        gap: 3px;
    }
    
    .calendar-day {
        font-size: 12px;
    }
    
    .payment-options {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        width: 100%;
        margin-right: 0;
    }
    
    .calendar-legend {
        flex-direction: column;
        gap: 8px;
    }
}

/* Admin Styles */
.wp-list-table th,
.wp-list-table td {
    padding: 12px;
}

.form-table th {
    padding: 20px 10px 20px 0;
    width: 200px;
}

.form-table td {
    padding: 15px 10px;
}

.form-table input[type="text"],
.form-table input[type="email"],
.form-table input[type="url"],
.form-table input[type="number"],
.form-table select,
.form-table textarea {
    padding: 8px;
}

.page-title-action {
    margin-left: 10px;
}

.wrap form {
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-top: 20px;
}