* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: 'Open Sans', sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: 15.8px;
  letter-spacing: 0%;
  overflow-x: hidden;
  overflow-y: auto;
}

.main-content {
  width: 100%;
}

body.bg-black {
  background: #000;
}

body.bg-white {
  background: #fff;
}

.principal-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;  
}

.right {
  background:#ffffffbe;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 65%;
  height: calc(100vh);
  overflow: hidden;
}
.right img {
  width: 100%;
  object-fit: contain;
  height: auto;
}

.left {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  width: 35%;
  z-index: 1;
}

.flex-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%; /* ocupa todo el ancho de .left */
  box-sizing: border-box;
}

.navbar-dark,
.footer-row-dark {
  margin: 10px;
  box-sizing: border-box;
}

.content-area {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.left-light {
  background-color: #f5f5f5;
}

.left::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: #ffffff;
}

.navbar {
  height: 55px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  box-sizing: border-box;
}
/* Estilos de fondo dinámico */
.navbar-dark {
  background-color: #090D14;
}

.navbar-light {
  background-color: #ffffff;
}

.navbar img {
  width: 114px;
  height: 42px;
  margin-left: -8px;
}

.menu-icon {
  display: none;
}

.navbar-dark .menu-icon {
  color: #ffffff;
  display: none;
}

.navbar-dark .menu-content {
  background: #090D14;
}

.btn-content {
  width: 260px;
  height: 45px;
  background: #ffffff;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  margin-right: -15px;
}

.navbar-light .btn-content {
  background: #E4F4FF;
}

.btn {
  font-size: 13px;
  font-weight: 600;
  color: #67748E;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  align-items: center;
  display: inline-flex;
  justify-content: center;
  width:126px;
  height: 37px;
  margin-right: 4px;
}

.btn-light {
  color: #8392AB;
}

.btn-blue {
  color: white;
  border-radius: 5px;
  margin-right: -7px;
  background: linear-gradient(to right, #2152FF, #21D4FD);
}

.login-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 20px;
  text-align: center;
}

.login-box h2 {
  color: #000000;
  margin-bottom: 2rem;
  margin-top: 2rem;
  font-size: 26px;
  text-align: center;
}

.login-btn,
.login-btn-register,
.login-btn-large {
 display: flex;
  align-items: center;
  justify-content: center;
  width: 321px;
  margin: 0.5rem auto;
  font-family: 'Open Sans', sans-serif;
  height: 50px; 
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  gap: 0.5rem;
}

.login-btn {
  border: 1px solid #344767;
  background:  rgba(255, 255, 255, 0.288);
  color: #000000;
}

.login-btn-register {
 
  border: 1px solid #344767;
  background:  rgba(255, 255, 255, 0.288);
  color: #344767;
}

.login-btn-large {
  background: #344767;
  border: 1px solid #000000;
  color: rgb(255, 255, 255);
}

.login-btn-register.google {
  background: #344767;
  color: #ffffff;
}

.login-box > p {
  color: #000000;
}
.small-text {
  font-size: 13px;
  color: #000000;
  margin-top: 2rem;
  text-align: center;
}

.small-text.tot {
  display: inline-block;
}

.small-text p {
  margin: 0;
}

.terms-text {
  color: #000000;
  margin-top: 12px;
  text-align: center;
  font-size: 13px;
}

.terms-text a {
  color: inherit;
  text-align: center;
  font-size: 13px;
  font-weight: bold;
  text-decoration: none;
}

.small-text a {
  color: #00aaff;
  text-decoration: none;
  text-align: center;
}

/* FOOTER */

 .footer-row {
  height: 55px;
  border-radius: 12px;
  justify-content: space-between;
  display: flex;
  align-items: center;
  padding: 10px;
  box-sizing: border-box;
  z-index: 10;
}

.footer-row-light {
  background-color: #ffffff;
}

.footer-row-dark {
  background-color: #090D14;
}

.footer-text {
  display: flex;
  overflow: auto;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
  flex-direction: row;
}

.footer-text a {
  color: #8392AB;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
  margin: 0px 15px;
}

.footer-row p {
  color: #8392AB;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.footer-text a:hover,
.footer-text p a:hover {
  color: #dddddd;
}

.footer-row-dark .copy-link {
  color: #ffffff;
  text-decoration: underline;
}
.footer-row-light .copy-link {
  color: #21D4FD;
  text-decoration: underline;
}



/* Labels */
.card-body  > form > label{
  display: block;
  text-align: justify;
  font-size: 14px;
  color: #000000;
  margin-bottom: 5px;
}

/* Inputs */
.card-body .form-control {
  border: 1px solid #090D1433;
  color: #000000;
  background: rgba(255, 255, 255, 0.397);
  padding: 0 0 0 7px;
  border-radius: 6px;
  transition: border-color 0.2s;
}
.form-control {
  width: 100%;
  height: 50px;
}
.form-control::-webkit-input-placeholder {
  color: rgba(0, 0, 0, 0.5);
  opacity: 1;
}

.light-form .form-control {
  color: #111;
}

.light-form .form-control::placeholder {
  color: rgba(0, 0, 0, 0.322);
}

.form-check  {
  margin: 10px 0;
  gap: 8px;
  display: flex;
  align-items: flex-start;
}


.form-check-input {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid #090D1433;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
}

.form-check-input:checked {
  background-color: #00aaff;
  border-color: #00aaff;
}

.form-check-input:checked::before {
  content: "✓";
  color: #000000;
  font-size: 14px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.light-form .form-check-label {
  color: #344767;
}

.form-check-label a{
  color: inherit;
  font-weight: bold;
  text-decoration: none;

}

.form-control:focus {
  border-color: #090D1433;
  outline: none;
  box-shadow: 0 0 5px #000000;
}


.form-check-label {
  color: #000000;
  font-size: 14px;
  white-space: normal;  

}

.mb {
  width: 321px;
  margin-bottom: 0.7rem !important;
}

.mb .form-label {
  display: block;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: #344767;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.mb .form-label .text-muted {
  font-weight: 400;
  font-size: 11px;
  color: #8392AB;
}

.mb .input-group {
  width: 100%;
  display: flex;
}

.mb .input-group-text {
  background: rgba(255, 255, 255, 0.397);
  border: 1px solid #090D1433;
  border-right: none;
  color: rgba(0, 0, 0, 0.7);
  font-weight: 600;
  padding: 0 12px;
  border-radius: 6px 0 0 6px;
  display: flex;
  align-items: center;
  font-size: 14px;
}

.mb .input-group .form-control {
  border-left: none;
  border-radius: 0 6px 6px 0;
}
/* Submit button */
.card-body .btn.bg-gradient-info {
  background: linear-gradient(to right, #03a9f4, #0288d1);
  border: none;
  color: white;
  font-weight: bold;
  border-radius: 6px;
  height: 50px;
  width: 321px;
  font-size: 15px;
  transition: background 0.2s ease-in-out;
}

.card-body .btn.bg-gradient-info:hover {
  background: linear-gradient(to right, #0288d1, #0277bd);
}

/* Error messages */
.card-body .text-danger {
  font-size: 12px;
  color: #ff6b6b !important;
  margin-top: 1px;
}

/* REGISTER */
.register-box {
  text-align: center;
  color: #344767;
  padding: 2rem;
}

.register-box h2 {
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.register-box p {
  color: #344767;
  font-size: 14px;
  width: 324px;
  margin-bottom: 2rem;
}

.role-selection {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 16.8px;
  letter-spacing: -0.4px;
  text-align: center;
  vertical-align: middle;
  text-transform: uppercase;

}

.role-box {
  flex: 1 1 45%;
  background: rgba(255, 255, 255, 0.041);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  padding: 2rem;
  border-radius: 15px;
  width: 300px;
  height: 350px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.role-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.role-icon {
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(33, 82, 255, 0.05) 0%, rgba(33, 212, 253, 0.05) 100%);
  border-radius: 50%;
  margin: 2rem 0;
  transition: transform 0.3s ease;
}

.role-box:hover .role-icon {
  transform: scale(1.1);
}

.role-icon svg {
  width: 100px;
  height: 100px;
}

.register-btn {
  margin-top: auto;
  align-items: center;
  margin-top: 0.5rem;
  padding: 15px 20px;
  background: #E4F4FF;
  color:#344767;
  border-radius: 12px;
  text-decoration: none;  
  font-size: 13px;
  font-weight: 600;
  transition: background 0.3s ease;
  object-fit: contain;
}

.register-btn:hover {
  background-color: #168bd4;
}

/* boton para regresar */
.back-button {
  background: none;
  display: inline-flex;
  gap: 0.5rem;
  color: #000000;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: none;
  position: absolute;
  top: 6rem;
  left: 2rem;
  -webkit-tap-highlight-color: transparent;
}

.back-button:hover {
  color: #949494;        /* mantener color blanco */
}

.button-complete button{
  background: linear-gradient(to right, #2152FF, #21D4FD);
  border: none;
  color: white;
  font-weight: bold;
  border-radius: 6px;
  height: 50px;
  width: 321px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

.button-complete button:hover {
  background: linear-gradient(to right, #2151ff86, #21d5fd98);
}

/* logo register y follower */

.logo img, .logo svg {
  width: 100%;
  height: 178px;
  object-fit: contain;
}

.logo2 img, .logo2 svg {
  width: 100%;
  height: 120px;
  object-fit: contain;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.picture-selector {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 321px;
}

.picture-selector label {
  color: #000000;
  margin-top: 10px;
}

.ul-picture-photo__container {
  width: 321px;
  height: 50px;
  overflow: hidden;
  border-radius: 8px;
  margin-top: 3px;
  border: 1px solid #ccc;
  position: relative;
}

.ul-picture-photo__img {
  height: auto;
  width: 100%;
  display: block;
}

.button-bs {
  background: linear-gradient(to right, #03a9f4, #0288d1);
  border: none;
  color: white;
  font-weight: bold;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
  justify-content: center;
  margin-top: 30px;
  padding: 10px 20px;
}

.upload-image-button {
  background: linear-gradient(to right, #03a9f4, #0288d1);
  border: none;
  color: white;
  font-weight: bold;
  border-radius: 6px;
  margin-top: 3px;
  height: 30px;
  width: 321px;
  font-size: 15px;
  cursor: grab;
  justify-content: center;
  transition: background 0.2s ease-in-out;
}

.upload-image-button svg {
  width: 21px;
  height: 21px;
  margin-right: 6px;
  vertical-align: sub;
}

.stepper-wrapper {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  width: 100%;
}

.stepper-step {
  flex: 1;
  text-align: center;
}

.stepper-step:not(:last-child)::after {
  height: 2px;
  z-index: -1;
}

.stepper-circle {
  width: 30px;
  height: 30px;
  background-color: #3b3939;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: #fff;
  font-weight: bold;
}

.stepper-label {
  margin-top: 0.5rem;
  font-size: 10px;
  color: #000000;
}

.stepper-step.active .stepper-circle {
  background: linear-gradient(to right, #2152FF, #21D4FD);
}

.stepper-step.completed .stepper-circle {
  background: linear-gradient(to right, #21D4FD, #2152FF);
}

#imagePreviewModal {
  display:none; 
  position:fixed; 
  top:0; 
  left:0; 
  width:100%; 
  height:100%; 
  background: #000000cc; 
  justify-content:center; 
  align-items:center; 
  z-index:1000;
}
.close-image {
  position:absolute; 
  top: 5px; 
  left: 5px; 
  background: rgba(0,0,0,0.6); 
  border: none; 
  color: white; 
  font-weight: bold; 
  border-radius: 50%; 
  width: 25px; 
  height: 25px; 
  cursor: pointer;
}
.close-image:hover {
  background: rgba(255, 0, 0, 0.8);
}

.custom-alert {
  border-radius: 8px;
  padding: 1rem !important;
  margin-bottom: 30px;

}

.success-alert {
  background-image: linear-gradient(310deg, #17ad37 0%, #84dc14 100%);
  color: #ffffff;
  display: flex;
  margin-bottom: 5px;
  align-items: flex-start;
}
.success-alert1 {
  background-image: linear-gradient(310deg, #39d1ff 0%, #3be7ff 100%);
  color: #ffffff;
  display: flex;
  margin-bottom: 5px;
  align-items: flex-start;
}
.danger-alert {
  background-image: linear-gradient(310deg, #ff3838 0%, #ff8484 100%);
  color: #ffffff;
  display: flex;
  margin-bottom: 5px;
  align-items: flex-start;
}
.close-btn {
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  color: #ffffff;
  cursor: pointer;
  padding: 0 4px;
  margin-left: auto;
}

/* EN mobile */

@media (max-width: 1285px) {
  
  .right {
    display: none;
  }
  
  .left {
    width: 100%;
  }
}
@media (max-width: 424px) {

  .body {
    line-height : 15px !important;
  }

  .principal-container {
    height: auto;
    min-height: 100%;
    padding: 0 10px;
    flex-direction: column;
  }

  .left {
    width: 100%;
  }
  
  .back-button {
    display: none ;
  }

  .login-box {
    width: 100%;
    display: contents;
    max-width: 220px;
    margin: 0 auto;
  }

  .container-form {

  }
  
  .login-btn,
  .login-btn-register,
  .login-btn-large {
    width: 100%;
  }
  .role-box {
    width: 100%;
    max-width: 45%;
    height: 200px;
    margin: 0 auto;
    padding: 1rem;
  }

  .role-icon {
    width: 90px;
    height: 90px;
    margin: 1rem 0;
  }

  .role-icon svg {
    width: 50px;
    height: 50px;
  }
  
  .register-btn {
    width: 100%;
    padding: 5px;
  }
  
  .card-body {
    width: 100%;
  }

  .card-body  > form > label{
    margin-left: 15px;
  }
  
  .form-check{
    padding-left: 18px;
  }
  .mb {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .mb .form-label {
    width: 90%;
    margin-left: 0;
  }
  .form-control {
    width: 90%;
  }

  .mb .input-group {
    width: 90%;
  }

  .mb .input-group .form-control {
    width: 100%;
  }

  .mb .text-danger {
    width: 90%;
    margin-top: 5px;
  }

  .button-complete button {
    width: 90%;
  }

  .footer-row {
    padding: 5px;  
  }

  .logo2  {
    display: none;  
  }
  .logo2 img {
    display: none;  
  }
  .stepper-wrapper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    width: 100%;
  }
  .stepper-label {
    font-size: 8px;
  }
  
}

@media (max-width: 500px) {

  .navbar {
    position: relative;
  }

  .btn-content {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    width: 100%;
    border-radius: 8px;
    margin: 0;
    padding: 8px;
    gap: 8px;
    background: transparent;
  }

  .btn-content .btn {
    width: 100%;
    height: 44px;
    margin: 0;
    font-size: 14px;
    border-radius: 8px;
  }

  .btn-space {
    width: 100%;
    background: #f5f5f5;
    color: #344767;
  }

  .btn-blue {
    width: 100%;
    margin-right: 0;
    margin-top: 0;
  }

  .menu-icon {
    display: block !important;
    font-size: 28px;
    cursor: pointer;
    color: #ffffff;
    right: 20px;
    z-index: 1100;
  }

  .menu-content {
    display: flex;
    position: absolute;
    top: 55px;
    right: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 12px;
    border-radius: 0 0 12px 12px;
    z-index: 1000;
    clip-path: inset(0 0 100% 0);
    opacity: 0;
    pointer-events: none;
    transition: clip-path 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .menu-auth {
    height: auto;
    min-height: 60px;
  }

  .menu-auth .btn-content {
    padding: 8px;
  }

  .menu-content-dark {
    background: #090D14;
  }

  .navbar-dark .menu-content {
    background: #090D14;
  }

  .navbar-dark .btn-content {
    background: transparent;
  }

  .navbar-dark .btn-space {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
  }

  #menu-toggle:checked ~ .menu-icon + .menu-content {
    clip-path: inset(0 0 0% 0);
    opacity: 1;
    pointer-events: auto;
  }

  #menu-toggle:checked ~ .menu-content {
    clip-path: inset(0 0 0% 0);
    opacity: 1;
    pointer-events: auto;
  }

  .sm-1 {
    font-size: 11px;
  }
}

.container-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.041);
  height: 330px;
  border-radius: 15px;
  margin-top: 10px;
}
.header-left {
  height: 118px;
  display: flex;
  justify-content: center;
}
.header-left img {
  width: 250px;
  height: 100%;
  object-fit: contain;
}
.right-bg {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 50vw;
  height: auto;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.right-bg img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  display: block;
}

@media (min-width: 1280px) {
  .hide-after-1280 {
    display: none !important;
  }
  .btn-regist {
  margin-right: 50px;}
}
.btn-regist {
  margin-top: 20px;
  color: white;
  border-radius: 5px;
  background: linear-gradient(to right, #2152FF, #21D4FD);
}

/* Session Override Modal */
.session-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.session-modal {
  background: #fff;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.session-modal-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.session-modal-header h3 {
  margin: 0;
  font-size: 18px;
  color: #333;
}

.session-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
  line-height: 1;
}

.session-modal-close:hover {
  color: #333;
}

.session-modal-body {
  padding: 25px 20px;
  text-align: center;
}

.session-modal-icon {
  font-size: 50px;
  color: #f0ad4e;
  margin-bottom: 15px;
}

.session-modal-body p {
  color: #555;
  margin-bottom: 10px;
  line-height: 1.5;
}

.session-modal-body label {
  display: block;
  text-align: left;
  margin-bottom: 8px;
  color: #333;
  font-weight: 500;
}

.session-modal-body .form-control {
  height: 45px;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 14px;
}

.session-modal-footer {
  padding: 15px 20px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.session-modal-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.session-modal-btn-cancel {
  background: #f5f5f5;
  color: #666;
}

.session-modal-btn-cancel:hover {
  background: #e5e5e5;
}

.session-modal-btn-confirm {
  background: linear-gradient(to right, #2152FF, #21D4FD);
  color: white;
}

.session-modal-btn-confirm:hover {
  opacity: 0.9;
}
