/*
    qwikrr-login.css
    Qwikrr Application
    Styles for the Qwikrr login page (views/login.ejs).
    Layout: sign-in form on the left (white), brand panel on the right (navy).
    Colours come from the Qwikrr logo: navy #111827 and blue #2563EB.
    The brand panel is hidden on small screens so the form takes the full width.
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ---------- page ---------- */
.ql-body {
    margin: 0;
    background: #ffffff;
    font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    color: #111827;
}

/* two columns side by side, full screen height */
.ql-page {
    display: flex;
    min-height: 100vh;
}

/* ---------- left: sign-in form ---------- */
.ql-form-side {
    flex: 0 0 44%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 56px;
}

/* keeps the form a comfortable reading width, centred vertically */
.ql-form-wrap {
    width: 100%;
    max-width: 380px;
    margin: auto 0;
}

.ql-logo {
    height: 40px;
    margin-bottom: 48px;
}

.ql-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #111827;
}

.ql-subtitle {
    font-size: 15px;
    color: #6b7280;
    margin: 0 0 32px 0;
}

.ql-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin: 0 0 6px 0;
}

.ql-input {
    height: 48px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 15px;
    margin-bottom: 20px;
}

.ql-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    outline: none;
}

/* password box: the eye button sits inside the input on the right */
.ql-pass-group {
    position: relative;
}

.ql-pass-group .ql-input {
    padding-right: 48px;
}

.ql-eye {
    position: absolute;
    top: 0;
    right: 4px;
    height: 48px;
    width: 40px;
    border: none;
    background: transparent;
    color: #6b7280;
    font-size: 18px;
}

.ql-eye:hover {
    color: #111827;
}

.ql-btn {
    display: block;
    width: 100%;
    height: 48px;
    margin-top: 8px;
    border: none;
    border-radius: 10px;
    background: #2563eb;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
}

.ql-btn:hover,
.ql-btn:focus {
    background: #1d4ed8;
    color: #ffffff;
}

/* error line: hidden with .sp-hidden (opacity 0) until sp-login.js shows it */
.ql-error {
    margin: 16px 0 0 0;
    font-size: 14px;
    text-align: center;
}

.ql-signup {
    margin: 24px 0 0 0;
    font-size: 14px;
    color: #6b7280;
    text-align: center;
}

.ql-signup a {
    color: #2563eb;
    font-weight: 600;
}

.ql-footer {
    margin: 32px 0 0 0;
    font-size: 13px;
    color: #9ca3af;
}

/* ---------- right: brand panel ---------- */
.ql-brand-side {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 56px 72px;
    background-color: #111827;
    /* two soft blue glows on the navy background */
    background-image:
        radial-gradient(circle at 85% 15%, rgba(37, 99, 235, 0.45), transparent 45%),
        radial-gradient(circle at 10% 95%, rgba(37, 99, 235, 0.25), transparent 40%);
    color: #ffffff;
}

.ql-brand-wrap {
    max-width: 480px;
}

.ql-brand-logo {
    height: 34px;
    margin-bottom: 40px;
}

.ql-brand-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 16px 0;
    color: #ffffff;
}

/* the brand name in the headline is shown in the logo blue */
.ql-brand-title span {
    color: #60a5fa;
}

.ql-brand-text {
    font-size: 17px;
    color: #d1d5db;
    margin: 0 0 36px 0;
}

.ql-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ql-points li {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #e5e7eb;
    margin-bottom: 18px;
}

/* round blue badge behind each point's icon */
.ql-points i {
    flex: 0 0 40px;
    height: 40px;
    line-height: 40px;
    margin-right: 14px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.25);
    color: #93c5fd;
    font-size: 20px;
    text-align: center;
}

/* ---------- small screens: form only ---------- */
@media (max-width: 991px) {
    .ql-form-side {
        flex: 1 1 100%;
        padding: 32px 24px;
    }

    .ql-form-wrap {
        margin: auto;
    }

    .ql-logo {
        margin-bottom: 36px;
    }

    .ql-brand-side {
        display: none;
    }

    .ql-footer {
        text-align: center;
    }
}
