﻿/* wwwroot/styles/clinic-tabs.css */

/* ============================================
   КНОПКИ ВЫБОРА КЛИНИКИ (ОБЩИЕ ДЛЯ ДОКТОРОВ И УСЛУГ)
   ============================================ */

.clinic-tabs {
    background: var(--background-color-blue-20, #f4f6f7);
    border-radius: 24px;
    padding: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.clinic-tab {
    flex: 1;
    padding: 8px 16px;
    height: 40px;
    border-radius: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: 'OpenRunde-Medium', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color-black-40, #a4a5a8);
    transition: all 0.2s ease;
    min-width: 120px;
    text-align: center;
}

    .clinic-tab.active {
        background: var(--background-color-yellow-100, #ebb738);
        color: var(--text-color-black-80, #494c51);
    }

    .clinic-tab:hover:not(.active) {
        background: var(--background-color-blue-30, #e3e7ea);
        color: var(--text-color-black-60, #77797d);
    }

/* Адаптив */
@media (max-width: 768px) {
    .clinic-tabs {
        flex-wrap: wrap;
    }

    .clinic-tab {
        flex: auto;
        min-width: calc(50% - 4px);
    }
}