/* =========================
   ESTILO GENERAL
========================= */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f2f2f2 url('images/efectohumo.png') no-repeat center center;
    background-size: cover;
}

/* Centrado total */
#login-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* =========================
   CAJA PRINCIPAL
========================= */
#login-window {
    width: 100%;
    max-width: 920px;        /* más pequeña */
    min-height: 220px;       /* más baja */
    padding: 7px 50px;      /* menos aire vertical */
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    border: 1px solid #FF8C00;
    display: flex;
    flex-direction: column;
}

/* =========================
   TOP: REDES + IDIOMAS
========================= */
.top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.top-social {
    display: flex;
    gap: 10px;
}

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

#select_language {
    display: flex;
    gap: 6px;
}

#select_language img {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

/* =========================
   HEADER
========================= */
.header {
    margin-top: 4px;
    padding-top: 6px;
    border-top: 1px solid #CCC;
    margin-bottom: 10px;
}

.header-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo InfoGEO */
#logo {
    width: 340px;
    margin: 0;
    margin-top:30px;
    margin-bottom:25px;
}

#logo-rgpd {
    width: 150px;
}

/* =========================
   BLOQUE CENTRAL
========================= */
.login-and-carousel {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
}

/* Columna login */
.login-column {
    flex: 1;
    padding-top: 22px;   /* más compacto */
}

/* =========================
   FORMULARIO
========================= */
.block-window {
    margin-top: 70px;    /* más compacto */
}

.welcome {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 7px;
}

fieldset.fields {
    border: 0;
    padding: 0;
    margin: 12px 0 6px 0;
}

dl {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 12px;
}

dt {
    width: 110px;
    font-size: 16px;
}

dd {
    margin: 0;
}

input.box {
    width: 200px;
    height: 20px;
    padding: 6px 3px;
    font-size: 15px;
    border: 1px solid #FF8C00;
    border-radius: 4px;
}

.form-actions {
    margin-top: 10px;
}

.button {
    background-color: #FFA500;
    border: none;
    padding: 10px 50px;
    color: #fff;
    font-size: 18px;
    border-radius: 6px;
    cursor: pointer;
    margin-left: 123px;
}

.button:hover {
    background-color: #FF8C00;
}

/* =========================
   CARRUSEL (FIX FIREFOX)
========================= */
.carousel-column {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Contenedor con altura fija para que Firefox no “invente” */
#top_container_img {
    position: relative;
    width: 100%;
    height: 320px;              /* AJUSTA esta altura a tu gusto */
    overflow: hidden;
    border-radius: 8px;
    background: #fff;           /* evita franjas raras con contain */
}

/* Viewport */
.carousel {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Pista */
.carousel-images {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;

    /* anti artefactos Firefox */
    will-change: transform;
    transform: translate3d(0,0,0);
    backface-visibility: hidden;
}

/* Slides */
.carousel img {
    flex: 0 0 100%;             /* IMPORTANTÍSIMO */
    width: 100%;
    height: 100%;
    object-fit: cover;        /* sin recortes */
    display: block;             /* quita “líneas” */
}


/* =========================
   ATENCIÓN
========================= */
.globus {
    margin-top: 6px;
    font-size: 13px;
    font-weight: bold;
}

/* =========================
   FOOTER
========================= */
.footer {
    border-top: 1px solid #CCC;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo {
    margin-top: -120px;
    width: 160px;
}

.additional-links {
    font-size: 13px;
}

.additional-links a {
    color: #676767;
    text-decoration: none;
    margin-right: 10px;
    display: inline-flex;
    align-items: center;
}

.additional-links a:hover {
    text-decoration: underline;
}

.link-icon {
    width: 14px;
    margin-right: 6px;
}

/* ENS en footer (si lo usas ahí) */
.footer-right {
    display: flex;
    justify-content: center;
}

.footer-ens {
    maring-top:-130px;
    maring-bottom:-20px;
    width: 240px;
}
