/* Minimal styling for the prototype form */
.nph-don-box input[type="text"],
.nph-don-box input[type="email"],
.nph-don-box input[type="number"],
.nph-don-box input[type="password"] {
    box-sizing: border-box;
}

/* estilos formulario */
#nph-don-form {
    box-sizing: border-box;
}

#nph-don-form label {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
}   

#nph-don-form input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.nph-don-card-exp-cvc {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.nph-don-card-exp-cvc input {
    width: 33%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

#nph-don-form input[type="checkbox"] {
    width: auto;
}

.nph-don-checkbox-text {
    font-size: 12px;
    color: #6b7280;
    margin-left: 18px;
    margin-top: 0;
    margin-bottom: 20px;
}

.nph-don-type-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 20px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #ddd;
}

.nph-don-type-selector label {
    position: relative;
    margin-bottom: 0;
}

.nph-don-type-selector input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.nph-don-type-selector span {
    display: block;
    padding: 12px 10px;
    text-align: center;
    background-color: #f9f9f9;
    color: #555;
    transition: background-color 0.2s ease-in-out;
    border-left: 1px solid #ddd;
}

.nph-don-type-selector label:first-child span {
    border-left: none;
}

.nph-don-type-selector input[type="radio"]:checked + span {
    background-color: #2563eb;
    color: white;
    font-weight: bold;
}