/*
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #e0f2fe, #f8fafc);
    color: #0f172a;
    min-height: 100vh;
}

.page {
    width: 100%;
    min-height: 100vh;
    padding: 32px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.triage-card {
    width: 100%;
    max-width: 950px;
    background-color: white;
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    padding: 32px;
}

.triage-header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    padding-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 24px;
}

.eyebrow {
    color: #0284c7;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.triage-header h1 {
    font-size: 32px;
    color: #020617;
}

.subtitle {
    margin-top: 6px;
    color: #64748b;
}

.priority-box {
    min-width: 170px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.priority-box strong {
    font-size: 32px;
}

.badge {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    border: 1px solid transparent;
}

.badge.baixa {
    background-color: #dcfce7;
    color: #15803d;
    border-color: #86efac;
}

.badge.media {
    background-color: #fef3c7;
    color: #b45309;
    border-color: #fde68a;
}

.badge.alta {
    background-color: #fee2e2;
    color: #dc2626;
    border-color: #fca5a5;
}

.badge.emergencia {
    background-color: #7f1d1d;
    color: white;
    border-color: #ef4444;
}

.emergency-alert {
    background-color: #fee2e2;
    color: #7f1d1d;
    border: 1px solid #fca5a5;
    padding: 14px 16px;
    border-radius: 10px;
    font-weight: bold;
    margin-bottom: 24px;
}

.hidden {
    display: none;
}

.section {
    margin-bottom: 28px;
}

.section h2 {
    font-size: 16px;
    color: #020617;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #cbd5e1;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: #334155;
    font-size: 14px;
    font-weight: bold;
}

input,
textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 12px 13px;
    font-size: 15px;
    color: #0f172a;
    background-color: #f8fafc;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.16);
}

textarea {
    resize: vertical;
    line-height: 1.6;
}

.symptoms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.symptom {
    cursor: pointer;
}

.symptom input {
    display: none;
}

.symptom span {
    display: block;
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 13px;
    text-align: center;
    color: #334155;
    transition: 0.2s;
}

.symptom input:checked + span {
    background-color: #e0f2fe;
    border-color: #0284c7;
    color: #075985;
    font-weight: bold;
}

.selected-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.tag {
    background-color: #e2e8f0;
    color: #334155;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: bold;
}

.range-value {
    font-size: 15px;
    color: #0284c7;
}

.result-box {
    background-color: #f8fafc;
    border-left: 5px solid #0284c7;
    padding: 18px;
    border-radius: 0 12px 12px 0;
    line-height: 1.7;
}

.actions-footer {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr 1.2fr;
    gap: 12px;
    margin-top: 30px;
}

.btn {
    border: none;
    border-radius: 10px;
    padding: 13px 16px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: 0.2s;
}

.btn-primary {
    background-color: #0284c7;
    color: white;
}

.btn-primary:hover {
    background-color: #0369a1;
}

.btn-success {
    background-color: #16a34a;
    color: white;
}

.btn-success:hover {
    background-color: #15803d;
}

.btn-secondary {
    background-color: #e2e8f0;
    color: #0f172a;
}

.btn-secondary:hover {
    background-color: #cbd5e1;
}

.btn-warning {
    background-color: #fef3c7;
    color: #92400e;
}

.btn-warning:hover {
    background-color: #fde68a;
}

@media (max-width: 800px) {
    .triage-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .priority-box {
        align-items: flex-start;
    }

    .form-grid,
    .symptoms-grid,
    .actions-footer {
        grid-template-columns: 1fr;
    }

    .triage-card {
        padding: 22px;
    }
}

@media print {
    body {
        background: white;
    }

    .actions-footer {
        display: none;
    }

    .triage-card {
        box-shadow: none;
        padding: 0;
    }
}
*/