/* ========================= */
/* DESKTOP DEFAULT (CENTER)  */
/* ========================= */

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(180deg, #f3f4f9, #e9ebf0);
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Container */
.login-container {
    width: 100%;
    max-width: 420px;
}

/* Card */
.login-box {
    background: #ffffff;
    padding: 40px;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.logo-container img {
    width: 32px;
    margin-right: 10px;
}

.logo-text {
    font-size: 20px;
    color: #1a1a1a;
}

/* Heading */
h2 {
    font-weight: normal;
    margin-bottom: 24px;
    color: #1a1a1a;
}

/* ========================= */
/* EMAIL (UNDERLINE ONLY)    */
/* ========================= */

.underline-input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #8a8886;
    padding: 10px 2px;
    font-size: 15px;
    outline: none;
    background: transparent;
    margin-bottom: 20px;
}

.underline-input::placeholder {
    color: #8a8886;
}

/* ========================= */
/* PASSWORD                 */
/* ========================= */

.password-label {
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
    color: #1a1a1a;
}

.password-input {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #8a8886;
    background: #ffffff !important;
    color: #000 !important;
    outline: none;
    box-sizing: border-box;
}

/* Autofill fix */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px white inset !important;
    -webkit-text-fill-color: black !important;
}

/* ========================= */
/* LINKS & BUTTONS           */
/* ========================= */

a {
    font-size: 13px;
    color: #0067b8;
    text-decoration: none;
    display: block;
    margin: 4px 0;
}

a span {
    font-weight: 600;
}

/* Next / Sign-in button */
.next-btn {
    background: #0067b8;
    color: white;
    border: none;
    padding: 10px 18px;
    font-size: 15px;
    cursor: pointer;
    margin-top: 24px;
    float: right; /* ✅ Bottom-right on desktop */
}

.next-btn:hover {
    background: #005a9e;
}

/* ========================= */
/* SIGN-IN OPTIONS           */
/* ========================= */

.signin-options {
    clear: both; /* ✅ Forces it below the button */
    display: flex;
    align-items: center;
    margin-top: 16px;
    padding: 8px 12px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 0 6px rgba(0,0,0,0.08);
    font-size: 14px;
}

/* Footer */
footer {
    margin-top: 12px;
    text-align: right;
    font-size: 12px;
}

/* ========================= */
/* MOBILE (MICROSOFT STYLE)  */
/* ========================= */

@media (max-width: 768px) {

    body {
        align-items: flex-start;
        justify-content: flex-start;
        background: #ffffff;
        height: auto;
    }

    .login-container {
        max-width: 100%;
        padding: 24px;
    }

    .login-box {
        padding: 0;
        box-shadow: none;
        border-radius: 0;
        background: transparent;
    }

    h2 {
        font-size: 20px;
        margin-bottom: 24px;
    }

    /* Email underline stays clean */
    .underline-input {
        font-size: 16px;
        padding: 12px 4px;
        border-bottom: 1px solid #8a8886;
    }

    /* Password box NORMAL size */
    .password-input {
        font-size: 15px;
        padding: 10px;
    }

    /* Button bottom-right (not centered) */
    .next-btn {
        float: right;
        width: auto;
        padding: 10px 18px;
        margin-top: 24px;
    }

    /* Sign-in options visible on mobile */
    .signin-options {
        display: flex;
        margin-top: 24px;
        box-shadow: none;
        border: 1px solid #e1dfdd;
        border-radius: 4px;
    }

    /* Hide footer only */
    footer {
        display: none;
    }
}