/* Symptom Checker Styles */
.symptom-checker-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.symptom-checker-header {
    margin-bottom: 40px;
}

.symptom-checker-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.symptom-checker-subtitle {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.5;
}

.symptom-selector {
    margin-bottom: 40px;
}

.symptom-dropdown {
    width: 100%;
    max-width: 400px;
    padding: 15px 20px;
    font-size: 1rem;
    border: 2px solid #2c5282;
    border-radius: 8px;
    background: white;
    color: #2c5282;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%232c5282' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

.symptom-dropdown:focus {
    outline: none;
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.care-options-container {
    display: none;
    gap: 20px;
    margin-top: 30px;
}

.care-options-container.show {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.care-option {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex: 0 1 300px;
    max-width: 300px;
    min-width: 280px;
}

.care-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.care-option.recommended {
    border: 2px solid #f6ad55;
    position: relative;
}

.care-option.recommended::before {
    content: "🏆 recommended care option";
    position: absolute;
    top: -10px;
    left: 20px;
    background: #f6ad55;
    color: #744210;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.care-option.in-person {
    background: #e6f3ff;
}

.care-option.virtual {
    background: #2c5282;
    color: white;
}

.care-option.urgent {
    background: #e6f3ff;
}

.care-option.emergency {
    background: #fed7d7;
    border-color: #e53e3e;
}

.care-option-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.care-option.in-person .care-option-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%232c5282' viewBox='0 0 24 24'%3e%3cpath d='M12 2C13.1 2 14 2.9 14 4C14 5.1 13.1 6 12 6C10.9 6 10 5.1 10 4C10 2.9 10.9 2 12 2ZM21 9V7L15 7C15 6.65 14.35 6 14 6H10C9.65 6 9 6.65 9 7L3 7V9L9 9V14.5H7V16.5H17V14.5H15V9L21 9Z'/%3e%3c/svg%3e");
}

.care-option.virtual .care-option-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3e%3cpath d='M17 10.5V7C17 6.45 16.55 6 16 6H4C3.45 6 3 6.45 3 7V17C3 17.55 3.45 18 4 18H16C16.55 18 17 17.55 17 17V13.5L21 17.5V6.5L17 10.5Z'/%3e%3c/svg%3e");
}

.care-option.urgent .care-option-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%232c5282' viewBox='0 0 24 24'%3e%3cpath d='M12 2C6.48 2 2 6.48 2 12S6.48 22 12 22 22 17.52 22 12 17.52 2 12 2M13 17H11V15H13V17M13 13H11V7H13V13Z'/%3e%3c/svg%3e");
}

.care-option.emergency .care-option-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23e53e3e' viewBox='0 0 24 24'%3e%3cpath d='M18.5 4L19.66 8.35L18.7 8.61C18.25 7.74 17.79 6.87 17.26 6.43C16.73 6 16.11 6 15.5 6H13V16C13 16.6 13.4 17 14 17H15V19H9V17H10C10.6 17 11 16.6 11 16V6H8.5C7.89 6 7.27 6 6.74 6.43C6.21 6.87 5.75 7.74 5.3 8.61L4.34 8.35L5.5 4H18.5Z'/%3e%3c/svg%3e");
}

.care-option-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: inherit;
}

.care-option.virtual .care-option-title {
    color: white;
}

.care-option-description {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    color: inherit;
    opacity: 0.9;
}

.care-option-button {
    background: #2c5282;
    color: white;
    border: 2px solid #2c5282;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
    cursor: pointer;
}

.care-option.virtual .care-option-button {
    background: white;
    color: #2c5282;
    border-color: white;
}

.care-option.emergency .care-option-button {
    background: #e53e3e;
    border-color: #e53e3e;
}

.care-option-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.loading-spinner {
    display: none;
    text-align: center;
    padding: 20px;
}

.loading-spinner.show {
    display: block;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #2c5282;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .symptom-checker-container {
        padding: 20px 15px;
    }
    
    .symptom-checker-title {
        font-size: 2rem;
    }
    
    .care-options-container {
        justify-content: center;
        gap: 15px;
    }
    
    .care-option {
        padding: 20px;
        width: 100%;
        max-width: 400px;
    }
}