@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

.leglog-login-wrap {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #e2e8f0;
    background: #0f172a;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Podsvícení na pozadí */
.leglog-ambient { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.leglog-light {
    position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.15;
    animation: leglog-float 12s infinite ease-in-out;
}
.leglog-light.one { width: 700px; height: 700px; top: -200px; left: -200px; background: #06b6d4; }
.leglog-light.two { width: 800px; height: 800px; bottom: -200px; right: -200px; background: #3b82f6; animation-delay: -6s; }

@keyframes leglog-float {
    0% { transform: translate(0,0); }
    50% { transform: translate(30px,-40px); }
    100% { transform: translate(0,0); }
}

/* Samotná karta loginu */
.leglog-login-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 2;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.leglog-login-title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 30px 0;
    letter-spacing: -0.5px;
}
.leglog-highlight {
    color: transparent;
    background: linear-gradient(to right, #06b6d4, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
}

/* Inputy a labely - Vypancéřované proti Divi */
.leglog-input-group {
    text-align: left;
    margin-bottom: 20px;
}
.leglog-input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #94a3b8;
}

/* Ochrana před Divi bílým pozadím */
.leglog-login-card input[type="text"],
.leglog-login-card input[type="password"],
.leglog-login-card input[type="number"] {
    width: 100% !important;
    background-color: #0f172a !important;
    border: 1px solid #334155 !important;
    color: #fff !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    font-family: inherit !important;
    font-size: 1rem !important;
    outline: none !important;
    transition: all 0.2s !important;
    box-sizing: border-box !important;
    box-shadow: none !important; /* Divi někdy přidává inner shadow */
}

.leglog-login-card input:focus {
    border-color: #06b6d4 !important;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15) !important;
}

/* Ochrana honeypot/math - Tmavší modrá pro captchu */
.leglog-captcha-box {
    text-align: left;
    margin-bottom: 30px;
    background: rgba(6, 182, 212, 0.05);
    border: 1px solid rgba(6, 182, 212, 0.2);
    padding: 15px;
    border-radius: 8px;
}
.leglog-captcha-box label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #06b6d4;
}
.leglog-captcha-box input[type="number"] {
    background-color: rgba(15, 23, 42, 0.8) !important;
    border: 1px solid #334155 !important;
    padding: 10px !important;
}


/* Tlačítko */
.leglog-btn {
    width: 100%;
    background: linear-gradient(to right, #06b6d4, #3b82f6);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.leglog-btn:hover {
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}

/* Chybová hláška */
.leglog-error-msg {
    display: none;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #f87171;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    text-align: left;
}
