

.site-title.show {
    display: none !important;
}

body {
    font-family: 'Open Sans', sans-serif  !important;
}

.qbank-header {
    text-align: center !important;
    padding: 30px 20px 20px !important;
    background-color: #ffffff !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    margin-bottom: 20px !important;
    border-bottom: 1px solid #e0e0e0 !important;
    /* línea divisoria */
}

.qbank-header h1 {
    font-size: 28px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    color: #1a1a1a !important;
}

.qbank-header h2 {
    font-size: 18px !important;
    color: #0073aa !important;
    font-weight: 600 !important;
    margin: 5px 0 0 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}

.section {
    background: #f1f4f6 !important;
    padding: 20px !important;
    border-radius: 8px !important;
    margin-bottom: 20px !important;
}

.form-label {
    display: block !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    margin-bottom: 8px !important;
    color: #1d1d1d !important;
}

.styled-input {
    width: 100% !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    background-color: #ffffff !important;
    color: #333 !important;
    box-sizing: border-box !important;
    transition: border-color 0.3s ease !important;
}

.styled-input::placeholder {
    color: #9aa3ab !important;
}

.styled-input:focus {
    border-color: #0073aa !important;
    outline: none !important;
}

.btn-simulacro {
    display: block !important;
    width: 100% !important;
    background-color: #e74c3c !important;
    color: #ffffff !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-align: center !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
}

.btn-simulacro:hover {
    background-color: #c0392b !important;
}

.section {
    margin-bottom: 30px !important;
    padding: 20px !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05) !important;
}

.section-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 15px !important;
}

.section-header h3 {
    font-size: 20px !important;
    color: #333 !important;
    margin: 0 !important;
}

.specialties-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
}

.specialty-item {
    flex: 1 1 calc(25% - 12px) !important;
    min-width: 160px !important;
    background: #f9f9f9 !important;
    border-radius: 10px !important;
    padding: 10px 15px !important;
    text-align: left !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    transition: background 0.3s ease !important;
}

.specialty-item:hover {
    background: #eef7ff !important;
}

.checkbox-container {
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
    font-size: 15px !important;
    color: #222 !important;
    user-select: none !important;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 10px !important;
    transform: scale(1.2) !important;
}

.check-all-container {
    display: flex !important;
    align-items: center !important;
    font-size: 14px !important;
    color: #666 !important;
}

.check-all-container input[type="checkbox"] {
    margin-right: 8px !important;
    transform: scale(1.1) !important;
}

.section {
    background: #f1f5f7 !important;
    padding: 20px !important;
    border-radius: 10px !important;
    margin-bottom: 20px !important;
}

.section h3 {
    margin-bottom: 20px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #333 !important;
}

.options-container {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    gap: 20px !important;
}

.option-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    flex: 1 1 45% !important;
    /* Ocupa el 45% del contenedor para que queden dos columnas */
}

.option-item {
    background: transparent !important;
}

.radio-container {
    display: flex !important;
    align-items: center !important;
    font-size: 15px !important;
    color: #333 !important;
    cursor: pointer !important;
    user-select: none !important;
    position: relative !important;
    padding-left: 30px !important;
}

/* Ocultar el radio original */
.radio-container input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    cursor: pointer !important;
}

/* Estilo del círculo */
.radiomark {
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    height: 18px !important;
    width: 18px !important;
    background-color: #fff !important;
    border: 2px solid #ccc !important;
    border-radius: 50% !important;
    box-sizing: border-box !important;
}

/* Cuando el input está seleccionado */
.radio-container input:checked~.radiomark {
    border-color: #2196F3 !important;
}

/* Punto interior cuando está seleccionado */
.radio-container input:checked~.radiomark::after {
    content: "" !important;
    position: absolute !important;
    top: 4px !important;
    left: 4px !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #2196F3 !important;
}

.simulacro-container {
    display: flex !important;
    gap: 2rem !important;
    margin-top: 1rem !important;
}

.sidebar-navegacion {
    width: 220px !important;
    background-color: #243947 !important;
    padding: 1rem !important;
    border-radius: 8px !important;
    color: white !important;
}

.sidebar-navegacion h3 {
    margin-bottom: 1rem !important;
    font-weight: bold !important;
}

.preguntas-nav {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
}

.pregunta-item a {
    display: flex !important;
    align-items: center !important;
    background: #3498db !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    color: white !important;
    font-weight: 600 !important;
}

.pregunta-circulo {
    width: 10px !important;
    height: 10px !important;
    background-color: red !important;
    border-radius: 50% !important;
    margin-right: 8px !important;
}

.simulacro-contenido {
    flex: 1 !important;
}

.opciones-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    margin-top: 1rem !important;
}

.opcion-item {
    background: #f8f9fc !important;
    padding: 12px !important;
    border-radius: 6px !important;
    border: 1px solid #e2e6ea !important;
    font-size: 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.opcion-item input[type="radio"] {
    margin-right: 8px !important;
}

.progress-bar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background-color: #e9ecef !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    margin-bottom: 1.5rem !important;
    font-size: 16px !important;
    font-weight: 500 !important;
}

.question-counter {
    color: #333 !important;
}

.timer-container {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.timer-icon {
    font-size: 18px !important;
}

.timer,
.total-timer {
    font-weight: 600 !important;
}

.timer.warning {
    color: red !important;
    font-weight: bold !important;
}

.feedback-card {
    border-left: 4px solid #3498db !important;
    background: #f8f9fc !important;
    padding: 1rem !important;
    margin-top: 1.5rem !important;
    border-radius: 6px !important;
}

.feedback-card strong {
    font-size: 16px !important;
    display: block !important;
    margin-bottom: 0.5rem !important;
}

.feedback-video {
    margin-top: 1rem !important;
}

.feedback-bio {
    margin-top: 1rem !important;
    font-style: italic !important;
}

.checkbox-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

.checkbox-pill {
    position: relative !important;
}

.checkbox-pill input[type="checkbox"] {
    display: none !important;
}

.pill-label {
    display: inline-block !important;
    padding: 6px 12px !important;
    border: 1px solid #d1d5db !important;
    background-color: #f9fafb !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease-in-out !important;
    font-size: 14px !important;
}

.checkbox-pill input[type="checkbox"]:checked+.pill-label {
    background-color: #3b82f6 !important;
    color: white !important;
    border-color: #3b82f6 !important;
}

.pregunta-circulo {
    width: 24px !important;
    height: 24px !important;
    display: inline-block !important;
    border-radius: 50% !important;
    background-color: #ccc !important;
    /* gris por defecto */
    margin-right: 8px !important;
    text-align: center !important;
    line-height: 24px !important;
    font-size: 14px !important;
    font-weight: bold !important;
    color: white !important;
}

.nav-buttons {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    margin-top: 1rem !important;
}

.nav-btn {
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    padding: 4px !important;
    transition: background 0.2s !important;
    border-radius: 6px !important;
}

.nav-btn:hover {
    background-color: #f0f0f0 !important;
}

.nav-btn .icon {
    width: 20px !important;
    height: 20px !important;
    fill: #2c3e50 !important;
}

.next-btn {
    background-color: #3498db !important;
    color: white !important;
    border: none !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: background-color 0.2s !important;
}

.next-btn:hover {
    background-color: #2980b9 !important;
}

.finalizar-btn {
    background-color: #dc3545 !important;
    color: white !important;
    border: none !important;
    padding: 6px 12px !important;
    border-radius: 4px !important;
    margin-left: 0.5rem !important;
}

.finalizar-btn:hover {
    background-color: #c82333 !important;
}

.pregunta-circulo {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #888 !important;
    color: white !important;
    border-radius: 50px !important;
    height: 30px !important;
    width: 30px !important;
    font-weight: bold !important;
    font-size: 14px !important;
}

.modal-fullscreen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 9999 !important;
    background-color: rgba(0, 0, 0, 0.7) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.modal-content {
    background: #fff !important;
    width: 100% !important;
    height: 100% !important;
    overflow: auto !important;
    padding: 2rem !important;
    position: relative !important;
}

.tabla-resultados {
    margin-top: 30px !important;
    background: #f1f5f7 !important;
    padding: 1.5rem !important;
    border-radius: 12px !important;
}

.tabla-resultados table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-top: 10px !important;
}

.tabla-resultados th,
.tabla-resultados td {
    padding: 10px !important;
    text-align: left !important;
    font-size: 14px !important;
}

#modal-fullscreen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 9999 !important;
    background: rgba(0, 0, 0, 0.8) !important;
    /* fondo oscuro semitransparente */
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    overflow: auto !important;
}

#modal-fullscreen .modal-content {
    background: #fff !important;
    padding: 2rem !important;
    max-width: 900px !important;
    width: 90% !important;
    border-radius: 10px !important;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3) !important;
    position: relative !important;
}

.section {
    margin-bottom: 2.5rem !important;
    padding: 1.5rem !important;
    background-color: #ecf0f1 !important;
    border-radius: 6px !important;
}

.highlighted-text {
    background-color: yellow !important;
}

/* Temporizador */
#question-timer.normal {
    color: #212529 !important;
}

#question-timer.warning {
    color: #ffc107 !important;
    font-weight: bold !important;
}

#question-timer.danger {
    color: #dc3545 !important;
    font-weight: bold !important;
    animation: parpadeo 1s infinite !important;
}

@keyframes parpadeo {

    0%,
    100% {
        opacity: 1 !important;
    }

    50% {
        opacity: 0.4 !important;
    }
}

.pregunta-slide {
    overflow-x: hidden !important;
}

/* Pregunta contenedor */
.pregunta-slide.slide-warning {
    border: 2px solid #ffc107 !important;
}

.pregunta-slide.slide-danger {
    border: 2px solid #dc3545 !important;
}

.pregunta-slide.slide-normal {
    border: 2px solid #ccc !important;
}

.pregunta-slide.pregunta-expirada {
    background-color: transparent  !important;
    border: none  !important;
}

/* ========= COLORES BASE ========= */
:root {
    --color-acento: #7A87FB !important;
    --color-primario: #4facfe !important;
    --color-secundario: #b45eff !important;
    --color-fondo-seccion: #f6f8fc !important;
    --color-texto-principal: #2c3e50 !important;
}

/* ========= ENCABEZADOS ========== */
.qbank-header h1,
.qbank-header h2,
.section h3,
.card-title {
    color: var(--color-texto-principal) !important;
}

.section h3,
.card-title {
    border-bottom: 2px solid var(--color-acento) !important;
    padding-bottom: 0.5rem !important;
    margin-bottom: 1.2rem !important;
}

/* ========= FONDOS ========== */
.section {
    background-color: var(--color-fondo-seccion) !important;
}

/* ========= INPUTS FOCUS ========== */
input[type="text"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    border-color: var(--color-acento) !important;
    box-shadow: 0 0 0 0.1rem rgba(122, 135, 251, 0.25) !important;
}

/* ========= BOTÓN CREAR SIMULACRO ========== */
.btn-crear-simulacro {
    background: linear-gradient(90deg, var(--color-secundario), var(--color-primario)) !important;
    color: white !important;
    font-weight: 600 !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 0.75rem 2rem !important;
    font-size: 1.1rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

.btn-crear-simulacro:hover {
    opacity: 1 !important;
    color: white !important;
    background: linear-gradient(90deg, #2EA8F9 0%, #B783FF 100%) !important;
    box-shadow: 0 4px 12px rgba(122, 135, 251, 0.4) !important;
}

/* ========= CHEVRON ROTATION ========== */
.toggle-section[aria-expanded="false"] i {
    transform: rotate(180deg) !important;
}

/* ========= CHECKBOX FOCUS / INTERACCIONES ========== */
.checkbox-container input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--color-acento) !important;
    outline-offset: 2px !important;
}

/* ========= ESQUINAS Y SHADOWS ========== */
.card,
.section {
    border-radius: 12px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
}

.btn-crear-simulacro:hover {
    opacity: 0.9 !important;
    box-shadow: 0 0 0 0.15rem rgba(100, 100, 255, 0.25) !important;
}

/* ===================== */
/* ENCABEZADO PRINCIPAL */
/* ===================== */
.qbanks-simulacro-formulario {
    max-width: 1320px !important;
    margin: 0 auto !important;
    padding: 20px !important;
}

/* ===================== */
/* TITULARES DE SECCIONES */
/* ===================== */
.section h3,
.card-title {
    font-size: 18px !important;
    font-weight: bold !important;
    border-bottom: 2px solid #7a87fb !important;
    padding-bottom: 8px !important;
    margin-bottom: 16px !important;
    color: #2c3e50 !important;
}

/* ===================== */
/* INPUTS & LABELS */
/* ===================== */
input[type="text"],
input[type="number"] {
    background: #ffffff !important;
    border: 1px solid #ccc !important;
    border-radius: 8px !important;
    padding: 10px 16px !important;
    width: 100% !important;
    font-size: 15px !important;
    transition: border-color 0.3s ease !important;
}

input[type="text"]:focus,
input[type="number"]:focus {
    border-color: #7a87fb !important;
    outline: none !important;
}

input::placeholder {
    color: #adb5bd !important;
}

/* ===================== */
/* BOTÓN CREAR SIMULACRO */
/* ===================== */
.btn-crear-simulacro,
.responder-btn {
    background: linear-gradient(90deg, #b45eff, #4facfe) !important;
    color: white !important;
    font-weight: 600  !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 0.75rem 2rem !important;
    font-size: 1.1rem  !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

.btn-crear-simulacro:hover,
.responder-btn:hover {
    opacity: 0.95 !important;
    box-shadow: 0 0 0 0.15rem rgba(100, 100, 255, 0.2) !important;
}

button.responder-btn.col-sm-3
{
    margin-left: 18px !important;
}

/* ===================== */
/* BOTÓN CREAR SIMULACRO */
/* ===================== */
.btn-repetir-simulacro {
    background: linear-gradient(90deg, #b45eff, #4facfe)  !important;
    color: white  !important;
    border: none  !important;
    border-radius: 12px  !important;
    font-size: 1.1rem  !important;
    transition: all 0.3s ease  !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05)  !important;
    margin-left: 5px !important;
    margin-right: 5px !important;
}

.btn-repetir-simulacro:hover {
    opacity: 0.95 !important;
    box-shadow: 0 0 0 0.15rem rgba(100, 100, 255, 0.2) !important;
}

/* ===================== */
/* CHECKBOXES EN CUADRÍCULA */
/* ===================== */
.specialties-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 1rem !important;
}

.specialty-item {
    flex: 1 1 calc(25% - 1rem) !important;
    min-width: 180px !important;
}

/* ===================== */
/* BOTÓN COLAPSAR CON FLECHA */
/* ===================== */
.toggle-section {
    border: none !important;
    background: none !important;
    font-size: 16px !important;
    color: #7a7a7a !important;
    transition: transform 0.2s ease !important;
}

.toggle-section i {
    transition: transform 0.3s ease !important;
}

.toggle-section[aria-expanded="false"] i {
    transform: rotate(180deg) !important;
}

/* ===================== */
/* FORM VALIDATION ERROR */
/* ===================== */
.error-message {
    font-size: 14px !important;
    color: #e74c3c !important;
    margin-top: 5px !important;
}

.btn-pin,
.show-answer-btn,
.general-button-white {
    background-color: white !important;
    color: #2271B1 !important;
    border: 2px solid transparent !important;
    border-radius: 12px !important;
    font-size: 1rem !important;
    padding: 0.5rem 1.25rem !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.2s ease-in-out !important;
    background-image: linear-gradient(white, white), linear-gradient(90deg, #c084fc, #38bdf8) !important;
    background-origin: border-box !important;
    background-clip: padding-box, border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 0.5rem !important;
    height: auto !important;
    vertical-align: middle !important;
}




.btn-pin:focus,
.show-answer-btn:focus,
.general-button-white:focus {
    background-color: white !important;
    color: #2271B1 !important;
    border: 2px solid transparent !important;
    border-radius: 12px !important;
    font-size: 1rem !important;
    padding: 0.5rem 1.25rem !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    background-image: linear-gradient(white, white), linear-gradient(90deg, #c084fc, #38bdf8) !important;
    background-origin: border-box !important;
    background-clip: padding-box, border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 0.5rem !important;
    height: auto !important;
    vertical-align: middle !important;
}

/* Hover / Active con fondo degradado y texto blanco */
.btn-pin:hover,
.btn-pin:active,
.show-answer-btn:hover,
.show-answer-btn:active,
.general-button-white:hover,
.general-button-white:active {
    background-image: linear-gradient(90deg, #3b82f6, #9333ea) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3) !important;
}

/* Ícono blanco en hover/active */
.btn-pin:hover .btn-icon,
.btn-pin:active .btn-icon,
.general-button-white:hover .btn-icon,
.general-button-white:active .btn-icon {
    filter: brightness(0) invert(1) !important;
}


.btn-icon {
  width: 24px !important;
  height: 24px !important;
  transition: fill 0.3s ease !important;
}

.uniform-btn {   
  border-radius: 12px  !important; 
  font-size: 1.1rem  !important;
  font-weight: 600  !important;
  padding: 0.6rem 1.5rem  !important;
  min-height: 48px !important;
  transition: all 0.3s ease  !important;
}


.btn-repetir-simulacro {
  background: linear-gradient(90deg, #b45eff, #4facfe)  !important;
  color: white  !important;
  border: 2px solid transparent !important;
  background-clip: padding-box, border-box  !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

.btn-salir-simulacro {
  background-color: white !important;
  color: #dc3545 !important;
  border: 2px solid transparent !important;
  background-image: linear-gradient(white, white), linear-gradient(90deg, #ff6b6b, #ff4e50) !important;
  background-origin: border-box !important;
  background-clip: padding-box, border-box !important;
  padding: 0.5rem 1.1rem !important;
  border-radius: 1rem !important;
  font-weight: 500 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  transition: all 0.2s ease-in-out !important;
}

/* Hover */
.btn-salir-simulacro:hover , .btn-salir-simulacro:active {
  background: #e53935  !important;
  color: white  !important;
  border: 2px solid #e53935  !important;
  box-shadow: 0 4px 10px rgba(229, 57, 53, 0.3)  !important;
}

.header-gradient-line {
        height: 3px !important;
        background: linear-gradient(to right, #c084fc, #3b82f6) !important;
        /* morado a azul */
        border-radius: 999px !important;
    }

    .seccion-tiempo-agotado {
        background-color: #f8d7da !important;
        border: 1px solid #f5c6cb !important;
        border-radius: 8px !important;
        margin-top: 3px !important;
        padding: 10px !important;
    }
    .preguntas-nav .pregunta-item a {
    background-color: #ffffff !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 12px !important;
    color: #333 !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all 0.2s ease-in-out !important;
}

.preguntas-nav .pregunta-item a:hover {
    background-color: #f1f3f5 !important;
}

.pregunta-circulo {
    display: inline-block !important;
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    background-color: #6c757d !important;
}

.pregunta-link.activa {
    background-color: white !important;
    position: relative !important;
    border-radius: 12px !important;
    padding: 8px 12px !important;
    z-index: 1 !important;
    box-sizing: border-box !important;
}

.pregunta-link.activa::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    border-radius: 12px !important;
    padding: 1px !important;
    background: linear-gradient(90deg, #b45eff, #4facfe) !important;
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0) !important;
    -webkit-mask-composite: xor !important;
    mask-composite: exclude !important;
    z-index: -1 !important;
    pointer-events: none !important;
}
.pregunta-circulo {
    display: inline-block !important;
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    border: 2px solid #ffffff !important; /* contorno blanco */
    box-shadow: 0 0 0 1px #000000 !important; /* contorno adicional */
}
.feedback-card {
  background-color: #fff !important;
  border-radius: 12px !important;
  border: 1px solid #e0e0e0 !important;
  padding: 1.5rem !important;
}
.pregunta-link.activa {
    border: 2px solid transparent !important;
    background-image: linear-gradient(white, white), linear-gradient(90deg, #b45eff, #4facfe) !important;
    background-origin: border-box !important;
    background-clip: padding-box, border-box !important;
    box-shadow: 0 0 0 2px transparent !important;
    border-radius: 12px !important;
}
.preguntas-nav .pregunta-item a {
    background-color: #ffffff !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 12px !important;
    color: #333 !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all 0.2s ease-in-out !important;
}
.pregunta-circulo {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    background-color: #6c757d !important; /* gris neutro */
}
.tabla-resultados.resumen-general {
    background-color: #f8fafc !important;
    border-radius: 12px !important;
    padding: 1rem !important;
    overflow: hidden !important;
}

.resumen-table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 10px !important;
    font-size: 15px !important;
}

.resumen-table th {
    text-align: left !important;
    padding: 12px 16px !important;
    background-color: transparent !important;
    font-weight: 600 !important;
    color: #333 !important;
}

.resumen-table td {
    background-color: #ffffff !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    vertical-align: middle !important;
    color: #222 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
}
.modificar-respuesta-btn {
    background-image: linear-gradient(to right, #c084fc, #38bdf8) !important;
    color: white !important;
    border: none !important;
    border-radius: 12px !important;
    font-weight: 500 !important;
    padding: 0.5rem 1.25rem !important;
    transition: all 0.2s ease !important;
}

.modificar-respuesta-btn:hover {
    opacity: 0.9 !important;
}

.general-button-white.simular-hover {
    background-image: linear-gradient(90deg, #3b82f6, #9333ea) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3)  !important;
    border: none  !important;
}

.general-button-white.simular-hover .btn-icon {
    filter: brightness(0) invert(1) !important;
}

.tachar-opcion {
    text-decoration: line-through !important;
    color: #888 !important;
}
.tachar-btn {
    cursor: pointer !important;
    font-weight: bold !important;
    color: #666 !important;
    margin-left: auto !important;
}
.tachar-btn:hover {
    color: #000 !important;
}
.tachar-opcion {
    text-decoration: line-through !important;
    text-decoration-color: #888 !important;
    text-decoration-thickness: 2px !important;
}

.tachar-btn {
    cursor: pointer !important;
    margin-left: auto !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* Contenedor en columna con separaciones uniformes */
.opciones-container { 
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

/* Cada opción como ítem de lista Bootstrap-like */
label.opcion-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .625rem .875rem;
  border: 1px solid #dee2e6;
  border-radius: .5rem;
  background: #fff;
  font-size: 16px;
  font-weight: 400;
  color: #212529;
  cursor: pointer;
}

/* Letra A, B, C... alineada y en gris Bootstrap */
.opcion-item strong{
  width: 22px;
  text-align: center;
  color: #6c757d;
  margin-right: 2px;
  flex: 0 0 22px;
}

/* Radio nativo con color Bootstrap */
.opcion-item input[type="radio"]{
  width: 18px;
  height: 18px;
  accent-color: #0d6efd;     /* color del punto y el borde al seleccionar */
  margin: 0;                 /* elimina desplazamientos verticales */
  flex: 0 0 18px;
}

/* Texto ocupa el resto del espacio */
.opcion-item .text-pregunta{
  flex: 1;
  text-align: left;
}

/* Estados visuales como Bootstrap */
.opcion-item:hover{ 
  background: #f8f9fa;
}
.opcion-item:has(input[type="radio"]:focus-visible){
  outline: 2px solid rgba(13,110,253,.35);
  outline-offset: 2px;
}
.opcion-item:has(input[type="radio"]:checked){
  border-color: #0d6efd;
  box-shadow: 0 0 0 .2rem rgba(13,110,253,.20);
}
.show-resultl-list {
  background-color: white !important;
  color: #2271B1 !important;
  border: 2px solid transparent !important;
  border-radius: 12px !important;
  font-size: 1rem !important;
  padding: 0.5rem 1.25rem !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.2s ease-in-out !important;
  background-image: linear-gradient(white, white), linear-gradient(90deg, #c084fc, #38bdf8) !important;
  background-origin: border-box !important;
  background-clip: padding-box, border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 0.5rem !important;
  height: auto !important;
  vertical-align: middle !important;
}

.show-resultl-list:focus {
  background-color: white !important;
  color: #2271B1 !important;
  border: 2px solid transparent !important;
  border-radius: 12px !important;
  font-size: 1rem !important;
  padding: 0.5rem 1.25rem !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  background-image: linear-gradient(white, white), linear-gradient(90deg, #c084fc, #38bdf8) !important;
  background-origin: border-box !important;
  background-clip: padding-box, border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 0.5rem !important;
  height: auto !important;
  vertical-align: middle !important;
}

.show-resultl-list:hover,
.show-resultl-list:active {
  background-image: linear-gradient(90deg, #3b82f6, #9333ea) !important;
  color: white !important;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3) !important;
}

#tabla-preguntas-resultados {
    border-radius: 50px !important;
}

#tabla-preguntas-resultados thead th {
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  color: #333 !important;
  border-bottom: 1px solid #f0f0f0 !important;
  background-color: #fafafa !important;
  white-space: nowrap !important;
  text-align: left !important;
  padding: 1rem !important;
}

#tabla-preguntas-resultados tbody td {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 0.92rem !important;
  color: #444 !important;
  vertical-align: middle !important;
  padding: 1rem !important;
  border-top: 1px solid #f9f9f9 !important;
  background-color: #fff !important;
  text-align: left !important;
}

#tabla-preguntas-resultados tbody tr:hover {
  background-color: #f7faff !important;
}

#tabla-preguntas-resultados td:last-child {
  color: #666 !important;
  font-size: 0.9rem !important;
}

#tabla-preguntas-resultados .fa-eye {
  color: #1890ff !important;
  font-size: 1.1rem !important;
  cursor: pointer !important;
  transition: transform 0.2s ease !important;
}

#tabla-preguntas-resultados .fa-eye:hover {
  transform: scale(1.1) !important;
}

.table-responsive {
  overflow-x: auto !important;
}

.dataTables_wrapper .dataTables_paginate {
  margin-top: 1rem !important;
}

#tabla-preguntas-resultados,
#tabla-preguntas-resultados th,
#tabla-preguntas-resultados td {
  border: none !important;
}

#tabla-preguntas-resultados th,
#tabla-preguntas-resultados td {
  border-left: none  !important;
  border-right: none  !important;
}

#tabla-preguntas-resultados tbody td {
  border-top: 1px solid #f0f0f0 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  padding: 6px 12px !important;
  margin-left: 4px !important;
  border-radius: 4px !important;
  background-color: #fff !important;
  border: 1px solid #ddd !important;
  color: #333  !important;
  font-family: 'Open Sans', sans-serif !important;
  font-size: 0.9rem !important;
  transition: background-color 0.3s ease, color 0.3s ease !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background-color: #1890ff !important;
  border-color: #1890ff !important;
  color: #fff  !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background-color: #e6f4ff !important;
  color: #1890ff  !important;
  border-color: #1890ff !important;
}

@media (max-width: 1199.98px) {
    #sidebar-preguntas {
        display: none  !important;
    }
    .boton-abrir-modal {
        display: block  !important;
    }
}

.btn-salir-simulacro {
    background-color : white !important;
    color: #dc3545 !important;
    border: 2px solid transparent !important;
    background-image: linear-gradient(white, white), linear-gradient(90deg, #ff6b6b, #ff4e50) !important;
    background-origin: border-box !important;
    background-clip: padding-box, border-box !important;
    padding: 0.5rem 1.1rem !important;
    border-radius: 1rem !important;
    font-weight: 500 !important;
    display: inline-flex !important
;
    align-items: center !important;
    gap: 0.5rem !important;
    transition: all 0.2s ease-in-out !important;
}

.btn-salir-simulacro:hover , .btn-salir-simulacro:active , .btn-salir-simulacro::before {
    height: 20px !important;
    background-color: red !important;
    color: white !important;
}

.form-check-input[type=checkbox] {
    border-radius: .25em  !important;
}
.form-check .form-check-input {
    float: left  !important;
    margin-left: -1.5em  !important;
}
.form-check-input {
    flex-shrink: 0  !important;
    width: 1em  !important;
    height: 1em  !important;
    margin-top: 0.25em  !important;
    vertical-align: top  !important;
    -webkit-appearance: none  !important;
    -moz-appearance: none  !important;
    appearance: none  !important;
    background-color: #ffffff  !important;
    background-image: none  !important;
    background-repeat: no-repeat  !important;
    background-position: center  !important;
    background-size: contain  !important;
    border: 1px solid #dee2e6  !important;
    -webkit-print-color-adjust: exact  !important;
    color-adjust: exact  !important;
    print-color-adjust: exact  !important;
}
[type=checkbox], [type=radio] {
    box-sizing: border-box  !important;
    padding: 0  !important;
}
button, input, optgroup, select, textarea {
    margin: 0  !important;
    font-family: inherit  !important;
    font-size: inherit  !important;
    line-height: inherit  !important;
}

.form-check-input:checked {
    background-color: #0d6efd  !important;
    border-color: #0d6efd  !important;
}

.form-check-input:checked[type="checkbox"] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e")  !important;
}

input[type="text"],
input[type="number"] {
    background: #ffffff  !important;
    border: 1px solid #cccccc  !important;
    border-radius: 8px  !important;
    padding: 10px 16px  !important;
    width: 100%  !important;
    font-size: 15px  !important;
    transition: border-color 0.3s ease  !important;
}

.form-check .form-check-input {
    float: left  !important;
    margin-left: -1.5em  !important;
}

.form-check-input[type="radio"] {
    border-radius: 50%  !important;
}

.form-check-input:checked {
    background-color: #0d6efd  !important;
    border-color: #0d6efd  !important;
}

.form-check-input:checked[type="radio"] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e")  !important;
}

.form-check-input {
    flex-shrink: 0  !important;
    width: 1em  !important;
    height: 1em  !important;
    margin-top: 0.25em  !important;
    vertical-align: top  !important;
    -webkit-appearance: none  !important;
    -moz-appearance: none  !important;
    appearance: none  !important;
    background-color: #ffffff  !important;
    background-image: none  !important;
    background-repeat: no-repeat  !important;
    background-position: center  !important;
    background-size: contain  !important;
    border: 1px solid #cccccc  !important;
    -webkit-print-color-adjust: exact  !important;
    color-adjust: exact  !important;
    print-color-adjust: exact  !important;
}

#finalizar-simulacro-btn {
    height: 20px !important;
    background-color: white !important;
    color: red !important;
    border: 1px solid #c36  !important;
}

input#cantidad {
    width: 16% !important;
}

.dataTables_length select {
    background: white !important;
    background-image: none !important;
    border: 1px solid #ccc !important;
    border-radius: 8px !important;
    padding: 6px 12px !important;
    font-size: 14px !important;
    color: #333 !important;
    width: auto !important;
    height: auto !important;
    appearance: auto !important; /* restaura la flecha en la mayoría de navegadores */
    -webkit-appearance: auto !important;
    -moz-appearance: auto !important;
    box-shadow: none !important;
}


/* Paginate responsive */
.dataTables_wrapper .dataTables_paginate {
  width: 100%;
}
.dataTables_wrapper .dataTables_paginate .pagination {
  flex-wrap: wrap;          /* permite salto de línea */
  justify-content: center;  /* centrado bonito */
  gap: .25rem;              /* pequeño espacio entre botones */
}

/* Botones más compactos */
.dataTables_wrapper .page-item .page-link{
  padding: .35rem .6rem;
  line-height: 1;
  border-radius: .5rem;
}

/* Ajustes extra en pantallas chicas */
@media (max-width: 576px){
  .dataTables_wrapper .dataTables_info{
    margin-bottom: .5rem;
    text-align: center;
  }
}

.dataTables_length label,
.dataTables_filter label {
  font-weight: 500;
}

.dataTables_length span,
.dataTables_filter span {
  white-space: nowrap; 
}

table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before,
table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control:before{
  content: '+';
  background: none;  
  color: inherit;     
  border: none;
  box-shadow: none;
  font-weight: 700;
}

table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td.dtr-control:before,
table.dataTable.dtr-inline.collapsed > tbody > tr.parent > th.dtr-control:before{
  content: '−';
  background: none;
  color: inherit;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

/* Cursor para herramienta de resaltar */
.cursor-pencil {
  cursor: url("*/wp-content/plugins/qbanks/assets/img/icon/pencil.svg") 0 24, crosshair;
}

/* Fallback para dispositivos sin hover (móvil suele ignorar cursor custom) */
@media (hover: none) {
  .cursor-pencil { cursor: crosshair; }
}


/* Estilo para el texto resaltado */
.highlighted-text {
    background-color: yellow !important;
}

.highlighted-text { background: yellow; padding: 0 2px; }
.word-chunk { cursor: pointer; }
