/* AATI Exam Registration Form Styles */
/* Forzar estilos sobre el tema de WordPress */
.aati-exam-wrap { font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 1.4; }
.aati-exam-wrap .form-container { max-width: 850px; margin: 0 auto; background: #fff; padding: 40px; border: 1px solid #ccc; box-shadow: 0 2px 10px rgba(0,0,0,.1); }
.aati-exam-wrap .header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; border-bottom: 2px solid #000; padding-bottom: 20px; gap: 10px; }
.aati-exam-wrap .header-left { flex: 0 0 auto; text-align: left; }
.aati-exam-wrap .header-center { flex: 1; text-align: center; padding: 0 10px; }
.aati-exam-wrap .header-right { flex: 0 0 auto; text-align: right; }
.aati-exam-wrap .header img { max-height: 110px; max-width: 180px; width: auto; }
.aati-exam-wrap .header h1 { font-size: 18px; font-weight: bold; text-transform: uppercase; margin-bottom: 10px; }
.aati-exam-wrap .header h2 { font-size: 14px; font-weight: normal; margin-bottom: 10px; }
.aati-exam-wrap .header p { font-size: 11px; color: #666; margin-bottom: 5px; }
.aati-exam-wrap .header .important { font-weight: bold; color: #000; }
.aati-exam-wrap .section { margin-bottom: 25px; border: 1px solid #888; padding: 15px; }
.aati-exam-wrap .section-title { font-weight: bold; background: #f0f0f0; padding: 8px 12px; margin: -15px -15px 15px -15px; font-size: 13px; text-transform: uppercase; border-bottom: 1px solid #888; }
.aati-exam-wrap .form-row { display: flex; gap: 15px; margin-bottom: 12px; flex-wrap: wrap; }
.aati-exam-wrap .form-group { flex: 1; min-width: 150px; }
.aati-exam-wrap .form-group.half { flex: 0.5; min-width: 100px; }
.aati-exam-wrap label { display: block; font-weight: bold; margin-bottom: 4px; font-size: 11px; }
.aati-exam-wrap input[type="text"],
.aati-exam-wrap input[type="email"],
.aati-exam-wrap input[type="number"],
.aati-exam-wrap select { width: 100%; padding: 6px 8px; border: 1px solid #888; font-size: 11px; font-family: Arial, Helvetica, sans-serif; box-sizing: border-box; }
.aati-exam-wrap input[type="text"]:focus,
.aati-exam-wrap input[type="email"]:focus,
.aati-exam-wrap select:focus { outline: none; border-color: #2c5282; }
.aati-exam-wrap .radio-group,
.aati-exam-wrap .checkbox-group { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 5px; }
.aati-exam-wrap .radio-item,
.aati-exam-wrap .checkbox-item { display: flex; align-items: center; gap: 5px; }
.aati-exam-wrap input[type="radio"],
.aati-exam-wrap input[type="checkbox"] { width: 14px !important; height: 14px !important; cursor: pointer !important; }
/* Tabla Tests — override completo del tema */
.aati-exam-wrap table { border-collapse: collapse !important; width: 100% !important; margin: 0 0 10px 0 !important; }
.aati-exam-wrap table th,
.aati-exam-wrap table td { border: 1px solid #888 !important; padding: 8px !important; font-size: 11px !important; font-family: Arial, Helvetica, sans-serif !important; background: none !important; }
.aati-exam-wrap table thead th { background: #f2f2f2 !important; font-weight: bold !important; text-align: center !important; }
.aati-exam-wrap table tbody tr { background: #fff !important; }
.aati-exam-wrap table tbody tr:hover { background: #fafafa !important; }
.aati-exam-wrap table td label { display: inline !important; font-weight: normal !important; margin: 0 !important; font-size: 10px !important; }
.aati-exam-wrap table td input[type="checkbox"] { width: 14px !important; height: 14px !important; margin: 0 5px 0 0 !important; }
.aati-exam-wrap .section { overflow: visible !important; }
.aati-exam-wrap .canvas-container { border: 2px solid #000; background: #fff; margin: 10px 0; display: inline-block; }
.aati-exam-wrap canvas { display: block; cursor: crosshair; }
.aati-exam-wrap .signature-buttons button { padding: 8px 16px; background: #f0f0f0; border: 1px solid #888; cursor: pointer; font-size: 11px; margin-right: 10px; }
.aati-exam-wrap .signature-buttons button:hover { background: #e0e0e0; }
.aati-exam-wrap .submit-section { margin-top: 30px; text-align: center; }
.aati-exam-wrap #aati-submit-btn { padding: 12px 40px; background: #2c5282; color: #fff; border: none; font-size: 14px; font-weight: bold; cursor: pointer; text-transform: uppercase; }
.aati-exam-wrap #aati-submit-btn:hover { background: #1a365d; }
.aati-exam-wrap #aati-submit-btn:disabled { background: #999; cursor: not-allowed; }
.aati-exam-wrap .footer { margin-top: 30px; text-align: center; font-size: 11px; color: #666; border-top: 1px solid #ccc; padding-top: 20px; }
.aati-exam-wrap .alert { padding: 10px 15px; margin: 20px 0; border-radius: 4px; }
.aati-exam-wrap .alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.aati-exam-wrap .alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.aati-exam-wrap .req { color: red; }

/* Admin */
.aati-admin .aati-badge { background: #2c5282; color: #fff; padding: 3px 10px; border-radius: 10px; font-size: 12px; margin-left: 10px; }
.aati-admin .aati-filters { display: flex; gap: 10px; margin: 15px 0; align-items: center; flex-wrap: wrap; }
.aati-admin .aati-table th { background: #f0f0f0; }
.aati-admin .aati-status { padding: 3px 8px; border-radius: 3px; font-size: 11px; font-weight: bold; }
.aati-admin .aati-status.paid { background: #d4edda; color: #155724; }
.aati-admin .aati-status.pending { background: #fff3cd; color: #856404; }
.aati-admin .aati-status.cancelled { background: #f8d7da; color: #721c24; }
.aati-admin .aati-actions { display: flex; gap: 5px; flex-wrap: wrap; }

@media (max-width: 768px) {
    .aati-exam-wrap .form-row { flex-direction: column; gap: 10px; }
    .aati-exam-wrap .form-group, .aati-exam-wrap .form-group.half { min-width: 100%; }
    .aati-exam-wrap .header { flex-direction: column; text-align: center; }
}
