html, body {
    height: 100%;
    margin: 0;
    font-size: 10px;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

header {
    position: absolute;
    top: 10px;
    right: 10px;
}

header .idiomas ul {
    list-style: none;
    display: flex;
    gap: 10px;
}

header .idiomas ul li a {
    color: #03814B;
    text-decoration: none;
    font-weight: bold;
}

header .idiomas ul li a:hover{
    color: #1bba75;
}

.active {
    border-bottom: 4px #03814B;
    border-bottom-style: solid;
    color: #03814B;
    font-weight: bold;
}

main {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.izquierda {
    background-color: #03814B;
    display: flex;
    align-items: center;
    justify-content: center;
}

.izquierda #logo img {
    max-width: 80%;
    height: auto;
}

.derecha {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    background: #f9f9f9;
}

#acceso {
    text-align: left;
    max-width: 80%;
    width: 100%;
    box-shadow: 10px 5px 5px #e8e2e2;
    background: white;
    border-style: solid;
    border-color: white;
    border-radius: 15px;
    text-align: center;
    margin-top: 50px;
}

#acceso h1 {
    font-size: 2.4rem;
    margin-bottom: 20px;
}

#acceso label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

#acceso input[type="email"],
#acceso input[type="password"] {
    width: 80%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#acceso input[type="email"]:required:user-invalid,
#acceso input[type="password"]:required:user-invalid{
    border: 2px solid red;
}

#acceso input[type="email"]:required:user-invalid + span::before {
    content: "✖";
    color: red;
}

#acceso input[type="password"]:required:user-invalid + span::before {
    content: "✖";
    color: red;
}

#acceso input[type="submit"] {
    width: 40%;
    padding: 10px;
    background-color: #03814B;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.6rem;
}

#acceso input[type="submit"]:hover {
    background-color: #1bba75;
}

#acceso a {
    display: block;
    margin-top: 10px;
    color: #03814B;
    text-decoration: none;
    font-size: 1.4rem;
}

#acceso a:hover {
    text-decoration: underline;
    color: #1bba75;
}

abbr {
    text-decoration: none;
}

.error {
  background-color: #ffe6e6;      /* fondo rojo suave */
  color: #b30000;                 /* texto rojo fuerte */
  border: 1px solid #b30000;      /* borde rojo */
  padding: 12px 16px;
  margin-bottom: 20px;
  border-radius: 6px;
  font-weight: bold;
  font-family: Arial, sans-serif;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
