/*//////////////////////////////////////////////////////////////////
[ FONT ]*/

@font-face {
  font-family: Poppins-Regular;
  src: url('../fonts/poppins/Poppins-Regular.ttf');
}

@font-face {
  font-family: Poppins-Medium;
  src: url('../fonts/poppins/Poppins-Medium.ttf');
}

@font-face {
  font-family: Poppins-Bold;
  src: url('../fonts/poppins/Poppins-Bold.ttf');
}

@font-face {
  font-family: Poppins-SemiBold;
  src: url('../fonts/poppins/Poppins-SemiBold.ttf');
}




/*//////////////////////////////////////////////////////////////////
[ RESTYLE TAG ]*/

* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

body,
html {
  height: 100%;
  font-family: Poppins-Regular, sans-serif;
}

/*---------------------------------------------*/
a {
  font-family: Poppins-Regular;
  font-size: 14px;
  line-height: 1.7;
  color: #666666;
  margin: 0px;
  transition: all 0.4s;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
}

a:focus {
  outline: none !important;
}

a:hover {
  text-decoration: none;
  color: #6a7dfe;
  color: -webkit-linear-gradient(left, #21d4fd, #b721ff);
  color: -o-linear-gradient(left, #21d4fd, #b721ff);
  color: -moz-linear-gradient(left, #21d4fd, #b721ff);
  color: linear-gradient(left, #21d4fd, #b721ff);
}

/*---------------------------------------------*/
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0px;
}

p {
  font-family: Poppins-Regular;
  font-size: 14px;
  line-height: 1.7;
  color: #666666;
  margin: 0px;
}

ul,
li {
  margin: 0px;
  list-style-type: none;
}


/*---------------------------------------------*/
input {
  outline: none;
  border: none;
}

textarea {
  outline: none;
  border: none;
}

textarea:focus,
input:focus {
  border-color: transparent !important;
}

input:focus::-webkit-input-placeholder {
  color: transparent;
}

input:focus:-moz-placeholder {
  color: transparent;
}

input:focus::-moz-placeholder {
  color: transparent;
}

input:focus:-ms-input-placeholder {
  color: transparent;
}

textarea:focus::-webkit-input-placeholder {
  color: transparent;
}

textarea:focus:-moz-placeholder {
  color: transparent;
}

textarea:focus::-moz-placeholder {
  color: transparent;
}

textarea:focus:-ms-input-placeholder {
  color: transparent;
}

input::-webkit-input-placeholder {
  color: #adadad;
}

input:-moz-placeholder {
  color: #adadad;
}

input::-moz-placeholder {
  color: #adadad;
}

input:-ms-input-placeholder {
  color: #adadad;
}

textarea::-webkit-input-placeholder {
  color: #adadad;
}

textarea:-moz-placeholder {
  color: #adadad;
}

textarea::-moz-placeholder {
  color: #adadad;
}

textarea:-ms-input-placeholder {
  color: #adadad;
}

/*---------------------------------------------*/
button {
  outline: none !important;
  border: none;
  background: transparent;
}

button:hover {
  cursor: pointer;
}

iframe {
  border: none !important;
}


/*//////////////////////////////////////////////////////////////////
[ Utility ]*/
.txt1 {
  font-family: Poppins-Regular;
  font-size: 13px;
  color: #666666;
  line-height: 1.5;
}

.txt2 {
  font-family: Poppins-Regular;
  font-size: 13px;
  color: #4c5667;
  line-height: 1.5;
}

/*//////////////////////////////////////////////////////////////////
[ login ]*/

.limiter {
  width: 100%;
  margin: 0 auto;
}

.container-login100 {
  width: 100%;
  min-height: 100vh;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 15px;
  background: #0b053f;
  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #24243e, #302b63, #0f0c29);
  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 50%, #475569 75%, #64748b 100%);
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.wrap-login100 {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  padding: 60px 45px 40px 45px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}


/*------------------------------------------------------------------
[ Form ]*/

.login100-form {
  width: 100%;
}

.login100-form-title {
  display: block;
  font-family: Poppins-Bold;
  font-size: 30px;
  color: #4c5667;
  line-height: 1.2;
  text-align: center;
}

.login100-form-title i {
  font-size: 60px;
}

/*------------------------------------------------------------------
[ Input ]*/

.wrap-input100 {
  width: 100%;
  position: relative;
  border-bottom: 2px solid #adadad;
  margin-bottom: 17px;
}

.input100 {
  font-family: Poppins-Regular;
  font-size: 15px;
  color: #555555;
  line-height: 1.2;

  display: block;
  width: 100%;
  height: 45px;
  background: transparent;
  padding: 0 5px;
}

/*---------------------------------------------*/
.focus-input100 {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.focus-input100::before {
  content: "";
  display: block;
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;

  background: #6a7dfe;
  background: -webkit-linear-gradient(left, #21d4fd, #b721ff);
  background: -o-linear-gradient(left, #21d4fd, #b721ff);
  background: -moz-linear-gradient(left, #21d4fd, #b721ff);
  background: linear-gradient(left, #21d4fd, #b721ff);
}

.focus-input100::after {
  font-family: Poppins-Regular;
  font-size: 15px;
  color: #999999;
  line-height: 1.2;

  content: attr(data-placeholder);
  display: block;
  width: 100%;
  position: absolute;
  top: 16px;
  left: 0px;
  padding-left: 5px;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.input100:focus+.focus-input100::after {
  top: -15px;
}

.input100:focus+.focus-input100::before {
  width: 100%;
}

.has-val.input100+.focus-input100::after {
  top: -15px;
}

.has-val.input100+.focus-input100::before {
  width: 100%;
}

/*---------------------------------------------*/
.btn-show-pass {
  font-size: 15px;
  color: #999999;

  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  position: absolute;
  height: 100%;
  top: 0;
  right: 0;
  padding-right: 5px;
  cursor: pointer;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.btn-show-pass:hover {
  color: #6a7dfe;
  color: -webkit-linear-gradient(left, #21d4fd, #b721ff);
  color: -o-linear-gradient(left, #21d4fd, #b721ff);
  color: -moz-linear-gradient(left, #21d4fd, #b721ff);
  color: linear-gradient(left, #21d4fd, #b721ff);
}

.btn-show-pass.active {
  color: #6a7dfe;
  color: -webkit-linear-gradient(left, #21d4fd, #b721ff);
  color: -o-linear-gradient(left, #21d4fd, #b721ff);
  color: -moz-linear-gradient(left, #21d4fd, #b721ff);
  color: linear-gradient(left, #21d4fd, #b721ff);
}



/*------------------------------------------------------------------
[ Button ]*/
.container-login100-form-btn {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 13px;
}

.wrap-login100-form-btn {
  width: 100%;
  display: block;
  position: relative;
  z-index: 1;
  border-radius: 25px;
  overflow: hidden;
  margin: 0 auto;
}

.login100-form-bgbtn {
  position: absolute;
  z-index: -1;
  width: 300%;
  height: 100%;
  background: #005bea;
  background: -webkit-linear-gradient(right, #00c6fb, #005bea, #00c6fb, #005bea);
  background: -o-linear-gradient(right, #00c6fb, #005bea, #00c6fb, #005bea);
  background: -moz-linear-gradient(right, #00c6fb, #005bea, #00c6fb, #005bea);
  background: linear-gradient(right, #00c6fb, #005bea, #00c6fb, #005bea);
  top: 0;
  left: -100%;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.login100-form-btn {
  font-family: Poppins-Medium;
  font-size: 15px;
  color: #fff;
  line-height: 1.2;
  text-transform: uppercase;

  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  width: 100%;
  height: 50px;
}

.wrap-login100-form-btn:hover .login100-form-bgbtn {
  left: 0;
}


/*------------------------------------------------------------------
[ Responsive ]*/

@media (max-width: 576px) {
  .wrap-login100 {
    padding: 77px 15px 33px 15px;
  }
}



/*------------------------------------------------------------------
[ Alert validate ]*/

.validate-input {
  position: relative;
}

.alert-validate::before {
  content: attr(data-validate);
  position: absolute;
  max-width: 70%;
  background-color: #fff;
  border: 1px solid #c80000;
  border-radius: 2px;
  padding: 4px 25px 4px 10px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  right: 0px;
  pointer-events: none;

  font-family: Poppins-Regular;
  color: #c80000;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;

  visibility: hidden;
  opacity: 0;

  -webkit-transition: opacity 0.4s;
  -o-transition: opacity 0.4s;
  -moz-transition: opacity 0.4s;
  transition: opacity 0.4s;
}

.alert-validate::after {
  content: "\f06a";
  font-family: FontAwesome;
  font-size: 16px;
  color: #c80000;

  display: block;
  position: absolute;
  background-color: #fff;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  right: 5px;
}

.alert-validate:hover:before {
  visibility: visible;
  opacity: 1;
}

@media (max-width: 992px) {
  .alert-validate::before {
    visibility: visible;
    opacity: 1;
  }
}



/**
 * Estilos para lista de sucursales (Modern Card Design)
 */

.branch-list-wrapper {
  max-height: 300px;
  overflow-y: auto;
  padding: 5px;
  margin-top: 20px;
}

/* Scrollbar personalizado */
.branch-list-wrapper::-webkit-scrollbar {
  width: 6px;
}

.branch-list-wrapper::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.branch-list-wrapper::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.branch-list-wrapper::-webkit-scrollbar-thumb:hover {
  background: #b3b3b3;
}

.branch-card {
  display: flex;
  align-items: center;
  padding: 15px;
  margin-bottom: 12px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  animation: fadeInUp 0.4s ease;
  animation-fill-mode: both;
}

.branch-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-color: #6a7dfe;
}

.branch-card.active {
  background: #f0f7ff;
  /* Azul muy claro */
  border-color: #6a7dfe;
  box-shadow: 0 4px 12px rgba(106, 125, 254, 0.2);
}

.branch-icon {
  width: 45px;
  height: 45px;
  background: #f8f9fa;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
  font-size: 20px;
  color: #6c757d;
  transition: all 0.3s;
}

.branch-card.active .branch-icon {
  background: #6a7dfe;
  color: #ffffff;
}

.branch-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.branch-name {
  font-family: Poppins-SemiBold;
  font-size: 14px;
  color: #333;
  margin-bottom: 2px;
}

.branch-code {
  font-size: 11px;
  color: #888;
  background: #f1f1f1;
  padding: 2px 6px;
  border-radius: 4px;
  align-self: flex-start;
  font-family: Poppins-Medium;
}

.branch-check {
  font-size: 22px;
  color: #e0e0e0;
  margin-left: 10px;
  transition: all 0.3s;
}

.branch-card.active .branch-check {
  color: #4CAF50;
  /* Verde éxito */
  transform: scale(1.1);
}

/* Stagger animations for cards */
.branch-card:nth-child(1) {
  animation-delay: 0.1s;
}

.branch-card:nth-child(2) {
  animation-delay: 0.15s;
}

.branch-card:nth-child(3) {
  animation-delay: 0.2s;
}

.branch-card:nth-child(4) {
  animation-delay: 0.25s;
}

.branch-card:nth-child(5) {
  animation-delay: 0.3s;
}

/* Radio icon */
.radio-icon {
  cursor: pointer;
  font-size: 20px;
  margin: 0;
  display: inline-block;
  transition: transform 0.2s ease;
}

.radio-icon:hover {
  transform: scale(1.2);
}

/* Badge de código */
.badge {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 4px;
}

.badge-secondary {
  background-color: #6c757d;
}

/* Link de contraseña olvidada */
#forgot_password_link a {
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

#forgot_password_link a:hover {
  text-decoration: underline;
  color: #0056b3 !important;
}

/* Modal de contraseña olvidada */
#modal_forgot_password .modal-content {
  border-radius: 10px;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

#modal_forgot_password .modal-header {
  border-radius: 10px 10px 0 0;
  border-bottom: none;
}

#modal_forgot_password .modal-body {
  padding: 20px 30px;
}

#modal_forgot_password .form-control {
  border-radius: 6px;
  border: 2px solid #e0e0e0;
  padding: 10px 15px;
  transition: border-color 0.3s ease;
}

#modal_forgot_password .form-control:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

#modal_forgot_password .alert {
  border-radius: 6px;
  border: none;
}

#modal_forgot_password .alert-info {
  background-color: #e3f2fd;
  color: #1565c0;
}

#modal_forgot_password .alert-warning {
  background-color: #fff3e0;
  color: #e65100;
}

/* Botones del modal */
#modal_forgot_password .btn {
  border-radius: 6px;
  padding: 8px 20px;
  font-weight: 600;
  transition: all 0.3s ease;
}

#modal_forgot_password .btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
}

#modal_forgot_password .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

#modal_forgot_password .btn-secondary {
  background-color: #6c757d;
  border: none;
}

#modal_forgot_password .btn-secondary:hover {
  background-color: #5a6268;
}

/* Responsive */
@media (max-width: 768px) {
  .wrap-login100 {
    padding: 50px 30px 30px 30px;
  }

  #modal_forgot_password .modal-body {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .wrap-login100 {
    padding: 40px 20px 30px 20px;
    border-radius: 10px;
  }

  .login100-form-title {
    font-size: 24px;
  }

  /* Adjust branch cards for small screens */
  .branch-card {
    padding: 10px;
  }

  .branch-icon {
    width: 35px;
    height: 35px;
    font-size: 16px;
    margin-right: 10px;
  }

  .branch-name {
    font-size: 13px;
  }

  .branch-code {
    font-size: 10px;
  }

  .branch-check {
    font-size: 18px;
    margin-left: 5px;
  }

  /* Badge and Links */
  .badge {
    font-size: 10px;
    padding: 3px 6px;
  }

  #forgot_password_link a {
    font-size: 13px;
  }

  .container-login100-form-btn {
    padding-top: 10px;
  }

  /* Logo adjustment */
  .login100-form-title img {
    max-width: 150px;
    height: auto;
  }
}

/* Animaciones */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.5s ease forwards;
}

.animate-fade-in-right {
  animation: fadeInRight 0.5s ease forwards;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.5s ease forwards;
}



/* Mejoras visuales adicionales */
.text-success {
  color: #4CAF50 !important;
}

.text-muted {
  color: #6c757d !important;
}

.text-primary {
  color: #667eea !important;
}

/* Thead light */
.thead-light th {
  background-color: #f8f9fa;
  color: #495057;
}