body {
    font-family: Arial, sans-serif;
    max-width: 680px;
    margin: 30px auto;
    padding: 20px;
    line-height: 1.6;
    color: #333;
}

textarea, select, button {
    width: 100%;
    padding: 10px;
    margin-top: 8px;
    font-size: 16px;
    border-radius: 6px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.controls {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.controls button {
    cursor: pointer;
    border: none;
    color: white;
    font-weight: bold;
}

.btn-play { background-color: #28a745; }
.btn-pause { background-color: #ffc107; color: #333; }
.btn-stop { background-color: #dc3545; }

.label-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 15px;
}

.label-header label {
    font-weight: bold;
    margin: 0;
}

.word-counter {
    font-size: 13px;
    color: #6c757d;
    font-weight: normal;
}

.hint-text {
    font-size: 12px;
    color: #0d6efd;
    font-weight: normal;
}

.options-panel {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

.options-panel h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 16px;
    color: #495057;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: normal;
    margin-top: 8px;
    cursor: pointer;
}

.option-item input {
    width: auto;
    margin: 0;
    cursor: pointer;
}

.display-box {
    margin-top: 8px;
    padding: 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    min-height: 60px;
    white-space: pre-wrap;
    font-size: 17px;
    line-height: 1.8;
}

.word-clickable {
    cursor: pointer;
    border-radius: 3px;
    padding: 2px 3px;
    user-select: none;
    touch-action: manipulation;
    transition: background-color 0.15s ease;
}

.word-clickable:hover {
    background-color: #e2e8f0;
}

.start-marker {
    outline: 2px solid #0d6efd;
    background-color: #e7f1ff;
    font-weight: bold;
    border-radius: 3px;
    padding: 1px 2px;
}

.highlight {
    background-color: #ffeb3b !important;
    font-weight: bold;
    outline: none !important;
    border-radius: 3px;
    padding: 1px 2px;
}

#displayTraduccion {
    background-color: #f0f7ff;
    border-color: #b6d4fe;
    color: #084298;
    font-style: italic;
}