/* ═══════════════════════════════════════════════════════════
   UPEC Carta Aceptación — Formulario público
   ═══════════════════════════════════════════════════════════ */

.upec-ca-form-wrap {
    max-width: 500px;
    margin: 2rem auto;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.upec-ca-form-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.10);
    border-top: 5px solid #006633;
    padding: 2rem;
    text-align: center;
}

.upec-ca-form-card h2 {
    margin: 0 0 0.5rem;
    color: #006633;
    font-size: 1.4rem;
}

.upec-ca-form-card > p {
    margin: 0 0 1.5rem;
    color: #777;
    font-size: 0.9rem;
}

.upec-ca-field {
    text-align: left;
    margin-bottom: 1.2rem;
}

.upec-ca-field label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: #333;
    margin-bottom: 0.3rem;
}

.upec-ca-field input {
    width: 100%;
    padding: 0.65rem 0.8rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.upec-ca-field input:focus {
    outline: none;
    border-color: #006633;
    box-shadow: 0 0 0 3px rgba(0,102,51,0.10);
}

.upec-ca-btn {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #111, #1f1f1f, #006633);
    border: 2px solid #C9A227;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
}

.upec-ca-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.upec-ca-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.upec-ca-msg {
    margin-top: 1rem;
    padding: 0.7rem 1rem;
    border-radius: 6px;
    font-size: 0.88rem;
    text-align: left;
}

.upec-ca-msg--error {
    background: #fef2f1;
    border: 1px solid #f0c1bc;
    color: #b03a2e;
}

.upec-ca-msg--ok {
    background: #e8f5ee;
    border: 1px solid #a3d9a3;
    color: #1e8449;
}

.upec-ca-msg a {
    color: #006633;
    font-weight: 600;
}
