﻿@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

html, body {
    /*    padding-top: 2%;*/
    position: relative;
    min-height: 100vh;
    /*    background-color: #E1E8EE;*/
    /*    background-image: url('images/loginbg.jpg');
    background-repeat: no-repeat;
    background-size:cover;*/
    /*    display: flex;*/
    /*    align-items: center;
    justify-content: center;*/
    font-family: "DM Sans", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: #6D874B;
    /*    background: -moz-linear-gradient(164deg, rgba(255,255,255,1) 0%, rgba(37,56,150,1) 57%, rgba(117,191,68,0.9822522759103641) 85%);
    background: -webkit-linear-gradient(164deg, rgba(255,255,255,1) 0%, rgba(37,56,150,1) 57%, rgba(117,191,68,0.9822522759103641) 85%);
    background: linear-gradient(164deg, rgba(255,255,255,1) 0%, rgba(37,56,150,1) 57%, rgba(117,191,68,0.9822522759103641) 85%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#75bf44",GradientType=1);*/
}

/* Logo Styling */
.form-logo {
    display: flex;
    justify-content: center;
    align-items: center; 
    margin-bottom: 20px; 
}

.logo-img {
    max-width: 140px;
    height: auto;
}

.form-structor {
  
    border-radius: 15px;
  border: 1px solid #ccc;
    height: 650px;
    width: 450px;
    position: relative;
    overflow: hidden;
    &::after

{
    content: '';
    opacity: .8;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 500px;
    /*    background-image: url('/images/logbg1.jpg');*/
    background:#6D874B;
}

.signup {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    width: 65%;
    z-index: 5;
    -webkit-transition: all .3s ease;
    &.slide-up

{
    top: 5%;
    -webkit-transform: translate(-50%, 0%);
    -webkit-transition: all .3s ease;
}

&.slide-up .form-holder,
&.slide-up .submit-btn {
    opacity: 0;
    visibility: hidden;
}

&.slide-up .form-title {
    font-size: 1em;
    cursor: pointer;
}

    &.slide-up .form-title span {
        margin-right: 5px;
        opacity: 1;
        visibility: visible;
        -webkit-transition: all .3s ease;
    }

.form-title {
    color: #fff;
    font-size: 1.7em;
    text-align: center;
    span

{
    color: rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all .3s ease;
}

}

.form-holder {
    border-radius: 15px;
    background-color: #fff;
    overflow: hidden;
    margin-top: 50px;
    opacity: 1;
    visibility: visible;
    -webkit-transition: all .3s ease;
    .input

{
    border: 0;
    outline: none;
    box-shadow: none;
    display: block;
    height: 30px;
    line-height: 30px;
    padding: 8px 15px;
    border-bottom: 3px solid #eee;
    width: 100%;
    font-size: 12px;
    &:last-child

{
    border-bottom: 0;
}

&::-webkit-input-placeholder {
    color: rgba(0,0,0,0.4);
}

}
}

.submit-btn {
    background-color: rgba(0,0,0,0.4);
    color: rgba(256,256,256,0.7);
    border: 0;
    border-radius: 15px;
    display: block;
    margin: 15px auto;
    padding: 15px 45px;
    width: 100%;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    opacity: 1;
    visibility: visible;
    -webkit-transition: all .3s ease;
    &:hover

{
    transition: all .3s ease;
    /*    background-color: rgba(0,0,0,0.8);*/
    background-color: #77bc3f;
}

}
}

.login {
    position: absolute;
    top: 20%;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.4);
    z-index: 5;
    -webkit-transition: all .3s ease;
    &::before

{
    content: '';
    position: absolute;
    left: 50%;
    top: -20px;
    -webkit-transform: translate(-50%, 0);
        background-color: rgba(255,255,255,0.4);
    width: 200%;
    height: 250px;
    border-radius: 50%;
    z-index: 4;
    -webkit-transition: all .3s ease;
}

.center {
    position: absolute;
    top: calc(50% - 10%);
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    width: 65%;
    z-index: 5;
    -webkit-transition: all .3s ease;
    .form-title

{
    color: #000;
    font-size: 1.7em;
    text-align: center;
    span

{
    color: rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all .3s ease;
}

}

.form-holder {
    border-radius: 15px;
    background-color: #fff;
    border: 1px solid #eee;
    overflow: hidden;
    margin-top: 50px;
    opacity: 1;
    visibility: visible;
    -webkit-transition: all .3s ease;
    .input

{
    border: 0;
    outline: none;
    box-shadow: none;
    display: block;
    height: 30px;
    line-height: 30px;
    padding: 8px 15px;
    border-bottom: 1px solid #eee;
    width: 100%;
    font-size: 12px;
    &:last-child

{
    border-bottom: 0;
}

&::-webkit-input-placeholder {
    color: rgba(0,0,0,0.4);
}

}
}

.submit-btn {
    background-color: #6a762a;
    color: rgba(256,256,256,0.7);
    border: 0;
    border-radius: 15px;
    display: block;
    margin: 15px auto;
    padding: 15px 45px;
    width: 100%;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    opacity: 1;
    visibility: visible;
    -webkit-transition: all .3s ease;
    &:hover

{
    transition: all .3s ease;
    background-color: rgba(0,0,0,0.8);
}

}
}

&.slide-up {
    top: 90%;
    -webkit-transition: all .3s ease;
}

    &.slide-up .center {
        top: 10%;
        -webkit-transform: translate(-50%, 0%);
        -webkit-transition: all .3s ease;
    }

    &.slide-up .form-holder,
    &.slide-up .submit-btn {
        opacity: 0;
        visibility: hidden;
        -webkit-transition: all .3s ease;
    }

    &.slide-up .form-title {
        font-size: 1em;
        margin: 0;
        padding: 0;
        cursor: pointer;
        -webkit-transition: all .3s ease;
    }

        &.slide-up .form-title span {
            margin-right: 5px;
            opacity: 1;
            visibility: visible;
            -webkit-transition: all .3s ease;
        }

}
}

/* Back to Login Styling */
.back-to-login-container {
    margin-top: 20px;
    text-align: center;
}

.back-to-login {
    text-decoration: none;
    color: #007bff;
    font-size: 14px;
    transition: color 0.3s ease;
}

    .back-to-login:hover {
        color: #0056b3;
        text-decoration: underline;
    }



/* Center Forgot Password Link */
.forgot-password-container {
    text-align: center;
    margin-top: 10px;
}

.forgot-password-link {
    text-decoration: none;
    color: #ffffff; 
    font-size: 14px;
}

    .forgot-password-link:hover {
        /*        text-decoration: underline;*/
        color: #77bc3f;
        font-size: 16px;
    }


/* Footer Styling */
.footer {
    margin-top: 40px;
    text-align: center;
    padding: 20px 0;
/*    background-color: #f8f9fa;*/
    color: #6c757d;
    font-size: 14px;
/*    border-top: 1px solid #e9ecef;*/
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    width: 150px;
    height: auto;
}

.footer p {
    margin: 0;
}

button .loader {
    border: 3px solid #f3f3f3; /* Light gray */
    border-top: 3px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 15px;
    height: 15px;
    display: inline-block;
    margin-right: 5px;
    animation: spin 1s linear infinite;
    vertical-align: middle;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/*forgot Password*/
.forgot {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    width: 65%;
    z-index: 5;
    -webkit-transition: all .3s ease;
    &.slide-up

{
    top: 5%;
    -webkit-transform: translate(-50%, 0%);
    -webkit-transition: all .3s ease;
}

&.fg-slide-up .form-holder,
&.fg-slide-up .fg-submit-btn {
    opacity: 0;
    visibility: hidden;
}

&.fg-slide-up .form-title {
    font-size: 1em;
    cursor: pointer;
}

    &.fg-slide-up .form-title span {
        margin-right: 5px;
        opacity: 1;
        visibility: visible;
        -webkit-transition: all .3s ease;
    }

.form-title {
    color: #fff;
    font-size: 1.7em;
    text-align: center;
    span

{
    color: rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all .3s ease;
}

}

.form-holder {
    border-radius: 15px;
    background-color: #fff;
    overflow: hidden;
    margin-top: 50px;
    opacity: 1;
    visibility: visible;
    -webkit-transition: all .3s ease;
    .input

{
    border: 0;
    outline: none;
    box-shadow: none;
    display: block;
    height: 30px;
    line-height: 30px;
    padding: 8px 15px;
    border-bottom: 3px solid #eee;
    width: 100%;
    font-size: 12px;
    &:last-child

{
    border-bottom: 0;
}

&::-webkit-input-placeholder {
    color: rgba(0,0,0,0.4);
}

}
}

.fg-submit-btn {
    background-color: rgba(0,0,0,0.4);
    color: rgba(256,256,256,0.7);
    border: 0;
    border-radius: 15px;
    display: block;
    margin: 15px auto;
    padding: 15px 45px;
    width: 100%;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    opacity: 1;
    visibility: visible;
    -webkit-transition: all .3s ease;
    &:hover

{
    transition: all .3s ease;
    background-color: rgba(0,0,0,0.8);
}

}
}

.fg-login {
    position: absolute;
    top: 20%;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    z-index: 5;
    -webkit-transition: all .3s ease;
    &::before

{
    content: '';
    position: absolute;
    left: 50%;
    top: -20px;
    -webkit-transform: translate(-50%, 0);
    background-color: #fff;
    width: 200%;
    height: 250px;
    border-radius: 50%;
    z-index: 4;
    -webkit-transition: all .3s ease;
}

.center {
    position: absolute;
    top: calc(50% - 10%);
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    width: 65%;
    z-index: 5;
    -webkit-transition: all .3s ease;
    .form-title

{
    color: #000;
    font-size: 1.7em;
    text-align: center;
    span

{
    color: rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all .3s ease;
}

}

.form-holder {
    border-radius: 15px;
    background-color: #fff;
    border: 1px solid #eee;
    overflow: hidden;
    margin-top: 50px;
    opacity: 1;
    visibility: visible;
    -webkit-transition: all .3s ease;
    .input

{
    border: 0;
    outline: none;
    box-shadow: none;
    display: block;
    height: 30px;
    line-height: 30px;
    padding: 8px 15px;
    border-bottom: 1px solid #eee;
    width: 100%;
    font-size: 12px;
    &:last-child

{
    border-bottom: 0;
}

&::-webkit-input-placeholder {
    color: rgba(0,0,0,0.4);
}

}
}

.fg-submit-btn {
    background-color: #6B92A4;
    color: rgba(256,256,256,0.7);
    border: 0;
    border-radius: 15px;
    display: block;
    margin: 15px auto;
    padding: 15px 45px;
    width: 100%;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    opacity: 1;
    visibility: visible;
    -webkit-transition: all .3s ease;
    &:hover

{
    transition: all .3s ease;
    background-color: rgba(0,0,0,0.8);
}

}
}

&.fg-slide-up {
    top: 90%;
    -webkit-transition: all .3s ease;
}

    &.fg-slide-up .center {
        top: 10%;
        -webkit-transform: translate(-50%, 0%);
        -webkit-transition: all .3s ease;
    }

    &.fg-slide-up .form-holder,
    &.fg-slide-up .fg-submit-btn {
        opacity: 0;
        visibility: hidden;
        -webkit-transition: all .3s ease;
    }

    &.fg-slide-up .form-title {
        font-size: 1em;
        margin: 0;
        padding: 0;
        cursor: pointer;
        -webkit-transition: all .3s ease;
    }

        &.fg-slide-up .form-title span {
            margin-right: 5px;
            opacity: 1;
            visibility: visible;
            -webkit-transition: all .3s ease;
        }

}
}
