@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
    --bg: #f5f7fb;
    --panel: #ffffff;
    --text: #101419;
    --muted: #667085;
    --border: rgba(16, 20, 25, 0.10);
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --shadow: 0 18px 50px rgba(16, 20, 25, 0.08);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

.auth-wrap {
    width: 100%;
    max-width: 468px;
}

.brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    margin-bottom: 24px;
}

.brand img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.brand span {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -0.045em;
}

.card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 28px;
    backdrop-filter: blur(16px);
}

.form {
    display: grid;
    gap: 13px;
}

.input {
    width: 100%;
    height: 48px;
    border: 1px solid var(--border);
    border-radius: 11px;
    padding: 0 15px;
    background: #fff;
    color: var(--text);
    font: inherit;
    font-size: 15px;
    outline: none;
}

.input:focus {
    border-color: rgba(37, 99, 235, 0.55);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

.btn {
    width: 100%;
    height: 48px;
    margin-top: 4px;
    border: 0;
    border-radius: 11px;
    background: var(--accent);
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 850;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease;
}

.btn:hover {
    background: var(--accent-hover);
}

.btn:active {
    transform: translateY(1px);
}

.switch {
    margin-top: 18px;
    text-align: center;
    color: var(--muted);
    font-size: 15px;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
}

body { font-family: "Plus Jakarta Sans", Arial, sans-serif; }

@media (max-width: 767px) {
    .input {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .brand img {
        width: 40px;
        height: 40px;
    }

    .brand span {
        font-size: 28px;
    }
}
