@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background: linear-gradient(180deg, #f2f5f9 0%, #e6ebf1 100%);
  color: #2b2b2b;
  min-height: 150vh;
}

.yo {
  max-width: 1600px;
  margin: 3rem auto;
  padding: 2rem 3rem;
}

.bg-white {
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
}

.bg-white:hover {
  transform: translateY(-3px);
}


h3, .h3 {
  font-weight: 700;
  color: #1c1e21;
}

.header-section {
  border-bottom: 3px solid #eaeaea;
  padding-bottom: 1.5rem;
  margin-bottom: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-section h3 i {
  color: #0d6efd;
  margin-right: 10px;
}

#btnAdd {
  background: linear-gradient(90deg, rgb(237, 10, 98), rgb(207, 122, 155));
  border: none;
  color: white;
  font-weight: 600;
  padding: 0.8rem 1.6rem;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

#btnAdd:hover {
  background: linear-gradient(90deg, rgb(247, 54, 128), rgb(185, 129, 151));
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(40, 167, 69, 0.3);
}

#btnAdd i {
  margin-right: 8px;
}


.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.export-label {
  font-size: 1rem;
  color: #6c757d;
  font-weight: 500;
}

.btn-group .btn {
  border-radius: 8px !important;
  padding: 6px 14px;
  font-weight: 500;
  transition: 0.2s;
}

.btn-group .btn:hover {
  background-color: #dfe3e8;
  color: #000;
}

.input-group {
  width: 280px;
}

.input-group input {
  border-radius: 8px !important;
  padding: 8px 12px;
  font-size: 0.95rem;
}

.table-container {
  border-radius: 14px;
  overflow: hidden;
  background-color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.table {
  width: 100%;
  margin-bottom: 0;
}

.table thead {
  background-color: #f1f3f5;
  font-weight: 600;
  color: #343a40;
}

.table thead th {
  padding: 1.2rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.table tbody td {
  padding: 1rem;
  vertical-align: middle;
}

.table tbody tr:hover {
  background-color: #f8f9fa;
  transition: 0.25s;
}


.btn-action {
  border: none;
  background: transparent;
  font-size: 1rem;
  margin: 0 4px;
  transition: 0.25s;
}



.btn-action:hover {
  transform: scale(1.2);
}


.dataTables_wrapper .dataTables_paginate .paginate_button {
  background: #f1f3f5;
  border-radius: 8px;
  margin: 2px;
  padding: 6px 12px;
  transition: 0.2s;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: rgb(240, 56, 126);
  color: white !important;
}

.dataTables_empty {
  padding: 2rem !important;
  font-size: 0.5rem;
  color: #777;
  text-align: center;
  background-color: #fafafa;
}


section.yo {
  animation: fadeInUp 0.6s ease-in-out;
}

.form-group {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
}

/* label{
  width: 9%;
} */

.form-group label {
  font-weight: 600;
  color: #343a40;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-control {
  appearance: none;
  background: #ffffff;
  border: 2px solid #dee2e6;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 500;
  color: #212529;
  outline: none;
  transition: all 0.25s ease;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
  cursor: pointer;
}


.form-control:hover {
  border-color: rgb(237, 10, 98);
  ;
  box-shadow: 0 4px 10px rgba(40, 167, 69, 0.15);
}

input[type="date"] {
  cursor: pointer;
}




.select2-container--default .select2-selection--single {
  background: #ffffff;
  border: 2px solid #dee2e6;
  border-radius: 10px;
  height: 48px;
  padding: 0.3rem 1rem;
  display: flex;
  align-items: center;
  transition: all 0.25s ease;
}

.select2-container--default .select2-selection--single:hover {
  border-color: rgb(237, 10, 98);
  box-shadow: 0 4px 10px rgba(40, 167, 69, 0.15);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 48px;
  right: 12px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #212529;
  font-weight: 500;
  font-size: 1rem;
}

.select2-container--default.select2-container--open .select2-selection--single {
  border-color: #198754;
  box-shadow: 0 0 0 4px rgba(25, 135, 84, 0.25);
}

/* Opciones del dropdown */
.select2-dropdown {
  border: 2px solid #198754;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.select2-results__option {
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  color: #212529;
  transition: 0.2s;
}

.select2-results__option--highlighted {
  background-color: rgb(237, 10, 98) !important;
  color: #fff !important;
}

.table tbody tr {
  transition: all 0.25s ease;
}

.table tbody tr:hover {
  background-color: rgba(207, 122, 155, 0.068);
  transform: scale(1.002);
}

.dt-buttons {
  position: absolute;

}

.dt-buttons .btn {
  border: none;
  background: #343a40;
  color: white;
  font-weight: 500;
  border-radius: 8px;
  padding: 0.6rem 1.1rem;
  margin-right: 6px;
  transition: all 0.25s ease;
}

.dt-buttons .btn:hover {
  background: rgb(237, 10, 98);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(25, 135, 84, 0.25);
}

.table-container {
  border-radius: 14px;
  overflow: hidden;
  background-color: white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
}

.table-container:hover {
  transform: translateY(-3px);
}


.dt-buttons .buttons-excel {
  background: linear-gradient(90deg, #198754, #28a745);
}

.dt-buttons .buttons-excel:hover {
  background: linear-gradient(90deg, #157347, #198754);
  box-shadow: 0 4px 12px rgba(25, 135, 84, 0.35);
  transform: translateY(-2px);
}


.dt-buttons .buttons-pdf {
  background: linear-gradient(90deg, #dc3545, #c82333);
}

.dt-buttons .buttons-pdf:hover {
  background: linear-gradient(90deg, #b52a38, #dc3545);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.35);
  transform: translateY(-2px);
}

.dataTables_empty {
  padding: 3rem 1rem !important;
  color: #888;
  background: #f9fafb;
  border-radius: 12px;
  font-size: 1rem;
}

.dataTables_empty::before {
  content: "📦";
  display: block;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  opacity: 0.6;
}

/* //////////////////////////// Formulario //////////////////////////////////*/

/* ...existing styles... */
.sucursal-select {
  width: 300px;
  max-width: 100%;
}

.controls {
  gap: .5rem;
}



/* Estilos para formularios */
.form-floating {
  margin-bottom: 1.5rem;
}

.input-group {
  position: relative;
  width: 100%;
}

.input-group .form-control {
  height: 45px;
  padding: 0.75rem 1rem;
  font-size: 14px;
  border-radius: 10px;
  border: 2px solid #ced4da;
  transition: border-color 0.15s ease-in-out;
}

.input-group .form-control:focus {
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.input-group .form-control:hover {

  border-color: rgb(237, 10, 98);
  box-shadow: 0 4px 10px rgba(40, 167, 69, 0.15);

}

.input-group-append {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 4;
}

.input-group-text {
  height: 45px;
  background-color: #f8f9fa;
  border: 1px solid #ced4da;
  border-left: none;
  border-radius: 0 4px 4px 0;
  padding: 0.75rem;
}

.input-group-text .fa {
  color: #6c757d;
  width: 16px;
  text-align: center;
}

/* Estilos para el select */
.form-group select {
  height: 45px;
  padding: 0.75rem 1rem;
  font-size: 14px;
  width: 100%;
  border-radius: 4px;
  border: 1px solid #ced4da;
  background-color: white;
}

/* Estilos para checkbox */
.form-check {
  padding: 1rem;
  margin-top: 0.5rem;

  border-radius: 4px;
}

.form-check-input {
  margin-right: 0.5rem;
}

#ajuste {
  transform: scale(2);
  margin-right: -3px;
}


.form-check-label {
  color: #495057;
}

/* Estilos para estados de contraseña */
#password-strength-status,
#password-confirm-status {
  font-size: 12px;
  margin-top: -1rem;
  margin-bottom: 1rem;
  padding: 0.5rem;
  border-radius: 4px;
}

.weak-password {
  color: #dc3545;
  background-color: rgba(220, 53, 69, 0.1);
}

.medium-password {
  color: #ffc107;
  background-color: rgba(255, 193, 7, 0.1);
}

.strong-password {
  color: #28a745;
  background-color: rgba(40, 167, 69, 0.1);
}






@media (max-width: 576px) {

  .input-group .form-control,
  .input-group-text,
  .form-group select {
    height: 40px;
    font-size: 13px;
  }
}



@media (max-width: 992px) {
  .header-section {
    flex-direction: column;
    align-items: flex-start;
  }

  #btnAdd {
    margin-top: 1rem;
    width: 100%;
  }

  .toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .input-group {
    width: 100%;
  }
}