/**
 * Template Parts Stylesheet
 * Contains styles for extracted template parts - NO INLINE CSS
 * 
 * @package Lingo
 * @since 1.0.0
 */

/* Overall Progress Section */
.circle-bg[data-progress-deg] {
    --progress-deg: attr(data-progress-deg);
}

/* Add Word Form */
.add-word-form-container {
    background: rgba(51, 65, 85, 0.5);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.add-word-form-container h3 {
    color: #f1f5f9;
    margin-bottom: 15px;
}

/* Grammar Form */
.grammar-form-container {
    background: rgba(51, 65, 85, 0.5);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.grammar-form-container h3 {
    color: #f1f5f9;
    margin-bottom: 15px;
}

.grammar-case-select {
    padding: 12px 16px;
    border: 2px solid rgba(100, 116, 139, 0.3);
    border-radius: 10px;
    background: rgba(30, 41, 59, 0.8);
    color: #f1f5f9;
}

.grammar-progress-container {
    flex: 1;
}

.grammar-progress-label {
    color: #f1f5f9;
    margin-bottom: 5px;
    display: block;
}


/* Grammar Cases */
.case-progress-section {
    margin: 10px 0;
}

.case-progress-text {
    font-size: 0.9rem;
    color: #f1f5f9;
    margin-bottom: 5px;
}

.case-status {
    font-size: 0.8rem;
    color: #94a3b8;
}

/* Vocabulary Timeline - Complete Rewrite */
.vocabulary-timeline {
    background: rgba(51, 65, 85, 0.5);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.timeline-header {
    text-align: center;
    margin-bottom: 20px;
}

.timeline-header h3 {
    color: #f1f5f9;
    margin-bottom: 5px;
}

.timeline-subtitle {
    color: #94a3b8;
    font-size: 0.9rem;
}

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

.timeline-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.timeline-progress-label {
    color: #f1f5f9;
    font-weight: 600;
}

.timeline-progress-text {
    color: #94a3b8;
    font-size: 0.9rem;
}

.timeline-progress-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    font-size: 0.85rem;
}

.progress-current {
    color: #10b981;
}

.progress-target {
    color: #94a3b8;
}

/* Timeline Dots - Horizontal Layout */
.timeline-stages-grid {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
	margin: 30px 40px 130px 30px;
    padding: 0 15px;
}

.timeline-stages-grid::before {
    content: '';
    position: absolute;
    top: 13px;
    left: 15px;
    right: 15px;
    height: 8px;
    background: rgba(100, 116, 139, 0.3);
    border-radius: 4px;
    z-index: 1;
}

.timeline-stages-grid::after {
    content: '';
    position: absolute;
    top: 13px;
    left: 15px;
    height: 8px;
    background: #10b981;
    border-radius: 4px;
    z-index: 2;
    width: var(--progress-width, 0%);
    transition: width 0.3s ease;
}

.stage-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
    background: none;
    border: none;
    padding: 0;
}

.stage-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 14px;
    border: 3px solid rgba(15, 23, 42, 1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.stage-card.current .stage-circle {
    background: #3b82f6;
    transform: scale(1.1);
}

.stage-circle.current i {
    color: #fff !important;
}

.stage-card.completed .stage-circle {
    background: #10b981;
}

.stage-card.future .stage-circle {
    background: #475569;
}

.stage-content {
    position: absolute;
    top: 45px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    min-width: 120px;
    opacity: 1;
    pointer-events: auto;
}

/* Individual stage progress bars removed - using connecting line for overall progress */

.stage-name {
    color: #f1f5f9;
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 3px;
}

.stage-range {
    color: #94a3b8;
    font-size: 0.7rem;
    margin-bottom: 3px;
}

.stage-description {
    color: #64748b;
    font-size: 0.7rem;
    margin-bottom: 5px;
}

.stage-current-info {
    font-size: 0.7rem;
    color: #3b82f6;
    font-weight: 600;
}

.stage-status {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 3px;
}

.stage-status.completed {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.stage-status.locked {
    color: #64748b;
    background: rgba(0, 0, 0, 0.15);
    padding: 10px;
}

.reading-timeline {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 16px;
    padding: 30px;
    margin: 30px 0;
    border: 1px solid rgba(148, 163, 184, 0.1);
    position: relative;
    overflow: hidden;
}

.reading-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #10b981, #f59e0b);
    opacity: 0.8;
}

.timeline-header h3 {
    color: #f1f5f9;
    font-size: 1.6rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.timeline-subtitle {
    color: #cbd5e1;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.reading-stats-overview {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(15, 23, 42, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.1);
}

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

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 500;
}

.horizontal-timeline {
    margin: 30px 0;
}

.timeline-track {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 30px;
    padding: 40px 50px;
    background: rgba(15, 23, 42, 0.4);
    border-radius: 12px;
    position: relative;
    width: 100%;
}

.main-timeline-line {
    position: absolute;
    top: 65px;
    left: 75px;
    right: 75px;
    height: 4px;
    background: linear-gradient(90deg, #10b981 0%, #3b82f6 50%, #f59e0b 100%);
    border-radius: 2px;
    z-index: 1;
    opacity: 0.7;
}

.timeline-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    text-align: center;
    z-index: 2;
}

.timeline-stage:first-child {
    align-items: flex-start;
}

.timeline-stage:last-child {
    align-items: flex-end;
}

.stage-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.8);
    border: 3px solid #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #64748b;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    margin-bottom: 10px;
}

.stage-circle.current {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
    animation: pulse 2s infinite;
}

.stage-circle.completed {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}


.stage-label {
    min-height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    padding: 0 5px;
}

.stage-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 6px;
    line-height: 1.2;
    text-align: center;
}

.stage-requirement {
    font-size: 0.8rem;
    color: #a78bfa;
    font-weight: 600;
    margin-bottom: 8px;
    background: rgba(167, 139, 250, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
    border: 1px solid rgba(167, 139, 250, 0.2);
}

.stage-progress-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.progress-bar-mini {
    width: 40px;
    height: 4px;
    background: rgba(148, 163, 184, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill-mini {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #10b981);
    border-radius: 2px;
    transition: width 0.8s ease;
}

.progress-text-mini {
    font-size: 0.7rem;
    color: #3b82f6;
    font-weight: 600;
}

.stage-status-mini {
    font-size: 0.8rem;
    margin-top: 5px;
}

.current-stage-details {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.current-stage-details h4 {
    color: #f1f5f9;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.current-stage-details p {
    color: #cbd5e1;
    margin-bottom: 15px;
    line-height: 1.4;
}

.stage-progress-detail {
    margin-top: 15px;
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 10px;
}

.stage-progress-bar-large {
    height: 8px;
    background: rgba(148, 163, 184, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #10b981);
    border-radius: 3px;
    transition: width 0.8s ease;
}

.stage-current-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 500;
}

.stage-status {
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    padding: 5px 10px;
    border-radius: 6px;
}

.stage-status.completed {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.stage-status.locked {
    background: rgba(148, 163, 184, 0.2);
    color: #64748b;
}

@media (max-width: 768px) {
    .reading-stats-overview {
        flex-direction: column;
        gap: 15px;
    }
    
    .timeline-track {
        flex-direction: column;
        gap: 20px;
        padding: 20px 15px;
        align-items: stretch;
    }
    
    .main-timeline-line {
        display: none;
    }
    
    .timeline-stage {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    }
    
    .timeline-stage:last-child {
        border-bottom: none;
    }
    
    .stage-circle {
        width: 40px;
        height: 40px;
        margin-right: 15px;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .stage-label {
        min-height: auto;
        align-items: flex-start;
        text-align: left;
        flex: 1;
    }
    
    .stage-name {
        font-size: 1rem;
        text-align: left;
    }
    
    .stage-requirement {
        margin-bottom: 5px;
    }
    
    .current-stage-details {
        padding: 15px;
    }
}

/* stats timeline */
.cefr-timeline-compact {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 16px;
    padding: 25px;
    margin: 30px 0;
    border: 1px solid rgba(148, 163, 184, 0.1);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

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

.current-level-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(15, 23, 42, 0.6);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    padding: 8px 16px;
}

.level-code {
    background: #3b82f6;
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
}

.level-name {
    color: #f1f5f9;
    font-weight: 600;
}

.level-progress {
    color: #94a3b8;
    font-size: 0.9rem;
}

.timeline-track-compact {
    position: relative;
    margin: 25px 0;
}

.progress-line-full {
    height: 6px;
    background: rgba(148, 163, 184, 0.2);
    border-radius: 3px;
    margin-bottom: 20px;
    position: relative;
}

.progress-fill-full {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #3b82f6 50%, #f59e0b 100%);
    border-radius: 3px;
    transition: width 1s ease;
}

.milestones-row {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.milestone-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    text-align: center;
}

.milestone-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.8);
    border: 3px solid #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.8rem;
    color: #64748b;
    transition: all 0.3s ease;
}

.milestone-compact.completed .milestone-dot {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.milestone-compact.current .milestone-dot {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    animation: pulse 2s infinite;
}

.milestone-label {
    font-size: 0.8rem;
    color: #cbd5e1;
    font-weight: 500;
    line-height: 1.2;
}

.current-requirements {
    background: rgba(15, 23, 42, 0.4);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(148, 163, 184, 0.1);
}

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

.req-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.req-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 10px;
    flex-shrink: 0;
    text-align: center;
}

.req-details {
    flex: 1;
}

.req-progress-bar {
    height: 6px;
    background: rgba(148, 163, 184, 0.2);
    border-radius: 3px;
    margin-bottom: 5px;
    overflow: hidden;
}

.req-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #10b981);
    border-radius: 3px;
    transition: width 0.8s ease;
}

.req-text {
    font-size: 0.85rem;
    color: #cbd5e1;
    font-weight: 500;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@media (max-width: 768px) {
    .timeline-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .req-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .milestone-compact {
        margin: 0 5px;
    }
    
    .milestone-dot {
        width: 30px;
        height: 30px;
        font-size: 0.7rem;
    }
    
    .milestone-label {
        font-size: 0.7rem;
    }
}

.cefr-timeline {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 20px;
    padding: 40px;
    margin: 30px 0;
    border: 1px solid rgba(148, 163, 184, 0.1);
    position: relative;
    overflow: hidden;
}

.cefr-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #3b82f6, #f59e0b, #ef4444);
    opacity: 0.8;
}

.timeline-header {
    text-align: center;
    margin-bottom: 30px;
}

.timeline-header h2 {
    color: #f1f5f9;
    font-size: 1.8rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.timeline-subtitle {
    color: #cbd5e1;
    font-size: 1rem;
    margin-bottom: 0;
}

.current-level-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 25px;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 15px;
    border: 1px solid rgba(148, 163, 184, 0.1);
}

.level-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.current-level-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.level-code {
    font-size: 2rem;
    font-weight: 700;
    color: #3b82f6;
}

.level-name {
    font-size: 1.1rem;
    color: #f1f5f9;
    font-weight: 500;
}

.progress-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: conic-gradient(#3b82f6 0deg, #3b82f6 <?php echo ($progress_in_level * 3.6); ?>deg, rgba(148, 163, 184, 0.2) <?php echo ($progress_in_level * 3.6); ?>deg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.progress-circle::before {
    content: '';
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #1e293b;
    position: absolute;
}

.progress-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: #f1f5f9;
    position: relative;
    z-index: 1;
}

.level-stats {
    display: flex;
    gap: 25px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 10px;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #f1f5f9;
}

.stat-label {
    font-size: 0.85rem;
    color: #94a3b8;
}

.cefr-track {
    position: relative;
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 20px 0;
    overflow-x: auto;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #3b82f6, #f59e0b, #ef4444);
    border-radius: 2px;
    z-index: 1;
}

.cefr-milestone {
    position: relative;
    z-index: 2;
    min-width: 200px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.cefr-milestone.current {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
    transform: scale(1.05);
}

.cefr-milestone.completed {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.milestone-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #10b981);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-weight: 700;
    color: white;
    font-size: 1.2rem;
    position: relative;
    top: -30px;
}

.milestone-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #f1f5f9;
    text-align: center;
    margin-bottom: 8px;
}

.milestone-description {
    font-size: 0.9rem;
    color: #cbd5e1;
    text-align: center;
    margin-bottom: 15px;
    line-height: 1.4;
}

.milestone-requirements {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.req-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.milestone-progress {
    margin-top: 15px;
}

.progress-bar {
    height: 8px;
    background: rgba(148, 163, 184, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #10b981);
    border-radius: 4px;
    transition: width 1s ease;
}

.milestone-progress .progress-text {
    font-size: 0.85rem;
    color: #94a3b8;
    text-align: center;
    font-weight: 500;
}

.milestone-status {
    text-align: center;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 15px;
}

.milestone-status.completed {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.milestone-status.locked {
    background: rgba(148, 163, 184, 0.2);
    color: #64748b;
}

@media (max-width: 768px) {
    .current-level-summary {
        flex-direction: column;
        gap: 20px;
    }
    
    .level-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .cefr-track {
        gap: 30px;
    }
    
    .cefr-milestone {
        min-width: 180px;
    }
}

/* Timeline Stats */
.timeline-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 50px;
	padding-bottom: 0;
}

.stat-box {
    text-align: center;
    padding: 15px;
    background: rgba(30, 41, 59, 0.7);
    border-radius: 8px;
    border: 1px solid rgba(100, 116, 139, 0.3);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #f1f5f9;
    margin-bottom: 5px;
}

.stat-label {
    color: #94a3b8;
    font-size: 0.8rem;
}

/* Vocabulary Stage Progress Editing */
.vocab-range-edit {
    display: none;
}

.edit-mode .vocab-range-normal {
    display: none;
}

.edit-mode .vocab-range-edit {
    display: inline;
}

.stage-progress-input {
    width: 80px;
    padding: 2px 6px;
    border: 1px solid rgba(100, 116, 139, 0.5);
    border-radius: 4px;
    background: rgba(30, 41, 59, 0.8);
    color: #f1f5f9;
    font-size: 0.9rem;
    text-align: center;
}

.stage-progress-input:focus {
    outline: none;
    border-color: #3b82f6;
    background: rgba(30, 41, 59, 1);
}

/* Word Display - Remove inline styles */
.word-secondary {
    display: none;
}

.word-mini-progress-fill[data-width] {
    width: attr(data-width %);
}

.progress-fill[data-width] {
    width: attr(data-width %);
}

/* Speaking Section */
.speaking-form-container {
    background: rgba(51, 65, 85, 0.5);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.speaking-form-container h3 {
    color: #f1f5f9;
    margin-bottom: 15px;
}

.speaking-session-select {
    padding: 12px 16px;
    border: 2px solid rgba(100, 116, 139, 0.3);
    border-radius: 10px;
    background: rgba(30, 41, 59, 0.8);
    color: #f1f5f9;
}

.speaking-duration-input {
    padding: 12px 16px;
    border: 2px solid rgba(100, 116, 139, 0.3);
    border-radius: 10px;
    background: rgba(30, 41, 59, 0.8);
    color: #f1f5f9;
}

.partner-type-select {
    padding: 12px 16px;
    border: 2px solid rgba(100, 116, 139, 0.3);
    border-radius: 10px;
    background: rgba(30, 41, 59, 0.8);
    color: #f1f5f9;
}

.confidence-container {
    flex: 1;
}

.confidence-label {
    color: #f1f5f9;
    margin-bottom: 5px;
    display: block;
}



.speaking-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.speaking-item-title {
    color: #f1f5f9;
    margin: 0 0 5px 0;
}

.speaking-item-duration {
    color: #94a3b8;
    margin: 0;
    font-size: 0.9rem;
}

.speaking-item-status {
    text-align: right;
}

.speaking-status-text {
    font-size: 0.8rem;
    margin-bottom: 2px;
}

.speaking-fluency-level {
    font-size: 0.8rem;
}

.speaking-item-description {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 10px;
}

.speaking-item-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
}

.stat-sessions {
    color: #10b981;
}

.stat-total {
    color: #3b82f6;
}

.stat-confidence {
    color: #f59e0b;
}

/* Study Section */
.study-progress-container {
    margin-bottom: 20px;
}

.study-progress-title {
    color: #f1f5f9;
    margin-bottom: 15px;
}

.study-progress-box {
    background: rgba(51, 65, 85, 0.5);
    border-radius: 15px;
    padding: 20px;
}

.study-progress-bar-container {
    height: 20px;
    background: rgba(55, 65, 81, 0.8);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.study-progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
}

.study-form-container {
    background: rgba(51, 65, 85, 0.5);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.study-form-container h3 {
    color: #f1f5f9;
    margin-bottom: 15px;
}

.session-type-select {
    padding: 12px 16px;
    border: 2px solid rgba(100, 116, 139, 0.3);
    border-radius: 10px;
    background: rgba(30, 41, 59, 0.8);
    color: #f1f5f9;
}

.session-hours-input {
    padding: 12px 16px;
    border: 2px solid rgba(100, 116, 139, 0.3);
    border-radius: 10px;
    background: rgba(30, 41, 59, 0.8);
    color: #f1f5f9;
}

.study-goal-btn {
    font-size: 0.8rem;
    padding: 5px 10px;
    margin-left: 10px;
}

/* Daily Goals */
.daily-item {
    cursor: pointer;
}

.daily-item-content {
    flex: 1;
}

.daily-item-text {
    color: #f1f5f9;
}

.daily-item-progress {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 4px;
}

.daily-progress-bar {
    height: 6px;
    width: 100%;
    margin-top: 5px;
    background: rgba(55, 65, 81, 0.8);
    border-radius: 3px;
    overflow: hidden;
}

.daily-progress-bar .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #a855f7, #10b981);
    transition: width 0.3s ease;
}

.checkmark[data-display="block"] {
    display: block;
}

.checkmark[data-display="none"] {
    display: none;
}

/* Comprehension Filter */
.comp-filter-container {
    background: rgba(51, 65, 85, 0.3);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.comp-filter-select {
    padding: 8px 12px;
    border: 2px solid rgba(100, 116, 139, 0.3);
    border-radius: 8px;
    background: rgba(30, 41, 59, 0.8);
    color: #f1f5f9;
}

/* Edit Comprehension Modal Styles */
.edit-comp-input {
    padding: 12px 16px;
    border: 2px solid rgba(100, 116, 139, 0.3);
    border-radius: 10px;
    background: rgba(30, 41, 59, 0.8);
    color: #f1f5f9;
}

.edit-comp-slider-container {
    flex: 1;
}

.edit-comp-slider-label {
    color: #f1f5f9;
    margin-bottom: 5px;
    display: block;
}

.edit-comp-slider {
    width: 100%;
}

.edit-comp-textarea {
    padding: 12px 16px;
    border: 2px solid rgba(100, 116, 139, 0.3);
    border-radius: 10px;
    background: rgba(30, 41, 59, 0.8);
    color: #f1f5f9;
    width: 100%;
    min-height: 60px;
    resize: vertical;
}

.input-group-full {
    grid-column: 1 / -1;
}

/* Register Link */
.register-link {
    margin-top: 15px;
    text-align: center;
}

.register-link a {
    color: #a855f7;
    text-decoration: none;
}

/* Progress bars with data attributes */
.progress-fill[data-width],
.word-mini-progress-fill[data-width],
.mini-progress-fill[data-width],
.study-progress-bar[data-width] {
    transition: width 0.3s ease;
}

/* JavaScript will set actual widths */

/* Enhanced Overall Progress Styles */
.progress-breakdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.breakdown-item {
    display: flex;
    align-items: center;
    background: rgba(51, 65, 85, 0.3);
    border-radius: 10px;
    padding: 15px;
}

.breakdown-icon {
    font-size: 2rem;
    margin-right: 15px;
}

.breakdown-info {
    flex: 1;
}

.breakdown-label {
    font-weight: bold;
    color: #f1f5f9;
    margin-bottom: 5px;
}

.breakdown-percentage {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 5px;
}

.breakdown-weight {
    font-size: 0.8rem;
    color: #10b981;
    font-weight: bold;
}

.next-steps {
    background: rgba(51, 65, 85, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.next-steps h3 {
    color: #f1f5f9;
    margin-bottom: 15px;
}

.next-step-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 8px;
}

.step-icon {
    margin-right: 10px;
    font-size: 1.2rem;
}

.step-text {
    flex: 1;
    color: #f1f5f9;
}

.step-progress {
    color: #94a3b8;
    font-size: 0.9rem;
}

.next-step-item.celebration {
    background: rgba(16, 185, 129, 0.2);
}

/* Enhanced Daily Goals Styles */
.section-subtitle {
    color: #94a3b8;
    margin-bottom: 20px;
    font-size: 1rem;
}

.weekly-progress-container {
    background: rgba(51, 65, 85, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.weekly-progress-container h3 {
    color: #f1f5f9;
    margin-bottom: 15px;
}

.weekly-progress-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.weekly-day {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.weekly-day.today {
    background: rgba(168, 85, 247, 0.3);
    border: 2px solid rgba(168, 85, 247, 0.5);
}

.day-header {
    margin-bottom: 10px;
}

.day-name {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 2px;
}

.day-number {
    font-size: 1.2rem;
    font-weight: bold;
    color: #f1f5f9;
}

.day-progress {
    text-align: center;
}

.day-percentage {
    font-size: 0.9rem;
    color: #10b981;
    font-weight: bold;
    margin-bottom: 5px;
}

.day-emoji {
    font-size: 1.5rem;
}

.todays-goals-container {
    background: rgba(51, 65, 85, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.todays-goals-container h3 {
    color: #f1f5f9;
    margin-bottom: 15px;
}

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

.goal-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease;
}

.goal-item.completed {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.goal-content {
    flex: 1;
}

.goal-text {
    color: #f1f5f9;
    font-weight: bold;
    margin-bottom: 5px;
}

.goal-status {
    margin-bottom: 0;
}

.status-badge {
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.status-badge.completed {
    background: rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.status-badge.pending {
    background: rgba(245, 158, 11, 0.3);
    color: #f59e0b;
}

.goal-toggle-btn {
    background: rgba(168, 85, 247, 0.3);
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.5);
    border-radius: 8px;
    padding: 8px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.goal-toggle-btn:hover {
    background: rgba(168, 85, 247, 0.5);
}

.progress-stats-container {
    background: rgba(51, 65, 85, 0.3);
    border-radius: 15px;
    padding: 20px;
}

.progress-stats-container h3 {
    color: #f1f5f9;
    margin-bottom: 15px;
}

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

.stat-item {
    text-align: center;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 10px;
    padding: 20px 15px;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #10b981;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #94a3b8;
}

/* Enhanced Grammar Styles */
.case-description {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 5px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .weekly-progress-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    
    .weekly-day {
        padding: 10px;
    }
    
    .progress-breakdown-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Goals Grid Layout (Square Boxes) */
.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.goal-box {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.goal-box.completed {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.5);
}

.goal-box .goal-text {
    font-size: 1.1rem;
    font-weight: bold;
    color: #f1f5f9;
    margin-bottom: 15px;
}

.goal-box .goal-status {
    margin-bottom: 15px;
}

.goal-complete-btn {
    background: rgba(168, 85, 247, 0.3);
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.5);
    border-radius: 10px;
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.goal-complete-btn:hover {
    background: rgba(168, 85, 247, 0.5);
    transform: translateY(-2px);
}

/* Speaking Tips Section */
.speaking-tips-section {
    background: rgba(51, 65, 85, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
}

.tips-header h3 {
    color: #f1f5f9;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.5rem;
}

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

.tip-box {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    text-align: center;
}

.tip-box:hover {
    background: rgba(30, 41, 59, 0.7);
    transform: translateY(-3px);
}

.tip-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    text-align: center;
}

.tip-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #f1f5f9;
    margin-bottom: 10px;
}

.tip-description {
    color: #94a3b8;
    line-height: 1.4;
    font-size: 0.95rem;
}

/* Vocabulary Timeline */
.vocabulary-timeline {
    background: rgba(51, 65, 85, 0.3);
    border-radius: 15px;
    padding: 30px 20px;
    margin-bottom: 30px;
    position: relative;
}

.timeline-header {
    text-align: center;
    margin-bottom: 30px;
}

.timeline-header h3 {
    color: #f1f5f9;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.timeline-subtitle {
    color: #94a3b8;
    margin: 0;
}

.timeline-container {
    position: relative;
    margin: 40px 0;
    min-height: 140px;
    max-width: 100%;
    overflow: hidden;
}

.timeline-line {
    position: absolute;
    top: 15px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: rgba(55, 65, 81, 0.5);
    border-radius: 2px;
    z-index: 1;
}

.timeline-progress {
    height: 100%;
    background: linear-gradient(90deg, #a855f7, #10b981);
    border-radius: 2px;
    transition: width 1s ease;
}

.timeline-stages {
    position: relative;
    height: 140px;
}

.timeline-stage {
    position: absolute;
    top: 0;
    text-align: center;
    width: 90px;
    max-width: 90px;
}

.stage-circle {
    position: relative;
    width: 30px;
    height: 30px;
    margin: 0 auto 10px;
    background: rgba(55, 65, 81, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    z-index: 2;
    top: 0;
}

.timeline-stage.completed .stage-circle {
    background: linear-gradient(135deg, #10b981, #059669);
    border-color: #10b981;
}

.timeline-stage.current .stage-circle {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    border-color: #a855f7;
    animation: pulse 2s infinite;
}

.timeline-stage.future .stage-circle {
    background: rgba(55, 65, 81, 0.5);
    border-color: rgba(100, 116, 139, 0.3);
}

.stage-number {
    font-size: 0.9rem;
    font-weight: bold;
    color: #f1f5f9;
    z-index: 2;
}

.stage-progress-ring {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
}

.circular-chart {
    width: 100%;
    height: 100%;
}

.circle-bg {
    fill: none;
    stroke: rgba(100, 116, 139, 0.3);
    stroke-width: 2;
}

.circle {
    fill: none;
    stroke: #a855f7;
    stroke-width: 3;
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
}

.stage-content {
    margin-top: 8px;
}

.stage-name {
    font-weight: bold;
    color: #f1f5f9;
    margin-bottom: 3px;
    font-size: 0.8rem;
    line-height: 1.2;
}

.stage-range {
    color: #94a3b8;
    font-size: 0.7rem;
    margin-bottom: 3px;
    line-height: 1.2;
}

.stage-description {
    color: #94a3b8;
    font-size: 0.65rem;
    margin-bottom: 5px;
    line-height: 1.2;
    display: none; /* Hide to save space */
}

.stage-current-progress {
    background: rgba(168, 85, 247, 0.2);
    border-radius: 6px;
    padding: 4px 6px;
}

.current-words {
    color: #a855f7;
    font-weight: bold;
    font-size: 0.7rem;
    line-height: 1.1;
}

.progress-percentage {
    color: #10b981;
    font-size: 0.65rem;
    line-height: 25px;
}

.stage-completed {
    color: #10b981;
    font-weight: bold;
    font-size: 0.7rem;
    line-height: 1.1;
}

.stage-locked {
    color: #6b7280;
    font-size: 0.7rem;
    line-height: 1.1;
}

.timeline-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.stat-box {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.stat-box .stat-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: #10b981;
    margin-bottom: 8px;
}

.stat-box .stat-label {
    color: #94a3b8;
    font-size: 0.9rem;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(168, 85, 247, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(168, 85, 247, 0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .goals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .goal-box {
        aspect-ratio: 1.2;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-stage {
        width: 70px;
        max-width: 70px;
    }
    
    .stage-circle {
        width: 25px;
        height: 25px;
    }
    
    .stage-number {
        font-size: 0.8rem;
    }
    
    .timeline-line {
        left: 8%;
        right: 8%;
        top: 12px;
    }
    
    .timeline-container {
        min-height: 120px;
    }
    
    .timeline-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .goals-grid {
        grid-template-columns: 1fr;
    }
    
    .goal-box {
        aspect-ratio: 2;
    }
}

/* Fix overall progress circle stretching */
.progress-circle-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.circle-bg {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #a855f7 var(--progress-deg), rgba(55, 65, 81, 0.3) var(--progress-deg));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.circle-text {
    font-size: 2rem;
    font-weight: bold;
    color: #f1f5f9;
}

/* Vocabulary Timeline Styles */
.vocab-timeline-container {
    background: rgba(51, 65, 85, 0.3);
    border-radius: 15px;
    padding: 30px;
    margin: 20px 0;
    overflow-x: auto;
}

.vocab-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 100%;
    min-width: 600px;
}

.timeline-line {
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(55, 65, 81, 0.5);
    border-radius: 2px;
}

.timeline-progress {
    height: 100%;
    background: linear-gradient(90deg, #a855f7, #10b981);
    border-radius: 2px;
    transition: width 1s ease;
}

.timeline-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(55, 65, 81, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.timeline-dot.completed {
    background: linear-gradient(45deg, #10b981, #059669);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.timeline-dot.current {
    background: linear-gradient(45deg, #a855f7, #7c3aed);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.7);
}

.timeline-dot.locked {
    background: rgba(55, 65, 81, 0.5);
    border: 2px solid rgba(100, 116, 139, 0.3);
}

.dot-number {
    font-size: 0.7rem;
    font-weight: bold;
    color: #fff;
}

.dot-icon {
    font-size: 0.6rem;
}

.ripple {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.3);
    animation: ripple 2s infinite;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

.stage-info {
    text-align: center;
    min-width: 80px;
}

.stage-name {
    font-size: 0.8rem;
    font-weight: bold;
    color: #f1f5f9;
    margin-bottom: 2px;
}

.stage-range {
    font-size: 0.7rem;
    color: #94a3b8;
    line-height: 25px;
}

/* Mobile responsiveness for timeline */
@media (max-width: 768px) {
    .vocab-timeline-container {
        padding: 20px 15px;
    }
    
    .vocab-timeline {
        min-width: 500px;
    }
    
    .stage-info {
        min-width: 60px;
    }
    
    .stage-name {
        font-size: 0.7rem;
    }
    
    .stage-range {
        font-size: 0.6rem;
    }
}

/* Enhanced Today's Goals Design */
.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.goal-card {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.goal-card:hover {
    background: rgba(30, 41, 59, 0.7);
    transform: translateY(-2px);
}

.goal-card.completed {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
}

.goal-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.goal-content {
    flex: 1;
}

.goal-text {
    color: #f1f5f9;
    font-weight: 600;
    margin-bottom: 5px;
}

.status-indicator {
    font-size: 0.8rem;
    padding: 4px 8px;
    border-radius: 10px;
}

.status-indicator.completed {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.status-indicator.pending {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.goal-check {
    flex-shrink: 0;
}

.check-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid rgba(100, 116, 139, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.check-circle.checked {
    background: #10b981;
    border-color: #10b981;
}

.check-mark {
    color: white;
    font-weight: bold;
}

/* Mobile responsiveness for goal cards */
@media (max-width: 768px) {
    .goals-grid {
        grid-template-columns: 1fr;
    }
    
    .goal-card {
        padding: 15px;
        gap: 12px;
    }
    
    .goal-icon {
        font-size: 1.5rem;
    }
}

/* Speaking Section Improvements */
#speaking {
    margin-bottom: 20px;
}

.speaking-item {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
}

.speaking-timeline {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Restored Vocabulary Progress with 30px circles */
.vocab-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.vocab-item {
    background: rgba(51, 65, 85, 0.3);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s ease;
}

.vocab-item.active {
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.vocab-item.completed {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.vocab-circle-container {
    flex-shrink: 0;
    position: relative;
}

.vocab-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(55, 65, 81, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.vocab-circle.completed {
    background: linear-gradient(45deg, #10b981, #059669);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.vocab-circle.active {
    background: linear-gradient(45deg, #a855f7, #7c3aed);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.7);
}

.vocab-circle.queued {
    background: rgba(55, 65, 81, 0.5);
    border: 2px solid rgba(100, 116, 139, 0.3);
}

.vocab-number {
    font-size: 0.8rem;
    font-weight: bold;
    color: #fff;
}

.vocab-ripple {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.3);
    animation: vocab-ripple 2s infinite;
}

@keyframes vocab-ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

.vocab-content {
    flex: 1;
}

.vocab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.vocab-header h4 {
    color: #f1f5f9;
    margin: 0;
    font-size: 1.1rem;
}

.vocab-details {
    color: #94a3b8;
}

.vocab-range {
    font-weight: bold;
    color: #f1f5f9;
    margin: 5px 0;
}

.vocab-description {
    font-size: 0.9rem;
    margin: 5px 0;
}

.vocab-current {
    font-weight: bold;
    color: #10b981;
    margin: 5px 0;
}

.stage-progress-text {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-top: 5px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .vocab-grid {
        grid-template-columns: 1fr;
    }
    
    .vocab-item {
        padding: 15px;
        gap: 15px;
    }
}

/* OLD TIMELINE STYLES - COMMENTED OUT
.vocab-timeline-container { display: none; }
.vocab-timeline { display: none; }
.timeline-line { display: none; }
.timeline-progress { display: none; }
.timeline-stage { display: none; }
.timeline-dot { display: none; }
.ripple { display: none; }
.stage-info { display: none; }
*/

/* Mario-style points animation */
.points-animation {
    position: fixed;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fbbf24;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    z-index: 10001;
    animation: mario-points 2s ease-out forwards;
}

@keyframes mario-points {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    30% {
        transform: translateY(-20px) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translateY(-80px) scale(0.8);
    }
}
