/* =========================================================
   BlessChurch — Branded Login
   ========================================================= */

body.page-login,
body.page-id-login {
    margin: 0;
}

.bc-login,
.bc-login * {
    box-sizing: border-box;
}

.bc-login {
    --bc-bg: #05070b;
    --bc-surface: rgba(13, 17, 25, 0.82);
    --bc-surface-strong: #0d1119;
    --bc-border: rgba(255, 255, 255, 0.09);
    --bc-border-hover: rgba(255, 255, 255, 0.16);
    --bc-text: #f7f9fc;
    --bc-muted: #8d97a8;
    --bc-blue: #377dff;
    --bc-blue-light: #6aa3ff;

    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% -10%,
            rgba(55, 125, 255, 0.13),
            transparent 36%
        ),
        #05070b;

    color: var(--bc-text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    padding: 0 34px 50px;
}


/* ---------------------------------------------------------
   Background glows
   --------------------------------------------------------- */

.bc-login-glow {
    position: absolute;
    pointer-events: none;
    border-radius: 999px;
    filter: blur(100px);
    opacity: .28;
}

.bc-login-glow-one {
    width: 360px;
    height: 360px;
    background: rgba(55, 125, 255, .38);
    top: -180px;
    left: 50%;
    transform: translateX(-50%);
}

.bc-login-glow-two {
    width: 280px;
    height: 280px;
    background: rgba(31, 82, 180, .20);
    right: -140px;
    bottom: 5%;
}


/* ---------------------------------------------------------
   Header
   --------------------------------------------------------- */

.bc-login-header {
    position: relative;
    z-index: 5;

    width: min(1180px, 100%);
    height: 88px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bc-login-brand {
    display: inline-flex;
    align-items: center;
    width: auto;
    text-decoration: none;
}

.bc-login-brand img {
    display: block !important;

    width: auto !important;
    height: 34px !important;

    max-width: 190px !important;
    max-height: 34px !important;

    object-fit: contain;
}

.bc-login-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: #aeb7c5;
    text-decoration: none;

    font-size: 13px;
    font-weight: 600;

    transition:
        color .2s ease,
        transform .2s ease;
}

.bc-login-back:hover {
    color: #fff;
    transform: translateY(-1px);
}


/* ---------------------------------------------------------
   Stage
   --------------------------------------------------------- */

.bc-login-stage {
    position: relative;
    z-index: 2;

    min-height: calc(100vh - 138px);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 42px 0 70px;
}


/* ---------------------------------------------------------
   Card
   --------------------------------------------------------- */

.bc-login-card {
    position: relative;

    width: 100%;
    max-width: 470px;

    padding: 42px 42px 36px;

    background:
        linear-gradient(
            145deg,
            rgba(17, 22, 32, .94),
            rgba(8, 11, 17, .94)
        );

    border: 1px solid var(--bc-border);
    border-radius: 22px;

    box-shadow:
        0 40px 100px rgba(0, 0, 0, .50),
        0 0 0 1px rgba(255, 255, 255, .015),
        inset 0 1px 0 rgba(255, 255, 255, .035);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.bc-login-card::before {
    content: "";
    position: absolute;

    top: -1px;
    left: 20%;
    right: 20%;

    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(103, 158, 255, .65),
        transparent
    );
}


/* ---------------------------------------------------------
   Heading
   --------------------------------------------------------- */

.bc-login-heading {
    text-align: center;
    margin-bottom: 30px;
}

.bc-login-eyebrow {
    display: inline-block;

    margin-bottom: 15px;

    font-size: 10px;
    line-height: 1;
    font-weight: 750;

    letter-spacing: .19em;

    color: #6c9fff;
}

.bc-login-heading h1 {
    margin: 0 0 12px !important;
    padding: 0 !important;

    color: #fff !important;

    font-size: clamp(29px, 4vw, 36px) !important;
    line-height: 1.12 !important;
    font-weight: 650 !important;

    letter-spacing: -.035em !important;
}

.bc-login-heading p {
    margin: 0 auto !important;
    padding: 0 !important;

    max-width: 360px;

    color: var(--bc-muted) !important;

    font-size: 14px !important;
    line-height: 1.65 !important;
}


/* ---------------------------------------------------------
   Alert
   --------------------------------------------------------- */

.bc-login-alert {
    margin-bottom: 22px;
    padding: 12px 14px;

    border: 1px solid rgba(255, 103, 103, .20);
    border-radius: 10px;

    background: rgba(255, 75, 75, .075);

    color: #ffb3b3;

    font-size: 13px;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   Form
   --------------------------------------------------------- */

.bc-login-form {
    margin: 0;
}

.bc-login-field {
    margin-bottom: 20px;
}

.bc-login-field > label,
.bc-login-label-row label {
    display: block;

    margin: 0 0 9px;

    color: #d7dce5;

    font-size: 12px;
    line-height: 1.3;
    font-weight: 600;
}

.bc-login-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 15px;

    margin-bottom: 9px;
}

.bc-login-label-row label {
    margin: 0;
}

.bc-login-label-row a {
    color: #7fa9fa;
    text-decoration: none;

    font-size: 11px;
    font-weight: 600;
}

.bc-login-label-row a:hover {
    color: #a8c5ff;
}


/* ---------------------------------------------------------
   Inputs
   --------------------------------------------------------- */

.bc-login input[type="email"],
.bc-login input[type="password"],
.bc-password-wrap input {
    width: 100% !important;
    height: 52px !important;

    margin: 0 !important;
    padding: 0 16px !important;

    appearance: none;
    -webkit-appearance: none;

    background: rgba(255, 255, 255, .035) !important;

    border:
        1px solid rgba(255, 255, 255, .095) !important;

    border-radius: 11px !important;

    outline: none !important;

    box-shadow:
        inset 0 1px 2px rgba(0, 0, 0, .20) !important;

    color: #fff !important;

    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 450 !important;

    transition:
        border-color .18s ease,
        background .18s ease,
        box-shadow .18s ease;
}

.bc-login input::placeholder {
    color: #596270 !important;
}

.bc-login input[type="email"]:hover,
.bc-login input[type="password"]:hover {
    border-color: rgba(255, 255, 255, .16) !important;
}

.bc-login input[type="email"]:focus,
.bc-login input[type="password"]:focus {
    background: rgba(255, 255, 255, .045) !important;

    border-color: rgba(91, 145, 255, .78) !important;

    box-shadow:
        0 0 0 3px rgba(55, 125, 255, .10),
        inset 0 1px 2px rgba(0, 0, 0, .20) !important;
}


/* ---------------------------------------------------------
   Password
   --------------------------------------------------------- */

.bc-password-wrap {
    position: relative;
}

.bc-password-wrap input {
    padding-right: 52px !important;
}

.bc-password-toggle {
    position: absolute !important;

    top: 50% !important;
    right: 10px !important;

    transform: translateY(-50%) !important;

    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: transparent !important;
    border: 0 !important;
    border-radius: 8px !important;

    box-shadow: none !important;

    color: #778190 !important;
    cursor: pointer;
}

.bc-password-toggle:hover {
    background: rgba(255,255,255,.055) !important;
    color: #fff !important;
}


/* ---------------------------------------------------------
   Remember
   --------------------------------------------------------- */

.bc-login-remember {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin: 0 0 23px;

    cursor: pointer;
}

.bc-login-remember input {
    width: 15px !important;
    height: 15px !important;
    margin: 0 !important;

    accent-color: var(--bc-blue);
}

.bc-login-remember span {
    color: #929baa;

    font-size: 12px;
    font-weight: 500;
}


/* ---------------------------------------------------------
   Submit
   --------------------------------------------------------- */

.bc-login-submit {
    width: 100% !important;
    height: 53px !important;

    margin: 0 !important;
    padding: 0 19px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    border: 1px solid rgba(112, 160, 255, .55) !important;
    border-radius: 11px !important;

    background:
        linear-gradient(
            135deg,
            #3d82ff,
            #245fdf
        ) !important;

    box-shadow:
        0 12px 30px rgba(36, 95, 223, .20),
        inset 0 1px 0 rgba(255,255,255,.20) !important;

    color: #fff !important;

    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 650 !important;

    cursor: pointer;

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        filter .18s ease;
}

.bc-login-submit:hover {
    transform: translateY(-1px);

    box-shadow:
        0 16px 35px rgba(36, 95, 223, .29),
        inset 0 1px 0 rgba(255,255,255,.20) !important;

    filter: brightness(1.06);
}

.bc-login-submit:active {
    transform: translateY(0);
}


/* ---------------------------------------------------------
   Create account
   --------------------------------------------------------- */

.bc-login-create {
    margin-top: 28px;
    padding-top: 25px;

    border-top: 1px solid rgba(255,255,255,.07);

    text-align: center;

    font-size: 12px;
}

.bc-login-create > span {
    color: #737d8b;
}

.bc-login-create a {
    margin-left: 5px;

    color: #f4f7fc;
    text-decoration: none;

    font-weight: 600;
}

.bc-login-create a:hover {
    color: #82adff;
}


/* ---------------------------------------------------------
   Feature line
   --------------------------------------------------------- */

.bc-login-trust {
    margin-top: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    color: #4d5664;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: .04em;
    text-transform: uppercase;
}

.bc-login-trust i {
    display: block;

    width: 3px;
    height: 3px;

    border-radius: 50%;

    background: #2e3744;
}


/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-width: 700px) {

    .bc-login {
        padding: 0 18px 30px;
    }

    .bc-login-header {
        height: 72px;
    }

    .bc-login-brand img {
        height: 29px !important;
        max-height: 29px !important;
        max-width: 165px !important;
    }

    .bc-login-back {
        font-size: 11px;
    }

    .bc-login-stage {
        min-height: calc(100vh - 100px);
        padding: 28px 0 45px;
        justify-content: flex-start;
    }

    .bc-login-card {
        max-width: 100%;
        padding: 34px 23px 29px;
        border-radius: 18px;
    }

    .bc-login-heading {
        margin-bottom: 27px;
    }

    .bc-login-heading h1 {
        font-size: 29px !important;
    }

    .bc-login-heading p {
        font-size: 13px !important;
    }

    .bc-login-trust {
        flex-wrap: wrap;
        gap: 8px 10px;
    }
}

@media (max-width: 420px) {

    .bc-login-back {
        font-size: 0;
    }

    .bc-login-back span {
        font-size: 17px;
    }

    .bc-login-card {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.bc-login-alert--success {
    border-color: rgba(80, 200, 140, .22);
    background: rgba(35, 120, 80, .12);
}

.bc-login-submit--link {
    display: flex;
    text-decoration: none;
}
