/* ══════════════════════════════════════════════════════════════════════
   FEATURE: evaluar-sheet.css
   Bottom action sheet que aparece al tocar "Evaluar" en el bottom-nav
   mobile. Permite elegir entre /quizzes y /simulacros.

   Prefijo: .evaluar-action-sheet, .evaluar-sheet-*

   Elementos:
   - .evaluar-action-sheet (fixed bottom, slide-up transition)
   - .evaluar-sheet-drag-handle, .evaluar-sheet-title
   - .evaluar-sheet-options con .evaluar-sheet-option (radio-style)
   - .evaluar-sheet-icon, .evaluar-sheet-text
   - .evaluar-sheet-opt-title, .evaluar-sheet-opt-desc
   - Dark mode

   Usado por: js/utils/sidebar.js (renderiza el sheet via #evaluar-action-sheet)

   Mobile-only feature — todo el bloque está dentro de @media (max-width: 768px).

   Extraído de responsive.css en Round 6.3.
   ══════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  /* ── Evaluar Action Sheet (Mobile Bottom Nav) ── */
  .evaluar-action-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 200;
    background: var(--bg-white, #FFFFFF);
    border-radius: 28px 28px 0 0;
    padding: 12px 24px 32px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
    pointer-events: none;
  }

  .evaluar-action-sheet.visible {
    transform: translateY(0);
    pointer-events: auto;
  }

  .evaluar-sheet-drag-handle {
    width: 40px;
    height: 5px;
    background: #E5E7EB;
    border-radius: 4px;
    margin: 0 auto 16px;
  }

  .evaluar-sheet-title {
    font-size: 1.15rem;
    font-weight: 800;
    text-align: center;
    color: var(--text-primary);
    margin: 0 0 20px;
    letter-spacing: -0.3px;
  }

  .evaluar-sheet-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .evaluar-sheet-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-primary, #F9FAFB);
    border: 1px solid var(--border-subtle, #F3F4F6);
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, background 0.15s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .evaluar-sheet-option:active {
    transform: scale(0.97);
    background: #F3F4F6;
  }

  .evaluar-sheet-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .evaluar-sheet-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
  }

  .evaluar-sheet-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .evaluar-sheet-opt-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
  }

  .evaluar-sheet-opt-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
  }

  [data-theme="dark"] .evaluar-action-sheet {
    background: var(--bg-secondary);
  }

  [data-theme="dark"] .evaluar-sheet-option {
    background: var(--bg-white);
    border-color: var(--border);
  }

  [data-theme="dark"] .evaluar-sheet-icon {
    background: var(--bg-hover);
  }
}
