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

body {
font-family: 'Plus Jakarta Sans', sans-serif;
/*background-color: #ffffff;*/
color: #1a1a1a;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}

.login-page {
display: flex;
width: 100%;
height: 100vh;
}

.login-left, .login-right {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
}

.login-left {
/*background: #eee;*/
padding: 40px;
}

.login-content {
max-width: 400px;
width: 100%;
text-align: center;
}

.login-logo img {
height: 80px;
margin-bottom: 30px;
}

h1 {
font-size: 28px;
font-weight: 700;
color: #111;
margin-bottom: 8px;
}

p {
color: #777;
font-size: 15px;
margin-bottom: 25px;
}

.social-login {
display: flex;
justify-content: space-between;
gap: 10px;
margin-bottom: 25px;
}

.social-login button {
flex: 1;
border: 1px solid #e0e0e0;
background: #fff;
padding: 10px 15px;
border-radius: 8px;
font-size: 14px;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
cursor: pointer;
transition: all 0.2s ease;
}

.social-login button:hover {
border-color: #cfcfcf;
background-color: #fafafa;
}

.social-login img {
width: 18px;
height: 18px;
}

.divider {
position: relative;
text-align: center;
margin: 25px 0;
}

.divider::before, .divider::after {
content: "";
position: absolute;
top: 50%;
width: 40%;
height: 1px;
background: #e0e0e0;
}

.divider::before {
left: 0;
}

.divider::after {
right: 0;
}

.divider span {
background: #fff;
padding: 0 10px;
color: #777;
font-size: 14px;
}

.login-form {
display: flex;
flex-direction: column;
gap: 15px;
}

.form-group input {
width: 100%;
padding: 12px 14px;
border: 1px solid #e0e0e0;
border-radius: 8px;
font-size: 14px;
transition: all 0.2s ease;
}

.form-group input:focus {
border-color: #e4032e;
outline: none;
box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.2);
}

.form-options {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 14px;
}

.form-options a {
color: #16a34a;
text-decoration: none;
}

.form-options a:hover {
text-decoration: underline;
}

.btn-login {
width: 100%;
padding: 12px;
background-color: #e4032e;
border: none;
color: #fff;
border-radius: 8px;
font-weight: 600;
font-size: 15px;
cursor: pointer;
margin-top: 10px;
transition: background 0.3s ease;
}

.btn-login:hover {
background-color: #333;
}

.signup-text {
margin-top: 20px;
font-size: 14px;
}

.signup-text a {
color: #e4032e;
text-decoration: none;
font-weight: 500;
}

.signup-text a:hover {
text-decoration: underline;
}

footer {
    margin-top: 40px;
    font-size: 1.2em;
    color: #aaa;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
}

footer a {
color: #333;
text-decoration: none;
margin: 0 5px;
}

footer a:hover {
/*text-decoration: underline;*/
color: #e4032e;
}

footer p {
margin-top: 10px;
}

.login-right {
  background-image: url("../../assets/img/duotone.png");
  background-size: cover;       /* Hace que la imagen cubra todo el espacio */
  background-position: center;  /* Centra la imagen */
  background-repeat: no-repeat; /* Evita que se repita */
  width: 100%;
  height: 100vh;                /* Ocupa todo el alto de la ventana */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;                  /* Si el fondo es oscuro, el texto se verá mejor */
}

.illustration {
  background: rgba(0, 0, 0, 0.4); /* Opcional: capa semitransparente para legibilidad */
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
}

.illustration h2 {
font-size: 22px;
font-weight: 700;
color: #111;
margin-bottom: 10px;
}

.illustration p {
font-size: 15px;
color: #666;
max-width: 400px;
margin: 0 auto;
}

.error-message {
color: #e74c3c;
background: #fdecea;
padding: 10px;
border-radius: 6px;
font-size: 14px;
margin-bottom: 15px;
}

/* Responsivo */
@media (max-width: 900px) {
.login-page {
flex-direction: column;
}
.login-right {
    display: none;
}

.login-left {
    width: 100%;
    padding: 20px;
}

.login-content {
    max-width: 90%;
}
}
