.einstein-container {
    max-width: 70%;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

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

.einstein-header h2 {
    color: #10b981;
    font-size: 28px;
    margin-bottom: 10px;
}

.einstein-subtitle {
    color: #666;
    font-size: 16px;
    margin-bottom: 20px;
}

.difficulty-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    display: inline-block;
}

.grid-section {
    padding: 25px;
    border-radius: 10px;
    border: 2px solid #e5e7eb;
    margin-bottom: 30px;
}

.grid-title {
    color: #374151;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.puzzle-grid {
    display: grid;
    grid-template-columns: 120px repeat(5, 1fr);
    gap: 2px;
    background: #e5e7eb;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow-x: auto;
}

.category-header {
    background: #10b981;
    color: white;
    padding: 10px 5px;
    text-align: center;
    font-weight: bold;
    font-size: 12px;
}

.house-number {
    background: #374151;
    color: white;
    padding: 10px 5px;
    text-align: center;
    font-weight: bold;
    font-size: 12px;
}

.grid-cell {
    border: 1px solid #d1d5db;
    min-height: 40px;
    transition: background-color 0.3s ease;
}

.grid-select {
    width: 100%;
    height: 40px;
    border: none;
    font-size: 11px;
    padding: 5px;
    cursor: pointer;
}

.grid-select option:disabled {
    color: #9ca3af !important;
    background-color: #f3f4f6 !important;
}

.clues-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #10b981;
}

.clues-title {
    color: #10b981;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

.clues-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.clue {
    padding: 10px 12px;
    margin-bottom: 6px;
    border-radius: 6px;
    border-left: 3px solid #e5e7eb;
    font-size: 13px;
    line-height: 1.4;
    transition: all 0.3s ease;
    cursor: pointer;
}

.clue:hover {
    border-left-color: #10b981;
    transform: translateX(3px);
}

.clue.satisfied {
    background-color: #d1fae5;
    border-left-color: #10b981;
    text-decoration: line-through;
    color: #059669;
}

.clue.highlighted {
    background-color: #fef08a;
}

.clue.violated {
    background-color: #fee2e2;
    border-left-color: #ef4444;
    color: #dc2626;
}

.progress-section {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
}

.progress-title {
    font-weight: bold;
    margin-bottom: 10px;
    color: #374151;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

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

.progress-text {
    text-align: center;
    margin-top: 8px;
    font-size: 14px;
    color: #666;
}

.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 15px;
}

.check-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.check-btn:hover {
    background: linear-gradient(135deg, #059669, #047857);
}

.reset-btn {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reset-btn:hover {
    background: linear-gradient(135deg, #4b5563, #374151);
}

.feedback-section {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    display: none;
}

.feedback-section.show {
    display: block;
}

.feedback-section.success {
    background-color: #d1fae5;
    border-color: #10b981;
    color: #065f46;
}

.feedback-section.error {
    background-color: #fee2e2;
    border-color: #ef4444;
    color: #991b1b;
}

.feedback-section.partial {
    background-color: #fef3c7;
    border-color: #f59e0b;
    color: #92400e;
}

@media (max-width: 768px) {
    .einstein-container {
        max-width: 100%;
        padding: 15px;
    }
    
    .puzzle-grid {
        grid-template-columns: 80px repeat(5, 1fr);
        gap: 1px;
    }
    
    .category-header, .house-number {
        font-size: 10px;
        padding: 8px 3px;
    }
    
    .grid-select {
        font-size: 10px;
        height: 35px;
    }

    .clues-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .clue {
        font-size: 12px;
        margin-bottom: 4px;
    }

    .action-buttons {
        grid-template-columns: 1fr;
    }
}