/* Estilos para el Formulario de Autorizaciones de Recogida [orlas_autorizacion] */

.ogr-auth-wrapper {
    max-width: 760px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    padding: 35px 40px;
    border: 1px solid #e2e8f0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #1e293b;
    box-sizing: border-box;
}

.ogr-auth-wrapper * {
    box-sizing: border-box;
}

.ogr-auth-header {
    text-align: center;
    margin-bottom: 25px;
}

.ogr-auth-header h2 {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
}

.ogr-auth-header p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Alerta informativa */
.ogr-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 1.5;
}

.ogr-alert-info {
    background: #eff6ff;
    border-left: 4px solid #3b82f6;
    color: #1e40af;
}

.ogr-alert-icon {
    font-size: 18px;
    line-height: 1;
}

/* Secciones del Formulario */
.ogr-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 25px 0 18px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #f1f5f9;
}

.ogr-badge-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #2563eb;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
}

.ogr-section-title h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
}

/* Grillas */
.ogr-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 16px;
}

@media (max-width: 640px) {
    .ogr-grid-2 {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .ogr-auth-wrapper {
        padding: 25px 20px;
        margin: 20px auto;
    }
}

.ogr-form-group {
    display: flex;
    flex-direction: column;
}

.ogr-form-group label {
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.ogr-form-group label .req {
    color: #ef4444;
}

.ogr-form-group input[type="text"],
.ogr-form-group input[type="email"],
.ogr-form-group input[type="tel"],
.ogr-form-group textarea {
    width: 100%;
    padding: 10px 14px;
    font-size: 14.5px;
    color: #0f172a;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    transition: all 0.2s ease;
    outline: none;
    font-family: inherit;
}

.ogr-form-group input:focus,
.ogr-form-group textarea:focus {
    background: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.ogr-field-hint {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
}

/* Selector Radio Cards */
.ogr-radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 15px 0;
}

.ogr-radio-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ogr-radio-card:hover {
    border-color: #93c5fd;
    background: #ffffff;
}

.ogr-radio-card input[type="radio"] {
    margin-top: 3px;
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: #2563eb;
}

.ogr-radio-content strong {
    display: block;
    font-size: 14.5px;
    color: #0f172a;
    margin-bottom: 4px;
}

.ogr-radio-content p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

.ogr-radio-card:has(input[type="radio"]:checked) {
    border-color: #2563eb;
    background: #eff6ff;
}

/* Casilla consentimiento */
.ogr-checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #475569;
    cursor: pointer;
    margin: 15px 0;
    line-height: 1.45;
}

.ogr-checkbox-group input[type="checkbox"] {
    margin-top: 3px;
    cursor: pointer;
    accent-color: #2563eb;
    width: 16px;
    height: 16px;
}

/* Mensajes de feedback */
.ogr-msg-box {
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
    margin: 15px 0;
}

.ogr-msg-success {
    background: #ecfdf5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.ogr-msg-error {
    background: #fef2f2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

/* Botón de envío */
.ogr-form-actions {
    margin-top: 25px;
    text-align: center;
}

.ogr-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 28px;
    background: #2563eb;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

.ogr-btn-primary:hover:not(:disabled) {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 6px 12px -2px rgba(37, 99, 235, 0.3);
}

.ogr-btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
