/* Acute Mode & Remedy Cards Styles */

/* --- Acute Mode --- */
.acute-container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.acute-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.acute-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 160px;
}

.acute-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: #667eea;
}

.acute-card-icon {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 15px;
}

.acute-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.acute-subcategory-card {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background 0.2s;
}

.acute-subcategory-card:hover {
    background: #e9ecef;
}

.acute-symptoms-list {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.acute-symptom-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.acute-symptom-item:last-child {
    border-bottom: none;
}

.acute-symptom-checkbox {
    margin-right: 15px;
    width: 20px;
    height: 20px;
}

.acute-results-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.acute-result-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-left: 5px solid #667eea;
    position: relative;
}

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

.acute-result-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d3748;
}

.acute-result-score {
    background: #667eea;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.acute-match-details {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #4a5568;
}

.acute-match-highlight {
    color: #22c55e;
    font-weight: 500;
}

/* --- Remedy Cards (Contextual) --- */

/* Modal Styles override/addition */
.remedy-card-modal {
    max-width: 800px;
    width: 90%;
}

.remedy-card-header-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.remedy-card-symbol {
    font-size: 2.5rem;
    font-weight: bold;
    color: #667eea;
    background: #f0f4ff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remedy-essence {
    font-style: italic;
    color: #555;
    background: #fff8e1;
    padding: 10px 15px;
    border-left: 4px solid #ffc107;
    margin: 15px 0;
    border-radius: 4px;
}

.remedy-sections-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .remedy-sections-grid {
        grid-template-columns: 1fr;
    }
}

.remedy-section-box {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
}

.remedy-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 8px;
}

.remedy-list-item {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
    line-height: 1.5;
}

.remedy-list-item::before {
    content: "•";
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.modality-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    border-bottom: 1px solid #eee;
    padding-bottom: 4px;
}

.modality-better {
    color: #16a34a; /* Green */
}

.modality-worse {
    color: #dc2626; /* Red */
}

.modality-icon {
    margin-right: 5px;
}

.clinical-tips-box {
    margin-top: 20px;
    background: #e6fffa;
    border: 1px solid #b2f5ea;
    padding: 15px;
    border-radius: 8px;
    color: #047481;
}

.remedy-link {
    color: #667eea;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 500;
}

.remedy-link:hover {
    color: #5a67d8;
}
