.pbt-registration {
    --pbt-bg: #080b10;
    --pbt-panel: #0e131b;
    --pbt-blue: #00bfff;
    --pbt-yellow: #ffea00;
    --pbt-red: #ff315c;
    --pbt-text: #f2f5f7;
    --pbt-muted: #b8c1cc;
    box-sizing: border-box;
    max-width: 940px;
    margin: 30px auto 70px;
    color: var(--pbt-text);
}

.pbt-registration *,
.pbt-registration *::before,
.pbt-registration *::after {
    box-sizing: border-box;
}

.pbt-language {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--pbt-muted);
}

.pbt-language a {
    color: var(--pbt-muted);
    text-decoration: none;
}

.pbt-language a.is-active {
    color: var(--pbt-yellow);
    font-weight: 800;
}

.pbt-hero {
    padding: 34px 28px;
    border: 1px solid rgba(0, 191, 255, .55);
    border-radius: 14px;
    background: radial-gradient(circle at 85% 0, rgba(0, 191, 255, .16), transparent 38%), var(--pbt-bg);
    text-align: center;
    box-shadow: 0 0 24px rgba(0, 191, 255, .14);
}

.pbt-hero span {
    color: var(--pbt-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.pbt-hero h1 {
    margin: 10px 0 8px;
    color: var(--pbt-yellow);
    font-size: clamp(30px, 6vw, 52px);
    line-height: 1.05;
    text-shadow: 0 0 8px rgba(255, 234, 0, .55), 0 0 22px rgba(255, 234, 0, .22);
}

.pbt-hero p {
    margin: 0;
    color: var(--pbt-text);
    font-size: 18px;
}

.pbt-form {
    display: grid;
    gap: 20px;
    margin-top: 22px;
}

.pbt-section,
.pbt-message {
    padding: 26px;
    border: 1px solid rgba(0, 191, 255, .35);
    border-radius: 12px;
    background: var(--pbt-panel);
    box-shadow: 0 0 15px rgba(0, 191, 255, .08);
}

.pbt-section h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    color: var(--pbt-text);
    font-size: 22px;
}

.pbt-section h2 span {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid var(--pbt-blue);
    border-radius: 50%;
    color: var(--pbt-blue);
    font-size: 14px;
    box-shadow: 0 0 10px rgba(0, 191, 255, .25);
}

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

.pbt-span-2 {
    grid-column: 1 / -1;
}

.pbt-field,
.pbt-upload {
    display: grid;
    gap: 7px;
    color: var(--pbt-text);
}

.pbt-field > span,
.pbt-upload > span,
.pbt-choice legend {
    color: var(--pbt-text);
    font-size: 14px;
    font-weight: 700;
}

.pbt-registration input[type="text"],
.pbt-registration input[type="email"],
.pbt-registration input[type="tel"],
.pbt-registration input[type="number"],
.pbt-registration select,
.pbt-registration input[type="file"] {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #394553;
    border-radius: 7px;
    outline: none;
    background: #080b10;
    color: var(--pbt-text);
}

.pbt-registration input:focus,
.pbt-registration select:focus {
    border-color: var(--pbt-blue);
    box-shadow: 0 0 0 3px rgba(0, 191, 255, .14);
}

/* Los desplegables nativos de algunos navegadores usan fondo claro aunque
   el formulario sea oscuro. Fijamos ambos colores para mantener el contraste. */
.pbt-registration select option {
    background: #ffffff !important;
    color: #111820 !important;
}

.pbt-registration select option:checked {
    background: #dff5ff !important;
    color: #071117 !important;
}

.pbt-choice {
    margin: 0;
    padding: 16px;
    border: 1px solid #28323d;
    border-radius: 8px;
}

.pbt-choice > div {
    display: flex;
    gap: 24px;
    margin-top: 9px;
}

.pbt-choice label,
.pbt-consent label {
    color: var(--pbt-text);
}

.pbt-help,
.pbt-upload small,
.pbt-choice small,
.pbt-final-help {
    margin: 0;
    color: var(--pbt-muted);
    font-size: 13px;
    line-height: 1.5;
}

.pbt-fee {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3px 15px;
    margin-bottom: 18px;
    padding: 16px;
    border-left: 3px solid var(--pbt-yellow);
    background: rgba(255, 234, 0, .055);
}

.pbt-fee strong {
    grid-row: span 2;
    align-self: center;
    color: var(--pbt-yellow);
    font-size: 24px;
}

.pbt-fee small {
    color: var(--pbt-muted);
}

.pbt-payment-intro {
    margin: -8px 0 20px;
    color: var(--pbt-muted);
    line-height: 1.55;
}

.pbt-payment-first .pbt-choice {
    margin-bottom: 18px;
}

.pbt-fee-frenzy {
    border-left-color: var(--pbt-blue);
    background: rgba(0, 191, 255, .055);
}

.pbt-fee-frenzy strong {
    color: var(--pbt-blue);
}

.pbt-fee-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 20px;
    padding: 18px;
    border: 1px solid rgba(255, 234, 0, .65);
    border-radius: 8px;
    background: rgba(255, 234, 0, .09);
    color: var(--pbt-text);
    font-weight: 800;
}

.pbt-fee-total strong {
    color: var(--pbt-yellow);
    font-size: 28px;
    white-space: nowrap;
}

.pbt-registration input[readonly] {
    border-color: rgba(255, 234, 0, .45);
    color: var(--pbt-yellow);
    font-weight: 800;
    cursor: default;
}

.pbt-payment-instructions {
    margin: 18px 0;
    padding: 15px 17px;
    border: 1px solid rgba(0, 191, 255, .35);
    border-radius: 8px;
    background: rgba(0, 191, 255, .06);
}

.pbt-payment-instructions[hidden] {
    display: none;
}

.pbt-payment-instructions p {
    margin: 6px 0 0;
    color: var(--pbt-muted);
    line-height: 1.6;
}

.pbt-upload {
    margin-top: 18px;
}

.pbt-consent {
    padding: 20px 26px;
}

.pbt-consent a {
    color: var(--pbt-blue);
}

.pbt-privacy-summary {
    margin: 12px 0 0 25px;
    color: var(--pbt-muted);
    font-size: 12px;
    line-height: 1.55;
}

.pbt-submit {
    min-height: 52px;
    padding: 13px 24px;
    border: 1px solid var(--pbt-blue);
    border-radius: 8px;
    background: var(--pbt-blue);
    color: #001018;
    font-size: 17px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 0 18px rgba(0, 191, 255, .28);
}

.pbt-submit:hover {
    filter: brightness(1.12);
}

.pbt-final-help {
    text-align: center;
}

.pbt-message {
    margin-top: 20px;
}

.pbt-message h2 {
    margin-top: 0;
    color: var(--pbt-text);
}

.pbt-message-success {
    border-color: rgba(40, 210, 120, .55);
}

.pbt-message-error {
    border-color: rgba(255, 49, 92, .6);
}

.pbt-message-error strong,
.pbt-message-error h2 {
    color: var(--pbt-red);
}

@media (max-width: 700px) {
    .pbt-registration { margin-top: 15px; }
    .pbt-hero, .pbt-section, .pbt-message { padding: 21px 17px; }
    .pbt-fields { grid-template-columns: 1fr; }
    .pbt-span-2 { grid-column: auto; }
    .pbt-fee { grid-template-columns: 1fr; }
    .pbt-fee strong { grid-row: auto; }
    .pbt-fee-total { align-items: flex-start; flex-direction: column; }
}
