/* Event registration branding for the 9th National ICT Summit 2026 (Docs/Features/event_registration.md). */

/* Self-hosted fonts. Declarations are copied verbatim from the Google Fonts CSS these
   replaced (weights, font-stretch, unicode-range) so rendering is unchanged - only the URL
   differs. Licence: wwwroot/fonts/OFL.txt. Only the weights this stylesheet actually uses
   are declared: Space Grotesk 700, IBM Plex Sans 400/600/700.

   The two files are not the same kind of font, which is why the blocks below look asymmetric:
     - ibm-plex-sans-v23-latin.woff2 is a VARIABLE font (wght axis 100-700). One file serves
       all three weights, so the three IBM Plex blocks intentionally share a URL - that is what
       Google's own CSS emits, and the font-stretch: 100% line is its variable-font marker.
     - space-grotesk-v22-latin.woff2 is a STATIC 700 instance (its internal name table reads
       "Space Grotesk Light"/"Bold" - a Google naming quirk; the family name the browser uses
       is the one declared here, not the one inside the file). Because it is static, its block
       MUST declare font-weight: 700 exactly. Declaring a range would make the browser
       synthesise other weights from a face that cannot produce them.

   The url() below and the rel="preload" href in Register.cshtml / RegisterConfirmation.cshtml
   are one URL written in two places - if they diverge the browser preloads one file and then
   downloads a second. Change both or neither, and never add asp-append-version to the preload
   (fonts earn their immutable Cache-Control from the /fonts path, not from ?v=). */

/* latin */
@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 400;
    font-stretch: 100%;
    font-display: swap;
    src: url('/fonts/ibm-plex-sans-v23-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 600;
    font-stretch: 100%;
    font-display: swap;
    src: url('/fonts/ibm-plex-sans-v23-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 700;
    font-stretch: 100%;
    font-display: swap;
    src: url('/fonts/ibm-plex-sans-v23-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/space-grotesk-v22-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body {
    margin: 0;
    color-scheme: light;
}

.ict-page {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    box-sizing: border-box;
    overflow: hidden;
    background: linear-gradient(150deg, #0b1a4d 0%, #123a8c 50%, #1c4fc9 100%);
    font-family: "IBM Plex Sans", sans-serif;
}

.ict-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, .13) 1.5px, transparent 1.5px);
    background-size: 28px 28px;
}

.ict-orbit {
    position: absolute;
    pointer-events: none;
}

.ict-orbit--top {
    top: -100px;
    right: -100px;
    width: 520px;
    height: 520px;
}

.ict-orbit--top .ict-orbit__ring:nth-child(1) {
    inset: 50px;
    border: 2px dashed rgba(255, 255, 255, .35);
}

.ict-orbit--top .ict-orbit__ring:nth-child(2) {
    inset: 75px;
    border: 2px solid #f2b705;
    opacity: .6;
}

.ict-orbit--top .ict-orbit__ring:nth-child(3) {
    inset: 100px;
    border: 2px solid #c8102e;
    opacity: .5;
}

.ict-orbit--top .ict-orbit__ring:nth-child(4) {
    inset: 125px;
    border: 2px solid #0f7a3d;
    opacity: .5;
}

.ict-orbit--bottom {
    bottom: -140px;
    left: -140px;
    width: 420px;
    height: 420px;
}

.ict-orbit--bottom .ict-orbit__ring:nth-child(1) {
    inset: 40px;
    border: 2px solid #f2b705;
    opacity: .25;
}

.ict-orbit--bottom .ict-orbit__ring:nth-child(2) {
    inset: 70px;
    border: 2px solid #fff;
    opacity: .15;
}

.ict-orbit__ring {
    position: absolute;
    border-radius: 50%;
}

.ict-card {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 900px;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(8px);
    border-radius: 18px;
    padding: 44px 44px 36px;
    box-sizing: border-box;
    box-shadow: 0 30px 80px rgba(6, 14, 40, .35);
}

/* The confirmation page has only a short success message - keep its card compact. */
.ict-card--narrow {
    max-width: 600px;
}

.ict-card__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ict-card__logo-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid #e7eaf1;
    border-radius: 10px;
    padding: 8px 18px;
}

.ict-card__logo-badge img {
    display: block;
    width: auto;
}

.ict-card__logo-badge .ict-card__crest {
    height: 44px;
}

.ict-card__logo-badge .ict-card__logo {
    height: 30px;
}

.ict-card__logo-divider {
    align-self: stretch;
    width: 1px;
    margin: 2px 0;
    background: #e7eaf1;
}

.ict-card__eyebrow {
    margin-top: 20px;
    color: #1c4fc9;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    white-space: nowrap;
}

@media (max-width: 380px) {
    .ict-card__eyebrow {
        white-space: normal;
    }
}

.ict-card__title {
    margin-top: 12px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 29px;
    font-weight: 700;
    color: #0c1730;
    line-height: 1.15;
    text-wrap: balance;
}

.ict-card__subtitle {
    margin-top: 8px;
    color: #4a5468;
    font-size: 13.5px;
    line-height: 1.5;
    max-width: 460px;
}

.ict-card__meta {
    margin-top: 10px;
    color: #5a6478;
    font-size: 13px;
}

/* Countdown */

.ict-countdown {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.ict-countdown__item {
    background: #eef1f7;
    border-radius: 8px;
    padding: 9px 13px;
    text-align: center;
    min-width: 54px;
}

.ict-countdown__value {
    color: #0c1730;
    font-family: "Space Grotesk", sans-serif;
    font-size: 19px;
    font-weight: 700;
}

.ict-countdown__label {
    color: #8a93a8;
    font-size: 9px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* Form */

.ict-form {
    margin-top: 26px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.ict-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
}

@media (max-width: 560px) {
    .ict-form__row {
        grid-template-columns: 1fr;
    }
}

.ict-field {
    display: flex;
    flex-direction: column;
}

.ict-field__label {
    margin-bottom: 5px;
    color: #38415a;
    font-size: 12.5px;
    font-weight: 600;
}

.ict-req {
    color: #c8102e;
    font-weight: 700;
}

/* Sections - stacked full-width, each headed by a divider rule (like the source page) */

.ict-section {
    border: 0;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.ict-section__heading {
    float: none;
    width: 100%;
    padding: 0 0 8px;
    border-bottom: 1px solid #e7eaf1;
    color: #1c4fc9;
    font-family: "Space Grotesk", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.ict-section__hint {
    margin: -6px 0 0;
    color: #8a93a8;
    font-size: 12px;
}

/* Radio / checkbox groups */

.ict-choice-group {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.ict-choice-group--inline {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 9px 22px;
}

.ict-choice-group--grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 9px 20px;
}

.ict-choice {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #0c1730;
    font-size: 13.5px;
    line-height: 1.4;
    cursor: pointer;
    touch-action: manipulation;
}

.ict-choice input {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    accent-color: #1c4fc9;
    flex-shrink: 0;
}

.ict-choice:focus-within {
    outline: 2px solid #1c4fc9;
    outline-offset: 2px;
    border-radius: 4px;
}

.ict-consent {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: #f5f7fb;
    border: 1px solid #e7eaf1;
    border-radius: 10px;
    padding: 14px 16px;
}

.ict-form__note {
    margin: 4px 0 0;
    color: #8a93a8;
    font-size: 11.5px;
    text-align: center;
}

.ict-field input,
.ict-field select {
    padding: 13px 14px;
    border: 1px solid #d7dce6;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    color: #0c1730;
    box-sizing: border-box;
    width: 100%;
}

.ict-field input:focus,
.ict-field select:focus {
    outline: 2px solid #1c4fc9;
    outline-offset: 1px;
}

.ict-field .field-validation-error {
    margin-top: 4px;
    color: #b00020;
    font-size: 12px;
}

.ict-validation-summary {
    color: #b00020;
    font-size: 13px;
}

.ict-validation-summary ul {
    margin: 0;
    padding-left: 18px;
}

.ict-submit-btn {
    margin-top: 9px;
    padding: 15px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(90deg, #f2b705, #e8a90a);
    color: #1a1200;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    font-family: "Space Grotesk", sans-serif;
    touch-action: manipulation;
}

.ict-submit-btn:hover {
    background: linear-gradient(90deg, #e8a90a, #d99c08);
}

.ict-submit-btn:focus-visible {
    outline: 2px solid #0c1730;
    outline-offset: 2px;
}

.ict-submit-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
}

/* Sponsors */

.ict-sponsors {
    margin-top: 30px;
    border-top: 1px solid #e7eaf1;
    padding-top: 16px;
    text-align: center;
}

.ict-sponsors__title {
    color: #8a93a8;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.ict-sponsors__grid {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ict-sponsor-slot {
    width: 64px;
    height: 64px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #eef1f7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.ict-sponsor-slot img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.ict-colophon {
    margin-top: 18px;
    text-align: center;
    color: #a2aabb;
    font-size: 10.5px;
    letter-spacing: .04em;
}

.ict-colophon a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Confirmation state */

.ict-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 50px 0 30px;
}

.ict-success__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #0f7a3d;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.ict-success__title {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #0c1730;
}

.ict-success__text {
    color: #5a6478;
    font-size: 14px;
    text-align: center;
    max-width: 380px;
}
