/**
 * Room Availability Status Widget Styles
 * File: assets/css/availability-status.css
 */

/* Container */
.rrs-availability-status-container {
    display: inline-block;
}

/* Status Badge */
.rrs-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    border: 2px solid;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Available State */
.rrs-status-badge.rrs-available {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

/* Booked State */
.rrs-status-badge.rrs-booked {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

/* Icon */
.rrs-status-icon {
    font-size: 20px;
    line-height: 1;
}

/* Text */
.rrs-status-text {
    font-size: inherit;
    font-weight: inherit;
}

/* Month */
.rrs-status-month {
    font-size: 14px;
    font-weight: 400;
    opacity: 0.8;
}

/* Hover Effect */
.rrs-status-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Animation on load */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.rrs-status-badge {
    animation: fadeInScale 0.4s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .rrs-status-badge {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .rrs-status-icon {
        font-size: 18px;
    }
    
    .rrs-status-month {
        font-size: 12px;
    }
}

/* Editor Preview */
.rrs-editor-preview {
    max-width: 400px;
}

.rrs-editor-preview .rrs-status-badge {
    width: 100%;
    justify-content: center;
}