/* ══ Login page styles ═══════════════════════════════════════════════════ */

/* ── Centered login box ── */
.login-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.login-box {
    background: var(--blue);
    color: #fff;
    padding: 40px 50px;
    width: 100%;
    max-width: 500px;
    clip-path: polygon(0 0, 94% 0, 100% 6%, 100% 100%, 6% 100%, 0 94%);
}

.login-box h1 { margin: 0 0 24px; font-size: 36px; }

label { display: block; font-size: 18px; margin-bottom: 6px; }

input {
    width: 100%;
    height: 46px;
    padding: 0 12px;
    border: 0;
    background: #e8e8e8;
    font-size: 20px;
    margin-bottom: 20px;
    color: #222;
}

/* ── Submit button ── */
.btn {
    width: 100%;
    border: 0;
    background: var(--light);
    color: #222;
    padding: 10px;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
    clip-path: polygon(4% 0, 100% 0, 100% 100%, 0 100%, 0 30%);
}

.btn:hover { background: #fff; }

/* ── Error message ── */
.error {
    background: #ffe2e2;
    color: #821717;
    padding: 10px 14px;
    margin-bottom: 16px;
    font-size: 16px;
}

/* ── Register hint ── */
.hint { margin-top: 16px; font-size: 14px; opacity: .7; text-align: center; }
