/* General style */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    font-weight: bold;
    font-size: 18px;
    color: #000;
}

/* Main container: ALWAYS side by side */
.container {
    display: flex;
    flex-direction: row;   /* mantém lado a lado SEMPRE */
    height: 100vh;
    background-color: #ADD8E6; /* fundo azul claro */
}

/* Symptom list (left panel) */
.symptom-list {
    width: 22%;            /* largura fixa */
    background-color: #f9f9f9;
    padding: 10px;
    overflow-y: auto;
    border-right: 1px solid #ccc;
}

/* Main area (right panel) */
.input-section {
    flex: 1;               /* ocupa todo espaço restante */
    padding: 20px;
    overflow-y: auto;
    background-color: transparent;
}

/* Titles */
h1, h2 {
    font-size: 32px;
    color: #004080;
}

/* Textarea */
textarea {
    font-size: 18px;
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: none;
    font-weight: bold;
}

/* Buttons */
button {
    font-size: 18px;
    padding: 10px 20px;
    margin: 5px;
    border: none;
    border-radius: 4px;
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
    font-weight: bold;
}

button:hover {
    background-color: #45a049;
}

/* Symptom items */
.symptom-item {
    font-size: 18px;
    padding: 8px;
    cursor: pointer;
    font-weight: bold;
    color: #000;
    border-radius: 3px;
}

.symptom-item:hover {
    background-color: #ddd;
}

.symptom-item.selected {
    background-color: #4CAF50;
    color: white;
}

/* Notices */
.notice {
    color: red;
    font-weight: bold;
    margin-top: 8px;
    background-color: #ffe5e5;
    padding: 6px;
    border-radius: 4px;
}

/* Recommendations */
.recommendations {
    font-size: 18px;
    background-color: #eef6ff;
    padding: 10px;
    border-radius: 4px;
    margin-top: 8px;
    border: 1px solid #cce0ff;
}

/* Scrollbar */
.symptom-list::-webkit-scrollbar {
    width: 14px;
}

.symptom-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.symptom-list::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.symptom-list::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Separator between results */
.result-separator {
    border: none;
    border-top: 5px solid #000;
    margin: 30px 0;
    width: 100%;
}

/* Buttons container */
.buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.buttons button {
    flex: 1;
    background-color: #4CAF50;
    color: white;
    padding: 10px 10px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
}

.buttons button:hover {
    background-color: #45a049;
}

/* Results box */
#result {
    margin-top: 20px;
    background-color: #fff;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

/* Search bar */
#searchSymptom {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    font-size: 18px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-weight: bold;
    color: #000;
}

#searchSymptom::placeholder {
    color: #888;
    font-weight: normal;
}

