@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;
    background: linear-gradient(135deg, #f5f7fb, #e9eef7);
}

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

.login-card {
    position: relative;
    z-index: 2;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 40px 50px;
    border-radius: 24px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.05),
        0 2px 10px rgba(0, 0, 0, 0.03);
    box-sizing: border-box;
}

.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: 30px; 
}

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

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: 10px;
    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: 10px;
    margin-bottom: 10px;
    font-weight: 600; 
}

.auth-link-wrap {
    margin-top: 25px;
}

.auth-link {
    color: #64748b;
    font-size: 12px;
    text-decoration: none;
    transition: 0.25s;
}

.auth-link:hover {
    color: #3b82f6;
}

@media (max-width: 480px) {
    .login-card {
        padding: 30px 20px;
        width: 90%;
    }
}

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

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