/* Reseteo básico */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f4f6f8;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- ENCABEZADO --- */
.main-header {
    background: linear-gradient(90deg, #1a0b50 0%, #4b0082 50%, #000033 100%);
    color: white;
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}

/* Efecto visual de "circuitos" simple en el fondo */
.main-header::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.logo-placeholder {
    font-weight: bold;
    text-align: center;
    border: 2px solid #00d4ff;
    padding: 5px;
    color: #00d4ff;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    box-shadow: 0 0 10px #00d4ff;
}

.top-nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.9rem;
}

/* --- CONTENIDO PRINCIPAL (LOGIN) --- */
.login-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    background-color: #fff;
    margin-top: 120px; /* Ajusta este número según el espacio que quieras */
    padding-top: 20px
}

.login-wrapper {
    display: flex;
    flex-wrap: wrap;
    max-width: 900px;
    width: 100%;
    gap: 40px;
    align-items: center;
}

.login-image {
    flex: 1;
    min-width: 300px;
}

.login-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.login-form-section {
    flex: 1;
    min-width: 300px;
}

.login-form-section h2 {
    color: #3498db;
    margin-bottom: 20px;
    font-weight: 400;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fafafa;
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.form-check input {
    margin-right: 10px;
}

.form-check label {
    font-size: 0.85rem;
    color: #666;
}

.form-buttons {
    display: flex;
    gap: 10px;
}

.btn-login {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    flex: 1;
}

.btn-create {
    background-color: #eee;
    color: #333;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    flex: 1;
}

/* --- PIE DE PÁGINA --- */
.main-footer {
    background-color: #000;
    color: #fff;
    padding: 40px 0;
    font-size: 0.9rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 0 20px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.footer-column h4 {
    color: #3498db;
    margin-bottom: 15px;
}

.footer-column a {
    color: #3498db;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #fff;
}

.logo-placeholder.small {
    width: 60px;
    height: 60px;
    font-size: 0.6rem;
}

/* Responsivo para móviles */
@media (max-width: 768px) {
    .login-wrapper {
        flex-direction: column;
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-column {
        align-items: center;
    }
}