#srv-app-container {
    max-width: 800px;
    margin: 20px auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background: #fdfdfd;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

#srv-setup-view h3, #srv-drill-view h3 {
    margin-top: 0;
    color: #1a202c;
    font-size: 24px;
    border-bottom: 2px solid #ebf4ff;
    padding-bottom: 10px;
}

#srv-verb-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 20px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

#srv-verb-input:focus {
    outline: none;
    border-color: #4299e1;
}

.srv-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.srv-options label {
    display: flex;
    align-items: center;
    cursor: pointer;
    background: #f7fafc;
    padding: 12px;
    border-radius: 8px;
    transition: background 0.2s;
}

.srv-options label:hover {
    background: #edf2f7;
}

.srv-options input[type="checkbox"] {
    margin-right: 10px;
}

#srv-start-btn, #srv-restart-btn {
    background: #3182ce;
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

#srv-start-btn:hover, #srv-restart-btn:hover {
    background: #2b6cb0;
}

#srv-start-btn:disabled {
    background: #a0aec0;
    cursor: not-allowed;
}

#srv-setup-error {
    margin-top: 15px;
    font-weight: bold;
}

/* Exercises */
.srv-instruction {
    font-size: 15px;
    color: #4a5568;
    margin-bottom: 20px;
}

.srv-exercise-row {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.srv-sentence {
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.srv-index {
    color: #a0aec0;
    font-weight: bold;
    width: 30px;
}

.srv-gap-input {
    border: 2px solid #cbd5e0;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 18px;
    width: 150px;
    text-align: center;
    transition: all 0.2s ease;
    background: #fefefe;
    color: #2d3748;
}

.srv-gap-input:focus {
    outline: none;
    border-color: #63b3ed;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(99, 179, 237, 0.2);
}

.srv-gap-input.srv-correct {
    border-color: #48bb78 !important;
    background-color: #f0fff4 !important;
    color: #276749 !important;
    font-weight: bold;
}

.srv-gap-input:disabled {
    opacity: 1;
}

.srv-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 38px; /* Align with input */
}

.srv-hint {
    background: #edf2f7;
    color: #4a5568;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-style: italic;
    white-space: nowrap;
}

.srv-translation {
    display: none;
    color: #2b6cb0;
    font-weight: 500;
    font-size: 16px;
    background: #ebf8ff;
    padding: 6px 14px;
    border-radius: 6px;
    border-left: 4px solid #4299e1;
}
