/* Buttons */
.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding: 12px 16px;
    border-radius: 14px;
    font-weight: 900;
    letter-spacing: .01em;

    border: 0;
    cursor:pointer;
    user-select:none;

    box-shadow: 0 10px 22px rgba(15,23,42,.10);
    transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
.btn:hover{ transform: translateY(-1px); filter: brightness(1.02); }
.btn:active{ transform: translateY(0); filter: brightness(.99); }
.btn:focus-visible{ outline:none; box-shadow: 0 10px 22px rgba(15,23,42,.10), var(--focus); }

.btn--primary{
    background: linear-gradient(180deg, var(--blue), var(--blue2));
    color:#fff;
}
.btn--secondary{
    background: var(--blue-soft);
    color: var(--blue2);
    border: 1px solid rgba(37,99,235,.18);
    box-shadow: 0 10px 22px rgba(37,99,235,.14);
}
.btn--orange{
    background: linear-gradient(180deg, #FDBA2D, var(--orange));
    color:#1F2937;
}
.btn--mini{
    padding: 10px 14px;
    border-radius: 14px;
    font-weight: 950;
}
.btn--wide{ width:100%; }



.card{
    border-radius: var(--radius);
    padding: 16px;
}

.card--glass{
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(226,232,240,.95);
    box-shadow: var(--shadow-md);
}

.card__head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.card__title{
    margin: 0;
    font-weight: 950;
    font-size: 18px;
}












/* Chips / pills */
.chip{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    height: 40px;
    min-width: 56px;

    padding: 0 12px;
    border-radius: 14px;

    background: var(--surface);
    border: 1px solid var(--stroke);
    box-shadow: 0 10px 22px rgba(15,23,42,.08);

    color: var(--text);
    font-weight: 900;
    font-size: 13px;
}
.chip--lang{ cursor:pointer; }
.chip--lang:hover{ background: var(--surface-soft); }
.chip--lang:focus-visible{ outline:none; box-shadow: var(--focus); }

.chip--tiny{
    height: 30px;
    min-width: 30px;
    padding: 0 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 900;
}

/* Бейджи */
.badge{
    display:inline-flex;
    align-items:center;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 850;
    font-size: 12px;
    border: 1px solid rgba(226,232,240,.9);
    background: var(--surface);
    box-shadow: 0 10px 22px rgba(15,23,42,.06);
}
.badge--blue{ background: #EFF6FF; border-color: rgba(37,99,235,.18); color: var(--blue2); }
.badge--green{ background: #ECFDF5; border-color: rgba(34,197,94,.18); color: #166534; }
.badge--purple{ background: #F5F3FF; border-color: rgba(139,92,246,.18); color: #5B21B6; }

/* Пилюли */
.pill{
    display:inline-flex;
    align-items:center;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 12px;
    background: var(--surface-soft);
    border: 1px solid rgba(226,232,240,.95);
}

.pill--soft{
    background: #F1F5FF;
    border-color: rgba(37,99,235,.14);
    color: var(--blue2);
}

.cookie-banner[hidden] {
    display: none !important;
}

.cookie-banner {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 20px;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 18px;
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.94);
    color: #F8FAFC;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.26);
}

.cookie-banner__text {
    display: grid;
    gap: 4px;
    max-width: 760px;
}

.cookie-banner__text strong {
    font-size: 14px;
    font-weight: 800;
}

.cookie-banner__text span {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(248, 250, 252, 0.84);
}

.cookie-banner__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-banner__link {
    color: #BFDBFE;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.cookie-banner__link:hover {
    color: #FFFFFF;
}

.cookie-banner__button {
    min-height: 44px;
    padding-inline: 18px;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        border-radius: 18px;
    }

    .cookie-banner__actions {
        justify-content: space-between;
    }

    .cookie-banner__button {
        width: auto;
    }
}

