/* ── GlobalPay Form Styles ───────────────────────────────────────────────── */

.gp-form-wrap {
    max-width: 520px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Share bar */
.gp-share-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.gp-btn-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    transition: opacity .2s, transform .15s;
}
.gp-btn-wa:hover { opacity: .88; transform: translateY(-1px); }

.gp-btn-wa--share {
    background: #25D366;
    color: #fff !important;
}
.gp-btn-wa--direct {
    background: #128C7E;
    color: #fff !important;
}

/* Title */
.gp-form-titulo {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 20px;
    color: #1a1a1a;
}

/* Form rows */
.gp-row--2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
@media (max-width: 480px) {
    .gp-row--2 { grid-template-columns: 1fr; }
}

.gp-field {
    margin-bottom: 16px;
}

.gp-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.gp-field label span {
    color: #e00;
}

.gp-field input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #d0d0d0;
    border-radius: 8px;
    font-size: 15px;
    color: #1a1a1a;
    background: #fff;
    box-sizing: border-box;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
}

.gp-field input:focus {
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0,102,204,.12);
}

.gp-field--monto-fijo p {
    font-size: 15px;
    color: #333;
    background: #f4f7ff;
    border: 1.5px solid #c5d5f0;
    border-radius: 8px;
    padding: 11px 14px;
    margin: 0;
}

/* Error alert */
.gp-alerta--error {
    background: #fff2f2;
    border: 1.5px solid #f5a0a0;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    color: #c00;
    margin-bottom: 16px;
}

/* Pay button */
.gp-btn-pagar {
    display: block;
    width: 100%;
    padding: 14px;
    background: #0066cc;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background .2s, transform .15s;
    margin-bottom: 12px;
}
.gp-btn-pagar:hover:not(:disabled) {
    background: #0052a3;
    transform: translateY(-1px);
}
.gp-btn-pagar:disabled {
    opacity: .65;
    cursor: not-allowed;
}

/* Security note */
.gp-seguro {
    text-align: center;
    font-size: 12px;
    color: #888;
    margin: 0;
}
