﻿@charset "UTF-8";
@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");
:root {
  --brand-sidebar-default: #0C1632;
  --brand-primary-default: #0582BE;
  --brand-accent-default: #E36924;
}

body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
}

.mobile_menu {
  display: none;
}

#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;
}

.form-control {
  font-size: 14px;
}
.form-control.link:disabled {
  background-color: #0582BE;
}

button:focus {
  outline: none;
}

.btn:focus, .btn:active {
  box-shadow: none;
}
.btn.disabled {
  opacity: 1;
}

.link {
  position: relative;
  height: auto;
  margin: auto;
  display: inline-block;
  background: var(--brand-primary, #0582BE);
  border-radius: 40px;
  border: 1px solid var(--brand-primary, #0582BE);
  padding: 8px 30px;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
}
.link:hover {
  background: var(--brand-sidebar, #0C1632);
  text-decoration: none;
  color: #fff;
  border-color: var(--brand-sidebar, #0C1632);
}

.btn-primary {
  background-color: var(--brand-primary, #0582BE);
  border-color: var(--brand-primary, #0582BE);
}
.btn-primary:hover, .btn-primary:active, .btn-primary:focus {
  background-color: var(--brand-accent, #E36924);
  border-color: var(--brand-accent, #E36924);
}

.btn-info {
  background-color: var(--brand-primary, #0582BE);
  border-color: var(--brand-primary, #0582BE);
  color: white;
}
.btn-info:hover, .btn-info:active, .btn-info:focus {
  background-color: var(--brand-accent, #E36924);
  border-color: var(--brand-accent, #E36924);
  color: white;
}

.form-check-input:checked {
  background-color: var(--brand-primary, #0582BE);
  border-color: var(--brand-primary, #0582BE);
}

.form-check-input:focus {
  border-color: var(--brand-primary, #0582BE);
}

.template-btn.link {
  padding: 5px 20px;
  font-size: 14px;
}

.link.secundary {
  background: transparent;
  border: 1px solid var(--brand-primary, #0582BE);
  color: var(--brand-primary, #0582BE);
}
.link.secundary.minimal {
  border: none;
  padding: 3px;
  margin: 0 5px;
}
.link.secundary:hover {
  background: var(--brand-primary, #0582BE);
  color: #fff;
}
.link.small {
  font-size: 12px;
  padding: 7px 20px;
}
.link.red {
  color: red;
  border-color: red;
}
.link.red:hover {
  background-color: red;
}
.link.orange {
  color: #E36924;
  border-color: #E36924;
}
.link.orange:hover {
  background-color: #E36924;
}
.link.resend_trigger {
  color: #fff !important;
}

.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: var(--brand-primary, #0582BE);
}

#welcome_modal.modal .close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
}
#welcome_modal.modal .modal-body {
  text-align: center;
}
#welcome_modal.modal .modal-body h2 {
  color: #E36924;
  font-weight: bold;
  text-transform: uppercase;
}
#welcome_modal.modal .modal-body p {
  color: #575757;
  font-size: 1rem;
}
#welcome_modal.modal .modal-body .link {
  margin-bottom: 0px;
}

.table td, .table th {
  font-size: 14px !important;
}

.viewer {
  height: 500px;
  overflow-y: scroll;
  background: rgba(0, 0, 0, 0.1);
}

.app {
  display: grid;
  grid-template-columns: 290px 1fr;
  min-height: 100vh;
  transition: grid-template-columns 0.2s ease;
}
.app.front_app {
  grid-template-columns: initial;
}
.app.front_app .sidebar {
  position: absolute;
  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: 22px;
  color: #fff;
  text-transform: uppercase;
  margin-top: 30px;
  margin-bottom: 40px;
}
.app.front_app .main_content table.table thead th {
  border-top: none;
  border-bottom-color: var(--brand-primary, #0582BE);
  color: var(--brand-primary, #0582BE);
  font-size: 18px;
}
.app.front_app .main_content table.table tbody td {
  color: #616161;
  border: none;
}
.app .sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 290px;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--brand-sidebar, #0C1632);
  grid-column: 1/2;
  z-index: 100;
  box-shadow: 7px 0 14px rgba(0, 0, 0, 0.29);
  transition: all 0.2s ease;
}
.app .sidebar .logo a {
  display: block;
  text-align: center;
}
.app .sidebar .logo img {
  max-width: 100%;
  width: auto;
  height: 80px;
  max-height: 80px;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto;
  padding: 8px 12px;
  box-sizing: border-box;
}
.app .sidebar .logo.logo--fill img {
  width: 100%;
  max-width: none;
  height: 80px;
  max-height: none;
  object-fit: cover;
  padding: 0;
  margin: 0;
}
.app .sidebar .logo.final_user img {
  max-width: 250px;
}
.app .sidebar ul {
  margin-top: 0;
  margin-bottom: 0;
}
.app .sidebar ul li a {
  color: #fff;
  text-transform: uppercase;
  padding: 4px 20px;
  padding-left: 40px;
  display: block;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
  position: relative;
}
.app .sidebar ul li a:hover, .app .sidebar ul li a.active {
  background: var(--brand-accent, #E36924);
}
.app .sidebar ul li a:focus, .app .sidebar ul li a:focus-visible {
  outline: none;
  box-shadow: none;
}
.app .sidebar ul li a img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  margin-right: 10px;
}
.app .sidebar ul li a i.sidebar-icon {
  display: inline-block;
  width: 30px;
  font-size: 18px;
  text-align: center;
  margin-right: 10px;
}
.app .sidebar ul li a .sidebar-icon-primary {
  color: var(--brand-primary, #0582BE);
}
.app .sidebar ul li a .sidebar-icon-accent {
  color: var(--brand-accent-default, #E36924);
}
.app .sidebar ul li a .sidebar-icon-circle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  border-radius: 100%;
  background: #fff;
  margin-right: 10px;
  flex-shrink: 0;
  vertical-align: middle;
}
.app .sidebar ul li a .sidebar-icon-circle .sidebar-icon {
  margin-right: 0;
  width: auto;
}
.app.sidebar-collapsed {
  grid-template-columns: 100px 1fr;
  /* Ajuste de columnas cuando el sidebar está colapsado */
}
.app.sidebar-collapsed .sidebar {
  width: 100px;
}
.app .sidebar.collapsed .logo img {
  object-fit: contain;
  background: transparent;
}
.app .sidebar.collapsed .tooltip-text {
  display: none;
}
.app .sidebar.collapsed .main_nav {
  padding-bottom: 42px;
}
.app .sidebar.collapsed ul li a {
  padding: 4px 0;
  padding-left: 0;
  text-align: center;
  font-size: 0;
}
.app .sidebar.collapsed ul li a img {
  margin-right: 0;
  display: block;
  margin: 0 auto;
}
.app .sidebar.collapsed ul li a i.sidebar-icon {
  margin-right: 0;
  display: block;
  margin: 0 auto;
}
.app .sidebar.collapsed ul li a .sidebar-icon-circle {
  margin-right: 0;
  margin: 0 auto;
}
.app .sidebar.collapsed .icono-con-tooltip:hover .tooltip-text {
  position: fixed;
  left: 100px;
  font-size: 12px;
  color: #fff;
  background-color: var(--brand-sidebar, #0C1632);
  white-space: nowrap;
  display: inline-block;
  padding: 5px 10px;
  border-radius: 4px;
  z-index: 1000;
}
.app .main_nav {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-bottom: 50px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}
.app .main_nav::-webkit-scrollbar {
  width: 4px;
}
.app .main_nav::-webkit-scrollbar-track {
  background: transparent;
}
.app .main_nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}
.app .sidebar.collapsed {
  background: #153667;
  grid-column: 1/2;
}
.app .sidebar.collapsed .logo {
  width: 100px;
}
.app .main {
  position: relative;
  grid-column: 2/3;
  min-height: 0;
  transition: grid-column 0.2s ease;
  overflow-x: hidden;
}
.app .main .top {
  background: var(--brand-primary, #0582BE);
  padding: 5px 10px;
  color: #fff;
  text-align: right;
}
.app .main .top a {
  color: #ffffff;
  text-decoration: none;
}
.app .main .top .suppot_link {
  display: inline;
  margin: 0 10px;
  text-transform: uppercase;
}
.app .main .top .suppot_link a {
  font-size: 12px;
}
.app .main .top .suppot_link a:hover {
  color: #0C1632;
}
.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-size: 12px;
  font-weight: bold;
  transition: all 0.2s ease;
}
.app .main .top .user a:hover {
  color: #153667;
}
.app .main .top .credit {
  font-size: 12px;
  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;
  font-size: 12px;
  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: space-between;
}
.app .main .sub_top p {
  color: #fff;
  margin-bottom: 0;
  font-size: 20px;
}
.app .main .sub_top .suppot_link {
  padding-right: 20px;
}
.app .main .sub_top .suppot_link a {
  color: #fff;
}
.app .main header {
  background: var(--brand-sidebar, #0C1632);
  text-align: center;
  padding-top: 30px;
  padding-bottom: 20px;
}
.app .main header h1 {
  margin: 0;
  color: #fff;
  text-transform: uppercase;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}
.app .main header h1 span {
  display: block;
  font-weight: lighter;
  margin-bottom: 10px;
}
.app .main header p {
  color: #fff;
  font-size: 20px;
  font-weight: lighter;
}
.app .main header.main_route {
  padding-bottom: 120px;
}
.app .main .main_content {
  padding: 20px 100px;
  padding-bottom: 50px;
}
.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: var(--brand-primary, #0582BE);
  z-index: 100;
  padding: 10px 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;
}
.app .button-container {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 8px;
}
.app #sidebarToggle {
  position: relative;
  top: auto;
  right: auto;
  z-index: auto;
  width: 28px;
  height: 28px;
  padding: 0;
  font-size: 0;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease;
}
.app #sidebarToggle::after {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  border-top: 2px solid rgba(255, 255, 255, 0.6);
  border-right: 2px solid rgba(255, 255, 255, 0.6);
  transform: translateX(-2px) rotate(45deg);
  transition: border-color 0.25s ease;
}
.app #sidebarToggle:hover {
  background: rgba(255, 255, 255, 0.15);
}
.app #sidebarToggle:hover::after {
  border-color: #fff;
}
.app.sidebar-collapsed .button-container {
  justify-content: center;
  padding: 0;
}
.app.sidebar-collapsed #sidebarToggle::after {
  transform: translateX(2px) rotate(-135deg);
}

.auth {
  display: grid;
  grid-template-columns: auto 550px;
  height: 100vh;
}
.auth.register {
  position: relative;
  height: auto;
  min-height: 100vh;
  display: block;
  background: url("https://archivos-estaticos.s3.amazonaws.com/FirmaSeguro/login_bg.png") no-repeat;
  background-size: cover;
}
.auth.register: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.register main {
  display: flex;
  justify-content: center;
}
.auth.register .main_panel {
  margin-top: 50px;
  margin-bottom: 50px;
  height: auto;
  padding-bottom: 40px;
  width: 100%;
  max-width: 800px;
}
.auth.register .main_panel .login_logo {
  background: #fff;
  margin-bottom: 30px;
}
.auth.register .main_panel .login_logo img {
  width: 300px;
}
.auth #my-signin2 div {
  margin: auto;
}
.auth .fb_iframe_widget {
  display: block;
  text-align: center;
  margin-bottom: 15px;
  margin-top: 30px;
}
.auth .info {
  padding: 0 30px;
  margin-top: 40px;
  text-align: center;
}
.auth .info p {
  color: #888;
  margin-bottom: 40px;
}
.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: 2.6rem;
  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);
  height: 100vh;
}
.auth .main_panel .login_logo {
  margin-bottom: 20px;
}
.auth .main_panel .login_logo img {
  width: 100%;
  max-height: 159px;
  object-fit: contain;
}
.auth .main_panel h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #153667;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 18px;
}
.auth .main_panel form {
  position: relative;
  width: 80%;
  margin: auto;
  text-align: center;
}
.auth .main_panel form.register_form .form-group {
  text-align: left;
}
.auth .main_panel form input {
  margin-bottom: 20px;
  border: none;
}
.auth .main_panel form input[type=submit] {
  background: var(--brand-accent, #E36924);
  border-color: var(--brand-accent, #E36924);
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
  /*margin-bottom: 20px;*/
  transition: all 0.2s ease;
}
.auth .main_panel form button {
  background: var(--brand-accent, #E36924);
  border-color: var(--brand-accent, #E36924);
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
  /*margin-bottom: 20px;*/
  transition: all 0.2s ease;
}
.auth .main_panel form input[type=submit].grey, .auth .main_panel form button.grey {
  text-align: center;
  color: #0582BE;
  display: block;
  margin-bottom: 5px;
  background: none;
  margin-bottom: 20px;
}
.auth .main_panel form input[type=submit].grey:hover, .auth .main_panel form button.grey:hover {
  color: white;
}
.auth .main_panel form input[type=submit].button--google, .auth .main_panel form input[type=submit].button--facebook {
  background: #fff;
  color: #404040;
  border-radius: 50px;
  text-transform: none;
  font-size: 14px;
  margin: 0 5px;
}
.auth .main_panel form button.button--google, .auth .main_panel form button.button--facebook {
  background: #fff;
  color: #404040;
  border-radius: 50px;
  text-transform: none;
  font-size: 14px;
  margin: 0 5px;
}
.auth .main_panel form input[type=submit].button--google:hover, .auth .main_panel form input[type=submit].button--facebook:hover {
  background: #fff;
  color: #272727;
}
.auth .main_panel form button.button--google:hover, .auth .main_panel form button.button--facebook:hover {
  background: #fff;
  color: #272727;
}
.auth .main_panel form input[type=submit].button--google i, .auth .main_panel form input[type=submit].button--facebook i {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  background-size: contain;
  top: 3px;
}
.auth .main_panel form button.button--google i, .auth .main_panel form button.button--facebook i {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  background-size: contain;
  top: 3px;
}
.auth .main_panel form input[type=submit].button--google, .auth .main_panel form button.button--google {
  border: none;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.auth .main_panel form input[type=submit].button--facebook, .auth .main_panel form button.button--facebook {
  background: #3b5998;
  border: none;
  color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.auth .main_panel form input[type=submit].button--facebook:hover, .auth .main_panel form button.button--facebook:hover {
  background: #004769;
  color: #fff;
}
.auth .main_panel form input[type=submit].button--google i, .auth .main_panel form button.button--google i {
  background: url("https://archivos-estaticos.s3.amazonaws.com/FirmaSeguro/google_icon.svg") no-repeat center center;
}
.auth .main_panel form input[type=submit].button--facebook i, .auth .main_panel form button.button--facebook i {
  background: url("https://archivos-estaticos.s3.amazonaws.com/FirmaSeguro/facebook_icon.svg") no-repeat center center;
  color: #fff;
}
.auth .main_panel form input[type=submit].button--microsoft, .auth .main_panel form button.button--microsoft {
  background: #fff;
  color: #2f2f2f;
  border: 1px solid #8c8c8c;
  border-radius: 50px;
  text-transform: none;
  font-size: 14px;
  margin: 0 0 20px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
  font-weight: normal;
  width: 100%;
}
.auth .main_panel form input[type=submit].button--microsoft:hover, .auth .main_panel form button.button--microsoft:hover {
  background: #f3f3f3;
  color: #2f2f2f;
  border-color: #8c8c8c;
}
.auth .main_panel form button.button--microsoft i {
  color: #0078D4;
  margin-right: 6px;
  font-size: 16px;
  vertical-align: middle;
}
.auth .main_panel form .sso-auth-separator {
  display: flex;
  align-items: center;
  color: #9a9a9a;
  font-size: 12px;
  margin: 0 0 15px;
}
.auth .main_panel form .sso-auth-separator::before, .auth .main_panel form .sso-auth-separator::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #ddd;
}
.auth .main_panel form .sso-auth-separator::before {
  margin-right: 8px;
}
.auth .main_panel form .sso-auth-separator::after {
  margin-left: 8px;
}
.auth .main_panel form input[type=submit]:hover, .auth .main_panel form input[type=submit]:focus, .auth .main_panel form input[type=submit].form-control.link:disabled {
  background: #0582BE;
  border-color: #0582BE;
}
.auth .main_panel form button:hover, .auth .main_panel form button:focus, .auth .main_panel form button.form-control.link:disabled {
  background: #0582BE;
  border-color: #0582BE;
}
.auth .main_panel .forgot_password {
  text-align: center;
  color: #0582BE;
  display: block;
  margin-bottom: 5px;
}

.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: 170px;
  height: 170px;
  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;
  width: 55%;
}
.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: 20px;
  color: #0582BE;
}
.route .item p {
  color: #0582BE;
  font-size: 20px;
}

#drop-area {
  border: 2px dashed #ccc;
  border-radius: 20px;
  width: 480px;
  margin: 0px auto;
  margin-bottom: 20px;
  padding: 20px 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;
}

.progress_wrapper {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}
.progress_wrapper div {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.09);
  padding: 10px;
  margin-bottom: 5px;
  border-radius: 5px;
}

.bar_parent {
  position: relative;
  width: 100%;
}

.delete_pdf {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  text-decoration: none;
  font-family: "Open Sans", sans-serif;
}
.delete_pdf:hover {
  text-decoration: none;
}

progress {
  width: 100%;
}

#drop-area .bar_file_name {
  font-size: 16px;
  font-weight: normal;
  text-align: left;
  text-transform: none;
  margin-bottom: 5px;
  cursor: grab;
}
#drop-area .bar_file_name span {
  margin-right: 5px;
}

#gallery {
  margin-top: 10px;
}
#gallery img {
  width: 50px;
  margin-bottom: 10px;
  margin-right: 10px;
  vertical-align: middle;
}

.thumb {
  height: auto !important;
}
.thumb .info {
  font-size: 12px !important;
}

button .link:disabled {
  background-color: #ccc; /* Gris claro */
  color: #666; /* Gris medio para el texto */
  border: 1px solid #bbb; /* Borde gris */
  cursor: not-allowed;
}

.button {
  display: block;
  padding: 10px 40px;
  background: #fff;
  cursor: pointer;
  border-radius: 40px;
  border: 1px solid #0582BE;
  color: #0582BE;
  text-transform: uppercase;
  font-size: 12px;
}

#progress-bar {
  display: flex;
  margin: auto;
  display: flex;
  width: 100%;
}

.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: 10px;
}
.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: #E36924;
}
.signers_home .signers_home_item a {
  display: grid;
  text-decoration: none;
}
.signers_home .signers_home_item span.img {
  display: block;
  background: #0582BE;
  width: 150px;
  height: 150px;
  border-radius: 100%;
  margin-bottom: 20px;
  overflow: hidden;
  padding-top: 10px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}
.signers_home .signers_home_item span.img img {
  width: 80%;
}
.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;
}

.deadline_wapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 700px;
  padding: 40px 0;
  border: 0px solid #ccc;
  border-top-width: 1px;
  border-bottom-width: 1px;
  margin: 20px auto;
}
.deadline_wapper.hidden {
  display: none;
}
.deadline_wapper .deadline_item {
  margin: 0 10px;
}
.deadline_wapper .link_wrapper {
  margin-top: 20px;
}

.signers_box {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  border-radius: 20px;
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: auto;
}
.signers_box h2 {
  background: #E36924;
  text-align: center;
  color: #fff;
  text-transform: uppercase;
  font-size: 16px;
  padding: 10px 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: 16px;
  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 {
  position: relative;
}
.signers_box .steps.step_2 .signers_form .link_wrapper {
  display: flex;
  justify-content: flex-end;
  margin: 20px 0;
}
.signers_box .steps.step_2 .signers_form .link_wrapper .delete {
  margin: initial;
}
.signers_box .steps.step_2 .signers_form .form-group {
  padding: 20px;
  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;
}
.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;
}

@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);
  }
}
.signatures {
  padding-top: 20px;
}
.signatures form {
  margin-bottom: 30px;
}
.signatures form .input-group-append .input-group-text {
  background: none;
  border-left: none;
}
.signatures .state {
  position: relative;
  width: 100%;
  height: 8px;
  background: rgb(169, 169, 169);
  display: block;
}
.signatures .state:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  height: 100%;
}
.signatures .state.started:after {
  background-color: rgb(84, 84, 84);
  width: 20%;
}
.signatures .state.waitingforsignerdocuments:after {
  background-color: gray;
  width: 10%;
}
.signatures .state.signersreview {
  background-color: cadetblue;
  width: 15%;
}
.signatures .state.created:after {
  background-color: #0582BE;
  width: 20%;
}
.signatures .state.declined:after {
  background-color: red;
  width: 100%;
}
.signatures .state.processing:after {
  background-color: orange;
  width: 50%;
}
.signatures .state.successful:after {
  background-color: green;
  width: 100%;
}
.signatures.waitingforsignerdocuments:after {
  color: gray;
}
.signatures.started {
  color: rgb(84, 84, 84);
}
.signatures.signersreview {
  color: cadetblue;
}
.signatures.created {
  color: #0582BE;
}
.signatures.declined {
  color: red;
}
.signatures.processing {
  color: orange;
}
.signatures.successful {
  color: green;
}

.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: minmax(0, 1fr) auto;
  align-items: center;
}
.signatures_detail .signature_item .box.doc .doc_name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.signatures_detail .signature_item .box.doc .doc_name a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.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;
  font-size: 0.9rem;
}
.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 .action_links .link.disabled {
  pointer-events: none;
  color: #888;
  border-color: #888;
}
.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;
}

.choices__input {
  min-width: 50px !important;
}

.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;
  padding-bottom: 10px;
  background: #fff;
  box-shadow: -10px 0 20px rgba(0, 0, 0, 0.2);
  opacity: 0;
  z-index: 100;
  overflow-y: auto;
  transition: all 0.2s ease;
}
.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 {
  margin-bottom: 20px;
}

.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;
  box-shadow: none;
}
.wallet .box form button {
  height: auto;
  margin-bottom: 10px;
}
.wallet .box form button i {
  margin-left: 10px;
}
.wallet .box form .msg.active {
  color: red;
}

.box_front {
  position: relative;
  width: 100%;
  max-width: 400px;
  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: 22px;
  margin-bottom: 5px;
  margin-top: 20px;
}
.box_front p {
  text-align: center;
  font-size: 18px;
  color: #575757;
  margin-bottom: 30px;
}
.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: 20px;
  margin-bottom: 20px;
}
.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: #153667;
  text-align: center;
  display: block;
  margin-bottom: 20px;
}
.box_front .policy:hover {
  text-decoration: underline;
}
.box_front.review_doc {
  max-width: 800px;
}
.box_front.review_doc ul {
  margin-top: 20px;
}
.box_front.review_doc ul li {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 20px;
  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 a {
  margin-left: 10px;
}
.box_front.review_doc ul li .doc_name {
  color: #0582BE;
}

.otp {
  text-align: center;
}
.otp .box_front {
  max-width: 500px;
}
.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 .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: 40px;
  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;
}
.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 {
  padding: 8px 0;
  color: #575757;
}
.review .signers table td {
  padding: 8px 0;
  color: #575757;
  font-size: 14px;
}
.review .action {
  text-align: center;
  margin-top: 40px;
  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;
}

.profile h2 {
  color: #153667;
  margin-bottom: 30px;
  margin-top: 20px;
  font-size: 20px;
}
.profile input {
  /*margin-bottom: 30px;*/
}

.password-toggle-group .form-control {
  border-right: none;
}
.password-toggle-group .input-group-append {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  background: #fff;
  border: 1px solid #ced4da;
  border-left: none;
  border-top-right-radius: 0.375rem;
  border-bottom-right-radius: 0.375rem;
  color: #8a8a8a;
}
.password-toggle-group .toggle-password {
  display: inline-block;
  width: 16px;
  font-size: 15px;
  text-align: center;
  transition: color 0.2s ease;
}
.password-toggle-group .toggle-password:hover {
  color: var(--brand-primary, #0582BE);
}
.password-toggle-group:focus-within .form-control,
.password-toggle-group:focus-within .input-group-append {
  border-color: var(--brand-primary, #0582BE);
}

input[type=password]::-ms-reveal,
input[type=password]::-ms-clear {
  display: none;
}

.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;
}
.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;
}

@keyframes loader {
  0% {
    width: 0px;
  }
  100% {
    width: 100px;
  }
}
.sort_check {
  width: 0;
  height: 0;
}

.check_group {
  margin-bottom: 10px;
}
.check_group label {
  cursor: pointer;
  font-weight: bold;
}
.check_group i {
  position: relative;
  color: #0582BE;
  font-size: 22px;
  margin-right: 3px;
  top: 2px;
}

.signature_sorting li span {
  display: none;
}
.signature_sorting ul {
  padding: 0;
}
.signature_sorting ul li {
  padding: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 5px;
  list-style: none;
  background: #fff;
}
.signature_sorting ul li.active {
  cursor: grab;
}
.signature_sorting ul li span {
  margin-right: 5px;
}
.signature_sorting ul li span i {
  font-style: normal;
  font-weight: bold;
}
.signature_sorting ul li span i.count {
  margin-left: 5px;
}
.signature_sorting ul li.active span {
  margin-right: 5px;
  display: inline-block;
}
.signature_sorting ul li.blue-background-class {
  background: rgb(245, 245, 245);
}

.sortable-chosen {
  opacity: 1;
}

.signer_order {
  position: absolute;
  top: -10px;
  left: -10px;
  background: #0582BE;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Upload signature */
#gallery-signature img {
  max-width: 200px;
}

/* Upload signature */
#gallery-signature-preview img {
  max-width: 300px;
}

.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;
}

.upload-form label {
  text-align: center;
  display: block !important;
}

/*Welcome page*/
.w-header {
  background: #e3dfd6;
  padding-bottom: 100px;
}
.w-header h2 {
  font-weight: bold;
  font-size: 26px;
  color: #153667;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.w-msg {
  padding: 20px;
  max-width: 600px;
  position: relative;
  border-radius: 15px;
  margin: auto;
  margin-top: -80px;
  background: #fff;
}

.w-features {
  padding-top: 20px;
  padding-bottom: 40px;
}

.w-feature-item {
  margin-bottom: 20px;
}
.w-feature-item h3 {
  font-size: 18px;
  font-weight: bold;
  color: #153667;
}
.w-feature-item p {
  font-size: 14px;
}
.w-feature-item a {
  color: #153667;
}
.w-feature-item a:hover {
  text-decoration: underline;
}

.main_title {
  font-size: 24px !important;
  color: #0582BE !important;
  font-weight: bold;
}

.api {
  display: flex;
  column-gap: 20px;
  flex-wrap: wrap;
}
.api .box {
  flex: 1 1 auto;
  min-width: 200px;
}

.box {
  position: relative;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  /*margin-bottom: 20px;*/
}
.box h2 {
  color: #153667;
  font-weight: bold;
  margin-bottom: 15px !important;
  text-transform: uppercase;
  font-size: 16px !important;
}
.box p {
  margin-bottom: 10px !important;
}
.box p a {
  color: #0582BE;
}
.box .box_actions {
  position: absolute;
  display: flex;
  top: 10px;
  right: 10px;
  column-gap: 10px;
  z-index: 1;
}
.box .box_actions a {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  background: #0582BE;
  width: 30px;
  height: 30px;
  color: #fff;
  border-radius: 100%;
  text-decoration: none;
  transition: all 0.2s ease;
}
.box .box_actions a:hover {
  background: #153667;
}

.api_auth_info {
  margin-top: 20px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 10px 15px;
  padding-bottom: 0;
}
.api_auth_info p span {
  font-weight: bold;
  width: 120px;
  display: inline-block;
}
.api_auth_info p span#pass {
  font-weight: normal;
}
.api_auth_info p .action_links {
  margin-left: 10px;
  color: #0582BE;
}
.api_auth_info p .action_links:hover {
  text-decoration: none;
}

.token_wrapper {
  position: relative;
}

.box .token {
  display: flex;
  justify-content: space-between;
  align-content: center;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 10px;
  margin-top: 20px;
}
.box .token p {
  display: inline;
  margin-bottom: 0 !important;
  max-width: 90%;
  overflow: hidden;
}
.box .token .token_links a {
  color: red;
  margin: 0 7px;
  text-decoration: none;
}
.box .token .token_links a.copy {
  color: #0582BE;
}
.box .token .token_links a:hover {
  color: #0C1632;
}

.connectors {
  margin-top: 50px;
}

.connectors_list {
  list-style-type: none;
  padding: 0;
  margin-top: 30px;
  max-width: 800px;
}
.connectors_list li {
  display: flex;
  align-items: center;
  column-gap: 20px;
  margin-bottom: 20px;
}
.connectors_list li img {
  max-width: 150px;
}
.connectors_list li p {
  margin: 0 !important;
  width: 500px;
}
.connectors_list li .link {
  margin: 0;
  padding: 5px 15px;
}

.copy_tooltip {
  position: absolute;
  width: auto;
  display: none;
  padding: 5px 12px;
  margin-top: -4px;
  background-color: #0582BE;
  border-radius: 4px;
  color: #fff;
}

.api_auth_info .copy_tooltip, .token .copy_tooltip {
  width: auto;
  display: none;
}

.hide {
  display: none !important;
}

.show {
  display: inline-block !important;
}

/* reCaptcha */
.div_captcha {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: auto;
  margin-bottom: 20px;
  padding-bottom: 10px;
}
.div_captcha p {
  text-align: center;
  font-size: 16px;
  color: #575757;
  margin-bottom: 20px;
}
.div_captcha .g-recaptcha div {
  position: relative;
  margin: auto;
}
.div_captcha .error {
  color: red;
  margin-top: 10px;
  display: none;
}
.div_captcha .error.active {
  display: block;
}

.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;
}

/* Template */
.templates-draft {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.templates-draft .link.draft {
  font-size: 12px;
  margin: 0;
  padding: 5px 10px;
}

.templates_header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.templates_header .card-link {
  text-decoration: none;
}
.templates_header .card {
  width: 100%;
  max-width: 300px;
  border-color: #153667;
  color: #153667;
  transition: all 0.2s ease;
}
.templates_header .card:hover {
  border-color: #0582BE;
  background-color: #0582BE;
  color: #fff;
}
.templates_header .card:hover img {
  filter: brightness(0) invert(100%);
  transition: all 0.2s ease;
}
.templates_header .card .card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.templates_header .card .card-body span {
  font-size: 16px;
  text-align: center;
  margin-top: 10px;
  text-transform: uppercase;
}

.template-tabs-wrapper {
  width: 100%;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 10px;
}
.template-tabs-wrapper .tab-content {
  background-color: #fff;
  width: 100%;
  padding: 10px 20px;
}
.template-tabs-wrapper .tab-content .tab-pane {
  background-color: #fff;
  width: 100%;
}
.template-tabs-wrapper table tr {
  vertical-align: middle;
}
.template-tabs-wrapper .nav-link {
  color: #0582BE;
}
.template-tabs-wrapper .nav-link.active {
  color: #0582BE;
}
.template-tabs-wrapper .nav-link:hover {
  color: #153667;
}

/* Envelope and signature styles */
.envelop_top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.signature_envelope_title {
  font-size: 18px;
}

.back_link {
  color: #0582BE;
  text-decoration: none;
}
.back_link:hover {
  text-decoration: underline;
}

.envelope_signer {
  display: block;
}

.state_signer {
  width: 10px;
  height: 10px;
  display: inline-block;
  background: #a9a9a9;
  border-radius: 100px;
}
.state_signer.green {
  background: green;
}
.state_signer.orange {
  background: orange;
}
.state_signer.red {
  background: red;
}
.state_signer.blue {
  background: blue;
}

.disabled i {
  color: #bbbbbb;
}
.disabled:hover {
  background: none !important;
  cursor: not-allowed;
}

.progress-fill {
  height: 8px;
  transition: width 0.5s ease;
}
.progress-fill.pending {
  background-color: #6c757d;
}
.progress-fill.loading {
  background-color: #007bff;
}
.progress-fill.uploaded {
  background-color: #28a745;
}
.progress-fill.failed {
  background-color: #dc3545;
}

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 */
}

/* multitenant */
/* Scroll clean para dropdowns con muchas empresas */
.account-switcher {
  max-height: 320px; /* Responsive natural */
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* Estilo general de ítems */
.company-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  white-space: normal !important; /* Permite nombres largos */
}

/* Nombre de la empresa: visible y dominante */
.company-name {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  color: black;
}

/* Rol: menos prominente */
.company-role {
  font-size: 0.8rem;
  line-height: 1.1;
}

/* Estado: empresa activa (no seleccionable) */
.disabled-company {
  opacity: 0.6;
  cursor: not-allowed !important;
  pointer-events: none;
}

/* Check de selección */
.company-item .fa-check {
  font-size: 1rem;
}

/* Estilos para el área de texto */
.text-editor-container {
  margin-bottom: 20px;
}

.editor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.char-count {
  font-size: 0.85rem;
  color: #7f8c8d;
}

textarea {
  width: 100%;
  min-height: 200px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.5;
  resize: vertical;
  transition: border-color 0.3s;
}

textarea:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.formats-note {
  font-size: 0.85rem;
  color: #7f8c8d;
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Estilos para el aviso legal */
.notice {
  background-color: #fff8e1;
  border-left: 4px solid #ffc107;
  padding: 15px;
  margin-top: 20px;
  border-radius: 4px;
  font-size: 0.9rem;
}

.notice strong {
  color: #d84315;
}

.toggle-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f9f9f9;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #e0e0e0;
}

.toggle-label {
  font-weight: 600;
  color: #2c3e50;
  font-size: 1.1rem;
}

.toggle-description {
  color: #7f8c8d;
  font-size: 0.9rem;
  margin-top: 3px;
}

/* Evidence field pill selectors */
.evidence-field-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1.5px solid #ced4da;
  background: #fff;
  color: #495057;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
  -webkit-user-select: none;
  user-select: none;
}

.evidence-field-pill:hover {
  border-color: #2196f3;
  color: #2196f3;
}

.evidence-field-pill.active {
  background: #e3f2fd;
  border-color: #2196f3;
  color: #1565c0;
  font-weight: 600;
}

.toggle-container.disabled-section {
  opacity: 0.5;
  pointer-events: none;
}
