.btn-dark-red {
    background-color: #7B3031 !important; 
    color: #fff;
    border-radius: 0.5rem;
    border: 1px solid #B5B5B5;
}

.btn-dark-red:hover
.btn-dark-red:active {

  color: #fff;
  
}


.btn-login{
    height: 3.5rem;
}

.logo-centered {
    max-width: 22rem; 
    margin: 0 auto; 
    display: block; 
}

.login-card{
    background-color: transparent;
    
}
.control-user{
    border-radius: 15px 15px 0px 0px;
    border: 1px solid #E3E3E3;
    padding: 0.375rem 1.5rem;
    height: 3rem;
    color: #2A2A2A;
    opacity: 1;
}

.email-template .control-user{
    border-radius: 0.80rem;
}


.control-user::placeholder{

    color: #2A2A2A;
    opacity: 1;
}

.control-user, .control-user input {
    color: #2A2A2A !important; 
}

.control-password{
    border-radius: 0px 0px 15px 15px;
    border: 1px solid #E3E3E3;
    padding: 0.375rem 1.5rem;
    height: 3rem;
    color: #2A2A2A;
    opacity: 1;
}
.control-password::placeholder{
    color: #2A2A2A;
    opacity: 1;
}

.control-password, .control-password input {
    color: #2A2A2A !important; 
}

.forgot-password{
    text-decoration: underline;
}

.welcome-label{
    color: #2A2A2A;
    font-weight: 700;
}

 .c-sidebar-nav {
    /* Ensures the sidebar stretches to full height */
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.c-sidebar-nav-item {

    padding: 0.5rem 1rem;
}


.c-sidebar-nav-link i {
    /* margin-right: 8px; */
}

.logout-section {
    /* Positioning logout at the bottom */
    margin-top: auto;
    padding: 0.5rem;
}

.logout-button {
    /* Styling for the logout button */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-weight: 600;
    color: #7B3031;
    border: none;
    width: 100%;
    padding: 0.5rem;
    border-radius: 0.3rem;
    margin-left: 0.1rem;
    gap: 0.5rem;
    line-height: 1;
}

.logout-button i {
  margin-right: 8px;
} 


@media (hover: hover), (-ms-high-contrast: none) {
    .c-sidebar .c-sidebar-nav-link:hover, .c-sidebar .c-sidebar-nav-dropdown-toggle:hover {
        color: #fff;
        background: #7B3031;
        border-radius: .80rem;
        border: 1px solid #B5B5B5;
    }

    .btn:hover {
        color: #FFFFFF !important;
        text-decoration: none;
        /* background: #7B3031; */
    }
}

.c-sidebar .c-sidebar-nav-link.c-active, .c-sidebar .c-active.c-sidebar-nav-dropdown-toggle {
    color: #fff;
    background: #7B3031;
    border-radius: .80rem;
    border: 1px solid #B5B5B5;
}


.responsive-img {
    max-width: 60%;
    height: auto;
}


.logout-icon {
    vertical-align: middle !important;
    font-size: 1.5rem !important; 
    line-height: 1 !important; 
    margin-bottom: 0.6rem !important;
}

.filter-section *{
    background-color: #F8F9FA;
    
}

.card-filter .card
.card-filter .card .card-header,
.card-filter .card .card-body,
.card-filter .card .card-footer {
  border: none !important;
}

.card-filter .card{
    border: none;
    background-color: #F8F9FA;
}

.card-header-filter{
    border-bottom: 0.1rem solid;
    padding: 0.5rem 0;
    margin: 0 0.5rem;
}

.card-header-subscribers{
  border-bottom: 0.1rem solid;
  padding: 0.5rem 0;
  margin-bottom: 1rem;
}


 .card {
    border: none;
  }
  

  /* Enlarge the DateTime Picker container */
.datetime-picker {
    border-radius: 0.40rem;
    font-size: 1.25rem; /* Larger text */
    border: 0.1rem solid #2D3E46;
  }
  
  .datetime-picker .input-group {
    border: 1px solid #ced4da;
    border-radius: 0.5rem;
    overflow: hidden;
  }
  
  /* Customize the DateTime Picker Icon */
  .datetime-picker .input-group-text {
    /* background-color: #ffffff; */
    /* border-left: 1px solid #ced4da; */
    border: none;
    color: #7B3031; /* Dark Red */
    font-size: 1.5rem; /* Larger icon */
  }
  
  /* Style the Calendar Pop-up */
  .datetime-picker .datepicker-dropdown {
    width: 300px; /* Increase width for better readability */
    font-size: 1.25rem; /* Larger date text */
  }
  
  .datetime-picker .datepicker-dropdown .day,
  .datetime-picker .datepicker-dropdown .hour,
  .datetime-picker .datepicker-dropdown .minute,
  .datetime-picker .datepicker-dropdown .second {
    font-size: 1.25rem; 
    color: #7B3031; 
  }
  .datetime-picker .dropdown-menu .day:hover,
  .datetime-picker .dropdown-menu .day.selected {
    background-color: #7B3031; 
    color: #fff; 
    
  }

  .bootstrap-datetimepicker-widget table td.active,
  .bootstrap-datetimepicker-widget table td.active:hover {
    background-color: #7B3031; 
    color: #ffffff; 
    text-shadow: none; 
  }

  .bootstrap-datetimepicker-widget {
    z-index: 1050 !important; /* Ensure it remains above other elements */
  }
  
  .datetime-picker .datepicker-dropdown .btn {
    background-color: #7B3031;
    color: #fff;
    border-radius: 0.25rem;
    padding: 0.5rem 1rem;
    font-size: 1.1rem;
  }

  .datetimepicker-input{
    height: calc(1.5em + 1.75rem + 2px);
    border-right: none;
    color:#1A1A1A
  }
  
  /* Focus State for Input Fields */
  .datetimepicker-input:focus {
    border-color: #7B3031;
    box-shadow: none;
  }

  
  /* Arrow Icons for Time Selection */
  .datetime-picker .arrow-up,
  .datetime-picker .arrow-down {
    color: #7B3031;
    font-size: 1.25rem;
  }

  .fa-arrow-up:before,
  .fa-arrow-down:before{
    color: #7B3031 !important;
  }

  .timepicker-picker td {
    text-align: center;     
    vertical-align: middle;
    font-size: 1.2rem;
  }


.picker-switch [data-action="togglePicker"] span {
  display: none; 
}


.picker-switch [data-action="togglePicker"]::after {
  content: var(--toggle-picker-text, "Select Hour");
  display: inline-block; 
  padding: 5px 10px; 
  background-color: #7B3031; 
  color:#fff ; 
  border-radius: 5px; 
  font-size: 14px; 
  cursor: pointer; 
  text-align: center; 
}

.picker-switch [data-action="togglePicker"]::after:hover {
  background-color: #7B3031; /
}

.accordion-toggle {
  position: relative; 
  display: flex;
  justify-content: center; 
  align-items: center; 

}
  

  
  
  .input-calendar{
    border: none !important;
    background-color:#F8F9FA !important ;
  }

  .c-main{
    background-color: #F8F9FA;
  }

  .card-body-filter{
    padding: 1.25rem 0.5rem;
  }


.custom-input {
    position: relative;
    display: flex;
    align-items: center;
    border: 0.1rem solid #2D3E46;
    border-radius: 0.4rem;
    background-color: #F8F9FA;
    padding: 5px 10px;
    height: calc(1.5em + 1.75rem + 2px);
}

.custom-input input:focus{
    box-shadow: none;
}

.custom-input input[type="number"] {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 14px;
    padding-right: 30px;
    color: #1A1A1A;
}

.custom-input input[type="number"]::placeholder {
    color: #1A1A1A; /* Cambia este color al que prefieras */
    opacity: 1; /* Asegura que el color del placeholder sea totalmente visible */
}

.custom-input input[type="number"]::-webkit-inner-spin-button,
.custom-input input[type="number"]::-webkit-outer-spin-button {
    display: none; /* Oculta las flechas predeterminadas */
}

.arrows {
    position: absolute;
    right: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px; /* Espacio entre las flechas */
}

.arrow-up,
.arrow-down {
    width: 1.3rem; /* Ajusta el tamaño según sea necesario */
    cursor: pointer;
}

.arrow-up:hover,
.arrow-down:hover {
    opacity: 0.7; /* Efecto al pasar el ratón por encima */
}


/* General dropdown styling */
.multi-select-dropdown .dropdown-menu {
  border: 1px solid #c5c5c5;
  border-radius: 5px;
  max-height: 300px; /* Limit the dropdown height */
  overflow-y: auto; /* Enable scrolling for long lists */
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* Dropdown button */
.multi-select-dropdown .dropdown-toggle {
  font-weight: bold;
  color: #495057;
}

/* Protocol option container */
.protocol-option {
  display: flex;
  justify-content: space-between; /* Space between icon+name and checkbox */
  align-items: center;
  padding: 0.2rem;
  border: 0.1rem solid #9F9F9F;
  box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.31);
}

/* Circular icons for protocols */
.icon-circle {
  width: 1.25rem; /* Circle size */
  height: 1.25rem;
  border-radius: 50%; /* Makes the div circular */
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-icon {
  width: 1rem; 
  height: 1rem;
}

.dropdown-protocol{
  width: 22rem ;
  height: 40rem;
}

.btn-protocol{
  height: calc(1.5em + 1.75rem + 2px);
  border: 0.1rem solid #2D3E46;
  border-radius: 0.4rem;
  background-color: #F8F9FA;
} 

.dropdown-arrow-icon {
  width: 2rem;
  height: 1.3rem;
  margin-left: auto;
  vertical-align: middle;
  display: inline-block;
}

.dropdown-arrow-icon:hover
.dropdown-arrow-icon:active {
  background-color: transparent !important;
}

/* Protocol name styling */
.protocol-option .protocol-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: #495057;
}

/* Checkbox styling */
.protocol-option input[type="checkbox"] {
  transform: scale(1.2); /* Increase checkbox size */
  margin-left: auto; /* Push checkbox to the far right */
}
.protocol-name{
  margin-left: 0.2rem;
}

/* Custom checkbox styles */
.custom-checkbox {
  appearance: none; /* Remove default browser styles */
  width: 1.25rem; /* Set width */
  height: 1.25rem; /* Set height */
  background-color: #e9e9e9; /* Default background color */
  border: 0.15rem solid #7B3031; /* Border color */
  border-radius: 5px; /* Rounded corners */
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
  position: relative; /* For the checkmark */
  outline: none;
}

/* Checked state */
.custom-checkbox:checked {
  background-color: rgba(123, 48, 49, 0.34); /* Checked background color */
}

/* Checkmark styling */
.custom-checkbox:checked::after {
  content: '✔'; /* Checkmark symbol */
  color: #7B3031; /* White checkmark */
  font-size: 0.75rem; /* Adjust size */
  position: absolute;
  top: 50%; /* Center vertically */
  left: 50%; /* Center horizontally */
  transform: translate(-50%, -50%);
}

.dropdown-toggle::after{
  display: none;
}

/* control switch config */
.custom-switch{
  padding-bottom: 0.5rem;
  margin-left: 0.5rem;
}




.custom-control-input:checked ~ .custom-control-label::before {
  color: #fff;
  border-color: #414042;
  background-color: #7B3031;
}

.custom-control-label::before {

  width: 2.625rem  !important;
  height: 1.5rem;
  background-color: #B5B5B5;
  border-color: #9da5b1;
  border-radius: 1.4rem !important;
}

.custom-control-label::after{
  background-color: #FFFFFF !important;
  width: calc(1.3rem - 4px) !important;
  height: calc(1.3rem - 4px) !important;
  top: calc(0.15625rem + 4px) !important

}

.custom-switch .custom-control-input:checked ~ .custom-control-label::after {
  background-color: #fff;
  -webkit-transform: translateX(1.1rem) !important;
  transform: translateX(1.1rem) !important;
  
}

html:not([dir="rtl"]) .custom-switch .custom-control-label::after {
  left: calc(-2.25rem + 4px) !important;
}

label.custom-control-label {
  padding-left: 1rem;
  font-size: 1.2rem;
  color: #1A1A1A;
  font-weight: 500;
}


/* control switch config */


.btn-search{
  padding: 0;
  border: none;
}

/* card integrated diagram*/

.card-integrated-diagram{
  background-color: #FFFFFF;
  border-radius: 7px;
  border: 0.1rem solid #9F9F9F !important;
  background: #FFF;
  box-shadow: 0px 5px 3px 0px rgba(0, 0, 0, 0.31);
}

.text-integrated-diagram{
  color: #7B3031;
  font-size: 1.2rem;
  font-weight: 500;
  border-bottom: none;
}

.label-intregrated{
  color: #1A1A1A;
  font-size: 0.8rem;
  font-weight: 400;
}

.arrow-integrated{
  background-color: transparent;
  border: none;
  width: 1.5rem;
  height: 1.5rem;
}

.btn-integrated{
  border: none !important;
  background-color: transparent !important;
}


.flex-container{
  display: flex;
  justify-content: space-between; /* Space between the two divs */
  align-items: center; /* Center vertically */
}

.content-left {
  flex: 1; /* Optional: Allows the left content to take up more space */
}

.content-right {
  display: flex;
  align-items: flex-end; /* Aligns the content to the bottom */
}

.pagination-controls {
  display: flex;
  flex-direction: column; /* Stack elements vertically */
  align-items: center; /* Center label and buttons */
  gap: 0.5rem; /* Adds spacing between label and buttons */
}

/* Button group for navigation */
.pagination-controls .button-group {
  display: flex; /* Display buttons horizontally */
  gap: 0.5rem; /* Space between buttons */
}

/* card integrated diagram*/

/* sequence integrated diagram*/

#diagram-wrapper *{
  background-color: #F8F9FA;
}

.dropdown-color{
  color: #7B3031;
  font-weight: 500;
}

.dropdown-color:hover
.dropdown-color:active{
  color: #7B3031;
  font-weight: 500;
}

/* sequence integrated diagram*/

/* Modal diagram*/

.modal-dialog-centered{
  justify-content: center;
}

.modal-content{
  width: auto !important;
}

.modal-header{
  justify-content: center;
  border-bottom: none !important;
}

.modal-body table tr td:nth-child(odd) {
  font-weight: 500; /* Aplica el estilo deseado */
}

.btn-secondary:focus,
.btn:focus{
  box-shadow: none !important;
}

.table th,
.table td {

  border-top: none;
  border-top-color: none;
}



/* Modal diagram*/

/* c footer*/

.c-footer{
  background-color: #F8F9FA !important;
  border-top: none;
}

/* c footer*/

/* jstree*/
#jstree ul {
  list-style-type: none; /* Eliminar el estilo de lista (bullet points) */
  padding-left: 10px; /* Opcional: Ajusta el espaciado para que el árbol se vea bien */
}

#jstree .jstree-anchor {
  padding-left: 5px; /* Ajusta este valor para cambiar el espacio */
}
#jstree .jstree-icon {
  margin-right: 10px; /* Aumenta el margen entre el ícono y el texto */
}




/* jstree*/

.download-status{
  height: 100%;
}
 .btn-filter-download{
  border-radius: 0.4rem;
 }