/* ===================== БАЗА ===================== */

:root {
    --color-bg: #f4f6fb;
    --color-surface: #ffffff;
    --color-text: #1f2937;
    --color-muted: #6b7280;
    --color-border: #e5e7eb;
    --color-primary: #2563eb;
    --accent-pair: #2563eb;
    --accent-practice: #f97316;
    --accent-exam: #7c3aed;
    --accent-demo: #16a34a;
    --radius: 12px;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
    --shadow-md: 0 4px 14px rgba(16, 24, 40, 0.08);
    --shadow-lg: 0 10px 30px rgba(16, 24, 40, 0.12);
}

* {
    box-sizing: border-box;
}

.day__date {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    background: rgba(37, 99, 235, .12);
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
    vertical-align: middle;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.5;
}

.hidden {
    display: none !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* Метка «Замена» — жёлтая полоска слева + штрихованный фон */

.pair--replaced {
    position: relative;
    background-color: inherit;
}

.pair--replaced::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: repeating-linear-gradient( -45deg, rgba(255, 255, 255, 0.1) 0, rgba(255, 255, 255, 0.1) 5px, rgba(37, 99, 235, 0.35) 5px, rgba(37, 99, 235, 0.35) 10px);
    background-size: 18px 18px;
    mix-blend-mode: overlay;
    z-index: 1;
}

.pair--replaced>* {
    position: relative;
    z-index: 2;
}

.pair--replaced .pair__time {
    position: relative;
}

.pair--replaced::before,
.pair--replaced .pair__time::before,
.pair--replaced.pair--important::before {
    display: none !important;
}

.pair--replaced .pair__right {
    position: relative;
    padding-right: 8px;
    overflow: visible;
}

.pair--replaced {
    position: relative;
    overflow: visible;
}

.pair--replaced .pair__right::after {
    content: "ЗАМЕНА";
    position: absolute;
    right: -18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 9px;
    font-weight: 900;
    color: rgba(37, 99, 235, 1);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 1), 0 0 4px rgba(255, 255, 255, 0.8);
    z-index: 10;
    pointer-events: none;
    writing-mode: vertical-rl;
    text-orientation: upright;
    line-height: 1;
    letter-spacing: 0.5px;
}


/* Иконка «🔁» рядом с бейджами */

.pair__replace-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #facc15;
    color: #1f2937;
    font-size: 11px;
    font-weight: 700;
    position: relative;
    z-index: 4;
}

.pair__replace-icon i {
    color: #1f2937;
    font-size: 10px;
}


/* В карточке «Разговор о важном» — тоже жёлтая полоска */

.pair--important.pair--replaced::after {
    background-image: repeating-linear-gradient( -45deg, rgba(37, 99, 235, 0.25) 0, rgba(37, 99, 235, 0.25) 5px, transparent 5px, transparent 10px);
    mix-blend-mode: normal;
}


/* ===================== КНОПКИ ===================== */

.btn {
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-text);
    padding: 8px 14px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all .15s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.btn--ghost {
    background: transparent;
}

.btn--primary {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    text-decoration: none;
}

.btn--primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

.btn.is-loading {
    opacity: .7;
    cursor: default;
    pointer-events: none;
}


/* ===================== VIEW ===================== */

.view {
    padding: 28px 0 40px;
}

.view__head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.view__title {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    margin-right: auto;
}

.view__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.view__updated {
    font-size: 12px;
    color: var(--color-muted);
    white-space: nowrap;
}

.view__toolbar {
    margin-bottom: 20px;
}

.view__hint {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    font-size: 13px;
    color: var(--color-muted);
}

.view__title i {
    margin-right: 8px;
    color: var(--color-primary);
}


/* ===================== ПОИСК С ПОДСКАЗКАМИ ===================== */

.search {
    position: relative;
    max-width: 380px;
}

.search__icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-muted);
    font-size: 13px;
    pointer-events: none;
}

.search input {
    width: 100%;
    padding: 9px 14px 9px 34px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: border-color .15s;
    background: var(--color-surface);
}

.search input:focus {
    border-color: var(--color-primary);
}

.suggest {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    margin: 0;
    padding: 6px;
    list-style: none;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-primary);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    max-height: 320px;
    overflow-y: auto;
    z-index: 60;
}

.suggest__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}

.suggest__item:hover,
.suggest__item.is-active {
    background: rgba(37, 99, 235, .12);
}

.suggest__name {
    font-weight: 600;
}

.suggest__name mark {
    background: #dbeafe;
    color: #1e40af;
    border-radius: 3px;
    padding: 0 1px;
}

.suggest__meta {
    font-size: 12px;
    color: var(--color-muted);
    white-space: nowrap;
}

.suggest__empty {
    padding: 10px 12px;
    font-size: 13px;
    color: var(--color-muted);
}


/* ===================== LEGEND ===================== */

.legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 12px 16px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    margin-bottom: 24px;
    font-size: 13px;
    color: var(--color-muted);
}

.legend__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}


/* ===================== ИКОНКИ ===================== */

.btn i {
    font-size: 13px;
}

.filters__field i {
    color: var(--color-muted);
}

.legend__icon--pair {
    color: var(--accent-pair);
}

.legend__icon--practice {
    color: var(--accent-practice);
}

.legend__icon--exam {
    color: var(--accent-exam);
}

.legend__icon--demo {
    color: var(--accent-demo);
}

.group-card__name i {
    color: var(--color-primary);
    margin-right: 6px;
    font-size: 18px;
}

.group-card__meta i {
    width: 16px;
    color: var(--color-muted);
}

.group-card__count i {
    transition: transform .18s ease;
}

.group-card:hover .group-card__count i {
    transform: translateX(4px);
}

.pair i {
    color: #fff;
}

.pair__time i {
    margin-right: 6px;
    font-size: 13px;
    opacity: .85;
}

.pair__badge i {
    margin-right: 4px;
}

.pair__lesson-type {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.pair__lesson-type i {
    opacity: .85;
}

.pair__room i {
    margin-right: 5px;
}

.pair__comment i {
    margin-right: 5px;
}

.error i {
    margin-right: 8px;
}

.day__title i {
    margin-right: 8px;
    color: var(--color-primary);
}


/* ===================== КАРТОЧКИ ГРУПП ===================== */

.groups-course {
    font-size: 15px;
    font-weight: 800;
    color: var(--color-primary);
    margin: 26px 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(37, 99, 235, .18);
    display: flex;
    align-items: center;
    gap: 8px;
}

.groups-course:first-child {
    margin-top: 0;
}

.groups-course::before {
    content: "\f19d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 13px;
}

.groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.group-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 20px;
    cursor: pointer;
    transition: all .18s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.group-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #2563eb, #7c3aed);
    opacity: 0;
    transition: opacity .18s ease;
}

.group-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: #c7d2fe;
}

.group-card:hover::before {
    opacity: 1;
}

.group-card__name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.group-card__meta {
    font-size: 13px;
    color: var(--color-muted);
    margin-bottom: 4px;
}

.group-card__count {
    margin-top: 12px;
    font-size: 12px;
    color: var(--color-primary);
    font-weight: 600;
}


/* ===================== ФИЛЬТРЫ ===================== */

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.filters__field {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--color-muted);
}

.filters__field select {
    padding: 8px 34px 8px 12px;
    border: 1px solid var(--color-primary);
    border-radius: 10px;
    background-color: var(--color-surface);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%232563eb' d='M502.6 233.4l-192-160c-25-20.9-62.2-16.8-83 8.6l-86.6 104.4-40.4-38.1c-11.9-11.2-30-9.8-41.2 3.4L24.6 185.4c-12.5 14.7-10.9 37.4 3.7 49.9l96.4 82.7-96.4 82.7c-14.7 12.5-16.2 35.2-3.7 49.9l34.4 34.4c11.2 11.2 29.2 14.6 41.2 3.4l40.4-38.1 86.6 104.4c20.8 25.4 58 29.5 83 8.6l192-160c15.7-13.1 18.6-34.5 4.9-49.3l-32-32z'%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 11px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: border-color .15s, background-color .15s;
}

.filters__field select:hover {
    border-color: var(--color-primary);
    filter: brightness(.97);
}

.filters__field select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}

.filters__field select option {
    color: var(--color-text);
    background: var(--color-surface);
}

.filters__date {
    padding: 8px 12px;
    border: 1px solid var(--color-primary);
    border-radius: 10px;
    background: var(--color-surface);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    cursor: pointer;
    outline: none;
}

.filters__date:focus {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}


/* Замены */

.replace-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #f5f3ff;
    border: 1px solid #ddd6fe;
    color: #5b21b6;
    border-radius: var(--radius);
    padding: 14px 18px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.5;
}

.replace-box i {
    margin-top: 3px;
}

.replace-box__item {
    color: #6d28d9;
}

.replace-box__item+.replace-box__item::before {
    content: "; ";
}

.pair__badge--replace {
    background: #facc15;
    color: #1f2937;
}

.pair__badge--cancel {
    background: rgba(0, 0, 0, .3);
    color: #fff;
}

.pair__was {
    font-weight: 600;
}

.pair__was i {
    opacity: .85;
}

.pair--replaced {
    box-shadow: inset 0 0 0 3px rgba(37, 99, 235, .8);
}

.pair--cancelled {
    filter: grayscale(1);
    opacity: .6;
}

.pair--cancelled .pair__subject {
    text-decoration: line-through;
}

.pair--important.pair__badge--cancel {
    background: #6b7280;
}


/* ===================== РАСПИСАНИЕ ===================== */

.schedule {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.day {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: visible;
    box-shadow: var(--shadow-sm);
}

.day__head {
    padding: 14px 20px;
    background: #f9fafb;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.day__title {
    font-weight: 700;
    font-size: 16px;
}

.day__subtitle {
    font-size: 13px;
    color: var(--color-muted);
}

.day__body {
    display: flex;
    flex-direction: column;
}


/* --- Карточка пары --- */

.pair {
    display: grid;
    grid-template-columns: 132px 1fr auto;
    background: var(--accent-pair);
    color: #fff;
    align-items: stretch;
    transition: filter .15s ease;
}

.pair+.pair {
    border-top: 2px solid rgba(255, 255, 255, .35);
}

.pair:hover {
    filter: brightness(1.07);
}

.pair--pair {
    background: var(--accent-pair);
}

.pair--practice_edu,
.pair--practice_prod {
    background: var(--accent-practice);
}

.pair--exam {
    background: var(--accent-exam);
}

.pair--demo_exam,
.pair--vkr {
    background: var(--accent-demo);
}

.pair__time {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 14px 12px;
    background: rgba(0, 0, 0, .18);
    font-weight: 700;
    font-size: 14px;
    text-align: center;
}

.pair__time-num {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, .85);
}

.pair__main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 14px 18px;
    min-width: 0;
}

.pair--replaced .pair__main {
    position: relative;
    padding-right: 18px;
}

.pair__subject {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    word-wrap: break-word;
}

.pair__meta {
    font-size: 13px;
    color: rgba(255, 255, 255, .9);
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.pair__meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.pair__badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .3px;
    text-transform: uppercase;
    white-space: nowrap;
    background: rgba(255, 255, 255, .25);
    color: #fff;
}

.pair__lesson-type {
    font-weight: 600;
    color: #fff;
}

.pair__group {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .3px;
    white-space: nowrap;
    font-family: inherit;
    color: #fff;
    background: rgba(255, 255, 255, .25);
    border: none;
    border-radius: 999px;
    padding: 3px 10px;
    cursor: pointer;
    transition: background .15s;
}

button.pair__group:hover {
    background: rgba(255, 255, 255, .42);
}

.pair__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    padding: 14px 18px;
}

.pair__room {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, .22);
    padding: 4px 10px;
    border-radius: 8px;
    white-space: nowrap;
    font-family: inherit;
}

button.pair__room {
    border: none;
    cursor: pointer;
    transition: background .15s;
}

button.pair__room:hover {
    background: rgba(255, 255, 255, .34);
}

.pair__teacher {
    font-size: 12px;
    color: rgba(255, 255, 255, .9);
    text-align: right;
}

button.pair__teacher {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    border-bottom: 1px dashed rgba(255, 255, 255, .5);
}

button.pair__teacher:hover {
    color: #fff;
    border-bottom-color: #fff;
}

.pair--important button.pair__room:hover {
    background: #e5e7eb;
}

.pair--important button.pair__teacher {
    color: #374151;
    border-bottom-color: #9ca3af;
}

.pair--important button.pair__teacher:hover {
    color: #111827;
}

.pair--important .pair__badge--cancel {
    background: #6b7280;
}

.pair__subgroup {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: rgba(0, 0, 0, .22);
    padding: 2px 8px;
    border-radius: 6px;
}


/* Проверка дублей */

.conflict-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    border-radius: var(--radius);
    padding: 14px 18px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.4;
}

.conflict-box i {
    margin-top: 2px;
}

.pair--conflict-room {
    outline: 3px solid #ef4444;
    outline-offset: -3px;
}

.pair--conflict-teacher {
    outline: 3px dashed #f59e0b;
    outline-offset: -3px;
}

.pair--conflict-room.pair--conflict-teacher {
    outline: 3px solid #ef4444;
}

.pair__alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.35;
    color: #fff;
    margin-top: 4px;
}

.pair__alert i {
    margin-top: 2px;
}

.pair__alert--room {
    background: #dc2626;
}

.pair__alert--teacher {
    background: #d97706;
}

.pair__alert-item {
    display: inline;
    color: rgba(255, 255, 255, .9);
}


/* Текущая пара — жёлтая метка справа */

.pair--current {
    box-shadow: inset 0 0 0 3px #facc15;
}

.pair--current.pair--important {
    box-shadow: inset 0 0 0 3px #facc15;
}

.pair__now {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #facc15;
    color: #1f2937;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .4px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.pair__now i {
    font-size: 8px;
    color: #1f2937;
    animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: .35;
        transform: scale(.8);
    }
}


/* Разговор о важном — белый фон, чёрный текст, триколор слева */

.pair--important {
    background: #fff;
    color: #111827;
}

.pair--important:hover {
    filter: brightness(.98);
}

.pair--important i {
    color: #111827;
}

.pair--important .pair__time {
    background: #f3f4f6;
}

.pair--important .pair__time-num {
    color: #6b7280;
}

.pair--important .pair__subject {
    color: #111827;
}

.pair--important .pair__meta {
    color: #374151;
}

.pair--important .pair__badge {
    background: #e5e7eb;
    color: #111827;
}

.pair--important .pair__lesson-type {
    color: #111827;
}

.pair--important .pair__group {
    background: #e5e7eb;
    color: #111827;
}

.pair--important button.pair__group:hover {
    background: #d1d5db;
}

.pair--important .pair__room {
    background: #f3f4f6;
    color: #111827;
}

.pair--important .pair__teacher {
    color: #374151;
}

.pair--important .pair__subgroup {
    background: #fef3c7;
    color: #92400e;
}


/* Разговор о важном — небольшой триколор на левой границе карточки */

.pair--important::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 8px;
    background: linear-gradient(180deg, #ffffff 0 33.33%, #0039a6 33.33% 66.66%, #d52b1e 66.66% 100%);
}

.pair {
    position: relative;
}

.pair__comment {
    position: relative;
    padding: 8px 12px 8px 18px;
    border-radius: 8px;
    background: rgba(0, 0, 0, .2);
    color: #fff;
    font-weight: 500;
}

.pair__comment::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 7px;
    border-radius: 4px;
    background: linear-gradient(180deg, #ffffff 0 33.33%, #0039a6 33.33% 66.66%, #d52b1e 66.66% 100%);
}


/* ===================== LOADER ===================== */

.loader {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    gap: 16px;
}

.loader.active {
    display: flex;
}

.loader__spinner {
    font-size: 40px;
    color: var(--color-primary);
    animation: spin .9s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loader__text {
    color: var(--color-muted);
    font-size: 14px;
}


/* ===================== EMPTY / ERROR ===================== */

.empty {
    text-align: center;
    color: var(--color-muted);
    padding: 60px 20px;
    font-size: 15px;
}

.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-top: 20px;
    font-size: 14px;
}


/* ===================== FOOTER ===================== */

.footer {
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
    color: var(--color-muted);
    border-top: 1px solid var(--color-border);
    margin-top: 40px;
}


/* ===================== АДАПТИВ ===================== */

@media (max-width: 720px) {
    .view__updated {
        display: none;
    }
    .pair {
        grid-template-columns: 1fr;
    }
    .pair__time {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 2px;
    }
    .pair__right {
        align-items: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }
    .pair__room--empty {
        opacity: .6;
        font-weight: 500;
        font-style: italic;
    }
    .pair__teacher {
        text-align: left;
    }
    .view__head {
        gap: 10px;
    }
    .search {
        max-width: 100%;
    }
    .search input {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .groups-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .group-card {
        padding: 14px;
    }
    .group-card__name {
        font-size: 17px;
    }
}