/* Medical Guide Theme Enhancements aligned with dayz.css */

#symptoms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 12px;
    padding: 4px;
}

#symptoms-grid > div {
    position: relative;
}

.symptom-checkbox {
    display: none;
}

.symptom-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    min-height: 52px;
    background: var(--dz-bg-card, #141c24);
    color: var(--dz-text-muted, #94a3b8);
    border: 1px solid var(--dz-border, rgba(255, 255, 255, 0.08));
    border-radius: var(--dz-radius, 8px);
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.22, 1, 0.36, 1);
    text-align: center;
    font-weight: 500;
    font-size: 0.85rem;
    user-select: none;
    position: relative;
    overflow: hidden;
}

.symptom-label:hover {
    background: rgba(26, 36, 46, 0.9);
    border-color: var(--dz-red, #e63946);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.symptom-checkbox:checked + .symptom-label {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.35) 0%, rgba(18, 24, 30, 0.95) 100%);
    border-color: var(--dz-red, #e63946);
    color: #fff;
    box-shadow: 0 0 16px var(--dz-red-soft, rgba(230, 57, 70, 0.3));
    font-weight: 600;
}

.symptom-checkbox:checked + .symptom-label::after {
    content: '✓';
    position: absolute;
    top: 4px;
    right: 6px;
    width: 18px;
    height: 18px;
    background: var(--dz-red, #e63946);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    color: #fff;
}

.diagnosis-card {
    background: var(--dz-bg-card, #141c24);
    border: 1px solid var(--dz-border, rgba(255, 255, 255, 0.08));
    border-left: 4px solid var(--dz-red, #e63946);
    border-radius: var(--dz-radius-lg, 12px);
    padding: 1.5rem;
    box-shadow: var(--dz-shadow, 0 16px 40px rgba(0, 0, 0, 0.65));
    transition: all 0.22s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.diagnosis-card:hover {
    border-color: var(--dz-border-strong, rgba(230, 57, 70, 0.4));
    border-left-color: var(--dz-red-hot, #ff4d5a);
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75);
}

.diagnosis-card h3 {
    color: #fff;
    margin-bottom: 12px;
    font-size: 1.35rem;
    font-weight: 700;
}

.diagnosis-card p {
    line-height: 1.6;
    margin-bottom: 12px;
    color: var(--dz-text-muted, #cbd5e1);
    font-size: 0.9rem;
}

.diagnosis-card strong {
    color: var(--dz-amber, #f59e0b);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 3px;
}

#symptom-selector {
    background: var(--dz-bg-panel, rgba(16, 23, 30, 0.92)) !important;
    border: 1px solid var(--dz-border, rgba(255, 255, 255, 0.08)) !important;
    border-radius: var(--dz-radius-lg, 14px) !important;
    box-shadow: var(--dz-shadow, 0 16px 40px rgba(0, 0, 0, 0.65));
}

#diagnose-btn {
    background: var(--dz-red, #e63946);
    border: none;
    border-radius: var(--dz-radius, 8px);
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 0 16px var(--dz-red-soft, rgba(230, 57, 70, 0.3));
    transition: all 0.22s ease;
}

#diagnose-btn:hover {
    background: var(--dz-red-hot, #ff4d5a);
    transform: translateY(-2px);
    box-shadow: 0 0 24px var(--dz-red-glow, rgba(230, 57, 70, 0.5));
}
