﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

/*button {
    width: 200px;
    height: 30px;
    font-size: 20px;
    color: white;
    background-color: #259b4c;
    border-style: solid;
    border-color: #259b4c;
}*/

/*form {
    width: 600px;
    margin: 100px auto;
}*/

/* ===== TIMELINE ===== */
.timeline {
    border-left: 3px solid #dee2e6;
    margin-left: 10px;
    padding-left: 20px;
}

.timeline-item {
    position: relative;
    margin-bottom: 15px;
}

    .timeline-item::before {
        content: "";
        position: absolute;
        left: -28px;
        top: 5px;
        width: 12px;
        height: 12px;
        background-color: #0d6efd;
        border-radius: 50%;
    }

/* ===== CORES POR TIPO ===== */
.tipo-atendimento {
    border-left: 4px solid #198754;
}

.tipo-receita {
    border-left: 4px solid #0d6efd;
}

.tipo-exame {
    border-left: 4px solid #ffc107;
}

/* ===== HEADER DATA ===== */
.header-data {
    cursor: pointer;
    transition: 0.2s;
}

    .header-data:hover {
        background-color: #f1f3f5;
    }

.hoje-badge {
    background-color: #198754;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 5px;
    margin-left: 8px;
}
.page-header {
    font-size: 1.50rem;
    color: #007bff;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-header i {
    color: #28a745;
}

.profissional-nome {
    color: #343a40;
    /*font-style: italic;*/
}

.header-divider {
    width: 100%;
    border: 0;
    height: 2px;
    background: linear-gradient(to right, #007bff, #28a745);
    margin-top: 10px;
}

.nome-paciente {
    font-weight: bold;
    color: #000;

}


.agenda-livre {
    color: forestgreen; /* Escolha a cor que desejar */
}

.agenda-bloqueada {
    color: #842029; /* texto vermelho escuro do alert-danger */
    background-color: #f8d7da; /* fundo claro do alert-danger */
    font-weight: 500;
    padding: 4px 10px;
    border: 1px solid #f5c2c7;
    border-radius: 0.375rem; /* igual ao rounded do Bootstrap */
    display: inline-block;
    font-size: 0.875rem; /* similar a .small */
}



#Entrarlogin {
    background-color: #ADD8E6;
    border-color: #ADD8E6;
    width : 100%;
}
.custom-form {
    /*background-color: #f8f9fa;*/
    background-color: white;
    padding: 10px;
}

.containerhead {
    margin-top: 50px;
}

.breadcrumb {
     background-color: #ADD8E6;
  /*  background-color: #efefdf;*/
   /* padding: 8px;*/
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    color: #808080;
}

    .breadcrumb a {
        color: #438fa8;
    }

    .breadcrumb > li + li:before {
        content: ">>";
        padding: 0 5px;
        color: #438fa8;
    }


.custom-header {
    background-color: #ADD8E6;
  /*  background: radial-gradient(circle, #fff,#ADD8E6);*/
    text-align: center;
    color: #1b6ec2;
    height: 50px;
    line-height: 50px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-rodape {
    background-color: #efefdf;
    /*  background: radial-gradient(circle, #fff,#ADD8E6);*/
    text-align: center;
    color: #1b6ec2;
    height: 50px;
    line-height: 50px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.custom-headerlog {
    background-color: #ADD8E6;
    text-align: center;
    color: #fff;
    padding: 10px;
    
}
input[type=search] {
    width: 400px;
    height: 40px;
    font-size: 16px;
    padding: 0px 20px 0px 40px;
    border-radius: 40px;
    outline: none;
    border: solid gray 2px;
    background: url('Search.png') 7px center no-repeat;
}

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

.div-1 {
  background-color: #FBD603;
}

.left-align {
    text-align: left;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

.field-validation-error {
    color: #e01d1d;
}

.close-alert {
    position:absolute;
    right:5px;
    top:-15px;
    border-radius: 5px;
    width:20px;
    height:31px;
    padding:2px;
}
.prontuario-descricao p {
    margin-bottom: 0.25rem;
}

.prontuario-descricao br {
    line-height: 1.2;
}

.modal.draggable-modal .modal-dialog {
    position: absolute !important;
    transform: none !important;
    margin: 0 !important;
    max-width: none !important;
}

.exames-compactos .row {
    --bs-gutter-y: 2px; /* reduz espaço vertical */
}

.exames-compactos .form-check {
    margin-bottom: 0px;
    line-height: 1.1;
}

.exames-compactos .form-check-label {
    font-size: 0.75rem;
    line-height: 1.1;
}

.exames-compactos .form-check-input {
    transform: scale(0.9);
    margin-top: 0.15rem;
}

.quadro-exames {
    max-height: 180px; /* você pode testar 150px ou 160px */
    overflow-y: auto;
    padding: 6px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: #fff;
}

.preview-compacta {
    font-size: 0.74rem;
    line-height: 1.15;
    padding: 6px;
    height: 130px;
}


table.table-striped tbody tr.linha-chamado > td {
    background-color: #fff3cd !important;
    animation: glow 1s infinite alternate;
}

@keyframes piscarFundo {
    0% {
        background-color: #fff3cd;
    }

    50% {
        background-color: #ffc107;
    }

    100% {
        background-color: #fff3cd;
    }
}

.status-piscando {
    animation: piscarFundo 1s infinite;
}

.note-editor .note-editable p {
    margin-bottom: 0;
    line-height: 1.2;
}

.note-editor .note-editable {
    line-height: 1.2;
}

/* ===== COR DA BOLINHA POR TIPO ===== */

.timeline-item.tipo-atendimento::before {
    background-color: #198754;
}

.timeline-item.tipo-receita::before {
    background-color: #0d6efd;
}

.timeline-item.tipo-exame::before {
    background-color: #ffc107;
}


.header-prontuario {
    background-color: #fefce7;
    border-bottom: 1px solid #dee2e6;
}

.data-prontuario {
    color: #308254;
    font-weight: 600;
}
/*table.table-striped tbody tr.linha-chamado > td {
    animation: piscarLinha 1s infinite;
}

@keyframes piscarLinha {
    0% {
        background-color: #fff3cd;
    }

    50% {
        background-color: #ffc107;
    }

    100% {
        background-color: #fff3cd;
    }
}*/