/* ── Green Fee Form – Bizkaia PGAe Open ── */

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

.gf-header {
    text-align: center;
    margin-bottom: 28px;
}

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

.gf-title {
    font-size: clamp(20px, 4vw, 26px);
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.2;
}

.gf-subtitle {
    font-size: 15px;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

/* ── Campos ── */
#gf-form .gf-field {
    margin-bottom: 18px;
}

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

#gf-form input[type="text"],
#gf-form input[type="email"] {
    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;
}

#gf-form input[type="text"]:focus,
#gf-form input[type="email"]:focus {
    border-color: #1a4e2e;
    box-shadow: 0 0 0 3px rgba(26,78,46,.15);
}

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

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

/* ── Checkbox GDPR ── */
.gf-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.gf-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;
}

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

.gf-check-label a {
    color: #1a4e2e;
    text-decoration: underline;
}

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

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

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

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

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

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

.gf-privacidad-texto p {
    margin: 0 0 8px;
}

.gf-privacidad-texto a {
    color: #1a4e2e;
    text-decoration: underline;
}

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

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

.gf-msg.gf-msg-info {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    display: block;
}

/* ── Botón ── */
.gf-submit {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: #1a4e2e;
    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;
}

.gf-submit:hover {
    background: #0f3320;
}

.gf-submit:active {
    transform: scale(.98);
}

.gf-submit:disabled {
    opacity: .6;
    cursor: not-allowed;
}

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

.gf-success-icon {
    font-size: 52px;
    margin-bottom: 16px;
}

.gf-success h4 {
    font-size: 22px;
    font-weight: 700;
    color: #1a4e2e;
    margin: 0 0 10px;
}

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

/* ── Responsive ── */
@media (max-width: 480px) {
    .gf-wrap {
        padding: 0 4px;
    }
}

