/**
 * WP Rentals Calendar Sync CSS
 * 
 * Styles for the Airbnb-like calendar experience
 */

/* Style for the availability section to make it look clickable */
.property_page_container.wprentals_front_avalability {
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.property_page_container.wprentals_front_avalability:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Style for the click hint */
.availability-click-hint {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    display: flex;
    align-items: center;
    opacity: 0.8;
    z-index: 10;
}

.availability-click-hint i {
    margin-right: 5px;
}

/* Animation for the booking form highlight */
@keyframes highlight-pulse {
    0% { box-shadow: 0 0 0 0 rgba(66, 133, 244, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(66, 133, 244, 0); }
    100% { box-shadow: 0 0 0 0 rgba(66, 133, 244, 0); }
}

.highlight-booking-form {
    animation: highlight-pulse 1.5s 1;
    border: 1px solid rgba(66, 133, 244, 0.5) !important;
}

/* Call to action hint */
.calendar-book-now-hint {
    text-align: center;
    padding: 10px;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
    color: #3a7aa0;
    font-weight: 500;
    cursor: pointer;
}

.calendar-book-now-hint:hover {
    background-color: #f0f8ff;
}

/* Mobile styles */
@media (max-width: 767px) {
    .availability-click-hint.mobile-hint {
        bottom: auto;
        top: 15px;
        right: 15px;
        background-color: rgba(0, 0, 0, 0.8);
        opacity: 1;
    }
    
    .calendar-book-now-hint {
        padding: 12px;
        font-size: 14px;
    }
}