:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --font-hebrew: "David", "Times New Hebrew", "Rod", serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #f8f9fa;
    padding: 0;
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 1rem;
}

header {
    background-color: var(--dark-color);
    color: white;
    padding: 0.1rem 0;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h1,
h2,
h3,
h4 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary-color);
    /* Applied to all headings for advanced mode consistency */
}

h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

h2 {
    font-size: 1.8rem;
    margin: 1.5rem 0 1rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

h3 {
    margin: 1rem 0;
    color: var(--secondary-color);
    text-align: left;
}

h4 {
    text-align: center;
}

.input-section {
    background-color: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 1.5rem 0;
    gap: 1rem;
    flex-wrap: wrap;
    direction: ltr;
}

label {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    text-align: left;
}

input,
select {
    font-family: var(--font-hebrew);
    font-size: 2.2rem;
    padding: 0.5rem rem;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    direction: ltr;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 5px rgba(231, 76, 60, 0.5);
}

button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

button:hover {
    background-color: #2980b9;
}

.verb-suggestions {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: var(--font-hebrew);
    /* Añadido */
    font-size: 1.8rem;
}

.verb-suggestion {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.verb-suggestion:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.detected-type {
    background-color: rgba(52, 152, 219, 0.2);
    padding: 0.8rem;
    border-radius: 5px;
    margin-top: 1rem;
    border-left: 4px solid var(--primary-color);
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    background-color: #e9ecef;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}

.tab {
    padding: 10px 15px;
    cursor: pointer;
    flex: 1;
    text-align: center;
    transition: background-color 0.3s;
}

.tab:hover {
    background-color: #dee2e6;
}

.tab.active {
    background-color: white;
    font-weight: bold;
    color: var(--primary-color);
}

.tab-content {
    display: none;
    padding: 1.5rem;
    background-color: white;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.tab-content.active {
    display: block;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 1rem;
    direction: rtl;
    /* For Hebrew */
}

td {
    font-family: var(--font-hebrew);
    font-size: 2rem;
}

th {
    padding: 0.8rem;
    text-align: center;
    border: 1px solid #ddd;
}

th {
    background-color: var(--secondary-color);
    color: white;
    font-weight: 600;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

td:contains-hebrew,
th:contains-hebrew {
    font-family: var(--font-hebrew);
    font-size: 2rem;
}

.tabla-recordatorio td {
    font-size: 1.5rem;
    direction: ltr;
    /* Left to Right */
    unicode-bidi: embed;
    /* Asegura que el algoritmo de dirección respete el contenedor */
    text-align: left;
    /* Alinea el texto a la izquierda dentro de las celdas */
}

.contenedor {
    border: 1px solid #333;
    /* El "cuadro" exterior */
    padding: 15px;
    /* Espacio entre el cuadro y la tabla */
    border-radius: 8px;
    /* Bordes redondeados */
    background-color: #f9f9f9;
    display: inline-block;
    margin: 140px;
}

.hebrew {
    font-family: var(--font-hebrew);
    font-size: 2.8rem;
    /* Más grande aún */
    line-height: 1.4;
}

.transliteration {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.theoretical {
    color: #95a5a6;
    /* Gray color */
    cursor: help;
    /* Question mark or help cursor */
    font-style: italic;
}

.binyan-name {
    font-weight: bold;
    color: var(--accent-color);
}

.note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
    font-style: italic;
}

.verb-info-card {
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-color);
}

.pattern-examples {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.pattern-example {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 5px;
    border-left: 3px solid var(--primary-color);
}

footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 1rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h3 {
    margin-bottom: 0.5rem;
    font-family: "Heebo", sans-serif;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
    color: #ddd;
}

.footer-section h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.8rem;
    text-align: left;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.loading {
    display: none;
    text-align: center;
    padding: 2rem;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.tab-content.active {
    animation: fadeIn 0.5s ease-in-out;
}

/* Advanced Mode Specific Styles (adapted from original index.html) */
.mode-selector-container {
    margin-bottom: 20px;
    padding: 1rem;
    background-color: var(--secondary-color);
    border-radius: 10px;
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mode-selector-container label {
    font-weight: bold;
    display: flex;
    align-items: center;
    cursor: pointer;
    color: white;
    font-size: 1.2rem;
}

.mode-selector-container input[type="radio"] {
    margin-right: 8px;
    width: 1.2em;
    height: 1.2em;
    accent-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    /* Match style */
    border-radius: 50%;
}

.conjugation-display {
    border-top: 1px solid #ccc;
    /* Keep separator */
    padding-top: 20px;
    margin-top: 20px;
}

.advanced-verb-input-section {
    /* Renamed to avoid conflict */
    margin-bottom: 20px;
    padding: 0.5rem;
    /* Match basic padding */
    border: 1px solid var(--primary-color);
    /* Match basic border color */
    border-radius: 10px;
    /* Match basic border radius */
    background-color: var(--secondary-color);
    /* Match basic background color */
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Match basic shadow */
}

.advanced-verb-input-section>div {
    display: flex;
    align-items: center;
    gap: 1rem;
    /* Match basic gap */
    flex-wrap: wrap;
}

.advanced-verb-input-section label {
    font-weight: bold;
    white-space: nowrap;
    color: white;
    /* Match basic label color */
    font-size: 1.2rem;
    /* Match basic label font size */
}

.advanced-verb-input-section input[type="text"],
.advanced-verb-input-section select {
    padding: 0.5rem 0.5rem;
    /* Match basic padding */
    border: 2px solid var(--primary-color);
    /* Match basic border */
    border-radius: 10px;
    /* Match basic border radius */
    flex-grow: 1;
    max-width: 250px;
    text-align: right;
    direction: rtl;
    font-family: var(--font-hebrew);
    /* Ensure Hebrew font */
    font-size: 1.8rem;
    /* Match basic input font size */
}

.advanced-verb-input-section button {
    padding: 0.6rem 1.2rem;
    /* Match basic padding */
    background-color: var(--primary-color);
    /* Match basic color */
    color: white;
    border: none;
    border-radius: 10px;
    /* Match basic border radius */
    cursor: pointer;
}

.advanced-verb-input-section button:hover {
    background-color: #2980b9;
    /* Match basic hover */
}

.advanced-note {
    /* Renamed to avoid conflict */
    font-size: 0.9rem;
    /* Match basic note font size */
    color: white;
    /* Changed to white for better contrast on dark background */
    margin-top: 1rem;
    /* Match basic margin */
    text-align: left;
    font-style: italic;
}

.binyan-section {
    margin-bottom: 30px;
    padding: 1.5rem;
    /* Match basic padding */
    border: 1px solid var(--primary-color);
    /* Match basic border color */
    border-radius: 10px;
    /* Match basic border radius */
    background-color: white;
    /* White background for content */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.completion-note {
    background-color: var(--success-color);
    /* Use success color */
    border: 1px solid #28a745;
    /* Darker green border */
    color: white;
    /* White text for contrast */
    padding: 1.5rem;
    /* Match basic padding */
    border-radius: 10px;
    /* Match basic border-radius */
    margin-bottom: 2rem;
    /* Match basic margin */
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.completion-note h3 {
    color: white;
    /* White heading */
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    /* Lighter border */
    padding-bottom: 0.5rem;
}

.completion-note p,
.completion-note ul {
    color: white;
    text-align: left;
}

.completion-note li {
    margin-bottom: 0.5rem;
}

.advanced-binyan-selector {
    /* Renamed to avoid conflict */
    margin-bottom: 2rem;
    /* Match basic margin */
    padding: 1.5rem;
    /* Match basic padding */
    background-color: var(--secondary-color);
    /* Match basic background */
    border-radius: 10px;
    /* Match basic border radius */
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    /* Match basic gap */
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.advanced-binyan-selector label {
    font-weight: bold;
    display: flex;
    align-items: center;
    cursor: pointer;
    color: white;
    font-size: 1.2rem;
}

.advanced-binyan-selector input[type="radio"] {
    margin-right: 8px;
    width: 1.2em;
    height: 1.2em;
    accent-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
}

.hebrew-text {
    font-family: var(--font-hebrew);
    font-size: 2.6rem;
    direction: rtl;
    line-height: 1.3;
}

.verb-type {
    color: #666;
    font-style: italic;
    margin-bottom: 10px;
    text-align: left;
}

.no-conjugation {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 20px;
    text-align: center;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .container {
        padding: 0.5rem;
    }

    table {
        font-size: 0.9rem;
    }

    th,
    td {
        padding: 0.5rem;
    }

    .hebrew {
        font-size: 2rem;
    }

    .hebrew-text {
        /* Adjust for smaller screens */
        font-size: 2rem;
    }

    .tabs {
        flex-wrap: wrap;
    }

    .tab {
        padding: 0.6rem 1rem;
        margin-bottom: 5px;
    }

    .form-group,
    .advanced-verb-input-section>div {
        flex-direction: column;
        align-items: stretch;
    }

    input,
    select {
        font-size: 1.5rem;
        /* Aumentado para móviles */
    }

    input,
    select,
    button {
        width: 100%;
    }

    .suggestion-box {
        padding: 6px 10px;
        margin: 8px 0;
    }

    .suggestion-box .hebrew-text {
        font-size: 1.6rem !important;
    }

    .alert-info.suggestion-box {
        padding: 8px 12px;
    }
}

@media print {

    header,
    footer,
    .form-group,
    .tabs,
    .practice-section,
    .mode-selector-container,
    .advanced-verb-input-section,
    .advanced-binyan-selector,
    .completion-note {
        display: none;
    }

    .tab-content,
    .binyan-section {
        display: block !important;
        box-shadow: none;
    }

    body {
        font-size: 12pt;
        background-color: white;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.tab-content.active,
.binyan-section {
    animation: fadeIn 0.5s ease-in-out;
}

.practice-option {
    padding: 10px 15px;
    margin: 5px 0;
    background-color: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.practice-option:hover {
    background-color: #e9ecef;
    border-color: #3498db;
}

.practice-option.correct {
    background-color: #d4edda;
    border-color: #28a745;
    color: #155724;
}

.practice-option.incorrect {
    background-color: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

.practice-question {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.practice-options {
    margin-top: 1rem;
}

/* Barra de navegación mejorada */
.navbar {
    border-radius: 12px;
    background: linear-gradient(135deg, #2c3e50 0%, #4a6491 100%) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 1rem;
    margin: 0.2rem 0 1rem 0;
}

.navbar-brand h6 {
    color: white !important;
    font-weight: 600;
    margin: 0;
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.2rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: white !important;
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.nav-link.active {
    background-color: rgba(255, 255, 255, 0.25);
    color: white !important;
    font-weight: 600;
}

/* Asegurar que el icono del menú hamburguesa sea blanco */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
    /* Borde más claro */
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    filter: brightness(1.2);
    /* Asegurar que sea brillante/blanco */
}

/* Mantener el color del título H4 como está */
.navbar-brand h4 {
    color: #f2f3f5 !important;
    /* Forzar el color actual del título */
    font-size: 1.5rem !important;
    /* Mantener tamaño */
}

.verb-type-display {
    display: inline-block;
    margin-left: 15px;
    padding: 6px 12px;
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 0.9em;
    color: #495057;
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
    cursor: help;
    position: relative;
}

.verb-type-display:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
}

/* Tooltip personalizado (opcional, complementa el title nativo) */
.verb-type-display::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.85em;
    white-space: normal;
    width: 300px;
    max-width: 90vw;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.2s,
        visibility 0.2s;
    pointer-events: none;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.verb-type-display:hover::after {
    opacity: 1;
    visibility: visible;
}

.suggested-verb {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #d6e9c6;
    border-radius: 4px;
    background-color: #f9fdf7;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-info {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}

.suggestion-box {
    margin: 10px 0;
    padding: 8px 12px;
    background-color: #f0f8ff;
    /* Azul muy claro en lugar de blanco puro */
    border: 1px solid #b8daff;
    /* Azul claro en lugar de gris */
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    /* Sombra más sutil */
}

.suggestion-box h4 {
    margin-top: 0;
    color: var(--secondary-color);
    /* Usa el color secundario del tema */
    font-size: 1rem;
    /* Tamaño más pequeño */
    margin-bottom: 8px;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 4px;
}

.suggestion-box .hebrew-text {
    font-family: var(--font-hebrew);
    font-size: 1.8rem !important;
    /* Tamaño similar a las conjugaciones */
    direction: rtl;
    line-height: 1.3;
    margin: 5px 0;
    color: var(--dark-color);
    /* Color de texto principal */
}

.suggestion-box .pattern-explanation {
    font-size: 0.9rem;
    color: #495057;
    /* Gris oscuro */
    margin-top: 8px;
    line-height: 1.4;
    font-style: italic;
}

.suggestion-modest {
    background-color: #f8f9fa !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 8px !important;
    padding: 15px !important;
    margin: 15px 0 !important;
    max-width: 100% !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

.suggestion-modest h4 {
    color: var(--secondary-color) !important;
    font-size: 1.1rem !important;
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid #eee !important;
}

.suggestion-content {
    margin: 15px 0 !important;
}

.suggestion-row {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 10px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid #f1f1f1 !important;
}

.suggestion-label {
    width: 40% !important;
    font-weight: 600 !important;
    color: #666 !important;
    font-size: 0.9rem !important;
}

.suggestion-hebrew {
    font-family: var(--font-hebrew) !important;
    font-size: 1.6rem !important;
    font-weight: bold !important;
    color: var(--primary-color) !important;
    direction: rtl !important;
}

.suggestion-type {
    color: #e65100 !important;
    font-weight: bold !important;
    font-size: 0.95rem !important;
}

.suggestion-description {
    background-color: #e9ecef !important;
    padding: 12px 15px !important;
    border-radius: 6px !important;
    margin: 15px 0 !important;
    border-left: 3px solid var(--primary-color) !important;
}

.suggestion-description p {
    margin: 0 !important;
    color: #495057 !important;
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
}

.suggestion-actions {
    text-align: center !important;
    margin-top: 15px !important;
}

.suggestion-button {
    background-color: var(--primary-color) !important;
    color: white !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 6px !important;
    font-size: 0.95rem !important;
    cursor: pointer !important;
    font-weight: bold !important;
    transition: background-color 0.3s !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.suggestion-button:hover {
    background-color: #2980b9 !important;
}

.suggestion-tip {
    color: #666 !important;
    font-size: 0.85rem !important;
    margin-top: 10px !important;
    line-height: 1.4 !important;
}

/* Versión para "no encontrado" */
.suggestion-modest.not-found {
    background-color: #fff3cd !important;
    border-color: #ffeaa7 !important;
}

.suggestion-modest.not-found h4 {
    color: #856404 !important;
}

.verb-suggestions {
    display: flex !important;
    gap: 10px !important;
    margin-top: 10px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
}

.verb-suggestion {
    background-color: #6c757d !important;
    color: white !important;
    border: none !important;
    padding: 8px 16px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-size: 0.9rem !important;
    font-family: var(--font-hebrew) !important;
}

.verb-suggestion:hover {
    background-color: #5a6268 !important;
}

/* Asegurar que no haya estilos inline que sobrescriban */
#verb-result>div {
    all: initial !important;
}

#verb-result>* {
    all: unset !important;
}

#verb-result div.suggestion-modest {
    display: block !important;
    all: initial !important;
}

.btn-link {
    color: #337ab7;
    text-decoration: none;
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.btn-link:hover {
    color: #23527c;
    text-decoration: underline;
}

.verb-pattern-info {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-left: 4px solid #6c757d;
}

.verb-pattern-info h4 {
    margin-top: 0;
    color: #495057;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

.alert-info.suggestion-box {
    color: #0c5460;
    background-color: #e8f4fd;
    /* Azul más claro y sutil */
    border-color: #a6d5fa;
    /* Azul más claro */
    padding: 10px 15px;
    margin: 15px 0;
}

.alert-info.suggestion-box h4 {
    color: #0c5460;
    /* Azul oscuro consistente */
    font-size: 1rem;
    margin-bottom: 10px;
}

.alert-info.suggestion-box .hebrew-text {
    font-size: 1.8rem !important;
    color: #0c5460;
    /* Azul oscuro */
    font-weight: normal;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

.card {
    margin-bottom: 20px;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
}

.card-header {
    padding: 0.75rem 1.25rem;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.card-body {
    padding: 1.25rem;
}

.btn {
    padding: 0.375rem 0.75rem;
    border-radius: 0.25rem;
    cursor: pointer;
}

.btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.btn-outline-primary {
    color: #007bff;
    background-color: transparent;
    border: 1px solid #007bff;
}

.btn-outline-secondary {
    color: #6c757d;
    background-color: transparent;
    border: 1px solid #6c757d;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

/* Solo afectar el navbar específico de tu página */
header .navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Proteger específicamente el título H4 */
header .navbar .navbar-brand h4 {
    color: #f2f3f5 !important;
    margin: 0 !important;
}