.diagnosis-container {
    max-width: 900px;
    width: 100%;
    margin: 2rem auto;
    padding: 25px 30px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.15);
}

.diagnosis-container h1 {
    color: #333;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
    margin: 2rem 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #17a2b8, #138496);
    border-radius: 5px;
    transition: width 0.4s ease;
}

.step {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step.active {
    display: block;
    opacity: 1;
}

.step h3 {
    color: #15014E;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

.symptom-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.symptom-card:hover {
    border-color: #17a2b8;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.symptom-card.selected {
    border-color: #17a2b8;
    background-color: rgba(23,162,184,0.05);
}

.symptom-card i {
    font-size: 2.5rem;
    color: #17a2b8;
    margin-bottom: 1rem;
}

.symptom-card h4 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.symptom-card p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding: 1rem 0;
}

.btn-prev, .btn-next {
    background: #17a2b8;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-prev {
    background: #6c757d;
}

.btn-prev:hover, .btn-next:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

#diagnosis-results {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
}

#diagnosis-results .issue {
    border-left: 4px solid #17a2b8;
    padding: 1rem;
    margin-bottom: 1rem;
    background: white;
}

#diagnosis-results .urgency {
    display: inline-block;
    padding: 0.25rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.urgency-high {
    background: #dc3545;
    color: white;
}

.urgency-medium {
    background: #ffc107;
    color: #333;
}

.urgency-low {
    background: #28a745;
    color: white;
}

@media (max-width: 768px) {
    .diagnosis-container {
        padding: 15px;
        margin: 1rem;
    }
    
    .symptom-grid {
        grid-template-columns: 1fr;
    }
    
    .navigation-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-prev, .btn-next {
        width: 100%;
    }
    
    .step h3 {
        font-size: 1.2rem;
    }
}