/* Spell Checker Specific Styles */

/* Navigation Links */
.nav-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Spell Check Summary */
.spell-check-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.summary-item {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
}

.summary-item i {
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.summary-item:first-child i {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
}

.summary-item:last-child i {
    color: #28a745;
    background: rgba(40, 167, 69, 0.1);
}

.summary-label {
    font-weight: 600;
    color: #333;
    flex: 1;
}

.summary-value {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
}

/* Navigation Controls */
.navigation-controls {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.nav-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #6c757d;
}

.current-word-info {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}

/* Misspelled Word Display */
.misspelled-word-display {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.word-label, .suggestions-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.misspelled-word {
    background: #fff3cd;
    border: 2px solid #ffc107;
    color: #856404;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.suggestions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.suggestion-item {
    background: #e9ecef;
    color: #495057;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.suggestion-item:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.no-suggestions {
    color: #6c757d;
    font-style: italic;
}

/* Highlighted Text Container */
.highlighted-text-container {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.highlighted-text-container h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.highlighted-text {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    line-height: 1.8;
    font-size: 16px;
    color: #333;
    min-height: 200px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Highlighted misspelled words */
.highlighted-text .misspelled {
    background: #ffebee;
    color: #c62828;
    padding: 2px 4px;
    border-radius: 4px;
    font-weight: 600;
    border: 1px solid #ffcdd2;
    cursor: pointer;
    transition: all 0.3s ease;
}

.highlighted-text .misspelled:hover {
    background: #ffcdd2;
    transform: scale(1.05);
}

.highlighted-text .misspelled.current {
    background: #ff9800;
    color: white;
    border-color: #f57c00;
    box-shadow: 0 0 10px rgba(255, 152, 0, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .spell-check-summary {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .navigation-controls {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-link {
        text-align: center;
    }
    
    .summary-item {
        padding: 15px;
    }
    
    .summary-value {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .misspelled-word {
        font-size: 1.1rem;
        padding: 12px;
    }
    
    .suggestions-list {
        justify-content: center;
    }
    
    .highlighted-text {
        font-size: 14px;
        padding: 15px;
    }
} 