/* .login-pf body {
    background: DimGrey none;
} */

body {
    /* background-color: #063a6b !important ; */
    background-image: url("One-Platform-banner-bg.webp") !important;
    background-size: contain; /* Ensures the image covers the whole screen */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-position: center; /* Centers the background image */
}

.pf-c-button.pf-m-primary {
    background: #673AB7;

}

/* input {
    border-radius: 50px !important;

} */


/* .card-pf{
    border-radius: 50px 50px !important;
} */

/* .login-pf-page{
    background-color: #063a6b00 !important ;
} */

.kc-logo-text{
    background-image: url("leadnest_logo.svg") !important;
    /* height: 88px !important; */
}

div.kc-logo-text{
    height:46px !important;
    /* width:auto !important; */
margin-left: 54px;
}
/* #kc-social-gray {
    color: red !important;
} */

@media (min-width: 768px) {
    .login-pf-page .card-pf {
        padding: 24px 24px 24px 24px;
    }
}
.login-pf-page {
    padding-top: 31px;
    padding-bottom: 50px;
}

#kc-info-wrapper {
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

/* .pf-m-primary{
    background-color: #063a6b !important;
} */


input[type=text] {

    width: 100%;
    height: 44px;
    border-radius: 6px;
    border: 1px solid #ccc;
    padding: 0 12px;
    font-size: 14px;
    outline: none;
    margin-bottom: 18px;
  /*  */
  /*width: 100%;*/
  /*box-sizing: border-box;*/
  /*border: 2px solid #ccc;*/
  /*border-radius: 4px;*/
  /*font-size: 16px;*/
  /*background-color: white;*/
  /*background-image: url('usericon.svg');*/
  /*background-position: 10px 10px;*/
  /*background-repeat: no-repeat;*/
  /*padding: 12px 20px 12px 40px;*/
}

input[type=password] {
    width: 100%;
    height: 44px;
    border-radius: 6px;
    border: 1px solid #ccc;
    padding: 0 12px;
    font-size: 14px;
    outline: none;
    margin-bottom: 18px;

  /*width: 100%;*/
  /*box-sizing: border-box;*/
  /*border: 2px solid #ccc;*/
  /*border-radius: 4px;*/
  /*font-size: 16px;*/
  /*background-color: white;*/
  /*background-image: url('lock-outline.svg');*/
  /*background-position: 10px 10px;*/
  /*background-repeat: no-repeat;*/
  /*padding: 12px 20px 12px 40px;*/
}

input[type=email] {
    width: 100%;
    height: 44px;
    border-radius: 6px;
    border: 1px solid #ccc;
    padding: 0 12px;
    font-size: 14px;
    outline: none;
    margin-bottom: 18px;

  /*width: 100%;*/
  /*box-sizing: border-box;*/
  /*border: 2px solid #ccc;*/
  /*border-radius: 4px;*/
  /*font-size: 16px;*/
  /*background-color: white;*/
  /*background-image: url('mail.svg');*/
  /*background-position: 10px 10px;*/
  /*background-repeat: no-repeat;*/
  /*padding: 12px 20px 12px 40px;*/
}

#kc-registration{
   padding-left: 50px;
}

#kc-registration span a::before  {
    color: white;
    content: "Sign Up" !important;
    background-color: #063a6b !important;
    font-size: 14px;
    padding : 10px 55px;
    color: white;
}

#kc-registration a {
    visibility: hidden; /* Hide the original "Register" text */
}

#kc-registration a::before {
    content: "Sign Up"; /* Add "Sign Up" instead */
    visibility: visible; /* Make the new content visible */
}

.container-form {
  display: grid;
  grid-template-columns: auto auto auto;
  
}
.container-form > div {
  
 
  
}



#kc-page-title{
    font-weight: 500;
    font-size: 1.5rem !important;
}

 body { font-family: 'Inter', sans-serif; background:#f2f6fb; margin:0; }
    .card-pf {

        max-width: 480px;
        width: 100%;
        background: #fff;
        padding: 40px 32px;
        border-radius: 18px;
        box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.05);
        /*text-align: center;*/
        border-top:0px !important;
        /*box-shadow:0 4px 20px rgba(0,0,0,0.05);*/
        position: relative;
    }
    
    body {
        font-family: 'Inter', sans-serif;
        background: #f2f6fb;
        margin: 0;
    }

    
    .signup-google {
        width: 100%;
        height: 42px;
        border-radius: 6px;
        border: 1px solid #ddd;
        background: #fff;
        cursor: pointer;
        font-size: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-bottom: 12px;

        margin-top: 25px;
    /*width: 100%;*/
    padding: 13px;
    /* border: 1px solid #ccc; */
    /*border-radius: 28px;*/
    /*display: flex;*/
    /*align-items: center;*/
    /*justify-content: center; !* centers content *!*/
    font-weight: 500;
    color: #444;
    text-decoration: none;
    /*margin-bottom: 16px;*/
    position: relative; /* allows glogo to be positioned separately */

    border: 1px solid #063A6B
}

.glogo {
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    background-image: url('google.svg');
    background-size: contain;
    background-position: center;
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);

}

.gtext {
    text-align: center;
    width: 100%;
    color: #063A6B;

}


    .divider {
        position: relative;
        text-align: center;
        margin: 16px 0;
        height:17px;
    }

    .divider span {
        position: relative;
        padding: 0 26px;
        background: #fff;
        color: #425583;
        font-size: 14px;
        font-weight: 400;
    

    }

    .divider::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 1px;
        background: #ddd;
        transform: translateY(-50%);
    }

    .input-row {
        display: flex;
        gap: 21px;
        margin-top: 25px;
    }

    .input-row input {
        flex: 1;
    }

    #kc-info-wrapper{
        /* border-radius: 24px !important; */
        border-bottom-left-radius: 24px !important;
    border-bottom-right-radius: 24px !important;
    }

    label{
        /*font-size: 12px;*/
        /*font-weight: 400;*/
        /*line-height: 100%;*/
        /*color:#2E3139;*/
        text-align: left;
        font-size: 14px;
        margin-bottom: 6px;
        display: block;
        color: #333;
;
    }


    input[type="text"],
    input[type="email"],
    input[type="password"]
     {
        width: 100%;
        height: 44px;
        border-radius: 6px;
        border: 1px solid #ccc;
        padding: 0 12px;
        font-size: 14px;
        outline: none;
        margin-bottom: 18px;

        /*width: 100%;*/
        /*box-sizing: border-box;*/
        /*border: 2px solid #ccc;*/
        /*border-radius: 28px;*/
        /*font-size: 14px;*/
        /*background-color: white;*/
        /*background-repeat: no-repeat;*/
        /*background-position: 14px center;*/
        /*padding: 12px 20px 12px 44px;*/
        /*margin-bottom: 16px;*/
        /*line-height: 100%;*/
        /*font-weight: 400;*/
        /*color:#2E3139;*/
        /*border: 1px solid #D3E0FE*/
    }

    .pf-c-form-control{
         width: 100%;
        box-sizing: border-box;
        border: 2px solid #ccc;
        border-radius: 28px;
        font-size: 14px !important;
        background-color: white;
        background-repeat: no-repeat;
        background-position: 14px center;
        padding: 12px 20px 12px 44px !important;
        margin-bottom: 16px;
        line-height: 100%;
        font-weight: 400;
        color:#2E3139;
        border: 1px solid #D3E0FE
    }

    input#firstName {
        /*background-image: url('usericon.svg');*/
    }

    input#lastName {
        /*background-image: url('usericon.svg');*/
    }

    input#email {
        /*background-image: url('mail.svg');*/
    }

    input#password,
    input#password-confirm {
        /*background-image: url('lock-outline.svg');*/
    }

    .password-toggle {
        position: absolute;
        right: 12px;
        top: 52%;
        transform: translateY(-50%);
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
    }

    .password-group {
        position: relative;
        /* margin-bottom: 16px; */
    }

    .password-group input {
        padding-right: 44px;
    }

    .password-toggle img {
        width: 20px;
        display: block;
    }

    .consent {
        display: flex;
        /* align-items: center; */
        margin-bottom: 16px;
        font-size: 14px;
        margin-top: 8px;
    }

    .consent input {
        margin-right: 8px;
        width: 16px;
        height: 16px;
    }

    .terms-text {
        font-size: 13px;
        color: #666;
        line-height: 1.4;
        /* margin-bottom: 24px; */
        font-weight: 400;
        line-height: 150%;
        color: #9A9A9A;

    }

    .terms-text a {
        color: #003e70;
        text-decoration: none;
    }

    .submit {
        width: 100%;
        background: #003e70;
        color: #fff;
        padding: 11px;
        font-size: 14px;
        border: none;
        border-radius: 28px;
        cursor: pointer;
        font-weight: 500;
    }

    .pf-c-button{
        /*width: 100%;*/
        height: 44px;
        background: #3a57e8;
        color: #fff;
        border: none;
        border-radius: 6px;
        font-size: 15px;
        cursor: pointer;
        margin-bottom: 20px;
    }
    .footer-text {
        text-align: center;
        font-size: 14px;
        margin-top: 75px;
    }

    .footer-text a {
        color: #003e70;
        font-weight: 500;
        text-decoration: none;
    }

    @media (max-width: 480px) {
        .input-row {
            flex-direction: column;
        }

        div.kc-logo-text{
    height:46px !important;
    /* width:auto !important; */
/* margin-left: 54px; */
text-align: center;
justify-content: center;
}
    }


    .password-group {
  position: relative;
  /* margin-bottom: 16px; */
}

/* .password-group input {
  width: 100%;
  box-sizing: border-box;
  border: 2px solid #ccc;
  border-radius: 28px;
  font-size: 16px;
  background-color: white;
  background-repeat: no-repeat;
  background-image: url('${url.resourcesPath}/img/lock-icon.svg');
  background-position: 14px center;
  padding: 12px 44px 12px 44px;
} */

.password-toggle {
  position: absolute;
  right: 14px;
  top: 52%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: url('eye-off.svg') no-repeat center center;
  background-size: contain;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
}

.password-toggle.hidden {
  background-image: url('eye-on.svg');
}


#kc-header-wrapper{

    padding:0px !important;
}


.check-label{
    font-size: 16px !important;
}

/* Re-authentication card (prompt=login with existing session) */
.kc-reauth-card {
    text-align: center;
    margin: -8px -8px 0;
}

.kc-reauth-title {
    font-size: 19px;
    font-weight: 700;
    color: #1f1533;
    margin: 0 0 24px;
}

.kc-reauth-option {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    border: none;
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 16px;
    cursor: pointer;
    text-align: left;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.kc-reauth-option:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.kc-reauth-option--login {
    background: #f2f0fb;
}

.kc-reauth-option--add {
    background: #eef8f1;
}

.kc-reauth-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kc-reauth-icon svg {
    display: block;
}

.kc-reauth-icon--sm {
    width: 40px;
    height: 40px;
    background: transparent;
}

.kc-reauth-option-text {
    flex: 1;
    min-width: 0;
}

.kc-reauth-option-title {
    font-size: 16px;
    font-weight: 700;
    color: #1f1533;
    margin: 0 0 4px;
}

.kc-reauth-option-desc {
    font-size: 14px;
    color: #5b5468;
    margin: 0;
    line-height: 1.4;
}

.kc-reauth-chevron {
    flex-shrink: 0;
}

.kc-reauth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 8px 0 20px;
    color: #5b5468;
    font-size: 14px;
}

.kc-reauth-divider::before,
.kc-reauth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e3e0ea;
}

.kc-reauth-security {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #f6f5f8;
    border-radius: 14px;
    padding: 18px 20px;
}

.kc-reauth-security-title {
    font-size: 15px;
    font-weight: 700;
    color: #1f1533;
    margin: 0 0 3px;
}

.kc-reauth-security-desc {
    font-size: 13.5px;
    color: #5b5468;
    margin: 0;
    line-height: 1.4;
}

.kc-reauth-signup {
    text-align: center;
    margin-top: 28px;
    font-size: 15px;
    color: #1f1533;
}

.kc-reauth-signup a {
    color: #6a4ee0;
    font-weight: 600;
    text-decoration: none;
}

.kc-reauth-signup a:hover {
    text-decoration: underline;
}

/* Frontchannel logout - centered loader only */
.kc-logout-center {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    padding: 24px 0;
}

.kc-logout-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(106, 78, 224, 0.15);
    border-top-color: #6a4ee0;
    border-radius: 50%;
    animation: kc-logout-spin 0.9s linear infinite;
}

@keyframes kc-logout-spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .kc-logout-spinner {
        animation: none;
        border-top-color: #bfb3e3;
    }
}