/* ============================================================
   EBC SOCIAL LOGIN — login screen
   The provider buttons beneath the Log In button.

   `login_form` prints the block between the password field and
   "Remember me". Laying the form out as a column lets the block
   be ordered last, beneath the submit button.

   @version 1.2.0
   ============================================================ */

#loginform {
    display: flex;
    flex-direction: column;
}

#loginform .ebcsl-buttons {
    order: 99;
    margin-top: 20px;
}

/* ----- "or" rule ----- */
.ebcsl-or {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(232, 236, 241, 0.55);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ebcsl-or::before,
.ebcsl-or::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
}

/* ----- Provider button ----- */
.login .ebcsl-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
    width: 100%;
    padding: 11px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-decoration: none;
    transition: filter 0.15s ease, box-shadow 0.15s ease;
}

.login .ebcsl-button + .ebcsl-button {
    margin-top: 10px;
}

.login .ebcsl-button svg {
    flex: none;
}

.login .ebcsl-button:hover,
.login .ebcsl-button:focus {
    filter: brightness(0.96);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

/* Google's own light button: white, dark text, hairline border. */
.login .ebcsl-button--google {
    background: #fff;
    border: 1px solid #747775;
    color: #1f1f1f;
}

/* Microsoft's own light button: white, grey text, hairline border. */
.login .ebcsl-button--microsoft {
    background: #fff;
    border: 1px solid #8c8c8c;
    color: #5e5e5e;
}
