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

body, html {
    margin: 0; padding: 0;
    font-family: 'Inter', sans-serif;
    background: #f5f7fb;
    height: 100%;
    overflow: hidden;
}

.main-container {
    position: relative;
    width: 100%; height: 100vh;
    display: flex; justify-content: center; align-items: center;

    /* Světlé pozadí + obrázek */
    background:
        linear-gradient(rgba(245, 247, 251, 0.85), rgba(230, 240, 255, 0.9));
}

.overlay {
    display: none; /* odstraněná tmavá vrstva */
}

.login-card {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(15, 23, 42, 0.06);
    padding: 40px 50px;
    border-radius: 24px;
    backdrop-filter: blur(20px);
    width: 100%;
    max-width: 400px;
    text-align: center;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.06),
        0 2px 10px rgba(0, 0, 0, 0.04);
}

.logo { 
    font-size: 28px; 
    font-weight: 800; 
    margin-bottom: 10px; 
    color: #0f172a; 
    letter-spacing: 1px;
}

.gold { 
    color: #3b82f6;
}

h2 { 
    color: #0f172a; 
    font-size: 22px; 
    margin-bottom: 8px; 
    font-weight: 700; 
}

p { 
    color: #64748b; 
    font-size: 14px; 
    margin-bottom: 35px; 
}

.input-group { 
    text-align: left; 
    margin-bottom: 20px; 
}

label { 
    display: block; 
    font-size: 10px; 
    color: #3b82f6; 
    text-transform: uppercase; 
    margin-bottom: 8px; 
    font-weight: 800; 
    letter-spacing: 1px; 
}

input {
    width: 100%;
    padding: 14px 18px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #0f172a;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
    transition: 0.25s;
}

input:focus { 
    border-color: #3b82f6; 
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.btn-login {
    width: 100%;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    margin-top: 15px;
    transition: 0.25s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-login:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.25);
}

#error-msg { 
    color: #ef4444; 
    font-size: 12px; 
    margin-top: 15px; 
    font-weight: 600; 
}

input::placeholder {
    color: #94a3b8;
}

.btn-login:active {
    transform: translateY(0);
}