/* Flag badge - ponto colorido + texto */
.flag-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 0.7rem;
}

.flag-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.02) inset;
    flex: 0 0 9px;
}

.flag-text {
    color: #1f2937;
}

/* Styles para meds-acc sem depender de ID */
.meds-acc {
    padding: 0;
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
        Arial;
}

/* botão Ver todos */
.meds-toggle {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    color: #0070c9;
    background: transparent;
    border: none;
    font-size: 13px;
}

.meds-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 112, 201, 0.12);
    border-radius: 6px;
}

/* container interno com padding */
.meds-collapse .p-0 {
    padding: 8px 12px;
}

/* linha do medicamento */
.med-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 4px 2px;
    font-size: 12px;
}

.med-name {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1 1 auto;
}

/* Responsividade */
@media (max-width: 640px) {
    .med-row::before {
        display: none;
    }
    .med-name {
        font-size: 13px;
    }
    .med-dose {
        font-size: 12px;
    }
}

:root {
  --tblr-border-radius: 12px;
  --tblr-border-radius-sm: 6px;
}

.navbar-overlap:after {
    height: 15.3rem;
}

[data-bs-theme=light] div.tab-container div.tab-content {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}
