html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;

    font-family: 'Open Sans', sans-serif; /* 🔹 Fuente por defecto para el texto general */
    color: #365072; /* Ajusta según tu diseño */
}
main{
    margin-top: -100px;
}

/* Formulario centrado */
.login-form-container {
    width: 100%;
    max-width: 400px;
    padding: 30px;
    background-color: transparent !important; /* Sin fondo */
    box-shadow: none !important; /* Sin sombra */
    border: none !important; /* Sin borde */
}

/* Columna derecha */
.login-image-column {
    background-color: #DFE0D8;
   /*background: linear-gradient(135deg, #ff5439, #365072, #2dadb6);
    background-size: 400% 400%;
    animation: gradientBG 10s ease infinite;
    /*background-color: #365072;*/
    /*background-size: cover;*/
    background-position: center;
}

/* ==== Animación del Fondo ==== */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
/* Footer */
.footer {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    background-color: #f8f9fa;
    border-top: 2px solid #ccc;  /* Línea superior */
    padding: 15px 20px;
    font-size: 0.9rem;
    color: #555;
}

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

.footer-logo img.footer-robot-logo {
    max-width: 200px;
    height: auto;
}

.fila {
    flex: 1;
    display: flex; 
}


.boton-pie{
    background-color: #365072;
    border-color: #365072;
}

.boton-pie:hover{
    background-color: #7c8da3;
    border-color: #7c8da3;
}

.login-image-column {
    min-height: 100vh;
}

/* Imagen cubre toda la columna */
.login-image-column img {
    object-fit: cover;
}

/* Bloque transparente superpuesto a la izquierda */
.overlay-left {
    background-color: rgba(0, 123, 255, 0.3);
    width: 50%;
    height: 50%;
    border-bottom-right-radius: 300px;
}

/* Curva en la esquina inferior derecha */
.curved-shape {
    width: 200px;
    height: 100px;
    background-color: rgba(0, 123, 255, 0.3); /* mismo color pero más intenso si quieres */
    border-top-left-radius: 100px;
    clip-path: ellipse(100% 100% at 100% 100%);
}

/* ==== Encabezados con Raleway ==== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
}

/* ==== Otros Elementos de Texto General (Parrafos, botones, etc.) ==== */
p, span, a, button, input, textarea, label {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
}

.enlaces{
    color: #ff5439 !important;
}

.enlaces1 {
    text-shadow: 1px 1px 3px #fff ;/* 🔹 Color rojo difuso */
    color: #ff5439 !important;
    font-size: 1.5rem !important;
}

/* === Estilos botones=== */
.botones{
    background-color: #2dadb6;
    border-color: #2dadb6;
}

.botones:hover{
    background-color: #365072;
    border-color: #365072;
    color: #f1c40f;
}

.botones-primary{
    background-color: #365072;
    border-color: #365072;
    color: #f1c40f;
}

.botones-primary:hover{
    background-color: #2dadb6;
    border-color: #2dadb6;
    color: #fff;
}
/* ==== Mejorar visibilidad del Títulos y Párrafos ==== */
h1.banner {
    font-size: 4rem;
    color: #ff5439;
    font-weight: 700 !important;
    /*text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); /* 🔹 Mayor legibilidad */
}

.titulo-primario{
    font-size: 4rem !important;
    color: #365072 !important;
    font-weight: 700 !important;
}

.titulo-primario-sub{
    font-size: 4rem !important;
    color: #ff5439 !important;
    font-weight: 700 !important;
}

.titulo-secundario{
    font-size: 2rem !important;
    color: #2dadb6 !important;
    font-weight: lighter important;
}
.titulos2{
    font-size: 3rem !important;

}

.titulos3{
    margin-top: 10px !important;
    color: rgba(255, 84, 57, 0.9)!important;
}

.parraf {
    font-size: 1.2rem !important;
    color: #f1c40f !important;  /* 🔹 Amarillo dorado para mayor contraste */
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5) !important;
}

.form-group label,
.form-label{
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    color: #365072 !important;
}
/* Ajuste si el texto necesita destacarse */
.texto-pie {
    width: 100%;
    position: absolute !important;
    top: 120px; /* margen superior */
    left: 60%;
    transform: translateX(-50%); /* centrado horizontal */
    font-weight: 500;
    font-size: 1.2rem;
    color: #1a1a1a !important;
    z-index: 2;
}


.login-image-column img {
    filter: grayscale(100%);
}


@media (max-width: 768px) {

    body {
        height: auto; /*🔹 Ajusta toda la pantalla sin scroll */
        overflow: scroll; /* 🔹 Evita el desplazamiento */
      
    } 
    main{
        margin-top: -20px;
    }
}

@media (max-width: 767.98px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* Ocultar imagen en pantallas pequeñas */
@media (max-width: 767.98px) {
    .login-image-column {
        display: none !important;
    }
}

/* Asegurar que el formulario ocupe toda la pantalla en móviles */
@media (max-width: 767.98px) {
    .login-form-container {
        width: 100% !important;
        padding: 2rem !important;
    }

    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
