/* Custom Vocabulary */

.vocab-tab { display: none; }
.vocab-tab.active { display: block; }

/* Config form */
.vocab-config-form { max-width: 500px; }

.vocab-config-field {
    margin-bottom: 16px;
}

.vocab-config-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
}

.vocab-config-field input,
.vocab-config-field select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
}

.vocab-config-field input:focus,
.vocab-config-field select:focus {
    border-color: #3b82f6;
    outline: none;
}

.vocab-config-field small {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #9ca3af;
}

/* Audio */
.vocab-audio-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
}

.vocab-recorder {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vocab-recording {
    background: #ef4444 !important;
    animation: vocab-pulse 1s infinite;
}

@keyframes vocab-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.vocab-transcricao blockquote {
    margin: 0;
    padding: 16px;
    background: #f9fafb;
    border-left: 4px solid #3b82f6;
    border-radius: 0 8px 8px 0;
    font-size: 15px;
    line-height: 1.6;
}

/* Table */
.vocab-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.vocab-table th {
    text-align: left;
    padding: 8px;
    background: #f3f4f6;
    border-bottom: 2px solid #e5e7eb;
    font-weight: 600;
    font-size: 12px;
    color: #6b7280;
}

.vocab-table td { padding: 4px; border-bottom: 1px solid #f3f4f6; }

.vocab-table input {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    font-size: 13px;
    font-family: monospace;
    box-sizing: border-box;
}

.vocab-table input:focus { border-color: #3b82f6; outline: none; }

.vocab-del {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 14px;
    padding: 4px 8px;
}

.vocab-del:hover { color: #ef4444; }
