
/* Overrides rápidos para botones Bootstrap */
.btn-primary {
  background-color: #019c9b;
  border-color: #019c9b;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: #017c7b;
  border-color: #017c7b;
}

.btn-secondary {
  background-color: #6c757d;
  border-color: #6c757d;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background-color: #5a6268;
  border-color: #5a6268;
}

.btn-success {
  background-color: #43b97f;
  border-color: #43b97f;
}
.btn-success:hover,
.btn-success:focus {
  background-color: #369c6b;
  border-color: #369c6b;
}

.btn-info {
  background-color: #2bbfd9;
  border-color: #2bbfd9;
}
.btn-info:hover,
.btn-info:focus {
  background-color: #1ca7be;
  border-color: #1ca7be;
}

.btn-warning {
  background-color: #f0ad4e;
  border-color: #f0ad4e;
  color: #212529;
}
.btn-warning:hover,
.btn-warning:focus {
  background-color: #d9993d;
  border-color: #d9993d;
}

.btn-danger {
  background-color: #e35b5b;
  border-color: #e35b5b;
}
.btn-danger:hover,
.btn-danger:focus {
  background-color: #c74a4a;
  border-color: #c74a4a;
}

h3 {
    color: #0b8fa4;
}

h4, h5 {
    color: #0b8fa4;
}

h6 {
    color: #0b8fa4;
}

.text-blue {
    color: #0b8fa4;
}

.right-align {
    text-align: right;
}

/* Hacer desaparecer als flechas arriba y abajo de los inputs*/
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

/* Ilumina el boton seleccionado en el modal */

.selected {
    background-color: teal;
    color: white;
}




/* Mueves los grupos de botones a la derecha en los modal */
.button-group {
    text-align: right;
}

/* Texto Gris*/
p.gray-text {
    color: gray;
}

/* Css para pregunts de modals */

.question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid gray;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.text-container {
    text-align: left;
    vertical-align: middle;
    padding-right: 10px;
}

.text-container-form {
    text-align: left;
    vertical-align: middle;
    padding-right: 10px;
    width: 100%;
    max-width: 600px;
}


.button-group {
    text-align: right;
}

/* para dejar los botones verticales*/
/* Styling for .btn-vertical */
.btn-vertical {
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: block;  /* Ensuring vertical orientation */
    margin: 5px 0;  /* Space between vertical buttons */
    text-align: center;
    transition: background-color 0.3s ease;
    float: right;   /* Aligning to the right */
}

.btn-vertical:hover {
    background-color: #FFC93C;
    color: #fff; /* Adjust text color on hover as needed */
    border-color: #FFC93C;
}


/* BMI Modal Styling */

/* General spacing and layout for the BMI modal */
#modal_bmi .modal-body {
    display: flex;
    flex-direction: column;
    gap: 15px;  /* spacing between elements */
    padding: 20px;
}

/* Styling for input fields inside the BMI modal */
#modal_bmi input[type="number"] {
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
}


/* Focus effect for input fields */
#modal_bmi input[type="number"]:focus {
    border-color: teal;
    outline: none;
}

.button-row {
    text-align: right;
}

.navbar {
    background: linear-gradient(to left, #019c9b, #0b8fa4);
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 999;
    padding-top: 2px;
    padding-bottom: 2px;
}


/* Hide the default radio button */
input[type="radio"] {
  position: absolute;
  opacity: 0;
}

/* Style the label */
input[type="radio"] + label {
  display: inline-block;
  padding: 10px 20px;
  margin: 5px;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  cursor: pointer;
}

/* Style the label when the radio button is checked */
input[type="radio"]:checked + label {
  background-color: #e0e0e0;
  border-color: teal;
}

.btn-group-vertical .btn {
    display: block;
}

.centered-text {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 10vh;
  margin: 0;
  font-size: 2em;
  text-align: center;
}

.navbar-border {

    height: 2px;
    position: fixed;
    top: 62px;
    left: 0px;
    width: 100%;
    z-index: 999;
}

.navbar-brand {
    font-size: 2rem;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

html {
    height: 100%;
}

.btn-app {
    background-color: #0b8fa4;
    color: white;
    border-color: #0b8fa4;
    margin-bottom: 0px;
}

.btn-app:hover,
    .custom-btn:focus {
      background-color: white;
      border-color: #0b8fa4;
      color: #0b8fa4;
}

.btn-app-reverse {
    background-color: white;
    color: #0b8fa4;
    border-color: #0b8fa4;
    margin-bottom: 0px;
}

.btn-app-reverse:hover,
    .custom-btn:focus {
      background-color: #0b8fa4;
      border-color: #0b8fa4;
      color: white;
}

.btn-reverse {
    background-color: #0b8fa4;
    border-color: white;
    color: white;
    margin-bottom: 0px;
}

.btn-reverse:hover,
    .custom-btn:focus {
        background-color: white;
        color: #0b8fa4;
        border-color: white;
}

.btn-scales {
    background-color: white;
    border-color: #0b8fa4;
    color: #0b8fa4;
    margin-bottom: 0px;
}

.btn-3-months {
    background-color: #0b8fa4;
    color: white;
    border-color: #0b8fa4;
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.btn-3-months:hover,
    .custom-btn:focus {
      background-color: white;
      border-color: #0b8fa4;
      color: #0b8fa4;
}

.btn-6-months {
    background-color: #e181ad;
    color: white;
    border-color: #e181ad;
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.btn-6-months:hover,
    .custom-btn:focus {
      background-color: white;
      border-color: #e181ad;
      color: #e181ad;
}

.myform {
    padding: 0 20% 0;
    text-align: center;
}

footer {
    margin-top: auto;
    padding-top: 15px;
    padding-bottom: 15px;
    text-align: center;
    background: linear-gradient(to left, #019c9b, #0b8fa4);
}

.container-modules {
    padding: 10px;
    border-radius: 10px;
    margin-top: 10px;
}

.container-inactive {
    border: 2px solid #0b8fa4;
    background-color: rgba(11, 143, 164, 0.1);
}

.container-active {
    border: 2px solid #e181ad;
    background-color: rgba(225,129,173, 0.1);
}

.form-floating {
    padding-bottom: 5px;
}

.center {
    text-align: center;
    justify-content: center;
}

.hidden {
    display: none;
}

.toast-header {
    background-color: #0b8fa4;
    color: white;
}

.toast-header-fail {
    background-color: #e181ad;
    color: white;
}

.toast-body {
    background-color: white;
}

.form-control:disabled {
    background-color: white;
}

.form-select:disabled {
    background-color: white;
}

.spinner-div {
    display: none;
    justify-content: right;
    align-items: right;
    text-align: right;
    height: 30px;
}

.spinner-center {
    display: none;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 30px;
}

.spinner-right {
    display: none;
    justify-content: right;
    align-items: right;
    text-align: right;
    height: 30px;
}

.spinner {
    width: 30px;
    animation: spin 1s infinite linear;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Custom Radio Button Styles */
input[type="radio"][id^="option_"] {
  display: none;
}

input[type="radio"][id^="option_"] + label.btn {
  background-color: white;
  color: #0b8fa4;
  border: 2px solid #0b8fa4;
  transition: all 0.3s ease;
}

input[type="radio"][id^="option_"]:hover + label.btn {
  color: #e181ad;
  border-color: #e181ad;
  background-color: white;
}

input[type="radio"][id^="option_"]:checked + label.btn {
  border-width: 2x;
  border-color: #0b8fa4;
  background-color: #0b8fa4;
  color: white;
}

.popup-form {
    display: none;
    position: fixed;
    width: 350px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    z-index: 10000;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
}

.result-box ul {
    color: #000;
    background-color: #ffffff;
    padding: 5px 5px;
    border-radius: 10px;
}

.result-box ul li {
    list-style: none;
    padding: 5px 5px;
    border-radius: 5px;
}

.result-box ul li:hover{
    background: rgba(11, 143, 164, 0.1);
}

.dropdown-item:hover{
    background: rgba(11, 143, 164, 0.1);
}

.result-box {
    max-height: 300px;
    overflow-y: scroll;
    z-index: 1;
    width: 100%;
    border: 1px solid rgba(11, 143, 164, 0.1);
    border-radius: 10px;
}

#patient-container .custom-btn,
#control-container .custom-btn,
#comments-form .custom-btn,
#opinion-form .custom-btn,
#tests-form .custom-btn,
#tracing-form .custom-btn {
  border: 1px solid #0b8fa4;
  color: #0b8fa4;
  background-color: #fff;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

#patient-container .btn-check:checked + .custom-btn,
#control-container .btn-check:checked + .custom-btn,
#comments-form .btn-check:checked + .custom-btn,
#opinion-form .btn-check:checked + .custom-btn,
#tests-form  .btn-check:checked + .custom-btn,
#tracing-form  .btn-check:checked + .custom-btn {
  border-color: #0b8fa4;
  background-color: #0b8fa4;
  color: #fff;
}

.form-floating>:disabled~label::after {
    background-color: white;
}

/* .modal-header {
    background-color: #065561;
}

.modal-footer {
    background-color: #065561; */
}

/* .blue-text {
    color: #0b8fa4;
} */

.floating-label {
    z-index: 900;
}

.circular-img {
    border-radius: 50%;
    object-fit: cover;
}

.btn-tests {
    width: 85px;
}

.chart {
    width: 100%;
}

select.custom-select {
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            /* Add padding to prevent cutting off the image */
            padding-left: 2.5rem;
            /* Set pointer events to none to allow clicking on the image */
            pointer-events: none;
        }

.white {
    color: white !important;
}

.left-align {
    text-align: left;
}

.td-points {
    width: 40px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.btn {
    border-top-left-radius: 5px !important;
    border-bottom-left-radius: 5px !important;
    border-top-right-radius: 5px !important;
    border-bottom-right-radius: 5px !important;
}

.pointer {
    cursor: pointer;
}

.pointer:hover td {
    color: #e181ad;
}

.modal-title {
    font-weight: bold !important;
    font-size: x-large !important;
}

.no-margin {
    margin: 0;
}

.padding-bottom-none {
    padding-bottom: 0;
}

.margin-bottom-10 {
    margin-bottom: 10px;
}

.padding-none {
    padding: 0;
}

.padding-side-12 {
    padding-left: 12px;
    padding-right: 12px;
}

.test-points {
    color: white !important;
    margin-bottom: 0;
    margin-top: 7px;
    text-align: left;
    vertical-align: middle;
}

.vertical-middle {
    vertical-align: middle;
    align-items: center;
}

.btn-notif {
    background-color: #019c9b;
    color: white;
    margin-bottom: 0px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-notif:hover,
    .custom-btn:focus {
      background-color: #ffffff;
      border-color: #019c9b;
      color: #019c9b;
    }

.btn-notif.show {
      background-color: #ffffff;
      border-color: #019c9b;
      color: #019c9b;
    }

.overflow-500 {
    max-height: 500px !important;
    overflow-y: scroll;
}

.mfa-input {
    width: 40px; /* Adjust width as needed */
    height: 40px; /* Adjust height as needed */
    text-align: center;
    margin: 0 5px; /* Adjust spacing between boxes */
}

.min-height-400 {
    min-height: 400px;
}

#return-btn {
    margin-left: auto !important; 
}

.suggestion-column {
    max-width: 400px; 
    word-wrap: break-word;
    white-space: normal !important; 
}

#observationModal .modal-body {
    word-wrap: break-word;
    white-space: pre-wrap;
    max-height: 300px;
    overflow-y: auto;
}

.hidden-control {
    display: none;
}

/* Contenedor del mensaje */
.prediction-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 15px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    font-family: Arial, sans-serif;
    max-width: 70%;
    margin: 20px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease-out;
}

/* Icono de advertencia */
.prediction-message i {
    margin-right: 10px;
    font-size: 1.5em;
}

/* Estilo del texto */
.prediction-message span {
    font-size: 1.2em;
}


#accessRequestTable tbody tr {
    height: 50px; 
    vertical-align: middle;
}

.prediction-table {
    border: 2px solid #f5c98c;
    border-collapse: collapse;
    width: 100%;
    text-align: center;
}

.prediction-table th, .prediction-table td {
    border: 1px solid #f5c98c;
    padding: 8px 12px;
}

.prediction-table thead {
    background-color: #008080;
    color: white;
    font-weight: bold;
}

.prediction-table td span {
    font-size: 20px;
    color: inherit; 
}


/* .rejection-reason-block {
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 8px;
    background-color: #f8f9fa;
} */

.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 0.95rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.styled-table thead tr {
    background-color: #008080;
    color: #fffafa;
    text-align: center;
}

.styled-table th,
.styled-table td {
    padding: 12px 15px;
    border: 1px solid #00000000;
    vertical-align: middle;
}

.styled-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.form-sheet {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    margin-bottom: 2rem;
}

.loading-table{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}