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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", sans-serif;
  background: linear-gradient(135deg, #a8b5c0 0%, #8b9aa8 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#container {
  width: 100%;
  max-width: 480px;
}

#login-card {
  background: #f5f5f5;
  border-radius: 16px;
  padding: 48px 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

#logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

#logo-circle {
  width: 56px;
  height: 56px;
  background: #1e6bb8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#logo-text {
  font-size: 32px;
  font-weight: 600;
  color: #1e6bb8;
}

#title {
  font-size: 28px;
  font-weight: 600;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 8px;
}

#subtitle {
  font-size: 15px;
  color: #666;
  text-align: center;
  margin-bottom: 32px;
}

#login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#form-group-email,
#form-group-password {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#form-group-email label,
#form-group-password label {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
}

#form-group-email input,
#form-group-password input {
  padding: 14px 16px;
  font-size: 15px;
  border: none;
  border-radius: 8px;
  background: #e0e0e0;
  color: #1a1a1a;
  transition: background 0.2s;
}

#form-group-email input:focus,
#form-group-password input:focus {
  outline: none;
  background: #d5d5d5;
}

#form-group-email input::placeholder,
#form-group-password input::placeholder {
  color: #888;
}

#form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

#checkbox-container {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

#checkbox-container input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

#checkbox-label {
  font-size: 14px;
  color: #666;
  user-select: none;
}

#forgot-password-link {
  font-size: 14px;
  color: #1e6bb8;
  text-decoration: none;
  font-weight: 500;
}

#forgot-password-link:hover {
  text-decoration: underline;
}

#submit-button{
  width: 100%;
  margin-top: 12px;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  color: white;
  background: #1e6bb8;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}
#volver-button {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: white;
  background: #1e6bb8;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 5px;
  margin-top: 0px;
  margin-left: 10px;
}
#volver-button:hover {
  background: #1557a0;
}

#submit-button:hover {
  background: #1557a0;
}

#submit-button:active {
  background: #0f4580;
}

#submit-button:disabled {
  background: #6b9fd4;
  cursor: not-allowed;
}

#error-message {
  padding: 12px;
  background: #fee;
  border: 1px solid #fcc;
  border-radius: 8px;
  color: #c33;
  font-size: 14px;
  text-align: center;
}
/* para celulares */
@media (max-width: 480px) {
  #login-card {
    padding: 32px 24px;
  }

  #title {
    font-size: 24px;
  }

  #logo-text {
    font-size: 28px;
  }
  #volver-button {
    margin-left: 24px; 
    padding: 10px 12px;
    font-size: 13px;
  }

}
