﻿/* =========================================================
   ESTILOS GLOBAIS E TIPOGRAFIA
   ========================================================= */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f0f2f5;
    line-height: 1.6;
}

.center-text {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0 !important;
}

/* Tipografia Específica */
.barcode {
    font-family: '3 of 9 Barcode', cursive;
    font-size: 35px;
    letter-spacing: 0px;
    font-weight: 400;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 0.7;
}

    .barcode span {
        margin: 0;
        padding: 0;
        display: block;
    }

/* =========================================================
   LAYOUT GERAL E ESTRUTURA
   ========================================================= */
.content-wrapper {
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    max-width: 95rem;
    margin-inline: auto;
}

.two-column {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem 1.5rem;
}

    .two-column .form-group {
        flex: 1 1 48%;
        margin-bottom: 1.25rem;
    }

/* =========================================================
   COMPONENTES BASE (Cards, Imagens, Tags)
   ========================================================= */
.header-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 2.5rem;
}

.card-custom {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    margin-bottom: 0.2rem;
    background-color: white;
    padding: 20px;
}

    .card-custom img {
        max-width: 100%;
        height: auto;
        border-radius: 12px;
        margin-bottom: 15px;
    }

.bg-orange {
    background-color: #f08c00 !important;
}

/* =========================================================
   INFO PROVA E EXTRAS
   ========================================================= */
.details-info {
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
    font-size: 1.2rem;
    color: #555;
    gap: 2rem;
}

    .details-info div {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .details-info .date,
    .details-info .distance {
        font-weight: bold;
    }

.options-extra {
    margin-top: 20px;
    text-align: left;
}

    .options-extra h4 {
        font-weight: 600;
        margin-bottom: 15px;
        color: #333;
    }

.option-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

    .option-item .description {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 1rem;
        color: #555;
    }

        .option-item .description i {
            color: #28a745;
            font-size: 1.0rem;
        }

    .option-item .info-icon {
        color: #007bff;
        font-size: 1.0rem;
    }

/* =========================================================
   FORMULÁRIOS E CONTROLOS
   ========================================================= */
form .section-title {
    margin: 2rem 0rem 0rem 0rem;
    font-size: 1.25rem;
    font-weight: 600;
    padding-left: .75rem;
}

.form-label {
    font-weight: 500;
    color: #495057;
    text-align: left;
    display: block;
    margin-bottom: .35rem;
}

.form-control {
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    padding: 0.5rem 1rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
    transition: box-shadow 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

    .form-control:focus {
        border-color: #80bdff;
        box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    }

.form-control,
.form-select,
.form-time {
    border-radius: .5rem;
}

.form-time {
    width: 60px;
    padding: 5px;
    font-size: 14px;
    text-align: center;
    border: 1px solid #ddd;
}

.custom-checkbox input[type="checkbox"]:disabled {
    background-color: #004080;
    cursor: not-allowed;
    pointer-events: none;
}

    .custom-checkbox input[type="checkbox"]:disabled + label {
        color: white;
    }

.btnCustom {
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 8px;
    width: 100%;
}

    .btnCustom:hover {
        opacity: 0.9;
    }

/* =========================================================
   COUNTDOWN
   ========================================================= */
.countdown-element {
    text-align: center;
}

.count-number {
    background-color: #fff;
    color: #e63946;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
}

    .count-number:before {
        display: none;
    }

.count-label {
    margin-top: 8px;
    font-size: 13px;
    color: #333;
    font-weight: 600;
}

/* =========================================================
   TABS DE NAVEGAÇÃO
   ========================================================= */
.nav-tabs .nav-link {
    color: #343a40;
    padding-block: .75rem;
    font-weight: 600;
    transition: background-color .25s ease;
}

    .nav-tabs .nav-link:hover:not(.active) {
        background-color: #e9ecef;
    }

    .nav-tabs .nav-link.active {
        background-color: #343a40;
        color: #ffffff;
        border-color: #343a40;
    }

.nav-link {
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.tab-text {
    display: inline-block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    max-width: 225px;
}

/* =========================================================
   OVERRIDE ESPECÍFICO (NAMESPACE myinsc.aspx)
   Este bloco formata aspetos únicos desta página concreta.
   MANTIDO INTEGRALMENTE SEM CORTES.
   ========================================================= */
body.registration-page.registration-myinsc {
    --reg-accent: #50C878;
    --reg-accent-dark: #3A8C58;
    --reg-accent-soft: rgba(80, 200, 120, 0.10);
    --reg-text: #1f2937;
    --reg-muted: #667085;
    --reg-border: #d9e2ec;
    --reg-border-strong: #c8d2dd;
    --reg-surface: #ffffff;
    --reg-surface-alt: #f8fafc;
    --reg-surface-soft: #f3f6fa;
    --reg-shadow-card: 0 16px 38px rgba(15, 23, 42, 0.08);
    --reg-shadow-soft: 0 10px 24px rgba(15, 23, 42, 0.05);
    color: var(--reg-text);
    background: radial-gradient(circle at top right, rgba(203, 23, 29, 0.06), transparent 24%), linear-gradient(180deg, #f5f7fb 0%, #eef2f7 100%);
}

    body.registration-page.registration-myinsc .content-wrapper.registration-shell {
        max-width: 96rem;
        margin-top: 1.25rem;
        margin-bottom: 1.75rem;
        padding: clamp(1rem, 1.8vw, 2rem);
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    }

    body.registration-page.registration-myinsc .registration-header {
        margin-bottom: 1rem !important;
        padding-inline: 0;
    }

        body.registration-page.registration-myinsc .registration-header .header-image {
            margin-bottom: 0;
            border-radius: 22px;
            box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
        }

    body.registration-page.registration-myinsc .registration-toolbar {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.4rem;
        padding-inline: 0;
    }

    body.registration-page.registration-myinsc .language-switcher a,
    body.registration-page.registration-myinsc .language-switcher .aspNetDisabled {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 36px;
        margin: 0;
        padding: 0.25rem 0.4rem;
        border: 1px solid var(--reg-border);
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: var(--reg-shadow-soft);
        text-decoration: none;
        transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    }

        body.registration-page.registration-myinsc .language-switcher a:hover,
        body.registration-page.registration-myinsc .language-switcher a:focus-visible {
            transform: translateY(-1px);
            border-color: rgba(203, 23, 29, 0.30);
            box-shadow: 0 12px 24px rgba(15, 23, 42, 0.09);
        }

    body.registration-page.registration-myinsc .language-switcher .lang-flag,
    body.registration-page.registration-myinsc .language-switcher img {
        width: 28px;
        height: 18px;
        display: block;
        border-radius: 4px;
        box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.10);
    }

    body.registration-page.registration-myinsc .summary-column,
    body.registration-page.registration-myinsc .details-column {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    body.registration-page.registration-myinsc .registration-card {
        border: 1px solid var(--reg-border);
        border-radius: 20px;
        background: var(--reg-surface);
        box-shadow: var(--reg-shadow-card);
        overflow: hidden;
    }

    body.registration-page.registration-myinsc .event-summary-card,
    body.registration-page.registration-myinsc .countdown-card,
    body.registration-page.registration-myinsc .documents-card,
    body.registration-page.registration-myinsc .details-card,
    body.registration-page.registration-myinsc .unavailable-card {
        padding: clamp(1rem, 1.4vw, 1.5rem);
    }

    body.registration-page.registration-myinsc .event-summary-card {
        background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    }

    body.registration-page.registration-myinsc .event-poster {
        width: 100%;
        margin-top: 0 !important;
        margin-bottom: 1rem !important;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    body.registration-page.registration-myinsc .event-meta {
        gap: 0.85rem !important;
        justify-content: center !important;
        margin: 0.1rem 0 1.15rem !important;
    }

        body.registration-page.registration-myinsc .event-meta .meta-chip {
            flex: 1 1 170px;
            min-height: 56px;
            justify-content: center;
            padding: 0.85rem 1rem;
            border: 1px solid var(--reg-border);
            border-radius: 14px;
            background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
            box-shadow: var(--reg-shadow-soft);
            font-size: 0.98rem;
            color: var(--reg-text);
        }

            body.registration-page.registration-myinsc .event-meta .meta-chip i {
                color: var(--reg-accent);
                font-size: 1.05rem;
            }

    body.registration-page.registration-myinsc .extras-panel {
        margin-top: 1.2rem;
        padding-top: 1.2rem;
        border-top: 1px solid var(--reg-border);
    }

    body.registration-page.registration-myinsc .extras-title {
        margin: 0 0 1rem;
        font-size: 0.92rem;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: var(--reg-text);
    }

    body.registration-page.registration-myinsc .option-row {
        padding: 0.9rem 1rem;
        margin-bottom: 0.85rem !important;
        border: 1px solid var(--reg-border);
        border-radius: 14px;
        background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
        box-shadow: var(--reg-shadow-soft);
    }

        body.registration-page.registration-myinsc .option-row:last-child {
            margin-bottom: 0 !important;
        }

        body.registration-page.registration-myinsc .option-row .description {
            color: var(--reg-text);
            font-weight: 500;
        }

            body.registration-page.registration-myinsc .option-row .description i {
                width: 1.15rem;
                text-align: center;
                color: var(--reg-accent);
            }

    body.registration-page.registration-myinsc .medal-available-icon {
        color: #d18b00 !important;
    }

    body.registration-page.registration-myinsc .option-info-icon {
        color: #111827 !important;
        font-size: 1.15rem !important;
    }

    body.registration-page.registration-myinsc .custom-checkbox input[type="checkbox"],
    body.registration-page.registration-myinsc input.custom-checkbox[type="checkbox"],
    body.registration-page.registration-myinsc input[type="checkbox"] {
        width: 1.1rem;
        height: 1.1rem;
        accent-color: var(--reg-accent);
    }

    body.registration-page.registration-myinsc .countdown-card {
        background: linear-gradient(180deg, #ffffff 0%, #fafcff 100%);
    }

    body.registration-page.registration-myinsc .countdown-icon {
        margin-right: 0.35rem;
        font-size: 0.95rem;
        color: var(--reg-accent);
    }

    body.registration-page.registration-myinsc .countdown-title {
        color: var(--reg-muted);
        font-size: 0.94rem;
        font-weight: 600;
    }

    body.registration-page.registration-myinsc .countdown-grid {
        gap: 0.9rem !important;
    }

    body.registration-page.registration-myinsc .countdown-element {
        min-width: 78px;
    }

    body.registration-page.registration-myinsc .count-number {
        width: 74px;
        min-height: 74px;
        border-radius: 18px;
        border: 1px solid rgba(203, 23, 29, 0.14);
        background: linear-gradient(180deg, #ffffff 0%, #fff5f5 100%);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 12px 26px rgba(203, 23, 29, 0.08);
        color: var(--reg-accent);
        font-size: 1.75rem;
        font-weight: 700;
    }

    body.registration-page.registration-myinsc .count-label {
        margin-top: 0.55rem;
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: var(--reg-muted);
    }

    body.registration-page.registration-myinsc .documents-card {
        background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    }

        body.registration-page.registration-myinsc .documents-card .barcode {
            display: inline-flex;
            flex-direction: column;
            width: 100%;
            padding: 1rem 1.15rem;
            border: 1px dashed var(--reg-border-strong);
            border-radius: 16px;
            background: var(--reg-surface-alt);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
        }

    body.registration-page.registration-myinsc .btnCustom {
        width: 100%;
        min-height: 48px;
        padding: 0.85rem 1.1rem;
        border-radius: 12px;
        font-size: 0.98rem;
        font-weight: 600;
        letter-spacing: 0.01em;
        box-shadow: var(--reg-shadow-soft);
        transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
    }

        body.registration-page.registration-myinsc .btnCustom:hover,
        body.registration-page.registration-myinsc .btnCustom:focus-visible {
            transform: translateY(-1px);
            box-shadow: 0 14px 28px rgba(15, 23, 42, 0.10);
        }

    body.registration-page.registration-myinsc .details-card {
        padding: 0;
    }

    body.registration-page.registration-myinsc .registration-tabs {
        gap: 0.6rem;
        padding: 0.8rem 0.8rem 0;
        border-bottom: 1px solid var(--reg-border);
        background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    }

        body.registration-page.registration-myinsc .registration-tabs .nav-item {
            flex: 1 1 0;
        }

        body.registration-page.registration-myinsc .registration-tabs .nav-link {
            width: 100%;
            justify-content: center;
            gap: 0.5rem;
            min-height: 54px;
            padding: 0.85rem 1rem;
            border: 1px solid transparent;
            border-radius: 14px 14px 0 0;
            background: var(--reg-surface-alt);
            color: var(--reg-text);
            white-space: normal;
            overflow: visible;
            text-overflow: initial;
        }

            body.registration-page.registration-myinsc .registration-tabs .nav-link .tab-icon {
                color: var(--reg-accent) !important;
            }

            body.registration-page.registration-myinsc .registration-tabs .nav-link:hover:not(.active) {
                background: #eef3f8;
                border-color: #e3e9f0;
            }

            body.registration-page.registration-myinsc .registration-tabs .nav-link.active {
                background: #ffffff;
                color: var(--reg-accent-dark);
                border-color: var(--reg-border) var(--reg-border) #ffffff;
                box-shadow: 0 -10px 20px rgba(15, 23, 42, 0.05);
            }

        body.registration-page.registration-myinsc .registration-tabs .tab-text {
            max-width: none;
            line-height: 1.2;
            white-space: normal;
            overflow: visible;
            text-overflow: initial;
        }

    body.registration-page.registration-myinsc .registration-tab-content {
        padding: 0 0 0.25rem;
    }

    body.registration-page.registration-myinsc .section-stack {
        display: grid;
        gap: 1.25rem;
    }

    body.registration-page.registration-myinsc .info-section,
    body.registration-page.registration-myinsc .info-panel {
        padding: 1.25rem 1.35rem;
        border: 1px solid var(--reg-border);
        border-radius: 18px;
        background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
        box-shadow: var(--reg-shadow-soft);
    }

    body.registration-page.registration-myinsc .section-heading {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin: 0 0 1rem;
        padding-bottom: 0.85rem;
        border-bottom: 1px solid var(--reg-border);
        font-size: 1.05rem;
        font-weight: 700;
        color: var(--reg-text);
    }

        body.registration-page.registration-myinsc .section-heading i {
            color: var(--reg-accent);
        }

        body.registration-page.registration-myinsc .section-heading.text-center {
            justify-content: center;
        }

    body.registration-page.registration-myinsc .two-column {
        gap: 1rem 1.2rem;
    }

        body.registration-page.registration-myinsc .two-column .form-group {
            margin-bottom: 0;
        }

    body.registration-page.registration-myinsc .form-group-spacer {
        visibility: hidden;
    }

    body.registration-page.registration-myinsc .form-label {
        display: block;
        margin-bottom: 0.45rem;
        font-size: 0.9rem;
        font-weight: 600;
        color: #344054;
    }

    body.registration-page.registration-myinsc .form-control,
    body.registration-page.registration-myinsc .form-select,
    body.registration-page.registration-myinsc .form-time {
        min-height: 48px;
        border: 1px solid var(--reg-border);
        border-radius: 12px;
        background: #ffffff;
        color: var(--reg-text);
        box-shadow: none;
    }

        body.registration-page.registration-myinsc .form-control[readonly] {
            background: linear-gradient(180deg, #fbfcfe 0%, #f5f7fa 100%);
            border-color: var(--reg-border);
            color: #111827;
        }

    body.registration-page.registration-myinsc select.form-control[disabled],
    body.registration-page.registration-myinsc select.form-select[disabled] {
        background: var(--reg-surface-soft);
        border-color: var(--reg-border);
        color: #4b5563;
        opacity: 1;
        cursor: not-allowed;
        -webkit-text-fill-color: #4b5563;
    }

    body.registration-page.registration-myinsc .form-time {
        width: 78px;
        min-height: 58px;
        padding: 0.5rem;
        font-size: 1rem;
        font-weight: 700;
        text-align: center;
        background: #fff5f5;
        border-color: rgba(203, 23, 29, 0.18);
    }

    body.registration-page.registration-myinsc .timing-panel hr {
        margin: 1.2rem 0;
        border-color: var(--reg-border);
        opacity: 1;
    }

    body.registration-page.registration-myinsc .choice-row,
    body.registration-page.registration-myinsc .choice-group {
        row-gap: 0.8rem;
    }

    body.registration-page.registration-myinsc .choice-group {
        flex-wrap: wrap;
        gap: 0.75rem;
        justify-content: flex-start !important;
    }

        body.registration-page.registration-myinsc .choice-group .form-check,
        body.registration-page.registration-myinsc .choice-row .form-check {
            display: inline-flex;
            align-items: center;
            gap: 0.55rem;
            min-height: 48px;
            padding: 0.8rem 1rem;
            border: 1px solid var(--reg-border);
            border-radius: 999px;
            background: var(--reg-surface-alt);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
        }

    body.registration-page.registration-myinsc .form-check-input {
        width: 1.1rem;
        height: 1.1rem;
        margin-top: 0;
        border-color: #b5c0cb;
    }

        body.registration-page.registration-myinsc .form-check-input:checked {
            background-color: var(--reg-accent);
            border-color: var(--reg-accent);
        }

        body.registration-page.registration-myinsc .form-check-input[disabled] {
            opacity: 1;
        }

    body.registration-page.registration-myinsc .form-check-label {
        font-weight: 600;
        color: var(--reg-text);
    }

    body.registration-page.registration-myinsc .passport-panel {
        border: none;
        background: linear-gradient(135deg, #d97706 0%, #f08c00 100%) !important;
        box-shadow: 0 18px 40px rgba(217, 119, 6, 0.24);
    }

        body.registration-page.registration-myinsc .passport-panel .section-heading {
            color: #ffffff;
            border-bottom-color: rgba(255, 255, 255, 0.22);
        }

            body.registration-page.registration-myinsc .passport-panel .section-heading i {
                color: #ffffff;
            }

        body.registration-page.registration-myinsc .passport-panel .form-control[readonly] {
            background: rgba(255, 255, 255, 0.96);
            border-color: rgba(255, 255, 255, 0.52);
            font-weight: 700;
            text-align: center;
        }

    body.registration-page.registration-myinsc .club-panel p {
        margin-bottom: 1rem;
        color: var(--reg-muted);
    }

    body.registration-page.registration-myinsc .unavailable-card {
        text-align: center;
        padding: clamp(1.5rem, 3vw, 2.5rem);
    }

    body.registration-page.registration-myinsc .unavailable-icon {
        margin-bottom: 1rem;
        font-size: clamp(5rem, 10vw, 10rem);
        color: darkorange;
    }

    body.registration-page.registration-myinsc .unavailable-message {
        display: inline-block;
        max-width: 900px;
        font-size: clamp(1rem, 1.8vw, 1.35rem);
        line-height: 1.6;
        color: var(--reg-text);
    }

    body.registration-page.registration-myinsc a:focus-visible,
    body.registration-page.registration-myinsc button:focus-visible,
    body.registration-page.registration-myinsc .nav-link:focus-visible,
    body.registration-page.registration-myinsc .btn:focus-visible,
    body.registration-page.registration-myinsc .form-control:focus,
    body.registration-page.registration-myinsc .form-select:focus,
    body.registration-page.registration-myinsc .form-check-input:focus {
        outline: none;
        border-color: rgba(203, 23, 29, 0.35);
        box-shadow: 0 0 0 0.22rem rgba(203, 23, 29, 0.12);
    }

/* =========================================================
   EXTENSÃO PARA PÁGINA DE INSCRIÇÃO (Default.aspx)
   Este bloco é um CLONE COMPLETO do design da myinsc, 
   mas adaptado ao tema verde (#50C878).
   ========================================================= */
body.registration-page.registration-default {
    --reg-accent: #50C878;
    --reg-accent-dark: #3A8C58;
    --reg-accent-soft: rgba(80, 200, 120, 0.10);
    --reg-text: #1f2937;
    --reg-muted: #667085;
    --reg-border: #d9e2ec;
    --reg-border-strong: #c8d2dd;
    --reg-surface: #ffffff;
    --reg-surface-alt: #f8fafc;
    --reg-surface-soft: #f3f6fa;
    --reg-shadow-card: 0 16px 38px rgba(15, 23, 42, 0.08);
    --reg-shadow-soft: 0 10px 24px rgba(15, 23, 42, 0.05);
    color: var(--reg-text);
    background: radial-gradient(circle at top right, rgba(80, 200, 120, 0.06), transparent 24%), linear-gradient(180deg, #f5f7fb 0%, #eef2f7 100%);
}

    /* Estrutura Shell (Cópia fiel) */
    body.registration-page.registration-default .content-wrapper.registration-shell {
        max-width: 96rem;
        margin-top: 1.25rem;
        margin-bottom: 1.75rem;
        padding: clamp(1rem, 1.8vw, 2rem);
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    }

    body.registration-page.registration-default .registration-header .header-image {
        border-radius: 22px;
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    }

    /* Toolbar de Idiomas (Cópia fiel) */
    body.registration-page.registration-default .registration-toolbar {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.4rem;
        padding-inline: 0;
    }

    body.registration-page.registration-default .language-switcher a,
    body.registration-page.registration-default .language-switcher input[type="image"],
    body.registration-page.registration-default .language-switcher .aspNetDisabled {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 36px;
        margin: 0;
        padding: 0.25rem 0.4rem;
        border: 1px solid var(--reg-border);
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: var(--reg-shadow-soft);
        text-decoration: none;
        transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    }

        body.registration-page.registration-default .language-switcher a:hover,
        body.registration-page.registration-default .language-switcher input[type="image"]:hover {
            transform: translateY(-1px);
            border-color: rgba(80, 200, 120, 0.30);
            box-shadow: 0 12px 24px rgba(15, 23, 42, 0.09);
        }

    /* Cards (Cópia fiel) */
    body.registration-page.registration-default .registration-card {
        border: 1px solid var(--reg-border);
        border-radius: 20px;
        background: var(--reg-surface);
        box-shadow: var(--reg-shadow-card);
        overflow: hidden;
    }

    /* Chips de Informação (Cópia fiel) */
    body.registration-page.registration-default .event-meta > div,
    body.registration-page.registration-default .meta-chip {
        flex: 1 1 170px;
        min-height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 0.85rem 1rem;
        border: 1px solid var(--reg-border);
        border-radius: 14px;
        background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
        box-shadow: var(--reg-shadow-soft);
        font-size: 0.98rem;
        color: var(--reg-text);
        font-weight: 600;
    }

        body.registration-page.registration-default .event-meta > div i,
        body.registration-page.registration-default .meta-chip i {
            color: var(--reg-accent);
            font-size: 1.05rem;
        }

    /* Step Indicator (Adaptado do estilo de Tabs da myinsc) */
    body.registration-page.registration-default .step-indicator {
        display: flex;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }

        body.registration-page.registration-default .step-indicator > div {
            flex: 1;
        }

        body.registration-page.registration-default .step-indicator .step-active,
        body.registration-page.registration-default .step-indicator .step-inactive {
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 54px;
            padding: 0.85rem 1rem;
            border: 1px solid var(--reg-border);
            border-radius: 14px;
            box-shadow: var(--reg-shadow-soft);
            transition: all 0.3s ease;
            font-weight: 600;
        }

        body.registration-page.registration-default .step-indicator .step-active {
            background: linear-gradient(135deg, #50C878 0%, #45A968 100%);
            color: #fff;
            border-color: #3A8C58;
        }

        body.registration-page.registration-default .step-indicator .step-inactive {
            background: var(--reg-surface-alt);
            color: var(--reg-muted);
        }

    /* Formulários e Títulos (Cópia fiel) */
    body.registration-page.registration-default .info-section {
        padding: 1.25rem 1.35rem;
        border: 1px solid var(--reg-border);
        border-radius: 18px;
        background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
        box-shadow: var(--reg-shadow-soft);
        margin-bottom: 1.25rem;
    }

    body.registration-page.registration-default .section-heading,
    body.registration-page.registration-default .section-title .panel-title {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin: 0 0 1rem;
        padding-bottom: 0.85rem;
        border-bottom: 1px solid var(--reg-border);
        font-size: 1.05rem;
        font-weight: 700;
        color: var(--reg-text);
    }

        body.registration-page.registration-default .section-heading i,
        body.registration-page.registration-default .section-title .panel-title i {
            color: var(--reg-accent);
        }

    body.registration-page.registration-default .form-label {
        font-weight: 600;
        color: #344054;
        font-size: 0.9rem;
    }

    body.registration-page.registration-default .form-control,
    body.registration-page.registration-default .form-select {
        min-height: 48px;
        border-radius: 12px;
        border: 1px solid var(--reg-border);
        background: #ffffff;
        transition: all 0.2s ease;
    }

        body.registration-page.registration-default .form-control:focus {
            border-color: var(--reg-accent);
            box-shadow: 0 0 0 0.22rem var(--reg-accent-soft);
        }

/* Botão Principal */
.btn-santander {
    background: linear-gradient(to bottom, #50C878, #45A968) !important;
    color: #fff !important;
    border: 1px solid #45A968 !important;
    border-radius: 12px;
    padding: 0.85rem 1.5rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(80, 200, 120, 0.2);
}

    .btn-santander:hover {
        background: linear-gradient(to bottom, #5DDC89, #50C878) !important;
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(80, 200, 120, 0.3);
    }

/* =========================================================
   MEDIA QUERIES (Preservados e unificados)
   ========================================================= */
@media (min-width: 992px) {
    .summary-column {
        position: sticky;
        top: 1rem;
    }
}

@media (max-width: 992px) {
    .two-column .form-group {
        flex: 1 1 100%;
    }

    .summary-column {
        position: static;
    }
}

@media (max-width: 768px) {
    .registration-tabs .nav-link,
    .registration-tabs .nav-link.active,
    .step-indicator > div > div {
        border-radius: 14px;
    }

    .registration-toolbar {
        justify-content: center;
    }
}


/* =========================================================
   CONSOLIDAÇÃO COMUM DO SISTEMA DE REGISTO
   Base única para Default.aspx e register.aspx
   ========================================================= */
body.registration-page.registration-default,
body.registration-page.registration-register {
    --reg-accent: #50C878;
    --reg-accent-dark: #3A8C58;
    --reg-accent-soft: rgba(80, 200, 120, 0.12);
    --reg-text: #1f2937;
    --reg-muted: #667085;
    --reg-border: #d9e2ec;
    --reg-border-strong: #c8d2dd;
    --reg-surface: #ffffff;
    --reg-surface-alt: #f8fafc;
    --reg-surface-soft: #f3f6fa;
    --reg-shadow-card: 0 16px 38px rgba(15, 23, 42, 0.08);
    --reg-shadow-soft: 0 10px 24px rgba(15, 23, 42, 0.05);
    color: var(--reg-text);
    background: radial-gradient(circle at top right, rgba(80, 200, 120, 0.06), transparent 24%), linear-gradient(180deg, #f5f7fb 0%, #eef2f7 100%);
}

    body.registration-page.registration-default .content-wrapper.registration-shell,
    body.registration-page.registration-register .content-wrapper.registration-shell {
        max-width: 96rem;
        margin-top: 1.25rem;
        margin-bottom: 1.75rem;
        padding: clamp(1rem, 1.8vw, 2rem);
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    }

    body.registration-page.registration-default .registration-header,
    body.registration-page.registration-register .registration-header {
        margin-bottom: 1rem !important;
        padding-inline: 0;
    }

        body.registration-page.registration-default .registration-header .header-image,
        body.registration-page.registration-register .registration-header .header-image {
            margin-bottom: 0;
            border-radius: 22px;
            box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
        }

    /* Toolbar e flags */
    body.registration-page.registration-default .registration-toolbar,
    body.registration-page.registration-register .registration-toolbar {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.45rem;
        padding-inline: 0;
        margin-bottom: 1rem !important;
    }

        body.registration-page.registration-default .registration-toolbar .flag-icon,
        body.registration-page.registration-default .registration-toolbar input[type="image"],
        body.registration-page.registration-default .registration-toolbar img,
        body.registration-page.registration-register .registration-toolbar .flag-icon,
        body.registration-page.registration-register .registration-toolbar input[type="image"],
        body.registration-page.registration-register .registration-toolbar img {
            width: 24px !important;
            height: 16px !important;
            min-width: 24px !important;
            min-height: 16px !important;
            max-width: 24px !important;
            max-height: 16px !important;
            border-radius: 2px !important;
            border: 0 !important;
            padding: 0 !important;
            margin: 0 !important;
            display: block !important;
            box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.10);
            object-fit: cover;
            vertical-align: middle;
        }

        body.registration-page.registration-default .registration-toolbar a,
        body.registration-page.registration-default .registration-toolbar .aspNetDisabled,
        body.registration-page.registration-default .registration-toolbar input[type="image"],
        body.registration-page.registration-register .registration-toolbar a,
        body.registration-page.registration-register .registration-toolbar .aspNetDisabled,
        body.registration-page.registration-register .registration-toolbar input[type="image"] {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 38px;
            min-width: 38px;
            height: 28px;
            min-height: 28px;
            padding: 0.15rem 0.3rem;
            border: 1px solid var(--reg-border);
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.94);
            box-shadow: var(--reg-shadow-soft);
            transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
        }

            body.registration-page.registration-default .registration-toolbar a:hover,
            body.registration-page.registration-default .registration-toolbar input[type="image"]:hover,
            body.registration-page.registration-register .registration-toolbar a:hover,
            body.registration-page.registration-register .registration-toolbar input[type="image"]:hover {
                transform: translateY(-1px);
                border-color: rgba(80, 200, 120, 0.30);
                box-shadow: 0 12px 24px rgba(15, 23, 42, 0.09);
            }

    /* Cartões partilhados */
    body.registration-page.registration-default .registration-card,
    body.registration-page.registration-register .registration-card,
    body.registration-page.registration-default .card.card-custom,
    body.registration-page.registration-register .card.card-custom {
        border: 1px solid var(--reg-border);
        border-radius: 20px;
        background: var(--reg-surface);
        box-shadow: var(--reg-shadow-card);
        overflow: hidden;
    }

    body.registration-page.registration-default #divCesquerda .card.card-custom,
    body.registration-page.registration-register #divNew .col-md-4 .card.card-custom {
        padding: clamp(1rem, 1.4vw, 1.5rem) !important;
    }

    body.registration-page.registration-default .registration-main-card,
    body.registration-page.registration-register .registration-main-card {
        padding: clamp(1rem, 1.4vw, 1.5rem) !important;
    }

    /* Dropdowns: uma seta única comum */
    body.registration-page.registration-default select.form-select,
    body.registration-page.registration-default select.form-control,
    body.registration-page.registration-default select[id],
    body.registration-page.registration-register select.form-select,
    body.registration-page.registration-register select.form-control,
    body.registration-page.registration-register select[id] {
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        appearance: none !important;
        background-color: #ffffff !important;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23667085' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
        background-repeat: no-repeat !important;
        background-position: right 1rem center !important;
        background-size: 14px 9px !important;
        padding-right: 2.85rem !important;
    }

        body.registration-page.registration-default select.form-select::-ms-expand,
        body.registration-page.registration-default select.form-control::-ms-expand,
        body.registration-page.registration-register select.form-select::-ms-expand,
        body.registration-page.registration-register select.form-control::-ms-expand {
            display: none;
        }

    /* Meta da prova */
    body.registration-page.registration-default .details-info,
    body.registration-page.registration-register .details-info {
        gap: 0.85rem !important;
        justify-content: center !important;
        margin: 0.1rem 0 1.15rem !important;
        border-top-color: var(--reg-border) !important;
    }

        body.registration-page.registration-default .details-info > div,
        body.registration-page.registration-register .details-info > div {
            flex: 1 1 170px;
            min-height: 56px;
            justify-content: center;
            padding: 0.85rem 1rem;
            border: 1px solid var(--reg-border);
            border-radius: 14px;
            background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
            box-shadow: var(--reg-shadow-soft);
            font-size: 0.98rem;
            color: var(--reg-text);
        }

    body.registration-page.registration-default .options-extra,
    body.registration-page.registration-register .options-extra {
        margin-top: 1.2rem;
        padding: 1.2rem;
        border: 1px solid var(--reg-border);
        border-radius: 18px;
        background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
        box-shadow: var(--reg-shadow-soft);
    }

    body.registration-page.registration-default .option-item,
    body.registration-page.registration-register .option-item {
        padding: 0.9rem 1rem;
        margin-bottom: 0.85rem !important;
        border: 1px solid var(--reg-border);
        border-radius: 14px;
        background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
        box-shadow: var(--reg-shadow-soft);
    }

        body.registration-page.registration-default .option-item:last-child,
        body.registration-page.registration-register .option-item:last-child {
            margin-bottom: 0 !important;
        }

        body.registration-page.registration-default .option-item .description,
        body.registration-page.registration-register .option-item .description {
            color: var(--reg-text);
            font-weight: 500;
        }

            body.registration-page.registration-default .option-item .description i,
            body.registration-page.registration-register .option-item .description i {
                width: 1.15rem;
                text-align: center;
            }

        body.registration-page.registration-default .option-item .info-icon,
        body.registration-page.registration-register .option-item .info-icon {
            color: #1a73e8;
            font-size: 1.15rem;
        }

    /* Step indicator */
    body.registration-page.registration-default .step-indicator,
    body.registration-page.registration-register .step-indicator {
        display: flex;
        gap: 0.6rem;
        margin-bottom: 1.25rem !important;
    }

        body.registration-page.registration-default .step-indicator > div,
        body.registration-page.registration-register .step-indicator > div {
            flex: 1 1 0;
        }

            body.registration-page.registration-default .step-indicator > div > div,
            body.registration-page.registration-default .step-indicator > div > .step-active,
            body.registration-page.registration-default .step-indicator > div > .step-inactive,
            body.registration-page.registration-default .step-indicator .step-active,
            body.registration-page.registration-default .step-indicator .step-inactive,
            body.registration-page.registration-register .step-indicator > div > div,
            body.registration-page.registration-register .step-indicator > div > .step-active,
            body.registration-page.registration-register .step-indicator > div > .step-inactive,
            body.registration-page.registration-register .step-indicator .step-active,
            body.registration-page.registration-register .step-indicator .step-inactive {
                display: flex;
                align-items: center;
                justify-content: center;
                min-height: 54px;
                padding: 0.85rem 1rem !important;
                border: 1px solid var(--reg-border);
                border-radius: 14px;
                box-shadow: var(--reg-shadow-soft);
                font-weight: 600;
            }

        body.registration-page.registration-default .step-indicator .step-active,
        body.registration-page.registration-register .step-indicator .step-active {
            background: linear-gradient(135deg, #50C878 0%, #45A968 100%);
            color: #ffffff;
            border-color: #3A8C58;
        }

        body.registration-page.registration-default .step-indicator .step-inactive,
        body.registration-page.registration-register .step-indicator .step-inactive {
            background: var(--reg-surface-alt);
            color: var(--reg-muted);
        }

    /* Títulos das secções: alinhados à esquerda como myInsc */
    body.registration-page.registration-default .section-title,
    body.registration-page.registration-default .section-title.text-center,
    body.registration-page.registration-default .col-12.text-center.section-title,
    body.registration-page.registration-register .section-title,
    body.registration-page.registration-register .section-title.text-center,
    body.registration-page.registration-register .col-12.text-center.section-title {
        text-align: left !important;
        display: block;
        margin-bottom: 1rem !important;
        padding-left: 0 !important;
    }

        body.registration-page.registration-default .panel-title,
        body.registration-page.registration-default .section-title .panel-title,
        body.registration-page.registration-register .panel-title,
        body.registration-page.registration-register .section-title .panel-title {
            display: flex !important;
            align-items: center;
            justify-content: flex-start !important;
            gap: 0.5rem;
            width: 100%;
            margin: 0 !important;
            padding-bottom: 0.85rem;
            border-bottom: 1px solid var(--reg-border);
            text-align: left !important;
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--reg-text);
        }

            body.registration-page.registration-default .panel-title i,
            body.registration-page.registration-register .panel-title i {
                color: var(--reg-accent);
            }

    /* Formulários */
    body.registration-page.registration-default .form-label,
    body.registration-page.registration-register .form-label,
    body.registration-page.registration-default .col-form-label,
    body.registration-page.registration-register .col-form-label {
        font-weight: 600;
        color: #344054;
        font-size: 0.9rem;
        text-align: left;
    }

    body.registration-page.registration-default .form-control,
    body.registration-page.registration-default .form-select,
    body.registration-page.registration-register .form-control,
    body.registration-page.registration-register .form-select {
        min-height: 48px;
        border-radius: 12px;
        border: 1px solid var(--reg-border);
        background: #ffffff;
        color: var(--reg-text);
        box-shadow: none;
        transition: all 0.2s ease;
    }

        body.registration-page.registration-default .form-control:focus,
        body.registration-page.registration-default .form-select:focus,
        body.registration-page.registration-register .form-control:focus,
        body.registration-page.registration-register .form-select:focus {
            border-color: var(--reg-accent);
            box-shadow: 0 0 0 0.22rem var(--reg-accent-soft);
        }

    body.registration-page.registration-default .btn-outline-info,
    body.registration-page.registration-register .btn-outline-info {
        border-radius: 999px;
        padding: 0.35rem 1.5rem;
        font-weight: 600;
        border-color: rgba(80, 200, 120, 0.45);
        color: #3A8C58;
    }

        body.registration-page.registration-default .btn-outline-info:hover,
        body.registration-page.registration-register .btn-outline-info:hover {
            background: rgba(80, 200, 120, 0.10);
            color: #3A8C58;
        }

@media (max-width: 768px) {
    body.registration-page.registration-default .registration-toolbar,
    body.registration-page.registration-register .registration-toolbar {
        justify-content: center;
    }

    body.registration-page.registration-default .step-indicator,
    body.registration-page.registration-register .step-indicator {
        flex-direction: column;
    }
}

/* =========================================================
   REGISTER_OPTION.ASPX — integração no sistema visual comum
   ========================================================= */
body.registration-page.registration-register-option {
    --reg-accent: #50C878;
    --reg-accent-dark: #3A8C58;
    --reg-accent-soft: rgba(80, 200, 120, 0.12);
    --reg-text: #1f2937;
    --reg-muted: #667085;
    --reg-border: #d9e2ec;
    --reg-border-strong: #c8d2dd;
    --reg-surface: #ffffff;
    --reg-surface-alt: #f8fafc;
    --reg-surface-soft: #f3f6fa;
    --reg-shadow-card: 0 16px 38px rgba(15, 23, 42, 0.08);
    --reg-shadow-soft: 0 10px 24px rgba(15, 23, 42, 0.05);
    color: var(--reg-text);
    background: radial-gradient(circle at top right, rgba(80, 200, 120, 0.06), transparent 24%), linear-gradient(180deg, #f5f7fb 0%, #eef2f7 100%);
}

    body.registration-page.registration-register-option .content-wrapper.registration-shell {
        max-width: 96rem;
        margin-top: 1.25rem;
        margin-bottom: 1.75rem;
        padding: clamp(1rem, 1.8vw, 2rem);
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    }

    body.registration-page.registration-register-option .registration-header {
        margin-bottom: 1rem !important;
        padding-inline: 0;
    }

        body.registration-page.registration-register-option .registration-header .header-image {
            margin-bottom: 0;
            border-radius: 22px;
            box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
        }

    body.registration-page.registration-register-option .registration-toolbar {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.45rem;
        padding-inline: 0;
        margin-bottom: 1rem !important;
    }

        body.registration-page.registration-register-option .registration-toolbar a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 38px;
            min-width: 38px;
            height: 28px;
            min-height: 28px;
            padding: 0.15rem 0.3rem;
            border: 1px solid var(--reg-border);
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.94);
            box-shadow: var(--reg-shadow-soft);
            transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
            text-decoration: none;
        }

            body.registration-page.registration-register-option .registration-toolbar a:hover {
                transform: translateY(-1px);
                border-color: rgba(80, 200, 120, 0.30);
                box-shadow: 0 12px 24px rgba(15, 23, 42, 0.09);
            }

        body.registration-page.registration-register-option .registration-toolbar .flag-icon,
        body.registration-page.registration-register-option .registration-toolbar img {
            width: 24px !important;
            height: 16px !important;
            min-width: 24px !important;
            min-height: 16px !important;
            max-width: 24px !important;
            max-height: 16px !important;
            border-radius: 2px !important;
            border: 0 !important;
            padding: 0 !important;
            margin: 0 !important;
            display: block !important;
            object-fit: cover;
            box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.10);
        }

    body.registration-page.registration-register-option .summary-column,
    body.registration-page.registration-register-option .details-column {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    body.registration-page.registration-register-option .registration-card,
    body.registration-page.registration-register-option .card.card-custom {
        border: 1px solid var(--reg-border);
        border-radius: 20px;
        background: var(--reg-surface);
        box-shadow: var(--reg-shadow-card);
        overflow: hidden;
    }

    body.registration-page.registration-register-option .card.card-custom {
        padding: clamp(1rem, 1.4vw, 1.5rem) !important;
    }

    body.registration-page.registration-register-option .registration-main-card {
        padding: clamp(1rem, 1.4vw, 1.5rem) !important;
    }

    body.registration-page.registration-register-option .card.card-custom img {
        margin-bottom: 0;
    }

    body.registration-page.registration-register-option .details-info {
        gap: 0.85rem !important;
        justify-content: center !important;
        margin: 0.1rem 0 1.15rem !important;
        border-top-color: var(--reg-border) !important;
    }

        body.registration-page.registration-register-option .details-info > div {
            flex: 1 1 170px;
            min-height: 56px;
            justify-content: center;
            padding: 0.85rem 1rem;
            border: 1px solid var(--reg-border);
            border-radius: 14px;
            background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
            box-shadow: var(--reg-shadow-soft);
            font-size: 0.98rem;
            color: var(--reg-text);
        }

    body.registration-page.registration-register-option .step-indicator {
        display: flex;
        gap: 0.6rem;
        margin-bottom: 1.25rem !important;
    }

        body.registration-page.registration-register-option .step-indicator > div {
            flex: 1 1 0;
        }

            body.registration-page.registration-register-option .step-indicator > div > div,
            body.registration-page.registration-register-option .step-indicator .step-active,
            body.registration-page.registration-register-option .step-indicator .step-inactive {
                display: flex;
                align-items: center;
                justify-content: center;
                min-height: 54px;
                padding: 0.85rem 1rem !important;
                border: 1px solid var(--reg-border);
                border-radius: 14px;
                box-shadow: var(--reg-shadow-soft);
                font-weight: 600;
            }

        body.registration-page.registration-register-option .step-indicator .step-active {
            background: linear-gradient(135deg, #50C878 0%, #45A968 100%);
            color: #ffffff;
            border-color: #3A8C58;
        }

        body.registration-page.registration-register-option .step-indicator .step-inactive {
            background: var(--reg-surface-alt);
            color: var(--reg-muted);
        }

    body.registration-page.registration-register-option .info-section {
        padding: 1.25rem 1.35rem;
        border: 1px solid var(--reg-border);
        border-radius: 18px;
        background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
        box-shadow: var(--reg-shadow-soft);
        margin-bottom: 1.25rem;
    }

    body.registration-page.registration-register-option .section-heading,
    body.registration-page.registration-register-option .panel-title {
        display: flex;
        align-items: center;
        justify-content: flex-start !important;
        gap: 0.5rem;
        width: 100%;
        margin: 0 0 1rem !important;
        padding-bottom: 0.85rem;
        border-bottom: 1px solid var(--reg-border);
        text-align: left !important;
        font-size: 1.05rem;
        font-weight: 700;
        color: var(--reg-text);
    }

        body.registration-page.registration-register-option .section-heading i,
        body.registration-page.registration-register-option .panel-title i {
            color: var(--reg-accent);
        }

    body.registration-page.registration-register-option .form-label {
        font-weight: 600;
        color: #344054;
        font-size: 0.9rem;
        text-align: left;
    }

    body.registration-page.registration-register-option .form-control,
    body.registration-page.registration-register-option .form-select {
        min-height: 48px;
        border-radius: 12px;
        border: 1px solid var(--reg-border);
        background: #ffffff;
        color: var(--reg-text);
        box-shadow: none;
        transition: all 0.2s ease;
    }

        body.registration-page.registration-register-option .form-control:focus,
        body.registration-page.registration-register-option .form-select:focus {
            border-color: var(--reg-accent);
            box-shadow: 0 0 0 0.22rem var(--reg-accent-soft);
        }

    body.registration-page.registration-register-option select.form-select,
    body.registration-page.registration-register-option select.form-control,
    body.registration-page.registration-register-option select[id] {
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        appearance: none !important;
        background-color: #ffffff !important;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23667085' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
        background-repeat: no-repeat !important;
        background-position: right 1rem center !important;
        background-size: 14px 9px !important;
        padding-right: 2.85rem !important;
    }

        body.registration-page.registration-register-option select.form-select::-ms-expand,
        body.registration-page.registration-register-option select.form-control::-ms-expand {
            display: none;
        }

    body.registration-page.registration-register-option .timing-panel {
        padding: 1.4rem !important;
    }

        body.registration-page.registration-register-option .timing-panel .d-flex.align-items-center.mx-3 {
            min-height: 56px;
            padding: 0.55rem 0.75rem;
            border: 1px solid var(--reg-border);
            border-radius: 14px;
            background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
            box-shadow: var(--reg-shadow-soft);
            gap: 0.65rem;
        }

        body.registration-page.registration-register-option .timing-panel .form-select {
            min-height: 44px;
            border-radius: 10px;
        }

    body.registration-page.registration-register-option .commands-panel {
        padding-top: 1rem;
    }

    body.registration-page.registration-register-option .btn-outline-info {
        border-radius: 999px;
        padding: 0.35rem 1.5rem;
        font-weight: 600;
        border-color: rgba(80, 200, 120, 0.45);
        color: #3A8C58;
    }

        body.registration-page.registration-register-option .btn-outline-info:hover {
            background: rgba(80, 200, 120, 0.10);
            color: #3A8C58;
        }

    body.registration-page.registration-register-option .time-history-row {
        display: grid;
        grid-template-columns: minmax(180px, 220px) minmax(280px, 1fr);
        gap: 1rem 1.25rem;
        align-items: end;
        width: 100%;
    }

    body.registration-page.registration-register-option .time-history-unit {
        display: flex;
        flex-direction: column;
        gap: 0.45rem;
        min-width: 0;
    }

    body.registration-page.registration-register-option .time-history-select,
    body.registration-page.registration-register-option .time-history-input {
        width: 100% !important;
        min-width: 0;
        min-height: 52px;
    }

    body.registration-page.registration-register-option #divProvasList.time-history-unit .time-history-select,
    body.registration-page.registration-register-option .time-history-unit:last-child .time-history-select {
        width: 100% !important;
    }

@media (max-width: 991.98px) {
    body.registration-page.registration-register-option .time-history-row {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 992px) {
    body.registration-page.registration-register-option .summary-column {
        position: static;
    }
}

@media (min-width: 992px) {
    body.registration-page.registration-register-option .summary-column {
        position: sticky;
        top: 1rem;
    }
}

@media (max-width: 768px) {
    body.registration-page.registration-register-option .registration-toolbar {
        justify-content: center;
    }

    body.registration-page.registration-register-option .step-indicator {
        flex-direction: column;
    }

    body.registration-page.registration-register-option .timing-panel .d-flex.align-items-center.mx-3 {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================================
   REGISTRATION SUMMARY — register_summary.aspx
   ========================================================= */
body.registration-page.registration-register-summary {
    --reg-accent: #50C878;
    --reg-accent-dark: #3A8C58;
    --reg-accent-soft: rgba(80, 200, 120, 0.10);
    --reg-text: #1f2937;
    --reg-muted: #667085;
    --reg-border: #d9e2ec;
    --reg-border-strong: #c8d2dd;
    --reg-surface: #ffffff;
    --reg-surface-alt: #f8fafc;
    --reg-surface-soft: #f3f6fa;
    --reg-shadow-card: 0 16px 38px rgba(15, 23, 42, 0.08);
    --reg-shadow-soft: 0 10px 24px rgba(15, 23, 42, 0.05);
    color: var(--reg-text);
    background: radial-gradient(circle at top right, rgba(80, 200, 120, 0.06), transparent 24%), linear-gradient(180deg, #f5f7fb 0%, #eef2f7 100%);
}

    body.registration-page.registration-register-summary .content-wrapper.registration-shell {
        max-width: 96rem;
        margin-top: 1.25rem;
        margin-bottom: 1.75rem;
        padding: clamp(1rem, 1.8vw, 2rem);
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    }

    body.registration-page.registration-register-summary .registration-header {
        margin-bottom: 1rem !important;
        padding-inline: 0;
    }

        body.registration-page.registration-register-summary .registration-header .header-image {
            margin-bottom: 0;
            border-radius: 22px;
            box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
        }

    body.registration-page.registration-register-summary .registration-toolbar {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.45rem;
        padding-inline: 0;
        margin-bottom: 1rem !important;
    }

        body.registration-page.registration-register-summary .registration-toolbar .flag-icon,
        body.registration-page.registration-register-summary .registration-toolbar input[type="image"],
        body.registration-page.registration-register-summary .registration-toolbar img {
            width: 24px !important;
            height: 16px !important;
            min-width: 24px !important;
            min-height: 16px !important;
            max-width: 24px !important;
            max-height: 16px !important;
            border-radius: 2px !important;
            border: 0 !important;
            padding: 0 !important;
            margin: 0 !important;
            display: block !important;
            box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.10);
            object-fit: cover;
        }

        body.registration-page.registration-register-summary .registration-toolbar a,
        body.registration-page.registration-register-summary .registration-toolbar .aspNetDisabled,
        body.registration-page.registration-register-summary .registration-toolbar input[type="image"] {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 38px;
            min-width: 38px;
            height: 28px;
            min-height: 28px;
            padding: 0.15rem 0.3rem;
            border: 1px solid var(--reg-border);
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.94);
            box-shadow: var(--reg-shadow-soft);
            transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
        }

    body.registration-page.registration-register-summary .registration-main-card,
    body.registration-page.registration-register-summary .card.card-custom {
        border: 1px solid var(--reg-border);
        border-radius: 20px;
        background: var(--reg-surface);
        box-shadow: var(--reg-shadow-card);
        overflow: hidden;
    }

    body.registration-page.registration-register-summary .registration-main-card {
        padding: clamp(1rem, 1.4vw, 1.5rem) !important;
    }

    body.registration-page.registration-register-summary h3,
    body.registration-page.registration-register-summary .section-heading,
    body.registration-page.registration-register-summary .card-header .fw-semibold,
    body.registration-page.registration-register-summary h6.fw-bold {
        color: #1f2937;
    }

    body.registration-page.registration-register-summary .step-indicator {
        display: flex;
        gap: 0.6rem;
        margin-bottom: 1.25rem !important;
    }

        body.registration-page.registration-register-summary .step-indicator > div {
            flex: 1 1 0;
        }

            body.registration-page.registration-register-summary .step-indicator > div > div,
            body.registration-page.registration-register-summary .step-indicator .step-active,
            body.registration-page.registration-register-summary .step-indicator .step-inactive {
                display: flex;
                align-items: center;
                justify-content: center;
                min-height: 54px;
                padding: 0.85rem 1rem !important;
                border: 1px solid var(--reg-border);
                border-radius: 14px;
                box-shadow: var(--reg-shadow-soft);
                font-weight: 600;
            }

        body.registration-page.registration-register-summary .step-indicator .step-active {
            background: linear-gradient(135deg, #50C878 0%, #45A968 100%);
            color: #fff;
            border-color: #3A8C58;
        }

        body.registration-page.registration-register-summary .step-indicator .step-inactive {
            background: var(--reg-surface-alt);
            color: var(--reg-muted);
        }

    body.registration-page.registration-register-summary .summary-table thead th {
        border-bottom: 1px solid var(--reg-border);
        color: #344054;
        font-weight: 700;
        background: #f8fafc;
    }

    body.registration-page.registration-register-summary .summary-table tbody td {
        border-bottom: 1px solid #edf2f7;
    }

    body.registration-page.registration-register-summary .summary-table .btn,
    body.registration-page.registration-register-summary .summary-table .link-dark {
        font-weight: 600;
    }

    body.registration-page.registration-register-summary #invoice-summary {
        border: 1px solid var(--reg-border);
        border-radius: 16px;
        overflow: hidden;
        background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
        box-shadow: var(--reg-shadow-soft);
    }

        body.registration-page.registration-register-summary #invoice-summary td {
            padding: 0.8rem 1rem;
            border-color: #edf2f7;
        }

    body.registration-page.registration-register-summary .summary-panel {
        margin-top: 0 !important;
    }

    body.registration-page.registration-register-summary .summary-group-details .card,
    body.registration-page.registration-register-summary .summary-mb-details .card {
        height: 100%;
    }

    body.registration-page.registration-register-summary .summary-group-details .card-header,
    body.registration-page.registration-register-summary .summary-mb-details .card-header {
        background: #fff;
        border-bottom: 1px solid var(--reg-border);
        padding: 1rem 1.25rem 0.9rem;
    }

    body.registration-page.registration-register-summary .summary-group-details .card-body,
    body.registration-page.registration-register-summary .summary-mb-details .card-body {
        padding: 1.1rem 1.25rem 1.25rem;
    }

    body.registration-page.registration-register-summary #divInfoPayment > div {
        border-radius: 18px !important;
        box-shadow: var(--reg-shadow-soft);
    }

    body.registration-page.registration-register-summary #divFaturacao,
    body.registration-page.registration-register-summary #divPagamento,
    body.registration-page.registration-register-summary #divEmails,
    body.registration-page.registration-register-summary #divButtons {
        padding: 1.25rem 1.35rem;
        border: 1px solid var(--reg-border);
        border-radius: 18px;
        background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
        box-shadow: var(--reg-shadow-soft);
    }

        body.registration-page.registration-register-summary #divFaturacao .row.mb-3.align-items-center,
        body.registration-page.registration-register-summary #divPagamento .row.mb-3.align-items-center,
        body.registration-page.registration-register-summary #divEmails .row.mb-3.align-items-center {
            margin-bottom: 1rem !important;
            padding-bottom: 0.9rem;
            border-bottom: 1px solid var(--reg-border);
        }

    body.registration-page.registration-register-summary select.form-select,
    body.registration-page.registration-register-summary select.form-control,
    body.registration-page.registration-register-summary select[id] {
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        appearance: none !important;
        background-color: #ffffff !important;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23667085' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
        background-repeat: no-repeat !important;
        background-position: right 1rem center !important;
        background-size: 14px 9px !important;
        padding-right: 2.85rem !important;
    }

        body.registration-page.registration-register-summary select.form-select::-ms-expand,
        body.registration-page.registration-register-summary select.form-control::-ms-expand {
            display: none;
        }

    body.registration-page.registration-register-summary .form-control,
    body.registration-page.registration-register-summary .form-select {
        min-height: 48px;
        border-radius: 12px;
        border: 1px solid var(--reg-border);
        background: #fff;
        box-shadow: none;
    }

        body.registration-page.registration-register-summary .form-control:focus,
        body.registration-page.registration-register-summary .form-select:focus {
            border-color: rgba(80, 200, 120, 0.45);
            box-shadow: 0 0 0 0.22rem rgba(80, 200, 120, 0.12);
        }

    body.registration-page.registration-register-summary .payment-option-label {
        min-width: 230px;
    }

    body.registration-page.registration-register-summary .payment-option-content {
        border: 1px solid var(--reg-border);
        border-radius: 18px;
        box-shadow: var(--reg-shadow-soft);
        padding: 1rem 1rem 1.1rem !important;
    }

    body.registration-page.registration-register-summary .payment-card.active .payment-option-content {
        border-color: #50C878;
        background: linear-gradient(180deg, #ffffff 0%, #f5fff8 100%);
        box-shadow: 0 0 0 3px rgba(80, 200, 120, 0.12);
    }

    body.registration-page.registration-register-summary .invoice-buttons {
        display: flex;
        gap: 0.75rem;
        flex-wrap: wrap;
        justify-content: center;
    }

        body.registration-page.registration-register-summary .invoice-buttons .btn,
        body.registration-page.registration-register-summary .invoice-buttons input[type="submit"],
        body.registration-page.registration-register-summary .invoice-buttons input[type="button"] {
            min-height: 48px;
            border-radius: 12px;
            padding-inline: 1.4rem;
            font-weight: 700;
        }

    body.registration-page.registration-register-summary .summary-next-wrap {
        margin-top: 0.5rem;
    }

        body.registration-page.registration-register-summary .summary-next-wrap .invoice-buttons {
            margin-bottom: 0 !important;
        }

@media (max-width: 991.98px) {
    body.registration-page.registration-register-summary .registration-toolbar {
        justify-content: center;
    }

    body.registration-page.registration-register-summary .step-indicator {
        flex-direction: column;
    }

    body.registration-page.registration-register-summary #divGrupo,
    body.registration-page.registration-register-summary .text-end {
        text-align: left !important;
    }

    body.registration-page.registration-register-summary .p-3.h-100.d-flex {
        align-items: flex-start !important;
    }

    body.registration-page.registration-register-summary .payment-option-label {
        min-width: 100%;
    }
}


/* =========================================================
   REGISTER_OPTION — afinação visual final
   ========================================================= */
body.registration-page.registration-register-option .option-summary-card {
    padding: clamp(1rem, 1.4vw, 1.5rem) !important;
}

    body.registration-page.registration-register-option .option-summary-card .event-poster {
        width: 100%;
        max-width: 280px;
        margin: 0 auto 1rem !important;
        display: block;
    }

    body.registration-page.registration-register-option .option-summary-card .event-price-block {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.2rem;
        margin-top: .15rem;
    }

    body.registration-page.registration-register-option .option-summary-card .price-label {
        font-size: 0.95rem;
        color: var(--reg-muted);
        font-weight: 500;
    }

    body.registration-page.registration-register-option .option-summary-card .price-value {
        font-size: 1.9rem;
        line-height: 1.1;
        font-weight: 700;
        color: var(--reg-text);
    }

body.registration-page.registration-register-option .selected-extras-panel {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--reg-border);
}

    body.registration-page.registration-register-option .selected-extras-panel .extras-title {
        margin: 0 0 1rem;
        font-size: 0.92rem;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: var(--reg-text);
    }

    body.registration-page.registration-register-option .selected-extras-panel .option-row {
        padding: 0.9rem 1rem;
        margin-bottom: 0.85rem !important;
        border: 1px solid var(--reg-border);
        border-radius: 14px;
        background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
        box-shadow: var(--reg-shadow-soft);
    }

        body.registration-page.registration-register-option .selected-extras-panel .option-row:last-child {
            margin-bottom: 0 !important;
        }

    body.registration-page.registration-register-option .selected-extras-panel .description {
        color: var(--reg-text);
        font-weight: 500;
    }

body.registration-page.registration-register-option .selected-extras-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

body.registration-page.registration-register-option .selected-extra-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 42px;
    padding: 0.75rem 0.95rem;
    border: 1px solid var(--reg-border);
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: var(--reg-shadow-soft);
    color: var(--reg-text);
    font-weight: 600;
    line-height: 1.2;
}

    body.registration-page.registration-register-option .selected-extra-chip i {
        color: var(--reg-accent);
    }

body.registration-page.registration-register-option .selected-extras-panel .description i {
    width: 1.15rem;
    text-align: center;
    color: var(--reg-accent);
}

body.registration-page.registration-register-option .time-entry-row {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1rem;
    flex-wrap: nowrap;
    width: 100%;
}

body.registration-page.registration-register-option .time-unit {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

    body.registration-page.registration-register-option .time-unit .time-select {
        width: 100% !important;
        min-width: 0;
        min-height: 52px;
        font-size: 1rem;
        font-weight: 600;
        padding-left: 0.9rem;
    }

body.registration-page.registration-register-option .time-unit-label {
    font-size: 0.92rem;
    font-weight: 600;
    color: #344054;
    padding-left: 0.15rem;
}

body.registration-page.registration-register-option .timing-panel .time-question-wrap {
    margin-bottom: 0 !important;
}

body.registration-page.registration-register-option .timing-panel .form-label.time-question-label {
    margin-bottom: 0.5rem;
}

body.registration-page.registration-register-option .commands-panel {
    padding-top: 1rem;
}

@media (max-width: 991.98px) {
    body.registration-page.registration-register-option .time-entry-row {
        flex-wrap: wrap;
    }

    body.registration-page.registration-register-option .time-unit {
        flex: 1 1 100%;
    }
}

body.registration-page .registration-flag-native.is-registration-flag-enhanced {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

body.registration-page .registration-flag-select {
    position: relative;
    width: 100%;
}

body.registration-page .registration-flag-select__button {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: calc(1.5em + 1.2rem + 2px);
    padding: 0.6rem 2.35rem 0.6rem 0.75rem;
    border: 1px solid #d0d7e2;
    border-radius: 14px;
    color: #212529;
    background-color: #fff;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    cursor: pointer;
    box-shadow: none;
}

body.registration-page .registration-flag-select__button:focus {
    outline: 0;
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

body.registration-page .registration-flag-select__flag {
    flex: 0 0 auto;
    display: inline-block;
    width: 1.35em;
    height: 1em;
    margin-right: 0.55rem;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
    background-size: contain;
    background-position: 50%;
    background-repeat: no-repeat;
}

body.registration-page .registration-flag-select__flag--empty {
    box-shadow: none;
}

body.registration-page .registration-flag-select__label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.registration-page .registration-flag-select__chevron {
    position: absolute;
    right: 0.85rem;
    color: #667085;
    font-size: 0.9rem;
    pointer-events: none;
}

body.registration-page .registration-flag-select__list {
    position: fixed;
    z-index: 5005;
    display: none;
    max-height: 260px;
    overflow-y: auto;
    padding: 6px;
    border: 1px solid #d0d7e2;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
}

body.registration-page .registration-flag-select__search-wrap {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 0.35rem;
    background: #fff;
}

body.registration-page .registration-flag-select__search {
    width: 100%;
    min-height: 36px;
    padding: 0.45rem 0.6rem;
    border: 1px solid #d0d7e2;
    border-radius: 8px;
    color: #212529;
    background: #fff;
    font-family: inherit;
    font-size: 0.95rem;
}

body.registration-page .registration-flag-select__search:focus {
    outline: 0;
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.12);
}

body.registration-page .registration-flag-select__options {
    padding-top: 0.2rem;
}

body.registration-page .registration-flag-select__option {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 36px;
    padding: 0.45rem 0.55rem;
    border: 0;
    border-radius: 8px;
    color: #212529;
    background: transparent;
    font-size: 0.95rem;
    text-align: left;
    cursor: pointer;
}

body.registration-page .registration-flag-select__option:hover,
body.registration-page .registration-flag-select__option:focus,
body.registration-page .registration-flag-select__option[aria-selected="true"] {
    background: #f8f9fa;
}

body.registration-page .registration-flag-select__empty {
    padding: 0.65rem 0.55rem;
    color: #667085;
    font-size: 0.92rem;
}

body.registration-page .registration-flag-select.is-disabled .registration-flag-select__button {
    cursor: not-allowed;
    opacity: 0.72;
}

/* =========================================================
   Fallback moderno de mensagens do fluxo de inscricao
   ========================================================= */
body.registration-page.registration-message {
    --reg-accent: #50C878;
    --reg-accent-dark: #3A8C58;
    --reg-accent-soft: rgba(80, 200, 120, 0.12);
    --reg-text: #1f2937;
    --reg-muted: #667085;
    --reg-border: #d9e2ec;
    --reg-surface: #ffffff;
    --reg-surface-alt: #f8fafc;
    --reg-shadow-card: 0 16px 38px rgba(15, 23, 42, 0.08);
    --reg-shadow-soft: 0 10px 24px rgba(15, 23, 42, 0.05);
    min-height: 100vh;
    color: var(--reg-text);
    background: radial-gradient(circle at top right, rgba(80, 200, 120, 0.06), transparent 24%), linear-gradient(180deg, #f5f7fb 0%, #eef2f7 100%);
}

body.registration-page.registration-message .registration-message-page {
    min-height: 100vh;
    padding: 1.25rem 0 1.75rem;
}

body.registration-page.registration-message .content-wrapper.registration-shell {
    max-width: 96rem;
    margin-top: 0;
    margin-bottom: 0;
    padding: clamp(1rem, 1.8vw, 2rem);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

body.registration-page.registration-message .registration-message-card {
    max-width: 860px;
    margin: clamp(1rem, 5vw, 4rem) auto;
    padding: clamp(1.25rem, 2.5vw, 2rem);
    border: 1px solid var(--reg-border);
    border-radius: 20px;
    background: var(--reg-surface);
    box-shadow: var(--reg-shadow-card);
}

body.registration-page.registration-message .registration-message-brand {
    margin-bottom: 1.35rem;
    color: var(--reg-muted);
    font-family: "Montserrat", "Poppins", sans-serif;
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: 0;
}

body.registration-page.registration-message .registration-message-body {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

body.registration-page.registration-message .registration-message-status {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 1.35rem;
    font-weight: 800;
}

body.registration-page.registration-message .registration-message-status.is-error {
    color: #b42318;
    background: #fff0ed;
    border: 1px solid #fecdca;
}

body.registration-page.registration-message .registration-message-status.is-success {
    color: #087443;
    background: #ecfdf3;
    border: 1px solid #abefc6;
}

body.registration-page.registration-message .registration-message-copy {
    min-width: 0;
}

body.registration-page.registration-message .registration-message-copy h1 {
    margin: 0 0 0.85rem;
    color: var(--reg-text);
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    font-weight: 700;
    letter-spacing: 0;
}

body.registration-page.registration-message .registration-message-copy p {
    margin: 1rem 0 0;
    color: var(--reg-muted);
    font-size: 1rem;
    line-height: 1.6;
}

body.registration-page.registration-message .registration-message-alert {
    padding: 1rem 1.1rem;
    border-radius: 14px;
    font-size: 1rem;
    line-height: 1.55;
    font-weight: 600;
}

body.registration-page.registration-message .registration-message-alert.is-error {
    color: #912018;
    background: #fffbfa;
    border: 1px solid #fecdca;
}

body.registration-page.registration-message .registration-message-alert.is-success {
    color: #067647;
    background: #f6fef9;
    border: 1px solid #abefc6;
}

body.registration-page.registration-message .registration-message-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding-left: 64px;
}

body.registration-page.registration-message .registration-message-actions .btn {
    border-radius: 12px;
    padding: 0.75rem 1.2rem;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 640px) {
    body.registration-page.registration-message .registration-message-body {
        flex-direction: column;
    }

    body.registration-page.registration-message .registration-message-actions {
        padding-left: 0;
    }

    body.registration-page.registration-message .registration-message-actions .btn {
        width: 100%;
    }
}
