@font-face {
    font-family: "Vazirmatn";
    src: url("./fonts/Vazirmatn-Variable.f6d31671339d.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    color-scheme: light;

    --navy-950: #06182a;
    --navy-900: #092a4a;
    --navy-800: #0d3d67;
    --blue-700: #155f9c;
    --blue-600: #1f78bd;
    --cyan-500: #13a8a4;
    --cyan-400: #47d5ca;
    --violet-500: #7467e8;
    --pink-500: #e45c9e;
    --gold: #c9a34d;

    --page-start: #edf3f8;
    --page-middle: #f8fafc;
    --page-end: #edf3f8;

    --surface: rgba(255, 255, 255, 0.90);
    --surface-solid: #ffffff;
    --surface-soft: #f8fafc;
    --surface-input: #fbfcfe;

    --text: #0d1b2b;
    --heading: #06182a;
    --muted: #667085;
    --border: rgba(13, 61, 103, 0.12);
    --border-strong: #dce3eb;

    --success: #14835f;
    --success-soft: #eaf8f2;
    --danger: #b42318;
    --danger-soft: #fff0ee;
    --warning: #945a0a;
    --warning-soft: #fff8e7;

    --shadow-sm: 0 10px 30px rgba(6, 24, 42, 0.07);
    --shadow-md: 0 22px 60px rgba(6, 24, 42, 0.10);
    --shadow-lg: 0 32px 90px rgba(6, 24, 42, 0.16);

    --r-sm: 14px;
    --r-md: 22px;
    --r-lg: 30px;
}

:root[data-theme="dark"] {
    color-scheme: dark;

    --page-start: #07111d;
    --page-middle: #0a1726;
    --page-end: #081421;

    --surface: rgba(15, 29, 46, 0.90);
    --surface-solid: #101f31;
    --surface-soft: #132438;
    --surface-input: #0d1c2d;

    --text: #e7eef7;
    --heading: #f5f9ff;
    --muted: #9daabd;
    --border: rgba(130, 171, 211, 0.16);
    --border-strong: #29415a;

    --success: #58d0a4;
    --success-soft: rgba(38, 156, 116, 0.14);
    --danger: #ff8d83;
    --danger-soft: rgba(205, 68, 56, 0.14);
    --warning: #f0bd68;
    --warning-soft: rgba(201, 141, 45, 0.14);

    --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.18);
    --shadow-md: 0 22px 60px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 32px 90px rgba(0, 0, 0, 0.34);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.85;
    background:
        linear-gradient(
            180deg,
            var(--page-start) 0%,
            var(--page-middle) 50%,
            var(--page-end) 100%
        );
    overflow-x: hidden;
    transition: color 180ms ease, background 180ms ease;
}

/* جلوگیری از انتخاب و Drag متن‌ها و تصاویر؛ ورودی‌ها قابل ویرایش باقی می‌مانند. */
body,
body *:not(input):not(textarea):not(select):not(option) {
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
}

input,
textarea,
select,
option {
    -webkit-user-select: text;
    user-select: text;
}

img,
a {
    -webkit-user-drag: none;
    user-drag: none;
}

body::before,
body::after {
    content: "";
    position: fixed;
    z-index: -3;
    border-radius: 50%;
    pointer-events: none;
}

body::before {
    width: 430px;
    height: 430px;
    top: -190px;
    right: -120px;
    background:
        radial-gradient(circle, rgba(31, 120, 189, 0.24), transparent 68%);
}

body::after {
    width: 370px;
    height: 370px;
    bottom: -170px;
    left: -110px;
    background:
        radial-gradient(circle, rgba(19, 168, 164, 0.20), transparent 68%);
}

:root[data-theme="dark"] body::before {
    background:
        radial-gradient(circle, rgba(60, 150, 224, 0.20), transparent 68%);
}

:root[data-theme="dark"] body::after {
    background:
        radial-gradient(circle, rgba(44, 196, 183, 0.15), transparent 68%);
}

.page-bg {
    position: fixed;
    inset: 0;
    z-index: -4;
    opacity: 0.34;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(13, 61, 103, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 61, 103, 0.035) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

:root[data-theme="dark"] .page-bg {
    opacity: 0.16;
    background-image:
        linear-gradient(rgba(115, 174, 229, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(115, 174, 229, 0.12) 1px, transparent 1px);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

.page-shell {
    width: min(1180px, calc(100% - 34px));
    margin: 0 auto;
    padding: 26px 0 40px;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 8px 4px 25px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.brand-mark {
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 24px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.98),
            rgba(243, 248, 252, 0.82)
        );
    border: 1px solid rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(14px);
}

:root[data-theme="dark"] .brand-mark {
    background:
        linear-gradient(
            145deg,
            rgba(24, 44, 66, 0.96),
            rgba(12, 28, 44, 0.92)
        );
    border-color: rgba(130, 171, 211, 0.15);
}

.brand-mark img {
    width: 63px;
    height: 63px;
    object-fit: contain;
}

.brand-fallback {
    color: var(--blue-700);
    font-weight: 900;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-university {
    color: var(--blue-700);
    font-size: 0.84rem;
    font-weight: 800;
}

:root[data-theme="dark"] .brand-university {
    color: #69b9f0;
}

.brand-copy strong {
    color: var(--heading);
    font-size: clamp(1.2rem, 2.2vw, 1.72rem);
    line-height: 1.45;
    font-weight: 900;
}

.brand-copy > span:last-child {
    color: var(--muted);
    font-size: 0.92rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.theme-toggle {
    position: relative;
    width: 47px;
    height: 47px;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: var(--navy-800);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition:
        transform 160ms ease,
        border-color 160ms ease,
        background 160ms ease;
}

.theme-toggle:hover {
    transform: translateY(-2px) rotate(-4deg);
    border-color: rgba(31, 120, 189, 0.35);
}

.theme-icon {
    position: absolute;
    font-size: 1.3rem;
    line-height: 1;
    transition:
        transform 220ms ease,
        opacity 220ms ease;
}

.theme-icon-light {
    opacity: 1;
    transform: translateY(0) rotate(0);
}

.theme-icon-dark {
    opacity: 0;
    transform: translateY(22px) rotate(45deg);
}

:root[data-theme="dark"] .theme-toggle {
    color: #e8f3fc;
    background: #132438;
}

:root[data-theme="dark"] .theme-icon-light {
    opacity: 0;
    transform: translateY(-22px) rotate(-45deg);
}

:root[data-theme="dark"] .theme-icon-dark {
    opacity: 1;
    transform: translateY(0) rotate(0);
}

.messages {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}

.message {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 15px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    box-shadow: var(--shadow-sm);
}

.message-icon {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    font-weight: 900;
}

.message.success {
    color: var(--success);
}

.message.success .message-icon {
    background: var(--success-soft);
}

.message.error {
    color: var(--danger);
}

.message.error .message-icon {
    background: var(--danger-soft);
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 23px;
    padding: 11px 15px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.steps span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
}

.steps span b {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--surface-soft);
    font-size: 0.75rem;
}

.steps span.active {
    color: var(--heading);
}

.steps span.active b {
    color: #fff;
    background:
        linear-gradient(135deg, var(--blue-700), var(--cyan-500));
    box-shadow: 0 7px 17px rgba(21, 95, 156, 0.22);
}

.steps span.done {
    color: var(--success);
}

.steps span.done b {
    color: #fff;
    background: var(--success);
}

.steps > i {
    width: 44px;
    height: 2px;
    background: var(--border-strong);
}

.steps > i.done {
    background:
        linear-gradient(90deg, var(--success), var(--cyan-500));
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
    min-height: 520px;
    overflow: hidden;
    padding: clamp(32px, 5vw, 62px);
    color: #fff;
    background:
        radial-gradient(
            circle at 88% 18%,
            rgba(71, 213, 202, 0.24),
            transparent 25rem
        ),
        linear-gradient(135deg, #071c31 0%, #0b355a 52%, #155f9c 100%);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 2px;
    background:
        linear-gradient(90deg, transparent, var(--cyan-400), transparent);
}

.hero-copy {
    position: relative;
    z-index: 2;
    align-self: center;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    color: #dffcf8;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
}

.hero-kicker i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4de4cc;
    box-shadow: 0 0 0 5px rgba(77, 228, 204, 0.12);
}

.hero h1 {
    max-width: 760px;
    margin: 22px 0 15px;
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    line-height: 1.18;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.hero h1 em {
    display: block;
    color: #75e9df;
    font-style: normal;
}

.hero-copy > p {
    max-width: 700px;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: clamp(1rem, 1.9vw, 1.16rem);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 27px;
}

.hero-meta span {
    padding: 8px 12px;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 600;
}

.sheet-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: inherit;
}

.hero-sheet-link {
    width: min(560px, 100%);
    margin-top: 20px;
    padding: 13px 15px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition:
        transform 170ms ease,
        background 170ms ease,
        border-color 170ms ease;
}

.hero-sheet-link:hover {
    transform: translateY(-3px);
    background:
        linear-gradient(
            110deg,
            rgba(71, 213, 202, 0.17),
            rgba(116, 103, 232, 0.15)
        );
    border-color: rgba(117, 233, 223, 0.38);
}

.sheet-icon {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: #9cf5ec;
    background: rgba(71, 213, 202, 0.14);
    border-radius: 12px;
    font-size: 1.2rem;
}

.hero-sheet-link strong,
.hero-sheet-link small {
    display: block;
}

.hero-sheet-link small {
    margin: 1px 0 0;
    color: rgba(255, 255, 255, 0.68);
}

.hero-sheet-link > b {
    margin-right: auto;
    color: #9cf5ec;
    font-size: 1.2rem;
}

.hero-notice {
    display: flex;
    align-items: center;
    gap: 11px;
    width: fit-content;
    margin-top: 20px;
    padding: 11px 13px;
    background: rgba(234, 248, 242, 0.12);
    border: 1px solid rgba(112, 232, 188, 0.24);
    border-radius: 15px;
}

.hero-notice > b {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: #82efc4;
    background: rgba(112, 232, 188, 0.18);
    border-radius: 50%;
}

.hero-notice strong,
.hero-notice a {
    display: block;
}

.hero-notice a {
    color: #7de8dc;
    font-size: 0.88rem;
}

.hero-visual {
    position: relative;
    min-height: 350px;
    align-self: center;
}

.visual-ring {
    position: absolute;
    width: 310px;
    height: 310px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
}

.visual-card {
    position: absolute;
    width: min(320px, 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-3deg);
    padding: 20px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 23px;
    box-shadow: 0 32px 60px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(15px);
}

.visual-dots {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
}

.visual-dots i {
    width: 9px;
    height: 9px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 50%;
}

.visual-line {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 14px 0;
}

.visual-line b {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: #c8fffa;
    background: rgba(71, 213, 202, 0.13);
    border-radius: 10px;
    font-size: 0.73rem;
}

.visual-line span {
    width: 68%;
    height: 10px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
}

.visual-card > strong {
    display: block;
    margin-top: 18px;
    padding: 11px;
    color: #dffcf8;
    background: rgba(71, 213, 202, 0.14);
    border: 1px solid rgba(71, 213, 202, 0.18);
    border-radius: 12px;
    text-align: center;
}

.section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin: 45px 4px 19px;
}

.section-title span,
.rules-title small,
.form-title small,
.slots-title small,
.form-aside > small {
    color: var(--blue-700);
    font-size: 0.82rem;
    font-weight: 800;
}

:root[data-theme="dark"] .section-title span,
:root[data-theme="dark"] .rules-title small,
:root[data-theme="dark"] .form-title small,
:root[data-theme="dark"] .slots-title small {
    color: #69b9f0;
}

.section-title h2,
.rules-title h2,
.form-title h2,
.slots-title h2 {
    margin: 3px 0 0;
    color: var(--heading);
    font-size: clamp(1.45rem, 3vw, 2.15rem);
    line-height: 1.42;
}

.section-title > p {
    max-width: 430px;
    margin: 0;
    color: var(--muted);
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.choice-card {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-height: 320px;
    overflow: hidden;
    padding: 28px;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(15px);
    transition:
        transform 200ms ease,
        box-shadow 200ms ease,
        border-color 200ms ease,
        color 200ms ease;
}

.choice-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    z-index: 2;
}

.choice-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: 0;
    transition: opacity 220ms ease;
}

.choice-one::before {
    background:
        linear-gradient(
            90deg,
            var(--blue-700),
            var(--cyan-500),
            var(--violet-500)
        );
}

.choice-two::before {
    background:
        linear-gradient(
            90deg,
            var(--gold),
            var(--pink-500),
            var(--blue-600)
        );
}

.choice-one::after {
    background:
        radial-gradient(
            circle at 15% 5%,
            rgba(19, 168, 164, 0.18),
            transparent 44%
        ),
        linear-gradient(
            145deg,
            rgba(31, 120, 189, 0.10),
            rgba(116, 103, 232, 0.08)
        );
}

.choice-two::after {
    background:
        radial-gradient(
            circle at 88% 8%,
            rgba(228, 92, 158, 0.18),
            transparent 44%
        ),
        linear-gradient(
            145deg,
            rgba(201, 163, 77, 0.11),
            rgba(31, 120, 189, 0.09)
        );
}

.choice-glow {
    position: absolute;
    z-index: -1;
    width: 190px;
    height: 190px;
    top: -100px;
    left: -80px;
    border-radius: 50%;
    opacity: 0;
    filter: blur(2px);
    transition:
        opacity 220ms ease,
        transform 320ms ease;
}

.choice-one .choice-glow {
    background:
        radial-gradient(circle, rgba(71, 213, 202, 0.35), transparent 68%);
}

.choice-two .choice-glow {
    background:
        radial-gradient(circle, rgba(228, 92, 158, 0.30), transparent 68%);
}

.choice-card:hover {
    transform: translateY(-9px) scale(1.012);
    box-shadow:
        0 32px 75px rgba(6, 24, 42, 0.18),
        0 0 0 1px rgba(71, 213, 202, 0.13);
}

:root[data-theme="dark"] .choice-card:hover {
    box-shadow:
        0 34px 80px rgba(0, 0, 0, 0.38),
        0 0 0 1px rgba(105, 185, 240, 0.18);
}

.choice-card:hover::after,
.choice-card:hover .choice-glow {
    opacity: 1;
}

.choice-card:hover .choice-glow {
    transform: translate(38px, 36px) scale(1.3);
}

.choice-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.choice-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    color: var(--blue-700);
    background:
        linear-gradient(145deg, #e8f3fc, #eefbf9);
    border-radius: 17px;
    font-size: 1.35rem;
    font-weight: 900;
    transition:
        transform 200ms ease,
        color 200ms ease,
        background 200ms ease;
}

:root[data-theme="dark"] .choice-icon {
    color: #7bc4f6;
    background:
        linear-gradient(
            145deg,
            rgba(31, 120, 189, 0.18),
            rgba(19, 168, 164, 0.14)
        );
}

.choice-card:hover .choice-icon {
    transform: rotate(-7deg) scale(1.08);
    color: #fff;
    background:
        linear-gradient(135deg, var(--blue-600), var(--cyan-500));
}

.choice-two:hover .choice-icon {
    background:
        linear-gradient(135deg, var(--pink-500), var(--gold));
}

.choice-head small {
    color: var(--muted);
    font-weight: 700;
}

.choice-card h3 {
    margin: 23px 0 10px;
    color: var(--heading);
    font-size: 1.27rem;
    line-height: 1.65;
}

.choice-card p {
    margin: 0;
    color: var(--muted);
}

.choice-card > strong {
    margin-top: auto;
    padding-top: 24px;
    color: var(--blue-700);
    transition:
        transform 180ms ease,
        color 180ms ease;
}

:root[data-theme="dark"] .choice-card > strong {
    color: #69b9f0;
}

.choice-card:hover > strong {
    transform: translateX(-6px);
    color: var(--cyan-500);
}

.choice-two:hover > strong {
    color: var(--pink-500);
}

.rules-card {
    margin-top: 24px;
    padding: clamp(26px, 4vw, 38px);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-md);
}

.rules-title {
    display: flex;
    align-items: center;
    gap: 14px;
}

.rules-shield {
    width: 55px;
    height: 55px;
    display: grid;
    place-items: center;
    color: var(--success);
    background: var(--success-soft);
    border-radius: 18px;
    font-size: 1.35rem;
    font-weight: 900;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.rules-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rules-grid article {
    display: flex;
    gap: 11px;
    padding: 17px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 17px;
}

.rules-grid article > b {
    color: var(--blue-700);
    font-size: 0.78rem;
}

:root[data-theme="dark"] .rules-grid article > b {
    color: #69b9f0;
}

.rules-grid strong {
    display: block;
    color: var(--heading);
    font-size: 0.94rem;
}

.rules-grid p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.65;
}

.form-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
    gap: 24px;
    align-items: start;
}

.form-layout-wide {
    grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
}

.form-aside {
    position: sticky;
    top: 20px;
    padding: clamp(27px, 4vw, 38px);
    color: #fff;
    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(71, 213, 202, 0.22),
            transparent 16rem
        ),
        linear-gradient(145deg, var(--navy-950), var(--navy-800));
    border-radius: var(--r-md);
    box-shadow: var(--shadow-lg);
}

.form-aside h1 {
    margin: 7px 0 11px;
    font-size: clamp(1.65rem, 3vw, 2.4rem);
    line-height: 1.45;
}

.form-aside > p {
    color: rgba(255, 255, 255, 0.73);
}

.form-aside > small {
    color: #76e5dc;
}

.aside-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    margin: 22px 0;
    color: #9af1e9;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    font-size: 1.45rem;
    font-weight: 900;
}

.back-link {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.87rem;
    font-weight: 700;
}

.back-link:hover {
    color: #fff;
}

.aside-sheet-link {
    display: inline-flex;
    margin-top: 12px;
    padding: 8px 11px;
    color: #9cf5ec;
    background: rgba(71, 213, 202, 0.10);
    border: 1px solid rgba(71, 213, 202, 0.18);
    border-radius: 12px;
    font-size: 0.86rem;
    font-weight: 800;
    transition:
        transform 160ms ease,
        background 160ms ease;
}

.aside-sheet-link:hover {
    transform: translateY(-2px);
    background: rgba(71, 213, 202, 0.17);
}

.aside-note {
    margin-top: 26px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 15px;
}

.aside-note strong {
    color: #dffcf8;
}

.aside-note p {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.86rem;
}

.form-card,
.slots-card,
.side-card,
.success-card {
    padding: clamp(25px, 4vw, 40px);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(15px);
}

.form-title {
    margin-bottom: 25px;
}

.form-title p,
.slots-title p {
    margin: 3px 0 0;
    color: var(--muted);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
}

.field {
    margin-bottom: 18px;
}

.field-wide {
    grid-column: 1 / -1;
}

.field label {
    display: block;
    margin-bottom: 7px;
    color: var(--heading);
    font-size: 0.92rem;
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    min-height: 52px;
    padding: 11px 14px;
    color: var(--text);
    background: var(--surface-input);
    border: 1px solid var(--border-strong);
    border-radius: var(--r-sm);
    font-size: 0.95rem;
    transition:
        border-color 150ms ease,
        box-shadow 150ms ease,
        background 150ms ease;
}

textarea {
    min-height: 125px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    background: var(--surface-solid);
    border-color: var(--blue-600);
    box-shadow: 0 0 0 4px rgba(31, 120, 189, 0.12);
}

small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.8rem;
}

.errorlist {
    margin: 0;
    padding: 0;
    list-style: none;
}

.field-error {
    margin-top: 6px;
    color: var(--danger);
    font-size: 0.82rem;
    font-weight: 600;
}

.form-alert {
    display: flex;
    gap: 10px;
    margin-bottom: 19px;
    padding: 13px;
    color: var(--danger);
    background: var(--danger-soft);
    border: 1px solid rgba(180, 35, 24, 0.15);
    border-radius: var(--r-sm);
}

.form-alert > b {
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    background: rgba(180, 35, 24, 0.09);
    border-radius: 50%;
}

.form-section {
    margin: 0 0 23px;
    padding: 0;
    border: 0;
}

.form-section legend {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    margin-bottom: 15px;
    padding-bottom: 9px;
    color: var(--heading);
    border-bottom: 1px solid var(--border);
    font-weight: 900;
}

.form-section legend b {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    color: var(--blue-700);
    background: rgba(31, 120, 189, 0.10);
    border-radius: 10px;
    font-size: 0.76rem;
}

.member-card {
    margin-bottom: 13px;
    padding: 17px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 17px;
}

.member-card.required {
    border-color: rgba(31, 120, 189, 0.28);
}

.member-card header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 13px;
}

.member-card header span {
    padding: 3px 9px;
    color: var(--muted);
    background: var(--surface-solid);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.74rem;
}

.member-card.required header span {
    color: var(--blue-700);
    background: rgba(31, 120, 189, 0.10);
    border-color: transparent;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 10px 19px;
    border: 0;
    border-radius: var(--r-sm);
    cursor: pointer;
    font-weight: 800;
    transition:
        transform 150ms ease,
        box-shadow 150ms ease,
        opacity 150ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button:disabled {
    opacity: 0.70;
    cursor: wait;
    transform: none;
}

.button-primary {
    color: #fff;
    background:
        linear-gradient(135deg, var(--navy-800), var(--blue-600));
    box-shadow: 0 14px 30px rgba(13, 61, 103, 0.22);
}

.button-primary:hover {
    box-shadow: 0 19px 38px rgba(13, 61, 103, 0.29);
}

.button-ghost {
    color: var(--heading);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.button-small {
    min-height: 42px;
    padding: 8px 13px;
    font-size: 0.84rem;
}

.button-block {
    width: 100%;
}

.group-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 21px;
    padding: clamp(23px, 4vw, 35px);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-md);
}

.group-summary > div {
    display: flex;
    align-items: center;
    gap: 17px;
    min-width: 0;
}

.group-avatar {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: var(--blue-700);
    background:
        linear-gradient(
            145deg,
            rgba(31, 120, 189, 0.12),
            rgba(19, 168, 164, 0.12)
        );
    border-radius: 21px;
    font-size: 1.5rem;
}

.badge {
    display: inline-flex;
    padding: 5px 10px;
    color: var(--blue-700);
    background: rgba(31, 120, 189, 0.10);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
}

:root[data-theme="dark"] .badge,
:root[data-theme="dark"] .member-card.required header span {
    color: #69b9f0;
}

.group-summary h1 {
    margin: 7px 0 5px;
    color: var(--heading);
    font-size: clamp(1.25rem, 2.5vw, 1.76rem);
    line-height: 1.5;
}

.group-summary p {
    margin: 0;
    color: var(--muted);
}

.ready-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    padding: 8px 12px;
    color: var(--success);
    background: var(--success-soft);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
}

.ready-badge i {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(20, 131, 95, 0.10);
}

.slots-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 21px;
    align-items: start;
}

.slots-title {
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.legend {
    display: flex;
    gap: 11px;
    padding-top: 7px;
    color: var(--muted);
    font-size: 0.79rem;
}

.legend span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.legend span i {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
}

.legend span:last-child i {
    background: var(--blue-600);
}

.slot-list {
    display: grid;
    gap: 12px;
    margin: 23px 0;
}

.slot-option {
    position: relative;
    display: block;
    cursor: pointer;
}

.slot-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.fake-radio {
    position: absolute;
    top: 50%;
    left: 16px;
    z-index: 2;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    background: var(--surface-solid);
    border: 2px solid #8796a7;
    border-radius: 50%;
}

.fake-radio::after {
    content: "";
    position: absolute;
    inset: 4px;
    background: transparent;
    border-radius: 50%;
}

.slot-box {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 78px;
    padding: 14px 16px 14px 48px;
    background: var(--surface-input);
    border: 1px solid var(--border);
    border-radius: 17px;
    transition:
        transform 150ms ease,
        border-color 150ms ease,
        box-shadow 150ms ease,
        background 150ms ease;
}

.slot-option:hover .slot-box {
    transform: translateY(-2px);
    border-color: rgba(31, 120, 189, 0.38);
    box-shadow: var(--shadow-sm);
}

.slot-option input:checked + .fake-radio,
.slot-option.selected .fake-radio {
    border-color: var(--blue-600);
}

.slot-option input:checked + .fake-radio::after,
.slot-option.selected .fake-radio::after {
    background: var(--blue-600);
}

.slot-option input:checked ~ .slot-box,
.slot-option.selected .slot-box {
    background: rgba(31, 120, 189, 0.08);
    border-color: var(--blue-600);
    box-shadow: 0 12px 28px rgba(31, 120, 189, 0.12);
}

.slot-icon {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    color: var(--blue-700);
    background: rgba(31, 120, 189, 0.10);
    border-radius: 14px;
    font-size: 1.3rem;
}

.slot-text strong,
.slot-text small {
    display: block;
}

.slot-text strong {
    color: var(--heading);
}

.capacity {
    padding: 6px 10px;
    color: var(--success);
    background: var(--success-soft);
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    white-space: nowrap;
}

.capacity.low {
    color: var(--warning);
    background: var(--warning-soft);
}

.booking-warning {
    display: flex;
    gap: 12px;
    margin: 20px 0;
    padding: 15px;
    color: var(--warning);
    background: var(--warning-soft);
    border: 1px solid rgba(148, 90, 10, 0.15);
    border-radius: 16px;
}

.booking-warning > b {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    background: rgba(148, 90, 10, 0.09);
    border-radius: 12px;
}

.booking-warning strong {
    display: block;
}

.booking-warning p {
    margin: 3px 0 0;
    color: inherit;
    opacity: 0.88;
    font-size: 0.85rem;
}

.side-card {
    position: sticky;
    top: 20px;
}

.side-icon {
    width: 49px;
    height: 49px;
    display: grid;
    place-items: center;
    color: var(--blue-700);
    background: rgba(31, 120, 189, 0.10);
    border-radius: 16px;
    font-weight: 900;
}

.side-card h3 {
    margin: 15px 0 14px;
    color: var(--heading);
}

.side-card ol {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.side-card li {
    display: flex;
    gap: 9px;
    color: var(--muted);
    font-size: 0.86rem;
}

.side-card li b {
    color: var(--blue-700);
    font-size: 0.76rem;
}

.empty-state {
    margin-top: 23px;
    padding: 42px 22px;
    text-align: center;
    background: var(--surface-soft);
    border: 1px dashed var(--border-strong);
    border-radius: 17px;
}

.empty-state > b {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    margin: 0 auto 14px;
    color: var(--blue-700);
    background: rgba(31, 120, 189, 0.10);
    border-radius: 20px;
    font-size: 1.7rem;
}

.empty-state h3 {
    margin: 0 0 5px;
    color: var(--heading);
}

.empty-state p {
    margin: 0;
    color: var(--muted);
}

.attention .slot-box {
    animation: attention 0.5s ease 2;
    border-color: var(--danger);
}

@keyframes attention {
    50% {
        transform: translateX(-5px);
    }
}

.success-card {
    max-width: 850px;
    margin: 0 auto;
    padding: clamp(28px, 5vw, 52px);
    text-align: center;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
}

.success-icon {
    width: 84px;
    height: 84px;
    display: grid;
    place-items: center;
    margin: 0 auto 17px;
    color: #fff;
    background: linear-gradient(145deg, #1a9c74, #117252);
    border-radius: 27px;
    box-shadow: 0 18px 38px rgba(20, 131, 95, 0.22);
    font-size: 2rem;
    font-weight: 900;
}

.success-card > small {
    color: var(--success);
    font-weight: 800;
}

.success-card > h1 {
    margin: 6px 0 7px;
    color: var(--heading);
    font-size: clamp(1.8rem, 4vw, 2.75rem);
}

.success-lead {
    max-width: 640px;
    margin: 0 auto;
    color: var(--muted);
}

.result-card {
    margin: 29px 0 21px;
    overflow: hidden;
    text-align: right;
    background: var(--surface-input);
    border: 1px solid var(--border);
    border-radius: 22px;
}

.result-card > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 17px;
    padding: 19px 21px;
    color: #fff;
    background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.result-card > header small,
.result-card > header strong {
    display: block;
}

.result-card > header small {
    color: rgba(255, 255, 255, 0.65);
}

.result-card > header > span {
    padding: 5px 10px;
    color: #c9fff7;
    background: rgba(71, 213, 202, 0.12);
    border: 1px solid rgba(71, 213, 202, 0.18);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
}

.result-card dl {
    margin: 0;
    padding: 0 21px;
}

.result-card dl > div {
    display: grid;
    grid-template-columns: 145px minmax(0, 1fr);
    gap: 17px;
    padding: 15px 0;
    border-bottom: 1px dashed var(--border-strong);
}

.result-card dl > div:last-child {
    border-bottom: 0;
}

.result-card dt {
    color: var(--muted);
}

.result-card dd {
    margin: 0;
    color: var(--heading);
    font-weight: 800;
}

.status-chip {
    display: inline-flex;
    padding: 5px 10px;
    color: var(--success);
    background: var(--success-soft);
    border-radius: 999px;
    font-size: 0.78rem;
}

.reference-row dd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 11px;
}

.reference-row code {
    direction: ltr;
    color: var(--blue-700);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 1.05rem;
}

:root[data-theme="dark"] .reference-row code {
    color: #69b9f0;
}

.copy-button {
    min-height: 35px;
    padding: 6px 10px;
    color: var(--blue-700);
    background: rgba(31, 120, 189, 0.10);
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 800;
}

.copy-button.copied {
    color: var(--success);
    background: var(--success-soft);
}

.result-card > footer {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 13px 21px;
    color: var(--muted);
    background: var(--surface-soft);
    font-size: 0.76rem;
}

.success-notes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.success-notes article {
    display: flex;
    gap: 11px;
    padding: 15px;
    text-align: right;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 17px;
}

.success-notes article > b {
    width: 41px;
    height: 41px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: var(--blue-700);
    background: rgba(31, 120, 189, 0.10);
    border-radius: 13px;
}

.success-notes strong {
    display: block;
    color: var(--heading);
}

.success-notes p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.success-home {
    margin-top: 19px;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 5px 5px;
    color: var(--muted);
    font-size: 0.81rem;
}

.site-footer strong,
.site-footer div span {
    display: block;
}

.site-footer strong {
    color: var(--heading);
}

.site-footer > a {
    color: var(--blue-700);
    font-weight: 800;
}

:root[data-theme="dark"] .site-footer > a {
    color: #69b9f0;
}

@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-visual {
        display: none;
    }

    .rules-grid,
    .rules-grid-three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .form-layout,
    .form-layout-wide {
        grid-template-columns: 1fr;
    }

    .form-aside,
    .side-card {
        position: static;
    }

    .slots-layout {
        grid-template-columns: 1fr;
    }

    .side-card {
        order: -1;
    }
}

@media (max-width: 760px) {
    .page-shell {
        width: min(100% - 22px, 1180px);
        padding-top: 15px;
    }

    .site-header {
        align-items: flex-start;
    }

    .brand-mark {
        width: 68px;
        height: 68px;
        border-radius: 20px;
    }

    .brand-mark img {
        width: 51px;
        height: 51px;
    }

    .steps {
        width: 100%;
        justify-content: space-between;
        gap: 5px;
        padding: 10px;
        border-radius: 18px;
    }

    .steps span {
        flex-direction: column;
        gap: 4px;
        font-size: 0.70rem;
    }

    .steps > i {
        width: 100%;
        max-width: 40px;
    }

    .hero {
        padding: 30px 24px;
        border-radius: 24px;
    }

    .hero h1 {
        font-size: clamp(2rem, 10vw, 3.2rem);
    }

    .section-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .choice-grid,
    .form-grid,
    .success-notes {
        grid-template-columns: 1fr;
    }

    .field-wide {
        grid-column: auto;
    }

    .group-summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .ready-badge {
        align-self: stretch;
        justify-content: center;
    }

    .slots-title {
        flex-direction: column;
    }

    .legend {
        padding-top: 0;
    }

    .slot-box {
        grid-template-columns: auto minmax(0, 1fr);
        padding-left: 45px;
    }

    .capacity {
        grid-column: 2;
        justify-self: start;
    }

    .result-card dl > div {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .reference-row dd {
        align-items: flex-start;
        flex-direction: column;
    }

    .result-card > footer,
    .site-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 520px) {
    body {
        font-size: 15px;
    }

    .brand {
        gap: 10px;
    }

    .brand-university {
        font-size: 0.72rem;
    }

    .brand-copy strong {
        font-size: 1.02rem;
    }

    .brand-copy > span:last-child {
        display: none;
    }

    .theme-toggle {
        width: 42px;
        height: 42px;
    }

    .button-small {
        padding-inline: 9px;
    }

    .hero-meta {
        flex-direction: column;
    }

    .hero-meta span {
        width: 100%;
    }

    .choice-card {
        min-height: 300px;
        padding: 23px;
    }

    .rules-grid,
    .rules-grid-three {
        grid-template-columns: 1fr;
    }

    .form-card,
    .form-aside,
    .slots-card,
    .side-card,
    .success-card {
        padding: 22px;
        border-radius: 20px;
    }

    .group-avatar {
        width: 58px;
        height: 58px;
    }
}


/* YadYar v4 additions */
.button-result {
    color: #ffffff;
    background:
        linear-gradient(135deg, #14835f, #13a8a4);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 28px rgba(20, 131, 95, 0.22);
}

.button-result:hover {
    box-shadow: 0 17px 34px rgba(20, 131, 95, 0.30);
}

[data-numeric-only] {
    direction: ltr;
    text-align: left;
    font-variant-numeric: tabular-nums;
}

.header-actions form {
    margin: 0;
}

@media (max-width: 760px) {
    .header-actions {
        flex-wrap: wrap;
        justify-content: flex-end;
    }
}


/* YadYar v4.1 */
.status-chip.status-pending {
    color: var(--danger);
    background: var(--danger-soft);
    border: 1px solid rgba(180, 35, 24, 0.20);
}

.status-chip.status-confirmed {
    color: var(--success);
    background: var(--success-soft);
    border: 1px solid rgba(20, 131, 95, 0.18);
}


/* YadYar v4.3 */
.legend .legend-full i {
    background: var(--danger);
    box-shadow: 0 0 0 5px var(--danger-soft);
}

.full-slots-section {
    margin-top: 30px;
    padding-top: 26px;
    border-top: 1px solid var(--border);
}

.full-slots-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 15px;
}

.full-slots-heading small {
    display: block;
    margin-bottom: 4px;
    color: var(--danger);
    font-weight: 900;
}

.full-slots-heading h3 {
    margin: 0;
    color: var(--text);
    font-size: 1.12rem;
}

.full-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 12px;
    color: var(--danger);
    background: var(--danger-soft);
    border: 1px solid rgba(180, 35, 24, 0.18);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
    white-space: nowrap;
}

.slot-option-full {
    cursor: not-allowed;
    opacity: 0.86;
}

.slot-option-full .slot-box {
    background:
        linear-gradient(
            135deg,
            var(--surface),
            var(--danger-soft)
        );
    border-color: rgba(180, 35, 24, 0.22);
    box-shadow: none;
}

.slot-option-full:hover .slot-box {
    transform: none;
    border-color: rgba(180, 35, 24, 0.32);
    box-shadow: none;
}

.slot-option-full .slot-icon {
    color: var(--danger);
    background: var(--danger-soft);
}

.fake-radio-disabled {
    border-color: rgba(180, 35, 24, 0.45);
    background: var(--danger-soft);
}

.fake-radio-disabled::after {
    width: 8px;
    height: 8px;
    background: var(--danger);
    opacity: 0.75;
}

.capacity-full {
    color: var(--danger);
    background: var(--danger-soft);
    border: 1px solid rgba(180, 35, 24, 0.20);
}

@media (max-width: 760px) {
    .full-slots-heading {
        align-items: flex-start;
    }
}


/* YadYar v4.4 */
.github-result-link {
    direction: ltr;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 900;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.github-result-link:hover {
    text-decoration: underline;
}


/* Course Booking v2: generated group code and one-time rescheduling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

#start-process {
    scroll-margin-top: 96px;
    outline: none;
}

.visual-card-link {
    color: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.visual-card-link:hover,
.visual-card-link:focus-visible {
    transform: translate(-50%, calc(-50% - 5px)) rotate(-3deg);
    box-shadow: 0 28px 70px rgba(1, 18, 36, 0.32);
    outline: 3px solid rgba(102, 226, 218, 0.48);
    outline-offset: 5px;
}

.group-code-banner,
.reschedule-current {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 0 24px;
    padding: 18px 22px;
    border: 1px solid rgba(18, 151, 124, 0.24);
    border-radius: 20px;
    background: rgba(32, 190, 153, 0.09);
}

.group-code-banner > div,
.reschedule-current > div {
    display: grid;
    gap: 5px;
}

.group-code-banner small,
.reschedule-current small {
    color: var(--muted);
    font-weight: 800;
}

.group-code-banner strong {
    direction: ltr;
    width: fit-content;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    letter-spacing: 0.08em;
    user-select: text;
}

.group-code-banner span,
.reschedule-current p {
    color: var(--muted);
    margin: 0;
}

.reschedule-current {
    justify-content: flex-start;
    border-color: rgba(28, 126, 214, 0.25);
    background: rgba(28, 126, 214, 0.08);
}

.reschedule-current > b {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    background: rgba(28, 126, 214, 0.14);
    color: var(--primary);
    font-size: 1.4rem;
}

.group-code-result {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.group-code-result code {
    direction: ltr;
    user-select: text;
    letter-spacing: 0.06em;
}

.success-reschedule {
    width: min(100%, 440px);
    margin: 22px auto 0;
}

@media (max-width: 680px) {
    .group-code-banner {
        align-items: stretch;
        flex-direction: column;
    }

    .group-code-banner .copy-button {
        width: 100%;
    }
}


/* Course Booking v2.2 */
.group-code-input {
    direction: ltr;
    text-align: left;
    font-variant-numeric: tabular-nums;
    unicode-bidi: plaintext;
}
