/* Tab Navigation */
.view-tabs {
    display: flex;
    gap: 10px;
    margin: 20px 0 -1px 10px;
}

.tab-btn {
    padding: 10px 20px;
    border: 1px solid var(--vio-border);
    background: var(--vio-bg);
    color: var(--vio-text);
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.tab-btn:hover {
    background: var(--vio-surface);
}

.tab-btn.active {
    background: var(--vio-primary);
    color: white;
    border-color: var(--vio-primary);
}

/* View Containers */
.view-container {
    display: none;
    background: white;
    border-radius: 8px;
    padding: 10px;
    margin-top: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--vio-border);
}

.view-container.active {
    display: block;
}

.calendar-container {
    background: white;
    border-radius: 8px;
    padding: 10px;
    margin-top: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin-top: 10px;
}

.calendar-day {
    position: relative;
    padding: 6px;
    border-radius: 6px;
    border: 1px solid var(--vio-border);
    min-height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.calendar-day .date {
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.calendar-day .price {
    font-weight: 700;
    font-size: 14px;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.calendar-day.unavailable {
    background: repeating-linear-gradient(
        45deg,
        rgba(0,0,0,0.03),
        rgba(0,0,0,0.03) 6px,
        rgba(0,0,0,0.06) 6px,
        rgba(0,0,0,0.06) 12px
    );
}

.calendar-legend {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.legend-gradient {
    height: 10px;
    flex: 0.9;
    border-radius: 4px;
    background: linear-gradient(90deg, #10b981 0%, #ef4444 100%);
    border: 1px solid var(--vio-border);
}

.legend-gradient-extreme {
    height: 10px;
    flex: 0.1;
    border-radius: 4px;
    background: linear-gradient(90deg, #ef4444 0%, #8b5cf6 100%);
    border: 1px solid var(--vio-border);
}

@media (max-width: 768px) {
    .calendar-day {
        min-height: 40px;
        padding: 4px;
    }
}

