/* =========================================================
   SHRISHA WORDPRESS LOGIN
   Final Clean Version
   ========================================================= */


/* =========================================================
   PAGE BACKGROUND
   ========================================================= */

html {
    background: #070b10;
}

body.login {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 50% 15%,
            rgba(20, 157, 255, 0.13),
            transparent 32%
        ),
        radial-gradient(
            circle at 0% 100%,
            rgba(249, 185, 0, 0.08),
            transparent 25%
        ),
        radial-gradient(
            circle at 100% 0%,
            rgba(8, 119, 201, 0.08),
            transparent 25%
        ),
        #070b10;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}


/* =========================================================
   LOGIN WRAPPER
   ========================================================= */

#login {
    width: 430px;
    max-width: calc(100% - 32px);

    padding: 45px 0 40px;
}


/* =========================================================
   SHRISHA LOGO + COMPANY NAME
   ========================================================= */

.login h1 {
    margin: 0 0 55px;
    text-align: center;
}

.login h1 a {
    position: relative;

    display: block;

    width: 100%;
    height: 125px;

    margin: 0 auto;

    background-image:
        url("https://shrishainfoservices.com/wp-content/uploads/2026/08/Shrisha_logo_transparent.png");

    background-size: 88px auto;
    background-position: center top;
    background-repeat: no-repeat;

    overflow: visible;

    text-indent: 0;

    font-size: 0;
}


/* Company Name */

.login h1 a::after {
    content: "SHRISHA CRM";

    position: absolute;

    top: 110px;
    left: 0;
    right: 0;

    white-space: pre;

    color: #ffffff;

    font-size: 21px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0.10em;

    text-align: center;
}


/* =========================================================
   LOGIN CARD
   ========================================================= */

body.login #loginform {
    position: relative;

    margin-top: 0;

    padding: 38px 36px 36px;

    border: 2px solid #149dff;
    border-radius: 22px;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(20, 157, 255, 0.07),
            transparent 35%
        ),
        #09131f;

    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.45),
        0 0 30px rgba(20, 157, 255, 0.10);
}


/* Blue → Gold accent on top border */

body.login #loginform::before {
    content: "";

    position: absolute;

    top: -2px;
    left: 45px;

    width: 95px;
    height: 2px;

    background: linear-gradient(
        90deg,
        #149dff,
        #55baff,
        #f9b900
    );
}


/* =========================================================
   LABELS
   ========================================================= */

body.login #loginform label {
    color: #f5f7fa;

    font-size: 13px;
    font-weight: 650;
}


/* =========================================================
   INPUT FIELDS
   ========================================================= */

body.login #loginform input[type="text"],
body.login #loginform input[type="password"],
body.login #loginform input[type="email"] {
    width: 100%;
    min-height: 52px;

    margin-top: 9px;
    margin-bottom: 20px;

    padding: 10px 14px;

    border: 1px solid rgba(20, 157, 255, 0.48);
    border-radius: 9px;

    background: #0c1826;

    color: #ffffff;

    font-size: 15px;

    -webkit-text-fill-color: #ffffff;

    box-shadow: none;

    transition:
        border-color 200ms ease,
        box-shadow 200ms ease,
        background 200ms ease;
}


body.login #loginform input[type="text"]:hover,
body.login #loginform input[type="password"]:hover,
body.login #loginform input[type="email"]:hover {
    border-color: rgba(20, 157, 255, 0.75);
}


body.login #loginform input[type="text"]:focus,
body.login #loginform input[type="password"]:focus,
body.login #loginform input[type="email"]:focus {
    border-color: #149dff;

    background: #0d1b2a;

    box-shadow:
        0 0 0 3px rgba(20, 157, 255, 0.12);

    outline: none;
}


/* =========================================================
   CHROME / EDGE AUTOFILL FIX
   Keeps saved username/password fields dark
   ========================================================= */

body.login #loginform input:-webkit-autofill,
body.login #loginform input:-webkit-autofill:hover,
body.login #loginform input:-webkit-autofill:focus,
body.login #loginform input:-webkit-autofill:active {
    -webkit-text-fill-color: #ffffff;

    -webkit-box-shadow:
        0 0 0 1000px #0c1826 inset;

    box-shadow:
        0 0 0 1000px #0c1826 inset;

    caret-color: #ffffff;

    transition:
        background-color 9999s ease-in-out 0s;
}


/* =========================================================
   PASSWORD FIELD + EYE
   ========================================================= */

body.login .wp-pwd {
    position: relative;
}

body.login .wp-pwd .button.wp-hide-pw {
    color: #79bce9;
}

body.login .wp-pwd .button.wp-hide-pw:hover,
body.login .wp-pwd .button.wp-hide-pw:focus {
    color: #f9b900;

    box-shadow: none;
    outline: none;
}


/* =========================================================
   REMEMBER ME
   ========================================================= */

body.login #loginform .forgetmenot {
    float: none;

    display: block;

    margin: 4px 0 22px;
}

body.login #loginform .forgetmenot label {
    color: #aebdca;

    font-size: 13px;
    font-weight: 500;
}


body.login #loginform input[type="checkbox"] {
    border: 1px solid rgba(85, 186, 255, 0.50);
    border-radius: 4px;

    background: #0b1420;

    box-shadow: none;
}


body.login #loginform input[type="checkbox"]:focus {
    border-color: #149dff;

    box-shadow:
        0 0 0 2px rgba(20, 157, 255, 0.12);
}


/* =========================================================
   LOGIN BUTTON
   ========================================================= */

body.login #loginform .submit {
    float: none;

    display: block;

    width: 100%;

    margin: 0;
    padding: 0;
}


body.login #loginform .button-primary {
    float: none;

    display: block;

    width: 100%;
    min-height: 50px;

    margin: 0;
    padding: 0 24px;

    border: 1px solid rgba(85, 186, 255, 0.75);
    border-radius: 9px;

    background: linear-gradient(
        90deg,
        #0877c9 0%,
        #149dff 100%
    );

    color: #ffffff;

    font-size: 13px;
    font-weight: 750;
    letter-spacing: 0.05em;

    text-shadow: none;

    box-shadow:
        0 10px 26px rgba(8, 119, 201, 0.25);

    transition:
        transform 200ms ease,
        box-shadow 200ms ease,
        filter 200ms ease;
}


body.login #loginform .button-primary:hover,
body.login #loginform .button-primary:focus {
    color: #ffffff;

    transform: translateY(-2px);

    filter: brightness(1.08);

    box-shadow:
        0 14px 30px rgba(20, 157, 255, 0.30);
}


/* =========================================================
   LOST PASSWORD
   ========================================================= */

body.login #nav {
    width: 100%;

    margin: 20px 0 0;
    padding: 0;

    text-align: center;
}


body.login #nav a {
    display: inline-block;

    color: #8fa7bb !important;

    font-size: 13px;

    white-space: nowrap;

    text-decoration: none;

    transition: color 200ms ease;
}


body.login #nav a:hover {
    color: #55baff !important;
}


/* =========================================================
   BACK TO WEBSITE
   ========================================================= */

body.login #backtoblog {
    margin: 20px 0 0;
    padding: 0;

    text-align: center;
}


body.login #backtoblog a {
    color: #a8b8c7 !important;

    font-size: 13px;

    white-space: nowrap;

    text-decoration: none;

    transition: color 200ms ease;
}


body.login #backtoblog a:hover {
    color: #55baff !important;
}


/* Prevent duplicate arrow */

body.login #backtoblog a::before {
    content: none;
}


/* =========================================================
   PARTNER TAGLINE
   ========================================================= */

body.login #backtoblog::after {
    content: "PARTNER IN DIGITAL GROWTH";

    display: block;

    margin-top: 20px;

    color: #7895ad;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.28em;

    white-space: nowrap;
}


/* =========================================================
   LOGIN MESSAGES / ERRORS
   ========================================================= */

body.login .message,
body.login .notice,
body.login #login_error {
    margin-bottom: 22px;

    border: 1px solid rgba(20, 157, 255, 0.25);
    border-left: 3px solid #149dff;
    border-radius: 10px;

    background: #09131f;

    color: #d9e1e8;

    box-shadow: none;
}


body.login #login_error {
    border-left-color: #f9b900;
}


body.login .message a,
body.login .notice a,
body.login #login_error a {
    color: #55baff;
}


/* =========================================================
   PRIVACY POLICY LINK
   ========================================================= */

body.login .privacy-policy-page-link {
    margin-top: 20px;

    text-align: center;
}


body.login .privacy-policy-page-link a {
    color: #788b9e !important;

    font-size: 11px;

    text-decoration: none;
}


body.login .privacy-policy-page-link a:hover {
    color: #55baff !important;
}


/* =========================================================
   LANGUAGE SWITCHER
   ========================================================= */

body.login .language-switcher {
    margin-top: 22px;
}


body.login .language-switcher label {
    color: #9ca8b5;
}


body.login .language-switcher select {
    min-height: 40px;

    border: 1px solid rgba(20, 157, 255, 0.30);
    border-radius: 8px;

    background: #0b1420;

    color: #ffffff;
}


body.login .language-switcher .button {
    min-height: 40px;

    border-color: rgba(20, 157, 255, 0.40);

    background: #101c2a;

    color: #ffffff;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 480px) {

    #login {
        width: auto;
        max-width: calc(100% - 28px);

        padding-top: 28px;
    }


    .login h1 {
        margin-bottom: 48px;
    }


    .login h1 a {
        height: 112px;

        background-size: 76px auto;
    }


    .login h1 a::after {
        top: 80px;

        font-size: 17px;
    }


    body.login #loginform {
        padding: 30px 22px 28px;

        border-radius: 18px;
    }


    body.login #nav a,
    body.login #backtoblog a {
        white-space: normal;
    }


    body.login #backtoblog::after {
        white-space: normal;

        line-height: 1.6;
    }

}

/* Hide the login page language selector */
body.login .language-switcher {
    display: none;
}