.combo-ticket{
    width: 200px !important;
}
.texto-ticket{
    width: 400px !important;
}
.datetime{
    width: 200px !important;
}
.boton-ticket{
    width: 200px !important;
    position: relative;
}
.select2{
    width: 100%!important;
    margin-right: 5px!important;
}
.boton-ticket:hover,
.btn-sm:hover,
 #newCommentbtn:hover,
 #saveCommentbtn:hover,
 #newFilebtn:hover{
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}
.radio-ticket label{
    margin-right: 20px;
}
.radio-ticket input{
    margin-right: 5px;
}
.param_disabled{
    pointer-events: none;
    user-select: none;
    background-color: #E6E6E6!important;
}
.ocultar{
    visibility: hidden !important;
}
div > div > button.boton-ticket {
    margin-top: 30px;
    left: 0;
    background-color: #6c757d;
}

textarea.form-control:focus,
select.form-control:focus,
input.form-control:focus{
    border-color: #62c2e4;
    outline: none;
    -webkit-box-shadow: inset 0 -2px #62c2e4;
    box-shadow: inset 0 -2px #62c2e4;
}

#submit_record__row div {
    margin: auto !important;
    text-align: center !important;
}

#headerTable , .header-grey {
    background: #6c757d linear-gradient(180deg, #787f85, #6c757d) repeat-x !important;
    color: white;
}

#newCommentbtn {
    background-color: #6c757d;
}

.card-header {
    padding-left: 0 !important;
    padding-top: 0 !important;
}


#pantalla{
    width: 20%;
    vertical-align: bottom;
    margin: auto;
    color: rgba(255, 255, 255, 0.75);
    font-weight: inherit;
}

button.link-warning{
    background: none;
    border: none;
    padding: 2px;
}
button.link-warning:focus{
    border-bottom: 1px solid;
    background: #FFDE7B;
}
button.link-warning:hover{
    border-bottom: 1px solid;
    background: #FFDE7B;
}
button.link-warning:active{
    background: #FFBF00;
    color: #ffffff;
}
button.link-info, button.link-success{
    background: none;
    border: none;
    color:#ffffff;
    padding: 2px;
}
button.link-info:focus{
    border-bottom: 1px solid;
    background: #62c2e4;
    color: #ffffff;
}
button.link-info:hover{
    border-bottom: 1px solid;
    background: #62c2e4;
    color: #ffffff;
}
button.link-info:active{
    background: #009CB4;
    color: #ffffff;
}
button.link-success:focus{
    border-bottom: 1px solid;
    background: #6ed386;
    color: #ffffff;
}
button.link-success:hover{
    border-bottom: 1px solid;
    background: #6ed386;
    color: #ffffff;
}
button.link-success:active{
    background: #00a126;
    color: #ffffff;
}
.idioma{
    width: 25px;
    height: 25px;
    margin-top: 10px;
    margin-left: 5px;
}

.form-control-label{
    white-space: break-spaces;
}

.divLoading {
    margin: 0px;
    padding: 0px;
    position: fixed;
    right: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(90, 89, 89, 0.13);
    z-index: 999;
}


.modal-content {
    border-radius: 8px; /* Bordes redondeados */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra para darle profundidad */
    padding: 20px; /* Espacio interno */
    background-color: #f9f9f9; /* Color de fondo claro */
  }

  /* Estilos para el encabezado del modal */
  .modal-header {
    background-color: #007bff; /* Color de fondo azul */
    color: #fff; /* Texto blanco */
    border-bottom: 1px solid #e9ecef; /* Línea de separación */
    padding: 10px 15px; /* Espacio interno */
    border-radius: 8px 8px 0 0; /* Bordes redondeados en la parte superior */
  }

  /* Estilos para el cuerpo del modal */
  .modal-body {
    margin-top: 20px; /* Espacio superior */
  }

  /* Estilos para los botones */
  .btn-primary {
    background-color: #007bff; /* Color de fondo azul */
    border-color: #007bff; /* Color del borde */
    color: #fff; /* Texto blanco */
    margin-right: 10px; /* Espacio entre botones */
  }

  .btn-primary:hover {
    background-color: #333; /* Color de fondo azul oscuro al pasar el ratón */
    border-color: #333; /* Color del borde al pasar el ratón */
  }

  /* Estilos para el textarea */
  textarea {
    border: 1px solid #ced4da; /* Color del borde */
    border-radius: 4px; /* Bordes redondeados */
    padding: 10px; /* Espacio interno */
    resize: vertical; /* Permitir cambiar el tamaño verticalmente */
  }

  /* Estilos para la sección de comentarios */
  .comments-section {
    margin-top: 30px; /* Espacio superior */
  }

  .comments-section h5 {
    margin-bottom: 15px; /* Espacio inferior */
    color: #333; /* Color del texto */
  }

  /* Estilos para la tabla de comentarios */
  .table {
    width: 100%; /* Ancho completo */
    margin-bottom: 20px; /* Espacio inferior */
    border-collapse: collapse; /* Colapsar bordes */
  }

  .table th, .table td {
    padding: 10px; /* Espacio interno */
    text-align: center; /* Alinear texto a la izquierda */
    border-bottom: 1px solid #e9ecef; /* Línea de separación */
  }

  .table th {
    background-color: lightslategray; /* Color de fondo gris oscuro */
    color: #fff !important; /* Texto blanco */
    font-weight: bold; /* Texto en negrita */
  }

.table tbody tr:hover {
    background-color: #f1f1f1; /* Color de fondo al pasar el ratón */
  }

.grid-search-form-table {
    float: right;
}

#side-bar {
    position: fixed; /* Cambiar de fixed a relative */
}

label {
    padding: 5px!important;
}

a {
    color: darkblue!important;
}

th a {
    color: white!important;
}

.grid-details-button {
    margin-right: 10px;
}

footer.main-footer {
    margin-left: 0px !important;
    bottom: 0;
    width: 100%;
}

.grid-cell-man_tickets-id {
    padding: 5px !important;
}

.btn.btn-sm.btn-outline-secondary.me-1 {
    margin-right: 5px !important;
}

.grid-pagination-button.btn.btn-sm.btn-outline-primary {
    margin: 2px !important;
}

.grid-pagination-button-current.btn.btn-primary.btn-sm {
    margin: 2px !important;
}

.grid-search-button.btn.btn-outline-info {
    margin-right: 5px !important;
}

.btn-outline-secondary {
    border-color: #007bff !important;
    margin-right: 5px !important;
    margin-bottom: 5px !important;
}

.btn-outline-primary {
    border-color: #007bff !important;
    margin-right: 5px !important;
    margin-bottom: 5px !important;
}

.modal-header {
    background-color: lightslategrey !important;
}

button.form-control:hover {
  background-color: #28a745;
  color: white;
  cursor: pointer;
}

.accordion summary {
  padding: 12px;
  background: lightslategrey;
  color: white;
  cursor: pointer;
  font-weight: bold;
}

.accordion #grid-container-cat {
  padding: 12px;
  background: #f1f1f1;
}

.content-wrapper {
    background-color: snow !important;
}

.dropdown-item {
    font-size: medium;
}

.dropdown-item:hover {
    font-weight: 700;
}

.table-wrapper {
  width: 98%;
  height: 75vh; /* Altura de ejemplo */
  overflow: auto;
}

.table-wrapper table thead {
  position: -webkit-sticky; /* Safari... */
  position: sticky;
  top: 0;
  left: 0;
}

.grid-cell-man_tickets-id {
    min-width: 100px;
}

#csv_file {
    padding: 0;
}

h3.card-header {
    padding-top: 8px !important;
    background-color: lightslategrey !important;
    color: white !important;
}

.fas.fa-angle-right {
    padding-top: 3px;
}

.dropdown-item {
    margin-bottom: 5px;
}

.form-control {
    margin-right: 5px;
}

#upload_result {
  width: 100%;
  padding: 10px;
  float: right;
}
tr:has(.crm-error) {
  background-color: #c86e6e !important;
}

.comment-error {
  background-color: #c86e6e !important;
  color: white;
}
.comment-error a {
  color: #fff;
}

.thead-grey {
    padding-top: 8px !important;
    background-color: lightslategrey !important;
    color: white !important;
}

tr td {
  font-size:80%;
}

.grid-item label {
  font-weight: 400 !important;
}

.grid-cell-man_tickets-id.grid-td {
    vertical-align: middle;
}

.toggle-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toggle-container input {
    appearance: none;
    width: 40px;
    height: 22px;
    background: #ccc;
    border-radius: 50px;
    position: relative;
    cursor: pointer;
    transition: 0.3s;
}

.toggle-container input::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    top: 2px;
    left: 2px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
}

.toggle-container input:checked {
    background: #0d6efd;
}

.toggle-container input:checked::before {
    transform: translateX(18px);
}

.toggle-container label {
    cursor: pointer;
    font-weight: 500;
}

.table-controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0.5rem 1rem;
}

.page-size-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-size-label {
  font-size: 0.9rem;
  color: #555;
  font-weight: 500;
}

.page-size-select {
  padding: 0.35rem 0.6rem;
  font-size: 0.9rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-size-select:focus {
  outline: none;
  border-color: #3b82f6;}