/*
Theme Name: Crea tu influencer
Author: Crea tu influencer
Description: Tema a medida desarrollador para el proyecto de Crea tu influencer, con un diseño moderno y funcional.
Version: 3.0
*/

/* Aquí puedes añadir el CSS que ya tenías o usar Tailwind */
/* RESET Y VARIABLES */
:root {
    --bg-color: #09090b;
    --card-bg: #111111;
    --border-color: #27272a;
    --primary-color: #e11d48; /* El magenta de la imagen */
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.login-wrapper {
    display: flex;
    min-height: 100vh;
    background-color: var(--bg-color);
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--text-main);
}

/* LADO IZQUIERDO */
.login-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.login-container {
    width: 100%;
    max-width: 400px;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.05em;
}

.logo span {
    color: var(--primary-color);
}

/* CARDS */
.card-main {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
}

.card-title {
    text-align: center;
    margin-bottom: 24px;
}

.card-title h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: white;
}

.card-title p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* FORMULARIO */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: var(--text-main);
}

.login-form input[type="text"],
.login-form input[type="password"],
.login-form input[type="email"] {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    color: white;
    transition: all 0.2s;
}

.login-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(225, 29, 72, 0.2);
}

.btn-primary {
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    transition: opacity 0.2s;
}

.btn-primary:hover {
    opacity: 0.9;
}

.card-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.card-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

/* CARD AYUDA */
.card-help {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    gap: 16px;
}

.help-icon {
    background: rgba(225, 29, 72, 0.1);
    color: var(--primary-color);
    padding: 10px;
    border-radius: 10px;
    height: fit-content;
}

.help-text h3 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.help-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.help-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.85rem;
    display: inline-block;
    margin-top: 8px;
}

/* LADO DERECHO: HERO */
.login-hero {
    display: none;
    flex: 1;
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?q=80&w=2071&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--bg-color), rgba(9, 9, 11, 0.4), transparent);
}

/* RESPONSIVE */
@media (min-width: 1024px) {
    .login-hero {
        display: block;
    }
}