﻿
body {
    background: #9796f0; /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #fbc7d4, #9796f0); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #fbc7d4, #9796f0); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.main {
    background: white;
    border-radius: 3px;
    padding: 0px;
    position: relative;
    display: flex;
}

    .main .form_wrapper {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        position: relative;
        overflow: hidden;
    }

        .main .form_wrapper .tab.login_tab {
            border-right: none;
            border-top-right-radius: 0px;
            border-bottom-right-radius: 0px;
        }

        .main .form_wrapper .tab {
            width: 50%;
            border: solid 2px #f1f1f1;
            height: 40px;
            border-radius: 5px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            margin-bottom: 20px;
            font-weight: 500;
            transition: color 0.3s ease;
            user-select: none;
        }

        .main .form_wrapper #signup:checked ~ .signup_tab {
            border-color: transparent;
            z-index: 1;
            color: white;
        }

        .main .form_wrapper .tab.signup_tab {
            border-left: none;
            border-top-left-radius: 0px;
            border-bottom-left-radius: 0px;
        }

.brand-wrapper .logo {
    height: 100% !important;
    width: 100%;
}

.main .form_wrapper .tab {
    width: 50%;
    border: solid 2px #f1f1f1;
    height: 40px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 500;
    transition: color 0.3s ease;
    user-select: none;
}

.main .form_wrapper #signup:checked ~ .shape {
    left: 50%;
}

.main .form_wrapper .shape {
    background: linear-gradient(45deg, #a547b1, #f84298) no-repeat center;
    width: 50%;
    height: calc(40px - 1px);
    border-radius: 5px;
    position: absolute;
    top: 0px;
    left: 0px;
    opacity: 0.9;
    transition: all 0.4s ease;
}

.main .form_wrapper #signup:checked ~ .form_wrap {
    transform: translateX(-100%);
}

.main .form_wrapper .form_wrap {
    display: flex;
    width: 100%;
    flex: 0 0 100%;
    transition: transform 0.3s ease, opacity 0.2s ease;
}

    .main .form_wrapper .form_wrap .form_fild {
        width: 100%;
        flex: 0 0 100%;
        transition: all 0.5s ease;
    }

.main .form_wrapper #login:checked ~ .form_wrap .signup_form {
    opacity: 0;
}

.main .form_wrapper .form_wrap .form_fild {
    width: 100%;
    flex: 0 0 100%;
    transition: all 0.5s ease;
}

.main .form_wrapper .radio {
    display: none;
}

.main .form_wrapper #login:checked ~ .login_tab {
    border-color: transparent;
    z-index: 1;
    color: white;
}

.main .form_wrapper #login:checked ~ .shape {
    left: 0px;
}

.main .form_wrapper .shape:hover {
    background: linear-gradient(-45deg, #a547b1, #f84298) no-repeat center;
}

.main .form_wrapper .form_wrap .form_fild .input_group .input {
    border: solid #f1f1f1 2px;
    border-radius: 5px;
    width: 100%;
    height: 40px;
    padding: 5px 10px;
    font-size: 18px;
    font-weight: 500;
    outline: none;
    transition: all 0.3s linear;
}

.main .form_wrapper .form_wrap .form_fild .input_group {
    width: 100%;
    margin-bottom: 12px;
}

.main .form_wrapper .form_wrap .form_fild .not_mem {
    text-align: center;
}

.main .form_wrapper .form_wrap .form_fild .btn {
    width: 100%;
    height: 40px;
    margin-bottom: 20px;
    border: none;
    outline: none;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.8px;
    color: white;
    background: linear-gradient(45deg, #a547b1, #f84298) no-repeat center;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s linear;
}

.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 26px;
    font-weight: 900;
}

.asd {
    position: relative;
    text-align: center;
    color: white;
    background-color: #676666;
}

.login-card-img {
    position: relative;
}

.login-card-img {
    background-color: black;
}

h1 {
    text-align: center;
    font-weight: bolder;
    color: #4b4acb;
    position: absolute;
    z-index: 9;
    top: 15px;
    font-weight: bolder;
    width: 100%;
}

.form-control {
    margin-top: 15px;
}

#otpsendRegister {
    margin-top: 15px;
    color: white;
}

.callno {
    color: #ffffff;
    font-size: 18px;
    text-align: center;
    font-weight: 700;
    padding-top: 12px;
}

.subheading {
    text-align: center;
    font-weight: bolder;
    color: #4b4acb;
    position: absolute;
    z-index: 9;
    left: 95px;
    top: 60px;
    font-weight: bolder;
}

.translate {
    display: flex;
    position: absolute;
    right: 0;
    z-index: 999999999999999;
}

.appcontent {
    position: absolute;
    bottom: 0;
    display: block;
    color: #4b4acb;
    font-size: 18px;
    padding-bottom: 10px;
}

@@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: landscape) {

    .h1, h1 {
        font-size: 1.5rem;
    }

    .subheading {
        left: 32px;
        top: 40px;
        font-size: 12px;
    }

    .brand-wrapper .logo {
        margin-top: 40px;
    }

    .asd {
        position: static;
    }

    .login-card-description {
        font-size: 20px;
    }

    .appcontent {
        font-size: 14px;
    }
}

@@media only screen and (max-width: 600px) {
    h1 {
        position: relative;
        left: 0px;
        top: 0px;
        background: white;
    }

    .subheading, .appcontent {
        color: #ffffff;
        position: relative;
        left: 0px;
        top: 0px;
    }

    .translate {
        position: relative;
    }

    .checkstatus {
        position: absolute;
    }

    .login-card {
        border-bottom-left-radius: 0px;
    }
}

.toggle-label {
    width: 150px;
    height: 40px;
}

    .toggle-label input[type=checkbox] {
        opacity: 0;
        position: absolute;
        width: 100%;
        height: 100%;
    }

        .toggle-label input[type=checkbox] + .back {
            position: absolute;
            width: 100%;
            height: 100%;
            background: #838182;
            transition: background 150ms linear;
            border-radius: 0px;
        }

        .toggle-label input[type=checkbox]:checked + .back {
            background: #838182; /*green*/
        }

        .toggle-label input[type=checkbox] + .back .toggle {
            display: block;
            position: absolute;
            content: ' ';
            background: #4b4acb;
            width: 50%;
            height: 100%;
            transition: margin 150ms linear;
            border-radius: 0px;
        }

        .toggle-label input[type=checkbox]:checked + .back .toggle {
            margin-left: 75px;
        }

    .toggle-label .label {
        display: block;
        position: absolute;
        width: 50%;
        color: #ffffff;
        line-height: 40px;
        text-align: center;
        font-size: 16px;
        padding: 0px;
    }

        .toggle-label .label.on {
            left: 0px;
        }

        .toggle-label .label.off {
            right: 0px;
        }

    .toggle-label input[type=checkbox]:checked + .back .label.on {
        color: #fff;
    }

    .toggle-label input[type=checkbox] + .back .label.off {
        color: #fff;
    }

    .toggle-label input[type=checkbox]:checked + .back .label.off {
        color: #ffffff;
    }
