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

body {
    min-height: 100vh;
    font-family: 'Montserrat', Arial, sans-serif;
    background: #ffffff;
}

.header {
    width: 100%;
    background: transparent;
    border-bottom: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

.header .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 78px;
    padding: 0 24px;
    display: flex;
    align-items: center;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #4b1c5c;
    line-height: 1;
}

/* ===== LOGIN BACKGROUND ===== */
.login-wrapper {
    min-height: 100vh;
    background-image: url("/images/login-bg.jpg");
    background-size: cover;
    background-position: center;
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 90px;
    padding: 0 5%;
}

/* ===== OVERLAY ===== */
.login-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.login-wrapper > * {
    position: relative;
    z-index: 1;
}

/* ===== LEFT COLUMN ===== */
.login-left {
    max-width: 460px;
    color: #ffffff;
}

.login-left h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 16px;
}

.login-left p {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.9;
}

/* ===== RIGHT COLUMN ===== */
.login-right {
    width: 420px;
}

.login-right h2 {
    color: #ffffff;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
}

/* ===== FORM ===== */
.login-right form {
    display: flex;
    flex-direction: column;
}

.login-right label {
    font-size: 12px;
    color: #f0f0f0;
    margin-bottom: 6px;
}

.login-right input:not([type="checkbox"]) {
    width: 100%;
    height: 32px;
    padding: 0 10px;
    border-radius: 2px;
    border: none;
    font-size: 13px;
    background: #ffffff;
    margin-bottom: 14px;
}

.login-right input:focus {
    outline: none;
}

/* ===== BUTTON (NAPRAWIONE) ===== */
.login-right button {
    margin-top: 8px;
    width: 210px;
    height: 32px;
    background: #5b1f6f;
    border: none;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.2s ease;
    align-self: flex-start; /* KLUCZ – nie rozciąga się */
}

.login-right button:hover {
    background: #4b1c5c;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .login-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .login-right {
        width: 100%;
        max-width: 360px;
    }

    .login-right button {
        width: 100%;
        align-self: stretch;
    }

    .header .nav-container {
        justify-content: center;
    }

    /* ================= REMEMBER ME ================= */
    .remember-me {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 12px 0 24px;
        font-size: 13px;
        color: #ffffff;
        cursor: pointer;
        user-select: none;
    }

    /* hide native checkbox */
    .remember-me input {
        display: none;
    }

    /* white box */
    .remember-me .checkmark {
        width: 16px;
        height: 16px;
        background: #ffffff;
        border-radius: 4px;
        border: 1px solid #e5e7eb;
        position: relative;
        flex-shrink: 0;
    }

    /* purple check */
    .remember-me input:checked + .checkmark::after {
        content: "✔";
        position: absolute;
        top: -2px;
        left: 2px;
        font-size: 14px;
        color: #6d28d9; /* brand purple */
        font-weight: 700;
    }

    /* hover */
    .remember-me:hover .checkmark {
        border-color: #6d28d9;
    }

    .remember-text {
        opacity: 0.9;
    }
}