/* Admission test schedule and direct Drive-link buttons. */
.uni-test-schedule { --schedule-ink: #10243a; --schedule-muted: #617083; padding: 8px 0 34px; color: var(--schedule-ink); }
.uni-test-schedule__header { max-width: 800px; margin: 0 auto 50px; text-align: center; }
.uni-test-schedule__header .uni-eyebrow { margin-bottom: 10px; color: var(--primary-color); }
.uni-test-schedule__header h1 { margin: 0; color: var(--schedule-ink); font-size: clamp(36px, 4.5vw, 54px); line-height: 1.1; }
.uni-test-schedule__header h1::after { display: block; width: 80px; height: 4px; margin: 22px auto 0; content: ''; background: var(--secondary-color); border-radius: 4px; }
.uni-test-schedule__header > p:last-child:not(.uni-eyebrow) { max-width: 650px; margin: 20px auto 0; color: var(--schedule-muted); font-size: 17px; line-height: 1.7; }
.uni-test-schedule__groups { display: grid; gap: 30px; }
.uni-test-schedule-group { overflow: hidden; background: #fff; border: 1px solid var(--border-color); border-radius: 14px; box-shadow: 0 12px 34px rgba(16, 36, 61, .07); }
.uni-test-schedule-group__header { position: relative; display: flex; min-height: 74px; align-items: center; gap: 17px; padding: 20px 27px; background: #f6f8fa; border-bottom: 1px solid var(--border-color); }
.uni-test-schedule-group__header > span { width: 10px; height: 36px; flex: 0 0 10px; background: var(--primary-color); border-radius: 10px; }
.uni-test-schedule-group__header h2 { margin: 0; color: var(--schedule-ink); font-size: clamp(21px, 2.5vw, 28px); line-height: 1.3; }
.uni-test-schedule__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 25px; gap: 18px; }
.uni-test-wave { position: relative; display: flex; min-height: 126px; align-items: center; gap: 15px; padding: 22px 20px; overflow: hidden; color: var(--schedule-ink); background: #fff; border: 1px solid var(--border-color); border-radius: 11px; text-decoration: none; transition: border-color var(--transition), box-shadow var(--transition), color var(--transition), transform var(--transition); }
.uni-test-wave::after { position: absolute; right: -35px; bottom: -45px; width: 110px; height: 110px; content: ''; background: rgba(168, 12, 39, .045); border-radius: 50%; }
a.uni-test-wave:hover,
a.uni-test-wave:focus { color: var(--primary-color); border-color: rgba(168, 12, 39, .42); box-shadow: 0 13px 28px rgba(16, 36, 61, .12); outline: none; transform: translateY(-4px); }
a.uni-test-wave:focus-visible { box-shadow: 0 0 0 4px rgba(168, 12, 39, .16), 0 13px 28px rgba(16, 36, 61, .12); }
.uni-test-wave__number { position: relative; z-index: 1; display: grid; width: 46px; height: 46px; flex: 0 0 46px; place-items: center; color: #fff; background: var(--primary-color); border-radius: 50%; font-size: 13px; font-weight: 900; }
.uni-test-wave__copy { position: relative; z-index: 1; display: grid; min-width: 0; gap: 5px; }
.uni-test-wave__copy strong { color: inherit; font-size: 18px; line-height: 1.3; }
.uni-test-wave__copy small { color: var(--schedule-muted); font-size: 14px; line-height: 1.4; }
.uni-test-wave__arrow { position: relative; z-index: 1; margin-left: auto; color: var(--primary-color); font-size: 21px; font-weight: 900; transition: transform var(--transition); }
a.uni-test-wave:hover .uni-test-wave__arrow { transform: translate(3px, -3px); }
.uni-test-wave.is-disabled { color: #7d8995; background: #f6f7f8; cursor: not-allowed; }
.uni-test-wave.is-disabled .uni-test-wave__number { background: #909aa4; }
.uni-test-wave.is-disabled .uni-test-wave__arrow { display: none; }
.uni-test-schedule__empty { padding: 31px 27px; margin: 0; color: var(--schedule-muted); font-style: italic; }

@media (max-width: 900px) {
    .uni-test-schedule__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
    .uni-test-schedule__header { margin-bottom: 38px; text-align: left; }
    .uni-test-schedule__header h1::after { margin-left: 0; }
    .uni-test-schedule-group__header { min-height: 66px; padding: 17px 19px; }
    .uni-test-schedule-group__header > span { height: 31px; }
    .uni-test-schedule__grid { grid-template-columns: 1fr; padding: 17px; gap: 14px; }
    .uni-test-wave { min-height: 112px; padding: 18px 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .uni-test-wave, .uni-test-wave__arrow { transition: none; }
}
