.container {
    display: flex;
    width: 100%;
    max-width: none;       
    min-height: 100vh;      
    border-radius: 0;      
    overflow: hidden;
    background: #212f52;
    background: linear-gradient(0deg,rgba(24, 50, 94, 1) 0%, rgba(143, 202, 247, 1) 100%);
  }
  
  .left-panel {
    background-color: #212f52;
    padding: 60px 40px;
    flex: 1;
  }
  
  .right-panel {
    background-color: #1C1C1E;
    flex: 1.2;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .logo {
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 40px;
   
  }

.logo img {
     width: 250px;
     height: auto;
}
  
  h1 {
    font-size: 36px;
    margin-bottom: 10px;
  }
  
  .subtext {
    font-size: 14px;
    color: #bcbcbc;
    margin-bottom: 30px;
  }
  
  .subtext a {
    color: #ffffff;
    text-decoration: underline;
  }
  
  form {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  input[type="email"] {
    padding: 16px;
    font-size: 16px;
    background-color: #1C1C1E;
    border: none;
    border-radius: 10px;
    color: white;
    outline: none;
  }
  
  input[type="password"] {
    padding: 16px;
    font-size: 16px;
    background-color: #1C1C1E;
    border: none;
    border-radius: 10px;
    color: white;
    outline: none;
  }
  

  button {
    background-color: white;
    color: black;
    padding: 16px;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  button:hover {
    background-color: #dddddd;
  }
  
  .version {
    font-size: 12px;
    color: #888;
    margin-top: 100px;
  }
  
  .mockup img {
    display: block;
    margin: 0 auto;         
    width: 60%;             
    max-width: 100%;       
    height: auto;           
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
  }

  @media (max-width: 768px) {
    .mockup img {
        width: 80%;       
    }
  }

  .error-message {
    color: red;
    margin-top: 10px;
    font-weight: bold;
}
  .error-message::before {
    content: "⚠️ "; /* Emoji de advertencia */
  }

  /* Agrega estas reglas al final de factible.css */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-window {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    text-align: center;
}

.modal-actions {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.modal-window input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    font-size: 16px;
}

.resend-link {
    font-size: 14px;
    color: blue;
    cursor: pointer;
    text-decoration: underline;
}


.page {
  position: relative;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.sidebar {
  background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row {
  background-color: #212f52;
  border-bottom: 1px solid #212f52;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Alinea los elementos al inicio */
  padding: 0 1rem; /* Opcional, para generar espacio interno */
}

.top-logo {
  width: 150px;
  height: auto;
}
 


  .top-row ::deep a, .top-row ::deep .btn-link {
      white-space: nowrap;
      margin-left: Auto;
      text-decoration: none;
  }

      .top-row ::deep a:hover, .top-row ::deep .btn-link:hover {
          text-decoration: underline;
          
      }

      .top-row ::deep a:first-child {
          overflow: hidden;
          text-overflow: ellipsis;
      }

      .top-row a {
        margin-left: auto;
        color: white;
        text-decoration: none;
    }

/* Al pasar el mouse: texto gris */
.top-row a:hover {
  color: gray;
}

/* Cuando el enlace esté activo o marcado con la clase "selected": texto azul claro */
.top-row a:active,
.top-row a.selected {
  color: lightblue;
}

@media (max-width: 640.98px) {
  .top-row {
      justify-content: space-between;
  }

      .top-row ::deep a, .top-row ::deep .btn-link {
          margin-left: 0;
      }
}

@media (min-width: 641px) {
  .page {
      flex-direction: row;
  }

  .sidebar {
      width: 250px;
      height: 100vh;
      position: sticky;
      top: 0;
  }

  .top-row {
      position: sticky;
      top: 0;
      z-index: 1;
  }

      .top-row.auth ::deep a:first-child {
          flex: 1;
          text-align: right;
          width: 0;
      }

  .top-row, article {
      padding-left: 2rem !important;
      padding-right: 1.5rem !important;
  }
}
