/* Reseteo básico de márgenes */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

@font-face {
  font-family: 'Asimovian';
  src: url('/Asimovian-Regular.woff2') format('woff2'),
       url('/Asimovian-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* Optimiza la carga y evita texto invisible */
}

body {
    /* Reemplaza 'fondo-velutina.jpg' por la ruta o URL de tu imagen */
    background-image: url('jose-antonio-amigo-desarrollador-web-medio-ambiente.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    
    /* Configuración para que el footer se quede siempre abajo */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Contenedor principal que centra la tarjeta de login */
.login-container {
    flex: 1;
    display: flex;
    justify-content: right;
    margin-right: 10%;
    align-items: center;
    padding: 20px;
}

/* Tarjeta de login opaca */
.login-card {
    background-color: #ffffff;
    width: 100%;
    max-width: 420px;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Cabecera del formulario */
.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h1 {
    color: #1a1a1a;
    font-family: 'Asimovian', sans-serif;;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.login-header .subtitle {
    color: #666666;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Estilos del formulario e inputs */
.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    color: #333333;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.login-form input, textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    color: #333333;
    transition: border-color 0.2s ease;
}

.login-form input:focus, textarea:focus {
    outline: none;
    border-color: #006C4B; /* Un tono amarillo/avispado de énfasis */
}

/* Botón de acceso */
.btn-submit {
    width: 100%;
    padding: 14px;
    background-color: #006C4B; /* Gris azulado oscuro, muy profesional */
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: #1a252f;
}

/* Estilos del Footer */
.main-footer {
    background-color: rgba(0, 0, 0, 0.75); /* Fondo oscuro semitransparente */
    color: #ffffff;
    text-align: center;
    padding: 15px 20px;
    font-size: 0.8rem;
    width: 100%;
}
