﻿.registration-wrap { max-width: 950px; padding-block: 60px; }
.registration-wrap h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1.1; letter-spacing: -2px; }
.registration-form { background: var(--panel); border: 1px solid var(--line); padding: clamp(20px, 4vw, 40px); border-radius: 12px; margin-block: 30px; }
.registration-form fieldset { border: 0; padding: 0 0 30px; margin: 0 0 30px; border-bottom: 1px solid var(--line); min-width: 0; }
.registration-form legend { font-size: 22px; font-weight: 700; color: var(--teal); margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.registration-form label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 18px; }
.registration-form input, .registration-form select, .registration-form textarea { width: 100%; min-height: 48px; padding: 12px; background: #101820; color: var(--text); border: 1px solid #637882; border-radius: 5px; font: inherit; }
.registration-form input:focus, .registration-form select:focus, .registration-form textarea:focus { outline: 2px solid var(--lime); outline-offset: 2px; }
.registration-form small { display: block; font-size: 17px; color: var(--muted); margin-top: 8px; }
.registration-form button { border: 0; cursor: pointer; }
.conditional-fields { margin-top: 24px; }
.conditional-fields[hidden] { display: none; }
.field-validation-error, .validation-summary-errors { color: #ffb8a9; font-size: 18px; }
.field-validation-error { display: block; margin-top: 8px; }
.validation-summary-errors { border: 1px solid #bb796a; padding: 14px; margin-bottom: 25px; border-radius: 5px; }
.validation-summary-valid { display: none; }
.input-validation-error { border-color: #ffb8a9 !important; }
@media(max-width:600px) { .form-grid { grid-template-columns: 1fr; } .registration-wrap { padding-block: 35px; } }

.registration-wrap { max-width: 680px; }
.registration-wrap h1 { overflow-wrap: anywhere; }
.registration-fee { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.team-name-field { margin-bottom: 32px; }
.registration-form .shirt-field { border: 0; padding: 0; margin: 24px 0 0; }
.registration-form .shirt-field legend { color: var(--text); font-size: 18px; margin-bottom: 12px; }
.shirt-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.registration-form .shirt-choice { position: relative; margin: 0; cursor: pointer; }
.registration-form .shirt-choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.shirt-choice span { display: grid; place-items: center; min-height: 54px; border: 1px solid #82979f; border-radius: 8px; background: #101820; }
.shirt-choice input:checked + span { background: #d4e8be; color: #14201b; border-color: #d4e8be; font-weight: 800; }
.shirt-choice input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 3px; }
.registration-form > button, .payment-wrap > .button { width: 100%; justify-content: center; min-height: 56px; margin-top: 24px; font-size: 17px; }
.payment-wrap { text-align: center; }
.payment-wrap .payment-team { font-size: clamp(28px, 6vw, 46px); text-transform: uppercase; line-height: 1.25; letter-spacing: -.02em; overflow-wrap: anywhere; }
.fee-label { margin-top: 32px; }
.payment-amount { font-size: clamp(36px, 8vw, 56px); font-weight: 800; line-height: 1.2; margin: 12px 0 24px; }
.payment-qr { display: block; width: min(100%, 480px); height: auto; object-fit: contain; margin: 24px auto; padding: 16px; background: #fff; border-radius: 12px; }
.qr-placeholder { display: grid; place-content: center; gap: 24px; color: #132a32; border: 2px dashed #82979f; }
.qr-placeholder strong { font-size: 24px; line-height: 1.3; }
.qr-placeholder span { font-size: 17px; max-width: 22ch; }
.qr-recipient { overflow-wrap: anywhere; }
.scan-amount { font-size: 24px; font-weight: 700; }
.payment-proof { text-align: left; }
.payment-proof h2 { font-size: 26px; }
.payment-proof input[type=file] { font-size: 16px; padding: 12px 8px; min-width: 0; }
.payment-proof input::file-selector-button { min-height: 48px; padding: 8px 12px; margin-right: 10px; border: 0; border-radius: 6px; font: inherit; }
.proof-or { text-align: center; font-weight: 700; margin-block: 24px; }
.proof-help { color: #ffb8a9; }
