/* ── Sorteo Pangea Form – Bizkaia PGAe Open ── */

.psf-wrap {
    max-width: 600px;
    margin: 0 auto;
    font-family: inherit;
}

/* ── Cabecera ── */
.psf-header {
    text-align: center;
    margin-bottom: 28px;
}

.psf-badge {
    display: inline-block;
    background: #1a3a6e;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.psf-title {
    font-size: clamp(22px, 4vw, 28px);
    font-weight: 700;
    margin: 0 0 6px;
    line-height: 1.2;
}

.psf-brand {
    color: #1a3a6e;
}

.psf-subtitle {
    font-size: 15px;
    color: #555;
    margin: 0 0 18px;
}

/* ── Premios ── */
.psf-prizes {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
    justify-content: center;
}

.psf-prize {
    flex: 1;
    min-width: 200px;
    background: #f0f6fc;
    border: 1.5px solid #bfdbfe;
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
}

.psf-prize-icon {
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
}

.psf-prize-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.psf-prize-body strong {
    font-size: 14px;
    color: #1a3a6e;
}

.psf-prize-body span {
    font-size: 13px;
    color: #555;
    line-height: 1.4;
}

.psf-prize-or {
    font-size: 14px;
    font-weight: 700;
    color: #888;
    flex-shrink: 0;
}

/* ── Aviso ── */
.psf-notice {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 13px;
    color: #444;
    line-height: 1.5;
    text-align: left;
    margin-bottom: 4px;
}

/* ── Campos ── */
.psf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 480px) {
    .psf-row { grid-template-columns: 1fr; }
}

#psf-form .psf-field {
    margin-bottom: 18px;
}

#psf-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #222;
}

#psf-form input[type="text"],
#psf-form input[type="email"],
#psf-form input[type="tel"] {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1.5px solid #d0d5dd;
    border-radius: 8px;
    font-size: 15px;
    color: #111;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
}

#psf-form input:focus {
    border-color: #1a3a6e;
    box-shadow: 0 0 0 3px rgba(26,58,110,.15);
}

#psf-form input.psf-error {
    border-color: #c0392b;
    box-shadow: 0 0 0 3px rgba(192,57,43,.12);
}

.psf-req {
    color: #c0392b;
    margin-left: 2px;
}

/* ── Teléfono ── */
.psf-phone-wrap {
    display: flex;
    align-items: center;
    border: 1.5px solid #d0d5dd;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
    background: #fff;
}

.psf-phone-wrap:focus-within {
    border-color: #1a3a6e;
    box-shadow: 0 0 0 3px rgba(26,58,110,.15);
}

.psf-phone-prefix {
    padding: 12px 10px 12px 14px;
    font-size: 15px;
    font-weight: 600;
    color: #444;
    background: #f5f7fa;
    border-right: 1.5px solid #d0d5dd;
    user-select: none;
    white-space: nowrap;
}

.psf-phone-wrap input[type="tel"] {
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding-left: 10px !important;
}

/* ── GDPR ── */
.psf-gdpr-field {
    background: #f8f9fa;
    border: 1px solid #e4e8ee;
    border-radius: 8px;
    padding: 14px;
}

.psf-check-label {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400 !important;
    font-size: 13px !important;
    color: #444 !important;
    cursor: pointer;
    line-height: 1.5;
}

.psf-check-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    accent-color: #1a3a6e;
    cursor: pointer;
}

/* ── Info privacidad ── */
.psf-privacidad {
    margin-bottom: 20px;
    font-size: 12px;
    color: #666;
}

.psf-privacidad details {
    border: 1px solid #e4e8ee;
    border-radius: 6px;
    padding: 8px 12px;
    background: #fafafa;
}

.psf-privacidad summary {
    cursor: pointer;
    font-weight: 600;
    color: #444;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.psf-privacidad summary::before {
    content: '▶';
    font-size: 10px;
    transition: transform .2s;
}

.psf-privacidad details[open] summary::before {
    transform: rotate(90deg);
}

.psf-privacidad-texto {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e4e8ee;
    line-height: 1.6;
}

.psf-privacidad-texto p,
.psf-privacidad-texto ul {
    margin: 0 0 8px;
}

.psf-privacidad-texto ul {
    padding-left: 18px;
}

.psf-privacidad-texto a {
    color: #1a3a6e;
    text-decoration: underline;
}

/* ── Mensaje de error ── */
.psf-msg {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
    display: none;
}

.psf-msg.psf-msg-error {
    background: #fef2f2;
    color: #c0392b;
    border: 1px solid #fca5a5;
    display: block;
}

/* ── Botón ── */
.psf-submit {
    display: block;
    width: 100%;
    padding: 15px 24px;
    background: #1a3a6e;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background .2s, transform .1s;
    text-align: center;
    letter-spacing: .02em;
}

.psf-submit:hover { background: #0f2550; }
.psf-submit:active { transform: scale(.98); }
.psf-submit:disabled { opacity: .6; cursor: not-allowed; }

/* ── Pie legal ── */
.psf-legal-footer {
    text-align: center;
    font-size: 12px;
    color: #888;
    margin-top: 14px;
    margin-bottom: 0;
}

/* ── Éxito ── */
.psf-success {
    text-align: center;
    padding: 36px 20px;
}

.psf-success-icon {
    font-size: 56px;
    margin-bottom: 16px;
}

.psf-success h4 {
    font-size: 24px;
    font-weight: 700;
    color: #1a3a6e;
    margin: 0 0 12px;
}

.psf-success p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

