/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
    min-height: 100vh;
}

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

/* Header */
.app-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.app-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-header h1 {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Login Page */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 1rem;
}

.login-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.login-card h1 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    transition: border-color 0.3s;
    min-height: 44px;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    min-height: 44px;
    min-width: 44px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-block {
    width: 100%;
    display: block;
}

.btn-link {
    background: transparent;
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
}

.btn-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Messages */
.error-message {
    background: #fee;
    color: #c33;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid #c33;
}

.success-message {
    background: #efe;
    color: #3c3;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid #3c3;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Navigation Grid */
.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.nav-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.nav-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.nav-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.nav-card h2 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.nav-card p {
    color: #666;
    font-size: 0.9rem;
}

/* Recent Activity */
.recent-activity {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

.recent-activity h2 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    gap: 1rem;
}

.activity-type {
    font-weight: 500;
    flex: 1;
    text-transform: capitalize;
}

.activity-score {
    font-weight: 700;
    color: #667eea;
    font-size: 1.1rem;
}

.activity-date {
    color: #666;
    font-size: 0.85rem;
    white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .app-header h1 {
        font-size: 1.25rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .activity-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .activity-score {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .login-card {
        padding: 1.5rem;
    }
    
    .stats-grid {
        gap: 0.75rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .nav-card {
        padding: 1.5rem;
    }
}

/* Word Bank Specific Styles */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.5rem 0 1rem 0;
}

.page-header h2 {
    font-size: 1.5rem;
    color: #333;
    margin: 0;
}

.toolbar {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.toolbar .form-control {
    flex: 1;
    min-width: 150px;
}

.word-count {
    color: #666;
    font-size: 0.9rem;
    white-space: nowrap;
    padding: 0 0.5rem;
}

.words-list {
    display: grid;
    gap: 0.75rem;
}

.word-card {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.word-main {
    flex: 1;
    min-width: 0;
}

.word-danish {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-audio {
    background: transparent;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.btn-audio:hover {
    opacity: 1;
}

.word-english {
    color: #666;
    font-size: 0.95rem;
}

.word-meta {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.25rem;
    font-size: 0.85rem;
    color: #888;
}

.word-category {
    background: #667eea;
    color: white;
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
}

.word-actions {
    display: flex;
    gap: 0.25rem;
}

.btn-icon {
    padding: 0.5rem;
    font-size: 1rem;
    min-width: 40px;
    min-height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s;
}

.btn-icon:hover {
    background: #f5f7fa;
}

.loading {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    padding: 1rem;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e1e8ed;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    line-height: 1;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.modal-close:hover {
    background: #f5f7fa;
}

.modal-content form {
    padding: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 500;
    color: #333;
    font-size: 0.9rem;
}

.form-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e1e8ed;
}

.btn-secondary {
    background: #e1e8ed;
    color: #333;
}

.btn-secondary:hover {
    background: #d1d8dd;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
}

textarea.form-control {
    resize: vertical;
    min-height: 44px;
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #666;
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.loading {
    text-align: center;
    padding: 2rem;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .toolbar {
        flex-direction: column;
    }
    
    .toolbar .form-control {
        width: 100%;
    }
    
    .word-card {
        flex-direction: column;
        align-items: stretch;
    }
    
    .word-actions {
        justify-content: flex-end;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}
/* ========================================
   FLASHCARDS SYSTEM
   ======================================== */

/* Setup Screen */
.flashcard-setup {
    max-width: 600px;
    margin: 0 auto;
}

.setup-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.setup-card h2 {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 24px;
    color: #2c3e50;
}

.btn-large {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    margin-top: 10px;
}

/* Stats Preview */
.stats-preview {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.stats-preview h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
    color: #2c3e50;
}

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

.stat-card {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #7f8c8d;
}

/* Session Screen */
.flashcard-session {
    max-width: 700px;
    margin: 0 auto;
}

/* Progress Bar */
.progress-container {
    margin-bottom: 30px;
}

.progress-text {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #ecf0f1;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    transition: width 0.3s ease;
}

/* Flashcard Container */
.flashcard-container {
    perspective: 1000px;
    margin-bottom: 30px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flashcard {
    width: 100%;
    max-width: 600px;
    height: 400px;
    cursor: pointer;
    position: relative;
}

.flashcard-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.flashcard.flipped .flashcard-inner {
    transform: rotateY(180deg);
}

.flashcard-front,
.flashcard-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding: 40px;
    box-sizing: border-box;
}

.flashcard-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.card-content {
    width: 100%;
    text-align: center;
}

.card-category {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #3498db;
    margin-bottom: 20px;
}

.flashcard-back .card-category {
    color: rgba(255,255,255,0.8);
}

.card-text {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    word-wrap: break-word;
}

.card-hint {
    position: absolute;
    bottom: 20px;
    font-size: 14px;
    color: #95a5a6;
    font-style: italic;
}

.card-extra {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.6;
}

.card-example,
.card-notes {
    margin-top: 10px;
    padding: 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
    text-align: left;
}

.btn-audio {
    margin-top: 20px;
    padding: 12px 24px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-audio:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

/* Rating Buttons */
.rating-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 20px;
}

.btn-rating {
    flex: 1;
    min-width: 120px;
    padding: 16px 12px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.btn-rating:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-rating:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.rating-label {
    font-size: 16px;
}

.rating-time {
    font-size: 12px;
    opacity: 0.8;
}

.btn-again {
    background: #e74c3c;
    color: white;
}

.btn-again:hover:not(:disabled) {
    background: #c0392b;
}

.btn-hard {
    background: #f39c12;
    color: white;
}

.btn-hard:hover:not(:disabled) {
    background: #d68910;
}

.btn-medium {
    background: #3498db;
    color: white;
}

.btn-medium:hover:not(:disabled) {
    background: #2980b9;
}

.btn-easy {
    background: #2ecc71;
    color: white;
}

.btn-easy:hover:not(:disabled) {
    background: #27ae60;
}

/* Session Complete Screen */
.session-complete {
    max-width: 600px;
    margin: 0 auto;
}

.complete-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    text-align: center;
}

.complete-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.complete-card h2 {
    margin: 0 0 30px 0;
    font-size: 32px;
    color: #2c3e50;
}

.complete-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.complete-stat {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.complete-stat-value {
    font-size: 36px;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 5px;
}

.complete-stat-label {
    font-size: 14px;
    color: #7f8c8d;
}

.complete-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.complete-actions .btn {
    flex: 1;
    max-width: 200px;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .flashcard {
        height: 350px;
    }
    
    .flashcard-front,
    .flashcard-back {
        padding: 30px 20px;
    }
    
    .card-text {
        font-size: 36px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .rating-buttons {
        flex-wrap: wrap;
    }
    
    .btn-rating {
        min-width: calc(50% - 6px);
    }
    
    .complete-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .complete-actions {
        flex-direction: column;
    }
    
    .complete-actions .btn {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .flashcard {
        height: 300px;
    }
    
    .card-text {
        font-size: 28px;
    }
    
    .setup-card,
    .complete-card {
        padding: 20px;
    }
    
    .stat-value {
        font-size: 24px;
    }
    
    .complete-stat-value {
        font-size: 28px;
    }
}
/* Audio Icon for Flashcards */
.card-text-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.btn-audio-icon {
    background: rgba(52, 152, 219, 0.1);
    border: 2px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.btn-audio-icon:hover {
    background: #3498db;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.btn-audio-icon:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .btn-audio-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .card-text-wrapper {
        gap: 10px;
    }
}
/* ========================================
   QUIZ SYSTEM
   ======================================== */

/* Quiz Setup */
.quiz-setup {
    max-width: 600px;
    margin: 0 auto;
}

/* Quiz Session */
.quiz-session {
    max-width: 800px;
    margin: 0 auto;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
}

.score-display {
    color: #3498db;
}

/* Question Card */
.question-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.question-category {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #3498db;
    margin-bottom: 20px;
    text-align: center;
}

.question-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.question-text {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    color: #2c3e50;
    line-height: 1.3;
}

/* Answer Options */
.answer-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.answer-option {
    padding: 20px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    color: #2c3e50;
}

.answer-option:hover:not(.disabled) {
    background: #f8f9fa;
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
}

.answer-option:active:not(.disabled) {
    transform: translateY(0);
}

.answer-option.disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

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

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

/* Feedback Message */
.feedback-message {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

.feedback-message.correct {
    background: #d4edda;
    color: #155724;
    border: 2px solid #28a745;
}

.feedback-message.incorrect {
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #dc3545;
}

.feedback-icon {
    font-size: 32px;
    font-weight: 700;
}

.feedback-text {
    flex: 1;
}

/* Results Screen */
.quiz-results {
    max-width: 800px;
    margin: 0 auto;
}

.results-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    text-align: center;
}

.results-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.results-card h2 {
    margin: 0 0 30px 0;
    font-size: 32px;
    color: #2c3e50;
}

.results-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.result-stat {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.result-stat-value {
    font-size: 36px;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 8px;
}

.result-stat-label {
    font-size: 14px;
    color: #7f8c8d;
    font-weight: 600;
}

/* Category Breakdown */
.category-breakdown {
    margin-bottom: 30px;
    text-align: left;
}

.category-breakdown h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.category-stats-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 8px;
}

.category-name {
    font-weight: 600;
    color: #2c3e50;
    text-transform: capitalize;
}

.category-score {
    display: flex;
    gap: 8px;
    align-items: center;
    font-weight: 600;
}

.category-percentage {
    color: #7f8c8d;
    font-size: 14px;
}

/* Incorrect Answers */
.incorrect-answers {
    margin-bottom: 30px;
    text-align: left;
}

.incorrect-answers h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.incorrect-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.incorrect-item {
    padding: 16px;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 8px;
}

.incorrect-question {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.incorrect-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
}

.your-answer,
.correct-answer {
    padding: 8px 12px;
    border-radius: 6px;
}

.your-answer {
    background: rgba(220, 53, 69, 0.1);
}

.correct-answer {
    background: rgba(40, 167, 69, 0.1);
}

.your-answer .wrong {
    font-weight: 700;
    color: #dc3545;
}

.correct-answer .right {
    font-weight: 700;
    color: #28a745;
}

/* Results Actions */
.results-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.results-actions .btn {
    min-width: 180px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .question-card {
        padding: 30px 20px;
    }
    
    .question-text {
        font-size: 24px;
    }
    
    .answer-options {
        grid-template-columns: 1fr;
    }
    
    .answer-option {
        padding: 16px;
        font-size: 16px;
    }
    
    .results-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .result-stat-value {
        font-size: 28px;
    }
    
    .results-actions {
        flex-direction: column;
    }
    
    .results-actions .btn {
        width: 100%;
    }
    
    .category-stat-item {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .question-text {
        font-size: 20px;
    }
    
    .question-wrapper {
        gap: 12px;
    }
    
    .results-card {
        padding: 25px 20px;
    }
    
    .results-icon {
        font-size: 60px;
    }
    
    .results-card h2 {
        font-size: 24px;
    }
    
    .feedback-message {
        padding: 16px;
        font-size: 16px;
    }
}
/* ==========================================
   GRAMMAR QUIZ STYLES
   ========================================== */

.quiz-setup {
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.quiz-setup h2 {
    margin-top: 0;
    color: #2c3e50;
}

.quiz-setup p {
    color: #666;
    margin-bottom: 2rem;
}

.question-meta {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    background: #e3f2fd;
    color: #1976d2;
}

.badge-level {
    background: #fff3e0;
    color: #f57c00;
}

.question-text {
    font-size: 1.25rem;
    color: #2c3e50;
    margin: 1rem 0;
    line-height: 1.6;
}

.question-hint {
    color: #666;
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #4CAF50;
}

.options-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0;
    width: 100%;
}

.option-button {
    display: block;
    width: 100%;
    padding: 1rem;
    background: white;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s;
    box-sizing: border-box;
}

.option-button:hover:not(:disabled) {
    background: #f8f9fa;
    border-color: #4CAF50;
    transform: translateX(5px);
}

.option-button:disabled {
    cursor: not-allowed;
}

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

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

.feedback {
    margin: 1.5rem 0;
    padding: 1rem;
    border-radius: 8px;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feedback-correct {
    background: #d4edda;
    border: 2px solid #28a745;
    padding: 1rem;
    border-radius: 8px;
}

.feedback-correct strong {
    color: #155724;
    font-size: 1.1rem;
}

.feedback-incorrect {
    background: #f8d7da;
    border: 2px solid #dc3545;
    padding: 1rem;
    border-radius: 8px;
}

.feedback-incorrect strong {
    color: #721c24;
    font-size: 1.1rem;
}

.explanation {
    margin: 0.5rem 0;
    color: #495057;
    line-height: 1.6;
}

details {
    margin-top: 0.75rem;
    padding: 0.5rem;
    background: rgba(255,255,255,0.5);
    border-radius: 4px;
}

details summary {
    cursor: pointer;
    font-weight: 500;
    color: #495057;
}

details pre {
    margin: 0.5rem 0 0 0;
    padding: 0.75rem;
    background: white;
    border-radius: 4px;
    font-size: 0.9rem;
    line-height: 1.6;
    white-space: pre-wrap;
}

/* Results Screen */
.results-screen {
    max-width: 800px;
    margin: 2rem auto;
}

.results-summary {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.score-circle {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.score-value {
    font-size: 2.5rem;
    font-weight: bold;
}

.score-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.results-stats {
    display: flex;
    gap: 2rem;
    flex: 1;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.25rem;
}

/* Category Breakdown */
.category-breakdown {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.category-breakdown h3 {
    margin-top: 0;
    color: #2c3e50;
}

.category-stat {
    display: grid;
    grid-template-columns: 150px 60px 1fr 60px;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

.category-stat:last-child {
    border-bottom: none;
}

.category-name {
    font-weight: 500;
    color: #2c3e50;
}

.category-score {
    font-weight: 500;
    color: #666;
}

.category-bar {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.category-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #81C784);
    transition: width 0.5s ease-out;
}

.category-percentage {
    text-align: right;
    font-weight: 500;
    color: #4CAF50;
}

/* Incorrect Answers Review */
.incorrect-review {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.incorrect-review h3 {
    margin-top: 0;
    color: #2c3e50;
}

.incorrect-item {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #dc3545;
}

.incorrect-item:last-child {
    margin-bottom: 0;
}

.incorrect-item h4 {
    margin: 0 0 0.75rem 0;
    color: #2c3e50;
}

.incorrect-question {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 500;
}

.wrong-answer {
    color: #dc3545;
    font-weight: 500;
}

.correct-answer {
    color: #28a745;
    font-weight: 500;
}

.results-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .results-summary {
        flex-direction: column;
        text-align: center;
    }
    
    .results-stats {
        width: 100%;
        justify-content: space-around;
    }
    
    .category-stat {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .category-bar {
        grid-column: 1 / -1;
    }
    
    .category-percentage {
        text-align: left;
    }
}
/* ============================================
   TEST MODE STYLES
   ============================================ */

/* Test Screens */
.test-screen {
    display: none;
}

.test-screen.active {
    display: block;
}

/* Setup Screen */
.test-setup-card {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.test-setup-card h2 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.test-setup-card .subtitle {
    color: #666;
    margin-bottom: 2rem;
}

.test-info {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.test-info strong {
    display: block;
    margin-bottom: 0.5rem;
}

.test-info ul {
    margin: 0;
    padding-left: 1.5rem;
}

.test-info li {
    margin-bottom: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 0.5rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* Test Header */
.test-header {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.test-progress {
    margin-bottom: 1rem;
}

.progress-info {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
}

.progress-bar {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #45a049);
    transition: width 0.3s ease;
    width: 0%;
}

.timer {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    padding: 1rem;
    background: #fff3cd;
    border-radius: 8px;
    margin-top: 1rem;
}

.timer.warning {
    background: #f8d7da;
    color: #721c24;
    animation: pulse 1s infinite;
}

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

/* Questions Grid */
.questions-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.question-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e9ecef;
}

.question-number {
    font-weight: 700;
    color: #2c3e50;
    font-size: 1.1rem;
}

.question-type-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.question-type-badge.vocabulary {
    background: #e3f2fd;
    color: #1976d2;
}

.question-type-badge.grammar {
    background: #f3e5f5;
    color: #7b1fa2;
}

.question-text {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.question-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.category-tag {
    background: #f8f9fa;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.audio-button {
    background: none;
    border: 2px solid #4CAF50;
    color: #4CAF50;
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.audio-button:hover {
    background: #4CAF50;
    color: white;
}

.question-options {
    display: grid;
    gap: 0.75rem;
}

.option-button {
    background: white;
    border: 2px solid #dee2e6;
    padding: 1rem;
    border-radius: 8px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.option-button:hover {
    border-color: #4CAF50;
    background: #f8fdf9;
}

.option-button.selected {
    border-color: #4CAF50;
    background: #e8f5e9;
    font-weight: 600;
}

.question-card.answered {
    border-left: 4px solid #4CAF50;
}

/* Test Actions */
.test-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Results Screen */
.results-header {
    text-align: center;
    margin-bottom: 2rem;
}

.results-summary {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.score-circle {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
}

.score-circle svg {
    transform: rotate(-90deg);
}

.score-bg {
    fill: none;
    stroke: #e9ecef;
    stroke-width: 12;
}

.score-fill {
    fill: none;
    stroke: #4CAF50;
    stroke-width: 12;
    stroke-linecap: round;
    stroke-dasharray: 565;
    stroke-dashoffset: 565;
    transition: stroke-dashoffset 1s ease;
}

.score-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.score-percentage {
    font-size: 3rem;
    font-weight: 700;
    color: #4CAF50;
}

.score-label {
    font-size: 1rem;
    color: #666;
    margin-top: 0.5rem;
}

.results-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.stat-card {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
}

.stat-value.correct {
    color: #4CAF50;
}

.stat-value.incorrect {
    color: #f44336;
}

/* Breakdown */
.results-breakdown {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.results-breakdown h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.breakdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.breakdown-card {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.breakdown-card h4 {
    margin: 0 0 1rem 0;
}

.breakdown-stats {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.75rem;
}

.breakdown-score {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
}

.breakdown-detail {
    font-size: 1rem;
    color: #666;
}

.breakdown-bar {
    height: 8px;
    background: #dee2e6;
    border-radius: 4px;
    overflow: hidden;
}

.breakdown-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #45a049);
    transition: width 0.5s ease;
}

/* Category Performance */
.category-performance {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.category-performance h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.category-bars {
    display: grid;
    gap: 1rem;
}

.category-bar-item {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.category-bar-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.category-name {
    font-weight: 600;
    text-transform: capitalize;
}

.category-score {
    color: #666;
}

.category-bar {
    height: 6px;
    background: #dee2e6;
    border-radius: 3px;
    overflow: hidden;
}

.category-bar-fill {
    height: 100%;
    background: #4CAF50;
    transition: width 0.5s ease;
}

/* Weak Areas */
.weak-areas {
    background: #fff3cd;
    border: 2px solid #ffc107;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.weak-areas h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: #856404;
}

.weak-areas-list {
    display: grid;
    gap: 1rem;
}

.weak-area-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
}

.weak-area-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.weak-area-name {
    font-weight: 600;
    text-transform: capitalize;
}

.weak-area-score {
    color: #dc3545;
    font-weight: 600;
}

/* Incorrect Review */
.incorrect-review {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.incorrect-review h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.incorrect-list {
    display: grid;
    gap: 1.5rem;
}

.incorrect-item {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #dc3545;
}

.incorrect-question {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.incorrect-answers {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.answer-line {
    display: flex;
    gap: 0.5rem;
}

.answer-label {
    font-weight: 600;
    min-width: 100px;
}

.user-answer {
    color: #dc3545;
}

.correct-answer {
    color: #4CAF50;
}

.incorrect-explanation {
    background: white;
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
}

.incorrect-explanation strong {
    display: block;
    margin-bottom: 0.5rem;
}

.incorrect-examples {
    background: white;
    padding: 1rem;
    border-radius: 6px;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    white-space: pre-line;
}

/* Results Actions */
.results-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .test-setup-card {
        padding: 1.5rem;
    }
    
    .results-summary {
        padding: 1.5rem;
    }
    
    .score-circle {
        width: 150px;
        height: 150px;
    }
    
    .score-percentage {
        font-size: 2.5rem;
    }
    
    .results-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .breakdown-grid {
        grid-template-columns: 1fr;
    }
    
    .test-actions,
    .results-actions {
        flex-direction: column;
    }
    
    .test-actions button,
    .results-actions button {
        width: 100%;
    }
}
/* ==========================================
   TABS SYSTEM
   ========================================== */

.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.tab-button {
    background: none;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    cursor: pointer;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-button:hover {
    color: #333;
    background: #f5f5f5;
}

.tab-button.active {
    color: #4CAF50;
    border-bottom-color: #4CAF50;
    font-weight: 600;
}

.tab-content {
    display: none;
}

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

/* ==========================================
   VERBS LIST
   ========================================== */

.verbs-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.verb-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.verb-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.verb-header h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    color: #333;
}

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

.type-badge {
    display: inline-block;
    padding: 4px 10px;
    background: #2196F3;
    color: white;
    font-size: 12px;
    border-radius: 12px;
    margin-right: 8px;
}

.level-badge {
    display: inline-block;
    padding: 4px 10px;
    background: #FF9800;
    color: white;
    font-size: 12px;
    border-radius: 12px;
    font-weight: 600;
}

.verb-forms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.verb-form {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
}

.verb-form label {
    font-weight: 600;
    color: #666;
    font-size: 13px;
    min-width: 80px;
}

.verb-form span {
    color: #333;
    font-size: 15px;
}

.audio-btn-small {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 4px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.audio-btn-small:hover {
    opacity: 1;
}

/* ==========================================
   LARGER MODAL FOR VERBS
   ========================================== */

.modal-large .modal-content {
    max-width: 700px;
}

.modal-large h3 {
    margin: 20px 0 12px 0;
    color: #4CAF50;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 8px;
}

.modal-large h3:first-of-type {
    margin-top: 0;
}

/* ==========================================
   RESPONSIVE ADJUSTMENTS
   ========================================== */

@media (max-width: 768px) {
    .tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .tab-button {
        font-size: 14px;
        padding: 10px 16px;
        white-space: nowrap;
    }
    
    .verb-header {
        flex-direction: column;
        gap: 12px;
    }
    
    .verb-actions {
        width: 100%;
    }
    
    .verb-actions button {
        flex: 1;
    }
    
    .verb-forms {
        grid-template-columns: 1fr;
    }
    
    .verb-form {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .verb-form label {
        min-width: auto;
    }
}
