/* Reset de estilos básicos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Importar variables de colores desde style.css */
:root {
    --primary-color: #154AAb;       /* Color principal - no modificado */
    --primary-dark: #0D3580;        /* Versión oscura del color principal para hover */
    --primary-light: #3A6BC7;       /* Versión clara del color principal */
    --accent-color: #23AEC3;        /* Color de acento complementario */
    --accent-dark: #1A8A9A;         /* Versión oscura del color de acento */
    --background-light: #F5F7FA;    /* Fondo claro */
    --background-medium: #E5E9F2;   /* Fondo medio */
    --text-dark: #2C3E50;           /* Texto oscuro */
    --text-medium: #4A5568;         /* Texto medio */
    --text-light: #A0AEC0;          /* Texto claro */
    --border-color: #CBD5E0;        /* Color de bordes */
    --success-color: #38A169;       /* Color de éxito */
    --warning-color: #F6AD55;       /* Color de advertencia */
    --danger-color: #E53E3E;        /* Color de peligro */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);  /* Sombra pequeña */
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);  /* Sombra mediana */
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1); /* Sombra grande */
}

/* Tipografía global */
html, body {
    font-family: 'Roboto', sans-serif;
    height: 100%;
    zoom: 90%;
    background: url('https://cti.notmining.eu/images/eslogan.png') no-repeat center center / cover;
    background-attachment: fixed;
    background-color: var(--background-medium);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}

/* Contenedor principal del login */
.login-container {
    width: 400px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 2;
    margin-right: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Sección izquierda (mensaje de bienvenida) */
.left-section {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #ffffff;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.left-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.left-section h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.left-section p {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.left-section img {
    max-width: 120px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.left-section img:hover {
    transform: scale(1.1);
}

/* Sección derecha (formulario de login) */
.right-section {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.input-group {
    margin-bottom: 1.5rem;
    width: 100%;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333333;
}

.input-group input {
    width: 100%;
    padding: 0.85rem;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background-color: #f9f9f9;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.input-group input:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 4px 15px rgba(35, 174, 195, 0.2);
    background-color: #ffffff;
}

/* Botones */
.btn-login {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 0.85rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: var(--shadow-md);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-login:hover {
    background-color: var(--primary-dark);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn-login:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.btn-login:disabled {
    background-color: var(--text-light);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Alineación de checkboxes y texto */
.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 0.5rem;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: #666666;
    display: flex;
    align-items: center;
}

.checkbox-group label a {
    color: var(--accent-color);
    text-decoration: underline;
    transition: all 0.3s ease;
    font-weight: 500;
}

.checkbox-group label a:hover {
    color: var(--accent-dark);
    text-decoration: none;
}

/* Estilo de los íconos de redes sociales */
.social-icons {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    color: var(--primary-color);
}

.social-icons a {
    font-size: 1.5rem;
    margin: 0 0.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(21, 74, 171, 0.1);
}

.social-icons a:hover {
    color: var(--accent-color);
    transform: scale(1.1);
    background-color: rgba(35, 174, 195, 0.1);
}

.social-icons i {
    font-size: 22px;
}

/* Mensaje de copyright */
.copyright {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    font-size: 0.9rem;
    color: #154AAb;
    z-index: 100;
    opacity: 0.9;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 768px) {
    html, body {
        justify-content: center;
    }

    .login-container {
        margin-right: 1;
        width: 90%;
    }

    .left-section, .right-section {
        width: 100%;
        padding: 2rem;
    }

    .left-section img {
        margin-bottom: 1rem;
    }
}

/* Popup de cookies */
/* Popup de cookies */
.cookie-consent-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: #ffffff;
    color: #333333;
    text-align: left;
    padding: 20px 30px;
    font-size: 14px;
    display: none;
    z-index: 1000;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cookie-consent-banner p {
    margin-bottom: 15px;
}

.cookie-consent-banner a {
    color: #154AAb;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.cookie-consent-banner a:hover {
    color: #23AEC3;
    text-decoration: none;
}

.btn-accept-cookies {
    background-color: #154AAb;
    color: #ffffff;
    border: none;
    padding: 12px 25px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-accept-cookies:hover {
    background-color: #0d3a7e;
    
}

.btn-accept-cookies:active {
    
}



/* Métodos de verificación */
.verification-method {
    text-align: center;
    margin-top: 50px;
    font-size: 0.9rem;
    color: #666666;
}

/* Contenedor de carga */
.loading-container {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
}

.spinner {
    border: 10px solid #f3f3f3;
    border-top: 10px solid transparent;
    border-right: 10px solid #154AAb;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    animation: spin 2s linear infinite;
    margin-bottom: 20px;
    background: linear-gradient(to right, #154AAb, #e5e5e5);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: 1.5em;
    color: #23AEC3;
    margin-bottom: 20px;
}

/* Contenedor del formulario de login */
.login-form-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    overflow: hidden;
}

.form-actions {
    margin-top: 20px;
    position: relative;
    z-index: 5;
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Estilo oculto */
.hidden {
    display: none;
}
