/* TipografÃ­a bÃ¡sica */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* El body del login ocupa toda la pantalla */
.login-body {
    background: radial-gradient(circle at 10% 20%, #0b6cff 0%, #001a45 40%, #020617 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Contenedor principal */
.login-wrapper {
    position: relative;
    width: 100%;
    max-width: 980px;
    padding: 20px;
    animation: fadeIn 0.8s ease-out forwards;
}

/* Círculos difuminados del fondo */
.bg-blur-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.7;
    pointer-events: none;
    animation: float 12s infinite ease-in-out;
}

.circle-1 {
    width: 260px;
    height: 260px;
    background: #2563eb;
    top: -60px;
    left: -40px;
}

.circle-2 {
    width: 220px;
    height: 220px;
    background: #22c1c3;
    bottom: -40px;
    right: 30px;
    animation-delay: 2s;
}

.circle-3 {
    width: 180px;
    height: 180px;
    background: #7c3aed;
    top: 40%;
    right: 55%;
    animation-delay: 4s;
}

/* Tarjeta principal */
.login-card {
    position: relative;
    display: flex;
    background: rgba(15, 23, 42, 0.75);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0,0,0,0.5);
    border: 1px solid rgba(148, 163, 184, 0.3);
    backdrop-filter: blur(18px);
}

/* Panel izquierdo (branding) */
.login-left {
    flex: 1.1;
    padding: 40px 36px;
    color: #e5e7eb;
    background: linear-gradient(135deg, rgba(37,99,235,0.85), rgba(15,23,42,0.9));
    position: relative;
    overflow: hidden;
}

/* LÃ­neas diagonales de fondo */
.login-left::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(
        120deg,
        rgba(255,255,255,0.10) 1px,
        transparent 1px
    );
    background-size: 80px 80px;
    mix-blend-mode: soft-light;
    opacity: 0.4;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;       /* espacio entre logo y texto */
    margin-bottom: 40px;
}


.brand-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 15px;

    /* ðŸ”´ eliminar restos del logo anterior */
    width: auto;
    height: auto;
    border: none;
    border-radius: 0;
    background: none;
}


.brand-logo .dot {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: #ffffff;
    position: relative;
}

.brand-logo .dot.small {
    width: 7px;
    height: 7px;
    background: #60a5fa;
    position: absolute;
    bottom: 1px;
    right: 1px;
}

.brand-name {
    font-size: 50px;              /* ðŸ‘ˆ tamaÃ±o grande */
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1;
    
    /* ðŸŽ¨ gradiente con colores del logo */
    background: linear-gradient(
        90deg,
        #22c55e,   /* verde */
        #3b82f6,   /* azul */
        #f97316    /* naranja */
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    /* opcional para que resalte */
    text-shadow: 0 2px 10px rgba(0,0,0,0.25);
}


.welcome-text {
    position: relative;
    z-index: 1;
    margin-bottom: 36px;
}

.welcome-text h1 {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 14px;
}

.welcome-text p {
    font-size: 14px;
    color: #d1d5db;
    max-width: 260px;
}

.btn-outline {
    position: relative;
    z-index: 1;
    margin-top: 8px;
    background: transparent;
    color: #e5e7eb;
    border-radius: 999px;
    border: 1px solid rgba(248, 250, 252, 0.7);
    padding: 9px 26px;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
}

.btn-outline::after {
    content: "âžœ";
    font-size: 12px;
    transform: translateX(0);
    transition: transform 0.25s ease;
}

.btn-outline:hover {
    background: rgba(248, 250, 252, 0.12);
    box-shadow: 0 0 18px rgba(59, 130, 246, 0.7);
}

.btn-outline:hover::after {
    transform: translateX(4px);
}

/* Panel derecho (formulario) */
.login-right {
    flex: 1;
    background: rgba(248, 250, 252, 0.98);
    padding: 40px 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-header {
    margin-bottom: 20px;
}

.login-header h2 {
    font-size: 22px;
    color: #111827;
    margin-bottom: 4px;
}

.login-header p {
    font-size: 13px;
    color: #6b7280;
}

.login-form {
    width: 100%;
    max-width: 320px;
}

.alert {
    background: #fee2e2;
    color: #b91c1c;
    padding: 8px 10px;
    border-radius: 8px;
    margin-bottom: 14px;
    font-size: 13px;
}

/* Campos */
.field {
    margin-bottom: 16px;
}

.field label {
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 4px;
    display: block;
}

.field-input input {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    padding: 10px 12px;
    font-size: 13px;
    transition: border 0.2s, box-shadow 0.2s, transform 0.1s;
    background: #ffffff;
}

.field-input input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 1px rgba(37,99,235,0.35);
    transform: translateY(-1px);
}

/* Opciones: recuerdame / olvido clave */
.field-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    margin-bottom: 18px;
    color: #4b5563;
}

.field-options .remember input {
    margin-right: 4px;
}

.forgot-link {
    color: #2563eb;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* BotÃ³n principal */
.btn-primary {
    width: 100%;
    border: none;
    border-radius: 11px;
    padding: 11px;
    font-size: 14px;
    font-weight: 600;
    color: #f9fafb;
    cursor: pointer;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 12px 25px rgba(37,99,235,0.45);
    transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.15s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 18px 30px rgba(37,99,235,0.55);
}

.btn-primary:active {
    transform: translateY(1px);
    box-shadow: 0 8px 18px rgba(37,99,235,0.35);
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 18px 0 10px;
    font-size: 12px;
    color: #9ca3af;
}

.divider span {
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

/* Caja de "signup" */
.signup-box {
    text-align: center;
    font-size: 13px;
    color: #4b5563;
}

.btn-secondary {
    margin-top: 8px;
    width: 100%;
    border-radius: 11px;
    border: 1px solid #2563eb;
    background: white;
    color: #2563eb;
    padding: 10px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-secondary:hover {
    background: #eff6ff;
    box-shadow: 0 8px 18px rgba(37,99,235,0.25);
}

/* ANIMACIONES */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%   { transform: translate3d(0, 0, 0); }
    50%  { transform: translate3d(15px, -25px, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .login-card {
        flex-direction: column;
    }

    .login-left {
        padding: 28px 24px;
    }

    .welcome-text h1 {
        font-size: 30px;
    }
}

@media (max-width: 640px) {
    .login-wrapper {
        padding: 16px;
    }

    .login-card {
        border-radius: 18px;
    }

    .login-left {
        display: none;  /* En mÃ³viles mostramos solo el formulario */
    }

    .login-right {
        padding: 32px 24px;
    }
}

.brand-logo img {
    max-width: 80px;   /* recomendado */
    width: 100%;
    height: auto;
    display: block;
}


.brand-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* o center si lo quieres centrado */
    margin-bottom: 15px;
}


