﻿@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap");
body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
}

#pdf-js-viewer {
  width: 100%;
  margin-top: 20px;
  height: calc(100vh - 150px);
}

@keyframes toast {
  0% {
    top: 60%;
  }
  100% {
    top: 50%;
  }
}
@keyframes toast_hide {
  from {
    top: 50%;
    opacity: 1;
  }
  to {
    top: 40%;
    opacity: 0;
  }
}
.toast {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1000;
  transform: translate(-50%, -50%);
  font-size: 20px;
  padding: 20px;
}
.toast.active {
  animation-name: toast;
  animation-duration: 0.5s;
  animation-timing-function: ease;
}
.toast.hide_toast {
  animation-name: toast_hide;
  animation-duration: 0.5s;
  animation-timing-function: ease;
}

.link {
  position: relative;
  height: auto;
  margin: auto;
  display: inline-block;
  background: #0582BE;
  border-radius: 40px;
  border: 1px solid #0582BE;
  padding: 5px 40px;
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s ease;
}
.link:hover {
  background: #0C1632;
  text-decoration: none;
  color: #fff;
  border-color: #153667;
}
.link.secundary {
  background: transparent;
  border: 1px solid #0582BE;
  color: #0582BE;
}
.link.secundary:hover {
  background: #0582BE;
  color: #fff;
}
.link.small {
  font-size: 12px;
  padding: 7px 20px;
}
.link.red {
  color: red;
  border-color: red;
}
.link.red:hover {
  background-color: red;
}

.modal .modal-body {
  padding: 30px 20px;
}
.modal .modal_img {
  position: absolute;
  left: 50%;
  top: -150px;
  transform: translateX(-50%);
}
.modal p {
  font-size: 24px;
  margin-bottom: 20px;
  color: #0582BE;
}

.viewer {
  height: 500px;
  overflow-y: scroll;
  background: rgba(0, 0, 0, 0.1);
}
.viewer canvas {
  width: 100%;
}

.app {
  display: grid;
  grid-template-columns: 290px auto;
  min-height: 100vh;
}
.app.front_app {
  grid-template-columns: initial;
}
.app.front_app .sidebar {
  position: absolute;
  width: 240px;
  height: auto;
  grid-column: initial;
  background: none;
}
.app.front_app .main {
  grid-column: initial;
  background: #153667;
}
.app.front_app .main_content h1 {
  text-align: center;
  font-weight: bold;
  font-size: 24px;
  color: #fff;
  text-transform: uppercase;
  margin-top: 20px;
  margin-bottom: 30px;
}
.app.front_app .main_content table.table thead th {
  border-top: none;
  border-bottom-color: #0582BE;
  color: #0582BE;
  font-size: 18px;
}
.app.front_app .main_content table.table tbody td {
  color: #616161;
  border: none;
}
.app.front_app .main_content table.table tbody td .state {
  position: relative;
  width: 100%;
  height: 8px;
  background: rgb(169, 169, 169);
  display: block;
}
.app.front_app .main_content table.table tbody td .state:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  height: 100%;
}
.app.front_app .main_content table.table tbody td .state.started:after {
  background-color: rgb(84, 84, 84);
  width: 20%;
}
.app.front_app .main_content table.table tbody td .state.created:after {
  background-color: #0582BE;
  width: 20%;
}
.app.front_app .main_content table.table tbody td .state.declined:after {
  background-color: red;
  width: 100%;
}
.app.front_app .main_content table.table tbody td .state.processing:after {
  background-color: orange;
  width: 50%;
}
.app.front_app .main_content table.table tbody td .state.successful:after {
  background-color: green;
  width: 100%;
}
.app.front_app .main_content table.table tbody td.started {
  color: rgb(84, 84, 84);
}
.app.front_app .main_content table.table tbody td.created {
  color: #0582BE;
}
.app.front_app .main_content table.table tbody td.declined {
  color: red;
}
.app.front_app .main_content table.table tbody td.processing {
  color: orange;
}
.app.front_app .main_content table.table tbody td.successful {
  color: green;
}
.app .logo {
  position: fixed;
  width: 250px;
  z-index: 100;
  box-shadow: 7px 0 14px rgba(0, 0, 0, 0.29);
}
.app .logo img {
  width: 100%;
}
.app .main {
  position: relative;
  grid-column: 2/3;
}
.app .main .top {
  background: rgb(36, 135, 227);
  background: linear-gradient(133deg, rgb(36, 135, 227) 55%, rgb(89, 182, 177) 100%);
  padding: 5px 10px;
  color: #fff;
  text-align: right;
}
.app .main .top a {
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
}
.app .main .top .user, .app .main .top .credit, .app .main .top .logout {
  display: inline;
  margin: 0 10px;
  text-transform: uppercase;
}
.app .main .top .user a {
  font-weight: bold;
  transition: all 0.2s ease;
}
.app .main .top .user a:hover {
  color: #153667;
}
.app .main .top .credit {
  font-weight: lighter;
}
.app .main .top .logout {
  padding-left: 20px;
  border-left: 1px solid #fff;
}
.app .main .top .logout form {
  display: inline;
}
.app .main .top .logout button {
  border: none;
  background: none;
  text-transform: uppercase;
  color: #fff;
  transition: all 0.2s ease;
}
.app .main .top .logout button:hover {
  color: #153667;
}
.app .main .sub_top {
  padding: 20px 0;
  padding-left: 320px;
  background: rgba(5, 130, 190, 0.5);
  display: flex;
  align-items: center;
  justify-content: end;
}
.app .main .sub_top p {
  color: #fff;
  margin-bottom: 0;
  font-size: 25px;
}
.app .main .sub_top .suppot_link {
  padding-right: 20px;
}
.app .main .sub_top .suppot_link a {
  color: #fff;
}
.app .main header {
  background: #153667;
  text-align: center;
  padding-top: 50px;
  padding-bottom: 40px;
}
.app .main header h1 {
  margin: 0;
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
}
.app .main header h1 span {
  display: block;
  font-weight: lighter;
  font-size: 80%;
  margin-bottom: 10px;
}
.app .main header p {
  color: #fff;
  font-size: 26px;
  font-weight: lighter;
}
.app .main header.main_route {
  padding-bottom: 150px;
}
.app .main .main_content {
  padding: 40px 100px;
}
.app .main .main_content header {
  margin: 0;
  margin-bottom: 30px;
  padding: 0;
  background: none;
}
.app .main footer {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: space-between;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #0582BE;
  z-index: 100;
  padding: 8px 0;
}
.app .main footer p {
  margin: 0;
  padding-left: 20px;
  color: #fff;
  text-transform: uppercase;
  font-size: 12px;
}
.app .main footer p a {
  font-size: 12px;
}
.app .main footer a {
  color: #fff;
  font-size: 14px;
  font-weight: lighter;
  padding-right: 20px;
}

.auth {
  display: grid;
  grid-template-columns: auto 550px;
  height: 100vh;
}
.auth .hero {
  position: relative;
  background: url("https://archivos-estaticos.s3.amazonaws.com/FirmaSeguro/login_bg.png") no-repeat;
  background-size: cover;
}
.auth .hero:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(158deg, rgb(89, 182, 177) 23%, rgb(36, 135, 227) 79%);
  z-index: -1;
}
.auth .hero h1, .auth .hero h2 {
  color: #fff;
}
.auth .hero h1 {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 54px;
  font-style: italic;
  letter-spacing: 0.1rem;
}
.auth .hero h2 {
  font-weight: lighter;
  font-style: italic;
  font-size: 32px;
  font-family: "Open Sans", sans-serif;
}
.auth .hero header {
  margin-top: 100px;
  margin-left: 100px;
  margin-bottom: 50px;
}
.auth .hero img.main_img {
  display: block;
  margin: auto;
}
.auth .hero img.bottom {
  position: absolute;
  bottom: 20px;
  right: 40px;
  width: 200px;
}
.auth .main_panel {
  background: #F1F1F1;
  box-shadow: 0 -5px 14px rgba(0, 0, 0, 0.3);
}
.auth .main_panel .login_logo {
  margin-bottom: 70px;
}
.auth .main_panel .login_logo img {
  width: 100%;
}
.auth .main_panel h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #0582BE;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 30px;
}
.auth .main_panel form {
  position: relative;
  width: 80%;
  margin: auto;
}
.auth .main_panel form input {
  margin-bottom: 20px;
  border: none;
}
.auth .main_panel form input[type=submit] {
  background: #E36924;
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
  transition: all 0.2s ease;
}
.auth .main_panel form input[type=submit]:hover {
  background: #0582BE;
}
.auth .main_panel .forgot_password {
  text-align: center;
  color: #0582BE;
  display: block;
}

.route {
  display: flex;
  justify-content: center;
  position: relative;
  top: -100px;
}
.route .item {
  text-align: center;
  padding: 0 50px;
}
.route .item a {
  text-decoration: none;
}
.route .item .img {
  display: block;
  margin: auto;
  width: 250px;
  height: 250px;
  background: #0582BE;
  border-radius: 100%;
  margin-bottom: 20px;
  transform: scale(1);
  transition: all 0.2s ease;
  display: flex;
  justify-content: center;
}
.route .item .img img {
  transform: scale(1);
  transition: all 0.2s ease;
}
.route .item .img:hover {
  transform: scale(1.05);
}
.route .item .img:hover img {
  transform: scale(0.9);
}
.route .item h3 {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 30px;
  color: #0582BE;
}
.route .item p {
  color: #0582BE;
  font-size: 20px;
}

#drop-area {
  border: 2px dashed #ccc;
  border-radius: 20px;
  width: 480px;
  margin: 50px auto;
  padding: 40px 20px;
  text-align: center;
}
#drop-area img.icon {
  margin-bottom: 20px;
  transition: all 0.6s ease;
}
#drop-area img.icon:hover {
  transform: scale(1.1);
}
#drop-area p {
  font-weight: bold;
  font-size: 20px;
  color: #878787;
  text-transform: uppercase;
}

#drop-area.highlight {
  border-color: #0582BE;
}

.files_form {
  margin-bottom: 10px;
}

#gallery {
  margin-top: 10px;
}

#gallery img {
  display: none;
  width: 150px;
  margin-bottom: 10px;
  margin-right: 10px;
  vertical-align: middle;
}

.button {
  display: inline-block;
  padding: 10px 40px;
  background: #fff;
  cursor: pointer;
  border-radius: 40px;
  border: 1px solid #0582BE;
  color: #0582BE;
  text-transform: uppercase;
  font-size: 12px;
}

.button:hover {
  background: #0582BE;
  color: #fff;
}

#fileElem {
  display: none;
}

.doc_confirm {
  padding-top: 50px;
  margin-bottom: 40px;
  text-align: center;
}
.doc_confirm h3 {
  color: #E36924;
  text-transform: uppercase;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
}
.doc_confirm .doc_name {
  font-size: 24px;
  color: #575757;
  text-transform: uppercase;
  display: block;
  text-decoration: none;
  margin-bottom: 20px;
}
.doc_confirm .doc_name i {
  color: #E36924;
  margin-left: 10px;
}
.doc_confirm a.small i {
  margin-left: 5px;
}

.signers_home {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: center;
  margin: auto;
  padding-top: 50px;
}
.signers_home .signers_home_item {
  margin: 0 20px;
  transition: all 0.3s ease;
}
.signers_home .signers_home_item:hover {
  transform: scale(1.05);
}
.signers_home .signers_home_item:hover span.img {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  background: #153667;
}
.signers_home .signers_home_item a {
  display: grid;
  text-decoration: none;
}
.signers_home .signers_home_item span.img {
  display: block;
  background: #0582BE;
  width: 200px;
  height: 200px;
  border-radius: 100%;
  margin-bottom: 20px;
  overflow: hidden;
  display: grid;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}
.signers_home .signers_home_item span.name {
  text-align: center;
  display: block;
  color: #0582BE;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 20px;
}
.signers_home .link_wrapper {
  grid-column: 1/-1;
  margin-top: 50px;
}

.signers_box {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  border-radius: 20px;
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: auto;
}
.signers_box h2 {
  background: #E36924;
  text-align: center;
  color: #fff;
  text-transform: uppercase;
  font-size: 18px;
  padding: 15px 0;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}
.signers_box .signers_box_inner {
  padding: 40px;
}
.signers_box .steps_header {
  margin-bottom: 20px;
  border-bottom: 1px solid #0582BE;
}
.signers_box .steps_header ul li {
  color: #8C8C8C;
  font-size: 18px;
  font-weight: bold;
}
.signers_box .steps_header ul li.active {
  color: #0582BE;
}
.signers_box .steps_header ul li.active span {
  border-color: #0582BE;
  background: #0582BE;
  color: #fff;
}
.signers_box .steps_header ul li span {
  border: 1px solid #8C8C8C;
  padding: 5px;
  padding-top: 1px;
  border-radius: 100%;
  width: 30px;
  height: 30px;
  display: inline-block;
  text-align: center;
  margin-right: 5px;
}
.signers_box .steps {
  position: relative;
  visibility: hidden;
  right: -100px;
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.2s ease;
}
.signers_box .steps.active {
  visibility: visible;
  opacity: 1;
  right: 0;
  height: auto;
}
.signers_box .steps .step_content {
  padding: 0 20px;
}
.signers_box .steps.step_1 .sender p {
  color: #0C1632;
}
.signers_box .steps.step_1 .sender .name {
  font-weight: bold;
  margin-bottom: 5px;
}
.signers_box .steps.step_1 .sender .id {
  font-weight: lighter;
}
.signers_box .steps.step_2 .signers_form .form-group {
  margin-bottom: 30px;
  padding: 20px;
  padding-bottom: 30px;
  border-bottom: 1px solid #0582BE;
}
.signers_box .steps.step_2 .signers_form label {
  color: #0C1632;
}
.signers_box .steps.step_2 .signers_form input {
  margin-bottom: 20px;
}
@keyframes show {
  from {
    opacity: 0;
    top: -30px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  }
  to {
    opacity: 1;
    top: 0;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
}
.signers_box .steps.step_2 .new_form_row {
  position: relative;
  animation-name: show;
  animation-duration: 0.8s;
}
.signers_box .steps.step_2 .time_term {
  margin-bottom: 40px;
  margin-top: 30px;
}
.signers_box .steps .buttons {
  padding-top: 20px;
  border-top: 1px solid #0582BE;
  display: grid;
  grid-template-columns: auto auto;
}
.signers_box .steps .buttons .right {
  justify-self: end;
}
.signers_box .steps .buttons .left {
  justify-self: start;
}

.signatures {
  padding-top: 40px;
}
.signatures form {
  margin-bottom: 30px;
}
.signatures form input.form-control {
  border-right: none;
}
.signatures form .input-group-append .input-group-text {
  background: none;
  border-left: none;
}

.signatures_detail header {
  display: grid;
  grid-template-columns: auto auto;
  border-bottom: 1px solid #0582BE;
}
.signatures_detail header h3 {
  justify-self: start;
  color: #0582BE;
  font-weight: bold;
}
.signatures_detail header a {
  justify-self: end;
  color: #0582BE;
  text-decoration: none;
  font-weight: bold;
}
.signatures_detail header a i {
  color: inherit;
}
.signatures_detail header a:hover {
  color: #153667;
}
.signatures_detail h4 {
  color: #0582BE;
  font-weight: bold;
  margin-bottom: 20px;
}
.signatures_detail .links_group {
  margin-bottom: 40px;
  margin-top: 30px;
}
.signatures_detail .links_group a:nth-of-type(1) {
  margin-right: 10px;
}
.signatures_detail .add_signer {
  margin-bottom: 40px;
}
.signatures_detail .signature_item {
  position: relative;
  background: #fff;
  box-shadow: 0 0 10px rgba(31, 31, 31, 0.3);
  border-radius: 20px;
  margin-bottom: 40px;
}
.signatures_detail .signature_item .box {
  padding: 25px 30px;
}
.signatures_detail .signature_item .box.doc {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
}
.signatures_detail .signature_item .box.doc a {
  color: #0582BE;
}
.signatures_detail .signature_item .box.doc .action {
  justify-self: self-end;
}
.signatures_detail .signature_item .box.doc .action a {
  position: relative;
  margin: 0 8px;
  color: #0582BE;
  display: inline-block;
  z-index: 10;
}
.signatures_detail .signature_item .box.doc .action a:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 100%;
  height: 100%;
  z-index: -1;
  border-radius: 100%;
  width: 40px;
  height: 40px;
  transition: all 0.2s ease;
  background: rgba(0, 0, 0, 0);
}
.signatures_detail .signature_item .box.doc .action a:hover {
  color: #153667;
}
.signatures_detail .signature_item .box.doc .action a:hover:before {
  background: rgba(0, 0, 0, 0.1);
  transform: translate(-50%, -50%) scale(1);
}
.signatures_detail .signature_item p {
  margin: 0;
  color: #575757;
}
.signatures_detail .signature_item ul li {
  margin-bottom: 12px;
  color: #575757;
}
.signatures_detail .signature_item .action_links {
  margin-top: 30px;
  text-align: center;
}
.signatures_detail .signature_item .action_links .link {
  padding: 5px;
  width: 40px;
  height: 40px;
  display: inline-block;
  font-size: 20px;
  margin: 0 5px;
}
.signatures_detail .signature_item .tag {
  text-align: center;
  padding: 10px 0;
  color: #fff;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}
.signatures_detail .signature_item .tag.declined {
  background-color: red;
}
.signatures_detail .signature_item .tag.success {
  background-color: green;
}
.signatures_detail .signature_item .tag.pending {
  background-color: orange;
}

.body_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #000;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
}
.body_overlay.active {
  opacity: 0.8;
  visibility: visible;
}

.panel {
  position: fixed;
  top: 0;
  right: -1500px;
  width: 70%;
  height: 100%;
  padding: 40px;
  background: #fff;
  box-shadow: -10px 0 20px rgba(0, 0, 0, 0.2);
  opacity: 0;
  z-index: 100;
  transition: all 0.2s ease;
  padding-bottom: 10px;
}
.panel.open {
  opacity: 1;
  right: 0;
}
.panel .close {
  position: absolute;
  top: 20px;
  right: 20px;
}

.edit_signer h3, .add_signer_panel h3 {
  color: #0582BE;
  font-weight: bold;
  margin-bottom: 20px;
}
.edit_signer form input, .edit_signer form select, .add_signer_panel form input, .add_signer_panel form select {
  margin-bottom: 20px;
}
.edit_signer form .link, .add_signer_panel form .link {
  position: relative;
  margin: auto;
  margin-top: 40px;
  display: block;
  height: auto;
  width: 300px;
}

.wallet .box {
  width: 400px;
  position: relative;
  margin: auto;
  margin-top: 50px;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  text-align: center;
}
.wallet .box h2 {
  background: #E36924;
  color: #fff;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  padding: 14px 0;
  text-transform: uppercase;
  font-weight: normal;
  font-size: 20px;
}
.wallet .box form {
  padding: 30px 40px;
  color: #575757;
}
.wallet .box form label {
  margin-bottom: 15px;
}
.wallet .box form .input-group-prepend {
  display: inline;
}
.wallet .box form .input-group-prepend .input-group-text {
  background: none;
  border: none;
  font-weight: bold;
  font-size: 20px;
}
.wallet .box form input {
  margin-bottom: 20px;
}
.wallet .box form button {
  height: auto;
  margin-bottom: 10px;
}
.wallet .box form button i {
  margin-left: 10px;
}

.box_front {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: auto;
  padding: 20px 29px;
  background: #fff;
  border-radius: 10px;
  border-top: 5px solid #E36924;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}
.box_front h2 {
  color: #0582BE;
  text-transform: uppercase;
  text-align: center;
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 5px;
}
.box_front p {
  text-align: center;
  font-size: 16px;
  color: #575757;
  margin-bottom: 20px;
}
.box_front input.form-control {
  margin-bottom: 20px;
  height: 50px;
  border-radius: 0;
  border: 0;
  border-left: 4px solid #153667;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}
.box_front input.form-control:focus {
  border-color: #E36924;
  border-left-width: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}
.box_front button {
  margin-top: 0px;
  margin-bottom: 10px;
}
.box_front .g-recaptcha div {
  position: relative;
  margin: auto;
}
.box_front .error {
  color: red;
  margin-top: 10px;
  display: none;
}
.box_front .error.active {
  display: block;
}
.box_front .policy {
  color: #0582BE;
  text-align: center;
  font-size: 16px;
  display: inline;
  margin-bottom: 10px;
}
.box_front .policy:hover {
  text-decoration: underline;
}

.box_front.review_doc {
  max-width: 810px;
  padding: 10px 30px;
}
.box_front.review_doc ul {
  margin-top: 20px;
  margin-bottom: 0 !important;
}
.box_front.review_doc ul li {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid #0582BE;
}
.box_front.review_doc ul li:last-child {
  border: none;
}
.box_front.review_doc ul li .action_links {
  display: flex;
}
.box_front.review_doc ul li .action_links a {
  margin-left: 10px;
}
.box_front.review_doc ul li .action_links a:nth-child(2) {
  width: 210px;
}
.box_front.review_doc ul li .doc_name {
  color: #0582BE;
}

.otp {
  text-align: center;
}
.otp input {
  display: inline;
  width: 50px;
  height: 80px;
  border: none;
  border-bottom: 3px solid #0582BE;
  margin: 0 10px;
  text-align: center;
  color: #0582BE;
  font-size: 35px;
  font-weight: bold;
}
.otp input:focus {
  outline: none;
}
.otp .link_group {
  margin-top: 40px;
}
.otp .link_group a {
  margin: 0 5px;
}
.otp .link_group .link.secundary {
  margin-bottom: 20px;
}
.otp .otp_error {
  color: red;
  margin-top: 10px;
  display: none;
}
.otp .otp_error.active {
  display: block;
}

.review .box_front {
  max-width: 600px;
}
.review .doc {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 10px 0;
  border-top: 1px solid #0582BE;
  border-bottom: 1px solid #0582BE;
}
.review .doc a {
  margin: initial;
  color: #0582BE;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
}
.review .signers h3 {
  color: #575757;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
}
.review .signers table {
  width: 100%;
}
.review .signers table thead {
  border-bottom: 1px solid #575757;
}
.review .signers table tbody {
  padding-top: 20px;
}
.review .signers table th, .review .signers table td {
  padding: 8px 0;
  color: #575757;
}
.review .signers table td {
  font-size: 14px;
}
.review .action {
  text-align: center;
  margin-top: 0px;
  padding-top: 20px;
  border-top: 1px solid #0582BE;
}

.billing {
  padding-top: 50px;
}
.billing .filter {
  margin-bottom: 40px;
}
.billing .back_link {
  margin-bottom: 20px;
  display: inline-block;
  color: #0582BE;
  font-weight: bold;
  text-decoration: none;
}
.billing .back_link i {
  font-size: 90%;
}
.billing .back_link:hover {
  color: #153667;
}
.billing .billing_table tr:last-child {
  background: none;
}
.billing .doc_list {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  border-radius: 20px;
}
.billing .doc_list h4 {
  color: #0582BE;
  margin-bottom: 15px;
  padding-bottom: 10px;
  font-size: 18px;
  font-weight: bold;
  border-bottom: 1px solid #0582BE;
}
.billing .doc_list ul li {
  margin-bottom: 8px;
}
.billing .doc_list ul li a {
  color: #575757;
}
.billing .doc_list ul li a i {
  font-size: 80%;
  margin-left: 10px;
}
.billing h3 {
  margin-bottom: 20px;
  color: #0582BE;
  font-weight: bold;
}

.add_contact {
  margin-bottom: 20px;
}

.error_msg {
  text-align: center;
}
.error_msg h2 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: bold;
}
.error_msg p {
  color: #fff;
  font-size: 20px;
}
.error_msg img {
  width: 100%;
  max-width: 500px;
  margin-bottom: 40px;
}

.loader {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 100vh;
  background: rgba(21, 54, 103, 0.9);
  z-index: 10000;
}
@keyframes loader {
  0% {
    width: 0px;
  }
  100% {
    width: 100px;
  }
}
.loader.active img {
  width: 100px;
}
.loader img {
  margin-bottom: 30px;
  width: 0px;
  animation: loader 0.2s;
}
.loader .text {
  color: #fff;
  font-weight: lighter;
  display: block;
}
.loader .paragraph {
  font-size: 1.6rem;
  color: #fff;
}

#signatureparent {
  color: darkblue;
}

/*This is the div within which the signature canvas is fitted*/
#signature {
  background-color: #fff;
}

.link.undo {
  position: relative;
  background: #fff;
}

.control_lower {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-top: 20px;
}

.control_lower .link {
  margin: 0;
}

canvas.jSignature {
  border: 2px dotted #ccc !important;
}

@media all and (max-width: 768px) {
  canvas.jSignature {
    height: 200px !important;
  }
}
@media all and (max-width: 500px) {
  .control_lower {
    flex-direction: column;
  }
  .control_lower .link {
    margin-bottom: 10px;
    text-align: center;
  }
  .control_lower .link.secundary {
    margin-bottom: 15px;
  }
}
.photo {
  border: 1px dotted #000;
  display: none;
  align-items: flex-start;
  column-gap: 10px;
  margin-top: 10px;
  padding: 10px;
}

.photo.on {
  display: flex;
}

.photo .left_col {
  width: 70%;
}

.photo .right_col {
  width: 30%;
}

#start-camera {
  margin: auto;
  display: block;
}

#video {
  height: 30%;
}

.delete_photo {
  display: none;
}

.nav_photo {
  display: flex;
  justify-content: center;
  column-gap: 10px;
  margin-top: 10px;
}

.nav_photo .link {
  margin: 0;
  transition: all 0.2s ease;
}

.msg_camera {
  position: absolute;
  transform: translateX(-50%);
  top: 50%;
  left: 50%;
}

@media all and (max-width: 768px) {
  .photo.on {
    display: block;
  }
  .photo .left_col {
    width: 100%;
  }
  .photo .right_col {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    width: 300px;
    top: 0px;
    left: 50%;
    transform: translateX(-50%) scale(0.7);
    background: #fff;
    padding: 20px;
    text-align: center;
    box-shadow: 0 0 20px rgba(51, 51, 51, 0.2);
    transition: all 0.2s ease-in-out;
  }
  .photo .right_col.on {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
  .photo .right_col .delete_photo {
    display: block;
    position: absolute;
    top: 0px;
    right: 0px;
    background: none;
    border: none;
  }
  .photo .right_col .delete_photo i {
    color: red;
  }
  #video {
    height: 190px;
  }
  .nav_photo {
    display: block;
  }
  .nav_photo .link {
    margin-bottom: 10px;
    width: 100%;
  }
  .nav_photo .link span {
    display: inline-block;
  }
  .preview_wrapper .link span {
    display: block;
  }
}
.preview_wrapper {
  text-align: center;
}

/* Upload signature */
#gallery-signature img {
  max-width: 200px;
}

#front_signature .tab-pane {
  padding-top: 20px;
}

#front_signature_tab {
  justify-content: center;
  border: none;
}

#front_signature_tab.nav-tabs .nav-item {
  border: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

#front_signature_tab.nav-tabs .nav-link {
  display: inline-block;
  padding: 10px 40px;
  background: #fff;
  cursor: pointer;
  border-radius: 40px;
  border: 1px solid #0582BE;
  color: #0582BE;
  text-transform: uppercase;
  font-size: 12px;
  margin: 0 5px;
  transition: all 0.2s ease;
}

#front_signature_tab.nav-tabs .nav-link:hover,
#front_signature_tab.nav-tabs .nav-link.active {
  background: #0582BE;
  color: #fff;
}

#front_signature_tab.nav-tabs .nav-link i {
  position: relative;
  font-size: 16px;
  top: 2px;
  margin-left: 3px;
}

.error_msg_hand {
  color: red !important;
  display: none;
  text-align: left !important;
  margin-top: 10px;
}

.error_msg_hand.active {
  display: block;
}

.save_upload_wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.save_upload_wrapper #drop-area {
  margin: 0;
}

.upload_info {
  text-align: center;
}

.file_name {
  display: none;
}

.file_name.active {
  display: block;
}

.file_name i {
  position: relative;
  color: red;
  margin-left: 10px;
  top: 2px;
}

.link.save_upload {
  display: none;
  margin-top: 0;
}

.link.save_upload.active {
  display: inline-block;
}

@media all and (max-width: 500px) {
  #front_signature_tab.nav-tabs .nav-item {
    margin-bottom: 10px;
  }
}
/* End Upload signature */
/* Initials */
.link.save_initials {
  display: none;
  margin-top: 0;
}

.link.save_initials.active {
  display: inline-block;
}

.initials {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.initials input {
  margin-bottom: 20px;
  width: 220px;
  height: 40px;
  border: 1px solid #A9A9A9;
  padding: 5px 10px;
}

.initials canvas {
  margin-bottom: 20px;
  border: 1px solid #A9A9A9;
}

/* End Initials */
.box_front.bundle_box {
  max-width: 1200px;
  margin-top: 30px;
}

.bundle_table th {
  color: #0C1632 !important;
  font-size: 14px !important;
}

.bundle_table td {
  font-size: 14px !important;
}

.table_count p {
  font-size: 14px;
}

.filter input.form-control {
  border: 1px solid #ccc;
  box-shadow: none;
  margin-bottom: 0px;
  height: 40px;
}

.numberCircle {
  background: red;
  border-radius: 0.8em;
  -moz-border-radius: 0.8em;
  -webkit-border-radius: 0.8em;
  color: #ffffff;
  display: inline-block;
  font-weight: bolder;
  line-height: 1em;
  margin-right: 15px;
  text-align: center;
  width: 1em;
}

#inner-content {
  background-color: #fff;
  text-align: center;
  border-radius: 20px;
  box-shadow: 0px 15px 73px 0px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  padding: 20px;
  padding-top: 50px;
  box-sizing: border-box;
  position: relative;
  max-height: min(500px, 100%);
  max-width: 414px;
  /* Desktop */
  /* Mobile landscape */
}
#inner-content .close-button {
  position: absolute;
  cursor: pointer;
  top: env(safe-area-inset-top, 0);
  right: 0;
  background: rgba(0, 0, 0, 0);
  border: none;
  z-index: 1;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  min-width: 48px;
  min-height: 48px;
}
#inner-content input[type=email], #inner-content input[type=text], #inner-content input[type=date], #inner-content input[type=datetime-local], #inner-content input[type=datetime], #inner-content input[type=tel] {
  margin-top: 5px;
  margin-bottom: 5px;
  height: 50px;
  width: 100%;
  background-color: #e5e9ed;
  border: none;
  color: #424971;
  border-radius: 4px;
  font-size: 20px;
  line-height: 18px;
  box-sizing: border-box;
  text-align: center;
}
#inner-content input[type=email]::placeholder, #inner-content input[type=text]::placeholder, #inner-content textarea::placeholder {
  color: #424971;
}
#inner-content .btn-primary {
  cursor: pointer;
  margin-top: 10px;
  margin-bottom: 5px;
  height: 50px;
  width: 100%;
  background-color: #f92b32;
  border: none;
  color: #fff;
  border-radius: 50px;
  font-size: 20px;
  line-height: 18px;
  font-weight: lighter;
  padding: 1px 6px;
  text-align: center;
  text-transform: none;
  box-sizing: border-box;
}
#inner-content a.btn-primary {
  display: inline-block;
  text-decoration: none;
  line-height: 50px;
}
#inner-content #img {
  display: flex;
  justify-content: center;
  margin: 25px 0;
}
#inner-content #img img {
  width: 50%;
}
#inner-content #content {
  height: 100%;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}
#inner-content .top {
  position: absolute;
  top: 0;
  left: 0;
  height: 50px;
  width: 100%;
  background: #000;
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
  background: rgb(67, 161, 203);
  background: linear-gradient(52deg, rgb(67, 161, 203) 0%, rgb(107, 218, 165) 100%);
}
#inner-content .close-button {
  position: absolute;
  cursor: pointer;
  top: env(safe-area-inset-top, 0);
  right: 0;
  background: rgba(0, 0, 0, 0);
  border: none;
  z-index: 1;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  min-width: 48px;
  min-height: 48px;
}
@media screen and (min-width: 640px) and (min-height: 640px) {
  #inner-content body {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
}
@media screen and (orientation: landscape) and (max-height: 639px) {
  #inner-content #img {
    position: absolute;
    width: 150px;
    margin: 0;
  }
  #inner-content #img img {
    width: 100%;
  }
  #inner-content #inner-content h1 {
    padding-left: 170px;
    margin-top: 0;
    text-align: left;
  }
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay .modal-content {
  background: #ffffff;
  border-radius: 10px;
  padding: 20px 30px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 600px;
}
.modal-overlay .modal-content h2 {
  color: #004080;
}
.modal-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}
a.disabled-link,
button.disabled-link {
    pointer-events: none; /* Deshabilita todos los eventos del mouse */
    cursor: not-allowed; /* Muestra cursor "no permitido" (🚫) */
    opacity: 0.6; /* Reduce la opacidad para indicar estado inactivo */
    text-decoration: none; /* Elimina subrayado */
    color: #6c757d !important; /* Color gris para estado deshabilitado */
}