/* ── Etiquetas requerido/opcional ── */
        .req  { color: #c0392b; font-weight: bold; }
        .opt  { font-size: 0.78rem; color: var(--gris); font-weight: normal; }

        /* ── Errores de campo ── */
        .field-error {
            display: block;
            font-size: 0.75rem;
            color: #c0392b;
            margin-top: 4px;
            min-height: 1rem;
        }

        /* ── Alertas globales ── */
        .inscripcion-alert {
            display: flex;
            align-items: flex-start;
            gap: 14px;
            padding: 16px 20px;
            border-radius: 6px;
            margin-bottom: 24px;
            font-size: 0.9rem;
            line-height: 1.5;
        }
        .inscripcion-alert i { font-size: 1.4rem; margin-top: 2px; flex-shrink: 0; }
        .inscripcion-alert p { margin: 4px 0 0 0; }
        .inscripcion-alert--success {
            background: #eafaf1;
            border: 1px solid #27ae60;
            color: #1d6e45;
        }
        .inscripcion-alert--success i { color: #27ae60; }
        .inscripcion-alert--error {
            background: #fdf3f2;
            border: 1px solid #c0392b;
            color: #7b1d13;
        }
        .inscripcion-alert--error i { color: #c0392b; }

        /* ── Uppercase automático ── */
        .uppercase-input { text-transform: uppercase; }
        .uppercase-input::placeholder { text-transform: none; }

        /* ── Contador de caracteres ── */
        .char-count {
            display: block;
            text-align: right;
            font-size: 0.72rem;
            color: var(--gris);
            margin-top: 4px;
        }

        /* ── Sección documentos ── */
        .docs-upload-section {
            background: #ffffff;
            border: 1px solid #d0d4ef;
            border-radius: 8px;
            padding: 0;
            overflow: hidden;
        }
        .docs-upload-header {
            background: #f4f5fb;
            border-bottom: 1px solid #d0d4ef;
            padding: 14px 20px;
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 0.88rem;
            color: #26348b;
        }
        .docs-upload-header i { font-size: 1rem; }

        .file-upload-row {
            padding: 14px 20px;
            border-bottom: 1px solid #ebebf5;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 10px;
        }
        .file-upload-row:last-of-type { border-bottom: none; }

        .file-upload-info {
            flex: 1 1 300px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .file-doc-name {
            font-size: 0.84rem;
            color: #333;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .file-doc-name i { color: #c0392b; }
        .file-doc-name em { color: var(--gris); font-size: 0.78rem; }

        .file-badge {
            font-size: 0.68rem;
            font-weight: bold;
            padding: 2px 8px;
            border-radius: 99px;
            white-space: nowrap;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .file-badge.required { background: #fdecea; color: #c0392b; }
        .file-badge.optional { background: #f0f0f0; color: #888; }

        .file-upload-btn {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 7px 16px;
            border-radius: 5px;
            font-size: 0.8rem;
            font-weight: 600;
            cursor: pointer;
            white-space: nowrap;
            background: #26348b;
            color: #fff;
            border: none;
            transition: background 0.2s;
        }
        .file-upload-btn:hover { background: #1b2567; }
        .file-upload-btn.secondary {
            background: transparent;
            color: #26348b;
            border: 1px solid #26348b;
        }
        .file-upload-btn.secondary:hover { background: #f4f5fb; }

        .file-hidden { display: none; }

        .file-selected {
            font-size: 0.78rem;
            color: var(--gris);
            font-style: italic;
            flex: 1 1 180px;
        }
        .file-selected.has-file { color: #27ae60; font-style: normal; font-weight: 600; }

        .file-hint {
            padding: 10px 20px;
            background: #fafafa;
            font-size: 0.75rem;
            color: var(--gris);
            margin: 0;
            border-top: 1px solid #ebebf5;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        /* ── Captcha ── */
        .captcha-box {
            background: #f4f5fb;
            border: 1px solid #d0d4ef;
            border-radius: 8px;
            padding: 16px 20px;
        }
        .captcha-header {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.82rem;
            color: #26348b;
            margin-bottom: 12px;
        }
        .captcha-body {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
        }
        .captcha-question {
            font-size: 1.1rem;
            font-weight: bold;
            color: #1a1a2e;
            background: #fff;
            border: 1px solid #c8cde8;
            border-radius: 5px;
            padding: 8px 18px;
            letter-spacing: 1px;
            min-width: 120px;
            text-align: center;
        }
        .captcha-input {
            width: 100px !important;
            text-align: center;
            font-size: 1rem;
            font-weight: bold;
        }
        .captcha-refresh {
            background: transparent;
            border: 1px solid #c8cde8;
            border-radius: 5px;
            padding: 8px 12px;
            color: #26348b;
            cursor: pointer;
            font-size: 0.9rem;
            transition: background 0.15s;
        }
        .captcha-refresh:hover { background: #e8eaf3; }

        /* ── Botón enviar — spinner ── */
        .btn-enviar:disabled { opacity: 0.7; cursor: not-allowed; }
        .btn-enviar .fa-spinner { animation: spin 0.8s linear infinite; }
        @@keyframes spin { to { transform: rotate(360deg); } }
