/* Gnist Calendar Widget - Standalone */

.gnist-widget-calendar {
    max-width: 100%;
    margin: 20px 0;
    font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    position: relative;
}

.gnist-widget-calendar-nav {
    position: absolute;
    top: 12px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    z-index: 5;
    pointer-events: none;
}

.gnist-widget-prev,
.gnist-widget-next {
    background: #fff;
    border: 2px solid #22314E;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: #22314E;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    pointer-events: all;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.gnist-widget-prev:hover:not(:disabled),
.gnist-widget-next:hover:not(:disabled) {
    background: #22314E;
    color: #fff;
    border-color: #22314E;
    box-shadow: 0 4px 12px rgba(34, 49, 78, 0.3);
}

.gnist-widget-prev:disabled,
.gnist-widget-next:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.gnist-widget-calendar-content {
    padding: 20px 0;
}

.gnist-widget-months {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.gnist-widget-month h3 {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 16px 0;
    color: #222;
}

.gnist-widget-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.gnist-widget-day-header {
    text-align: center;
    padding: 8px 4px;
    font-size: 12px;
    font-weight: 600;
    color: #717171;
    text-transform: capitalize;
}

.gnist-widget-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4px;
    font-size: 14px;
    color: #222;
    position: relative;
    min-height: 50px;
}

.gnist-widget-day.empty {
    visibility: hidden;
}

.gnist-widget-day.past {
    color: #ddd;
    text-decoration: line-through;
}

.gnist-widget-day.booked {
    background: #E8EBF1;
    color: #999;
    text-decoration: line-through;
}

.gnist-widget-day-num {
    font-weight: 500;
}

.gnist-widget-price {
    font-size: 10px;
    color: #717171;
    margin-top: 2px;
    font-weight: 600;
}

.gnist-widget-day.booked .gnist-widget-price {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .gnist-widget-months {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .gnist-widget-day {
        font-size: 13px;
        min-height: 44px;
    }
    
    .gnist-widget-price {
        font-size: 9px;
    }
}
