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

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #f8fafc;
    color: #020617;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.login-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

.logo {
    margin-bottom: 26px;
}

.logo::before {
    content: "";
    display: inline-flex;
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    border-radius: 18px;
    background: #181818 url("/icons/icon-192-v2.png") center / cover no-repeat;
}

.logo h1 {
    color: #020617;
    margin-bottom: 8px;
    font-size: 28px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: 0;
}

.logo p {
    color: #64748b;
    font-size: 15px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
}

.form-group input {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #dbe3ef;
    border-radius: 16px;
    background: #f8fafc;
    color: #020617;
    font-size: 16px;
    font-weight: 700;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #059669;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.12);
}

.btn-primary {
    width: 100%;
    min-height: 50px;
    margin-top: 4px;
    border: 0;
    border-radius: 18px;
    background: #059669;
    color: #ffffff;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background: #047857;
    transform: translateY(-1px);
}

.message {
    padding: 12px 14px;
    border-radius: 16px;
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 700;
}

.message.error {
    background: #fff1f2;
    color: #be123c;
    border: 1px solid #fecdd3;
}

.links {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.links a {
    color: #059669;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
}

.links a:hover {
    color: #047857;
}

@media (max-width: 480px) {
    body {
        align-items: flex-start;
        padding: 18px;
    }

    .login-card {
        padding: 24px;
    }

    .links {
        flex-direction: column;
    }
}
