.for-forgot,
.for-login-with-email-link,
.for-signup,
.for-email-login {
    display: none;
}

.for-login,
.for-forgot,
.for-login-with-email-link,
.for-signup,
.for-email-login {
    .page-card {
        padding: 50px 40px;
        background: rgba(255, 255, 255, 0.98);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        max-width: 500px;
        margin: 65px auto 0 !important;
        border-radius: 20px;
        border: none;
        box-shadow: 0 14px 45px rgba(210, 255, 253, 0.3);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border: 2px solid #f2f2f2;


        form {
            max-width: 100%;
            margin: 0 auto;

            .form-group {
                margin-bottom: 1.5rem;
            }
        }

        .page-card-actions {
            margin-top: 2rem;
        }

        .page-card-actions .btn-login-with-email-link,
        .btn-forgot {
           background: #1c69ce; 
            border: none;
            padding: 14px 24px !important;
            border-radius: 12px;
            font-weight: 600;
            font-size: 16px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
        }

        .page-card-body {

            ::placeholder,
            ::-ms-input-placeholder {
                color: #9aadcc;
                opacity: 1;
            }

            input[type="text"],
            input[type="email"],
            input[type="password"] {
                border: 2px solid #e5e7eb;
                color: var(--text-color);
                @include get_textstyle("base", "regular");
                background-color: #f9fafb;
                margin-bottom: 0;
                padding: 14px 16px 14px 44px;
                border-radius: 12px;
                transition: all 0.3s ease;
                font-size: 15px;

                &:focus {
                    border-color: #667eea;
                    background-color: #ffffff;
                    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
                    outline: none;
                }

                &:hover {
                    border-color: #d1d5db;
                }
            }

            &.invalid {

                input[type="text"],
                input[type="email"],
                input[type="password"] {
                    border: 2px solid #ef4444;
                    background-color: #fef2f2;

                    &:focus {
                        box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
                    }
                }
            }

            .form-label {
                @include get_textstyle("sm", "medium");.page-card-body input{
   
}
                color: #374151;
                margin-bottom: 0.5rem;
                display: block;
                font-weight: 600;
            }

            .forgot-password-message {
                text-align: right;
                line-height: 1.5;
                margin-top: 0.75rem;

                >* {
                    color: #667eea;
                    @include get_textstyle("sm", "medium");
                    text-decoration: none;
                    transition: color 0.2s ease;

                    &:hover {.page-card-body input{
   
}
                        color: #764ba2;
                        text-decoration: underline;
                    }
                }
            }

            .field-icon {
                left: 14px !important;
                top: 50% !important;
                transform: translateY(-50%);
                position: absolute !important;
                z-index: 2 !important;
                color: #6b7280;
                font-size: 18px;
                pointer-events: none;
            }

            .email-field,
            .password-field {
                position: relative;
                margin-bottom: 1.25rem;

                input {
                    width: 100%;
                    padding: 21px 36px;
                    font-size: 13px !important;
                    color: #000;
                    background: #FFF;
                   border: 1px solid #42a9ee !important;
                    border-radius: 10px;
                }

                .toggle-password {
                    right: 14px !important;
                    top: 50% !important;
                    transform: translateY(-50%);
                    position: absolute !important;
                    z-index: 2;
                    cursor: pointer !important;
                    font-size: 14px !important;
                    color: #6b7280 !important;
                    transition: color 0.2s ease;
                }

                .forgot-password-message a {
                    color: #0069ef !important;
                    text-decoration: none
                }
            }

            .login-divider {
                display: none;
            }

            .sr-only {.page-card-body input{
   
}
                position: relative;
                height: 100%;
                width: 100%;
            }

            .btn-login-option {
                @include get_textstyle("base", "medium");
                color: #374151;
                border: 1px solid #e5e7eb;
                display: flex;
                place-content: center;
                align-items: center;
                padding: 12px 20px;
                border-radius: 12px;
                transition: all 0.3s ease;
                font-weight: 600;

                &.btn-salesforce {
                    i {
                        color: #00a1e0;
                    }
                }

                img {
                    margin-right: 10px;
                    width: 20px;
                    height: 20px;
                }

                &:active {
                    transform: translateY(0);
                }
            }

            .btn-primary {
                background: #0069ef;
                border: none;
                padding: 14px 24px;
                border-radius: 12px;
                font-weight: 600;
                font-size: 16px;
                transition: all 0.3s ease;
                box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);

                &:hover {
                    transform: translateY(-2px);
                    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
                }

                &:active {
                    transform: translateY(0);
                }
            }


            .social-logins {
                @include get_textstyle("base", "regular");

                .social-login-buttons {
                    margin: 10px 0 0;
                    display: flex;
                    flex-wrap: wrap;
                    gap: 12px;

                    .login-button-wrapper {
                        @include media-breakpoint-up(md) {
                            flex: 1;
                            min-width: calc(50% - 6px);
                        }

                        flex: 1;
                        min-width: 100%;
                        padding: 0;
                        margin-bottom: 0;
                    }
                }
            }

            .login-divider {
                margin: 2rem 0;
                position: relative;
                text-align: center;

                &::before {
                    content: "";
                    position: absolute;
                    top: 50%;
                    left: 0;
                    right: 0;
                    height: 1px;
                    background: #e5e7eb;
                }

                span {
                    position: relative;
                    background: rgba(255, 255, 255, 0.98);
                    padding: 0 1rem;
                    color: #6b7280;
                    font-size: 14px;
                    font-weight: 500;
                }
            }
        }
    }

    .sign-up-message {
        margin-top: 1.5rem;
        margin-bottom: 0;
        color: #6b7280;
        @include get_textstyle("base", "regular");
        text-align: center;

        a {
            color: #667eea;
            font-weight: 600;
            text-decoration: none;
            transition: color 0.2s ease;

            &:hover {
                color: #764ba2;
                text-decoration: underline;
            }
        }
    }

    .invalid-login {
        animation: wiggle 0.5s linear;
    }

    @keyframes wiggle {

        8%,
        41% {
            transform: translateX(-10px);
        }

        25%,
        58% {
            transform: translateX(10px);
        }

        75% {
            transform: translateX(-5px);
        }

        92% {
            transform: translateX(5px);
        }

        0%,
        100% {
            transform: translateX(0);
        }
    }
}

.page-card-head {
    padding: 0 0 1rem 0;
    margin: 0 auto;
    text-align: center;

    img {
        max-height: 50px;
        margin-bottom: 1.5rem;
    }

    h4 {
        margin-top: 0;
        font-size: 20px;
        font-weight: 900;
        color: #000;
        line-height: 1.2;
        letter-spacing: .5px;
        letter-spacing: -0.02em;
        text-transform: uppercase;
    }

    p {
        margin-top: 0.5rem;
        color: #6b7280;
        font-size: 15px;
    }
}


.btn-loading {
    position: relative;
    pointer-events: none;

    &::after {
        content: "";
        position: absolute;
        width: 16px;
        height: 16px;
        top: 50%;
        left: 50%;
        margin-left: -8px;
        margin-top: -8px;
        border: 2px solid #ffffff;
        border-radius: 50%;
        border-top-color: transparent;
        animation: spin 0.6s linear infinite;
    }

    span {
        opacity: 0;
    }
}

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

@keyframes moveBackground {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

body {
    margin: 6% 0 0 0;
    position: relative;
    overflow: hidden;
    background: url(../image/login-bg.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;   
}

.login-text h3 {
    margin: 0 0 17px;
    padding: 0;
    font-size: 22px;
    font-weight: 800 !important;
    color: #000;
    line-height: 0;
    letter-spacing: -0.02em;
}

.login-text p {
    margin-bottom: 20px;
    font-size: 14px;
}


.page-card-head {
    height: 82px;
  width: 175px;
    position: absolute;
    top: 50px;
    background: url('../image/polosoft.png');
    background-repeat: repeat;
    background-size: auto;
    background-size: contain;
    background-repeat: no-repeat;
    transform: translate;
    transform: translate(-50%, -50%);
    left: 49%;
}

.app-logo {
    display: none;
}

.page-card-head h4 {
    display: none;
}
.login-content{
   box-shadow: 0 13px 39px rgba(40, 152, 243, 0.623) !important; 
}


