/* Adicionar asterisco (*) nos campos obrigatórios */
.required:after {
    content: " *";
    color: #dc3545;
}

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

.status-badge-sm,
.status-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    border: 1px solid transparent;
    box-sizing: border-box;
    font-weight: 500;
    white-space: nowrap;
}

.status-badge {
    font-size: 14px;
}

.status-badge-sm {
    font-size: 12px;
}

.status-badge-sm.status-5,
.status-badge.status-5 {
    background: #fee2e2 !important;
    color: #b91c1c;
}

.status-badge-sm.status-4,
.status-badge.status-4 {
    background: #dcfce7 !important;
    color: #15803d;
}

.status-badge-sm.status-3,
.status-badge.status-3 {
    background: #f3e8ff !important;
    color: #7e22ce;
}

.status-badge-sm.status-2,
.status-badge.status-2 {
    background: #fef9c3 !important;
    color: #a16207;
}

.status-badge-sm.status-1,
.status-badge.status-1 {
    background: #dbeafe !important;
    color: #1d4ed8;
}

/* Ajustar z-index dos Toasts para sobrepor Modal que possui z-index (1050) */
.toasts-top-right {
    z-index: 2000;
}


.font-spacing
{
    letter-spacing: .05rem;
}


.bg-blue-50
{
    background-color: #eff6ff;
}

.bg-green-200
{
    background-color: #bbf7d0;
}

.border-blue-200
{
    border-color: #bfdbfe;
}

.text-green-700
{
    color: #15803d;
}

.skeleton {
    background-color: #e0e0e0;
    border-radius: 4px;
    width: 100%;
    height: 20px;
    margin: 10px 0;
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        background-color: #e0e0e0;
    }
    50% {
        background-color: #f5f5f5;
    }
    100% {
        background-color: #e0e0e0;
    }
}

/* Ensure the skeleton loader takes full width of table cell */
td > .skeleton {
    width: 100%;
    height: 20px; /* Adjust height as needed */
    margin: 0; /* Remove margin to ensure full width */
}


.ts-autocomplete {
    position: relative;
    display: inline-block;
}

.ts-autocomplete-input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.ts-autocomplete-items {
    position: absolute;
    border: 1px solid #ccc;
    z-index: 99;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 150px;
    overflow-y: auto;
    background-color: #fff;
    margin-top: 5px;
    border-radius: 5px;
    box-shadow: 0 0 #0000, 0 0 #0000, 0 0 #0000, 0 0 #0000, 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

.ts-autocomplete-items div {
    padding: 10px;
    cursor: pointer;
}

.ts-autocomplete-items div:hover,
.ts-autocomplete-active {
    background-color: #e9e9e9;
}


.btn-radio
{
    display: none;
}

/* Estilo para os rótulos (labels) simulando botões */
.btn-radio-label
{
    display: inline-block;
    padding: 6px 20px;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    border: 1px solid #6c757d;
    background-color: transparent;
    color: #6c757d;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-width: 90px;
}

/* Estilo quando o radio button está marcado */
.btn-radio:checked + .btn-radio-label
{
    background-color: #6c757d;
    color: #fff;
}

.btn-radio-label:hover {
    background-color: #6c757d;
    color: #fff;
}

html {
    scroll-behavior: smooth;
}

/* Personalização adicional para barras de rolagem modernas */
::-webkit-scrollbar {
    width: 8px; /* Largura da barra de rolagem */
    height: 8px; /* Altura da barra de rolagem horizontal */
}

::-webkit-scrollbar-thumb {
    background: #dc3545; /* Cor do "thumb" (parte móvel da barra) */
    border-radius: 10px; /* Deixa as bordas arredondadas */
}

::-webkit-scrollbar-thumb:hover {
    background: #bd5a64; /* Cor do "thumb" ao passar o mouse */
}

::-webkit-scrollbar-track {
    background: #f1f1f1; /* Cor do fundo da barra de rolagem */
    border-radius: 10px; /* Bordas arredondadas no fundo */
}

