.text-toolbox {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-header {
    text-align: center;
    color: #f9fafb;
}

.feature-header h2 {
    font-size: 2.2rem;
    margin-bottom: 6px;
}

.feature-subtitle {
    margin: 0;
    font-size: 1.05rem;
    color: rgba(249, 250, 251, 0.85);
}

.tool-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.tool-card {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 24px 50px -32px rgba(15, 23, 42, 0.65);
    color: #1f2937;
    display: flex;
    flex-direction: column;
    gap: 18px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.tool-card-header {
    position: relative;
}

.tool-card-header h3 {
    margin: 0;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tool-card-header p {
    margin: 6px 0 0;
    color: #4b5563;
    font-size: 0.95rem;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field-group label,
.field-inline label {
    font-weight: 600;
    font-size: 0.95rem;
    color: #374151;
}

.field-group textarea {
    resize: vertical;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 2px solid #d1d5db;
    font-size: 1rem;
    font-family: 'Fira Code', 'SFMono-Regular', Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
    letter-spacing: 0.08em;
    line-height: 1.5;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Unifier la couleur des placeholders HTML avec celle des placeholders visuels */
.field-group textarea::placeholder {
    color: #9ca3af;
    font-style: italic;
    opacity: 1;
}

.field-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.field-inline {
    display: flex;
    align-items: center;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #374151;
}

.checkbox input {
    width: 18px;
    height: 18px;
}

/* Toggle Switch */
.toggle-switch {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(243, 244, 246, 0.6);
    padding: 8px 16px;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
}

.toggle-switch label {
    display: inline-flex;
    align-items: center;
    margin: 0;
    cursor: pointer;
}

.toggle-switch-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #6b7280;
    transition: color 0.2s ease;
    user-select: none;
    cursor: pointer;
    white-space: nowrap;
}

.toggle-switch-label.active {
    color: #667eea;
    font-weight: 600;
}

.toggle-switch input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.toggle-slider {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
    background: #d1d5db;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch input[type="checkbox"]:checked + .toggle-slider {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.toggle-switch input[type="checkbox"]:checked + .toggle-slider::before {
    transform: translateX(24px);
}

.output-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.textarea-highlight-wrapper {
    position: relative;
    width: 100%;
}

.textarea-highlight-wrapper textarea {
    position: relative;
    z-index: 1;
    background: transparent;
    color: transparent;
    caret-color: #111827;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Fira Code', 'SFMono-Regular', Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
    letter-spacing: 0.08em;
}

.textarea-highlight-wrapper textarea.output-text {
    caret-color: #111827;
}

.textarea-highlight-wrapper textarea::placeholder {
    color: transparent;
}

.textarea-highlight {
    position: absolute;
    inset: 0;
    padding: 12px 14px;
    pointer-events: none;
    white-space: pre-wrap;
    word-break: break-word;
    font-family: 'Fira Code', 'SFMono-Regular', Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
    font-size: 1rem;
    letter-spacing: 0.08em;
    line-height: 1.5;
    border-radius: 10px;
    background: #ffffff;
    overflow: hidden;
    z-index: 0;
    border: 2px solid transparent;
}

.tokenized-display {
    font-family: 'Fira Code', 'SFMono-Regular', Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
}

.tokenized-display .token {
    display: inline;
    color: var(--token-text, #1f2937);
    white-space: pre-wrap;
}

.tokenized-display .token.token--separator {
    color: #4b5563;
    white-space: pre-wrap;
}

.tokenized-display .token.token--placeholder {
    color: #9ca3af;
    font-style: italic;
    white-space: pre-wrap;
}

.tokenized-display .token.is-space {
    opacity: 0.75;
    font-style: italic;
}

.tokenized-display .token.is-invalid {
    color: #b91c1c;
    text-decoration: underline wavy rgba(239, 68, 68, 0.6);
}

.output-text {
    background: transparent;
    border: 2px solid #d1d5db;
    border-radius: 10px;
    padding: 12px 14px;
    font-family: 'Fira Code', 'SFMono-Regular', Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
    letter-spacing: 0.08em;
    line-height: 1.5;
    font-size: 1rem;
    resize: vertical;
}

.output-text::placeholder {
    color: transparent;
}

.output-text:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.output-meta {
    min-height: 18px;
    font-size: 0.85rem;
    color: #6b7280;
}

.output-meta strong {
    color: #4338ca;
}

.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #667eea;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    cursor: help;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.info-icon:hover {
    background: #5568d3;
}

.tool-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: white;
    font-size: 0.9rem;
    font-weight: bold;
    margin-right: 12px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
    transition: all 0.2s ease;
}

.tool-number:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

.tooltip-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 12px;
    background: #1f2937;
    color: #f9fafb;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    font-size: 0.9rem;
    line-height: 1.6;
    min-width: 400px;
    white-space: normal;
}

.tooltip-content.visible {
    display: block;
}

.tooltip-content > strong {
    display: block;
    margin-bottom: 8px;
    color: #667eea;
    font-size: 0.95rem;
}

.tooltip-content li strong {
    display: inline;
    color: inherit;
    font-size: inherit;
}

.tooltip-content ul {
    margin: 8px 0;
    padding-left: 20px;
}

.tooltip-content li {
    margin: 6px 0;
}

.tooltip-content code {
    background: rgba(102, 126, 234, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Fira Code', monospace;
    color: #a5b4fc;
}

.tooltip-content p {
    margin: 8px 0 0;
}

.tooltip-content em {
    color: #9ca3af;
    font-size: 0.85rem;
}

@media (max-width: 900px) {
    .tool-grid {
        grid-template-columns: 1fr;
    }
}

/* Resources tab styles */
.resources-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.resources-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.resources-section h3 {
    color: #f9fafb;
    font-size: 1.4rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Override any conflicting styles for lens and resources headers */
.lens-container .feature-header,
.resources-container .feature-header {
    text-align: center;
    color: #f9fafb;
}

.lens-container .feature-header h2,
.resources-container .feature-header h2 {
    font-size: 2.2rem;
    margin-bottom: 6px;
    color: #f9fafb;
}

/* Amélioration de l'alignement des logos dans les titres et onglets */
.app-tab img,
.feature-header h2 img {
    vertical-align: text-top;
    margin-right: 6px;
}

.app-tab {
    display: flex;
    align-items: center;
    gap: 0;
}

.feature-header h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.resource-card {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.resource-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.4);
}

.resource-card h4 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 8px;
}

.resource-card p {
    margin: 0 0 12px;
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.5;
}

.resource-card a {
    display: inline-block;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 12px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.resource-card a:hover {
    background: rgba(102, 126, 234, 0.2);
    color: #5568d3;
}

.images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.reference-image {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.reference-image h4 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 8px;
}

.reference-image p {
    margin: 0 0 16px;
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.5;
}

.reference-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    cursor: pointer;
}

.reference-image img:hover {
    transform: scale(1.02);
}

/* Image modal styles */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    cursor: pointer;
}

.image-modal.visible {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.image-modal img {
    max-width: 90vw;
    max-height: 90vh;
    min-width: 50vw;
    min-height: 50vh;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    cursor: default;
    object-fit: contain;
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.image-modal-close:hover {
    background: rgba(0, 0, 0, 0.7);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 900px) {
    .links-grid {
        grid-template-columns: 1fr;
    }

    .images-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .tool-card {
        padding: 20px;
    }

    .tool-grid {
        gap: 16px;
    }

    .resource-card {
        padding: 16px;
    }

    .reference-image {
        padding: 16px;
    }

    .resources-container {
        gap: 24px;
    }

    .resources-grid {
        gap: 24px;
    }
}

/* Lens tab styles */
.lens-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.lens-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.lens-controls {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-align: center;
}

.lens-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.lens-btn.primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.lens-btn.primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.lens-btn.primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.lens-btn.secondary {
    background: rgba(107, 114, 128, 0.1);
    color: #4b5563;
    border: 1px solid rgba(107, 114, 128, 0.3);
}

.lens-btn.secondary:hover {
    background: rgba(107, 114, 128, 0.2);
}

.lens-instruction {
    margin: 16px 0 0;
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.5;
}

.capture-area {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.capture-area.hidden {
    display: none;
}

.capture-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.capture-header h3 {
    margin: 0;
    color: #1f2937;
    font-size: 1.2rem;
}

.capture-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.image-crop-container {
    position: relative;
    background: #f3f4f6;
    border-radius: 8px;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#captureCanvas {
    max-width: 100%;
    max-height: 500px;
    border-radius: 8px;
    cursor: crosshair;
}

.crop-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 10;
}

.crop-selection {
    position: absolute;
    border: 2px dashed #667eea;
    background: rgba(102, 126, 234, 0.1);
    display: none;
}

.lens-info {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.lens-info h3 {
    margin: 0 0 16px;
    color: #1f2937;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lens-info ol {
    margin: 0 0 16px;
    padding-left: 20px;
    color: #4b5563;
    line-height: 1.6;
}

.lens-info li {
    margin: 8px 0;
}

.lens-note {
    margin: 0;
    padding: 12px;
    background: rgba(59, 130, 246, 0.1);
    border-left: 4px solid #3b82f6;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #1e40af;
}

@media (max-width: 640px) {
    .capture-header {
        flex-direction: column;
        align-items: stretch;
    }

    .capture-actions {
        justify-content: center;
    }

    .lens-btn {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}

/* Multi-tap keyboard styles */
.multitap-input-keyboard-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: start;
}

.multitap-input-section {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.multitap-keyboard {
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    border-radius: 10px;
    padding: 12px;
    border: 2px solid #d1d5db;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 240px;
    flex-shrink: 0;
}

.keyboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #d1d5db;
}

.keyboard-header span {
    font-weight: 600;
    color: #374151;
    font-size: 0.85rem;
}

.keyboard-clear-btn {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 5px;
    padding: 4px 10px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
}

.keyboard-clear-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: scale(1.05);
}

.keyboard-clear-btn:active {
    transform: scale(0.98);
}

.keyboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.key-btn {
    background: linear-gradient(180deg, #ffffff, #f9fafb);
    border: 2px solid #d1d5db;
    border-radius: 8px;
    padding: 10px 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.key-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    opacity: 0;
    transition: opacity 0.2s ease;
}

.key-btn:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.key-btn:hover::before {
    opacity: 1;
}

.key-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.key-btn.active {
    background: linear-gradient(180deg, #667eea, #5568d3);
    border-color: #5568d3;
    color: white;
    animation: keyPress 0.2s ease;
}

.key-btn.active .key-number,
.key-btn.active .key-letters {
    color: white;
}

@keyframes keyPress {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

.key-number {
    font-size: 1.2rem;
    font-weight: bold;
    color: #1f2937;
    line-height: 1;
    z-index: 1;
}

.key-letters {
    font-size: 0.65rem;
    color: #6b7280;
    font-weight: 500;
    letter-spacing: 0.03em;
    z-index: 1;
}

.key-space {
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .multitap-input-keyboard-row {
        grid-template-columns: 1fr;
    }

    .multitap-keyboard {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .keyboard-grid {
        gap: 5px;
    }

    .key-btn {
        padding: 8px 6px;
    }

    .key-number {
        font-size: 1.1rem;
    }

    .key-letters {
        font-size: 0.6rem;
    }
}

/* Braille interactive styles */
.braille-input-grid-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: start;
}

.braille-input-section {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.braille-interactive {
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    border-radius: 10px;
    padding: 12px;
    border: 2px solid #d1d5db;
    width: 150px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.braille-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.braille-header span {
    font-weight: 600;
    color: #374151;
    font-size: 1.3rem;
}

.braille-clear-btn {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 5px;
    padding: 4px 10px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
}

.braille-clear-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: scale(1.05);
}

.braille-cell {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 10px;
    padding: 14px;
    background: white;
    border-radius: 10px;
    border: 2px solid #d1d5db;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    justify-items: center;
    align-items: center;
}

.braille-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2.5px solid #d1d5db;
    background: #f9fafb;
    cursor: pointer;
    transition: all 0.2s ease;
}

.braille-dot:hover {
    border-color: #667eea;
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.35);
}

.braille-dot.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: #5568d3;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.25), inset 0 2px 6px rgba(0, 0, 0, 0.2);
}

.braille-validate-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    border-radius: 7px;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}

.braille-validate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.45);
}

@media (max-width: 768px) {
    .braille-input-grid-row {
        grid-template-columns: 1fr;
    }

    .braille-interactive {
        width: 100%;
        max-width: 160px;
        margin: 0 auto;
    }
}
