/* Adapted from Colorlib Regform V28 */
@import url('colorlib-regform/css/roboto-font.css');

body.public-auth {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    background-image: -webkit-linear-gradient(136deg, rgb(224,195,252) 0%, rgb(142,197,252) 100%);
    background-image: -o-linear-gradient(136deg, rgb(224,195,252) 0%, rgb(142,197,252) 100%);
    background-image: -moz-linear-gradient(136deg, rgb(224,195,252) 0%, rgb(142,197,252) 100%);
    background-image: linear-gradient(136deg, rgb(224,195,252) 0%, rgb(142,197,252) 100%);
    min-height: 100vh;
}

.public-auth .auth-wrapper {
    width: 100%;
    padding: 60px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-v2-content {
    background: #ffffff;
    width: 851px;
    border-radius: 15px;
    -o-border-radius: 15px;
    -ms-border-radius: 15px;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    display: flex;
    display: -webkit-flex;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.form-v2-content .form-left {
    width: 40%;
    min-height: 100%;
    margin-bottom: -4px;
    position: relative;
}

.form-v2-content .form-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    display: block;
}

.form-v2-content .form-left .form-left-text {
    position: absolute;
    bottom: 15%;
    left: 9%;
    color: #fff;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
}

.form-v2-content .form-left .form-left-text p {
    font-size: 32px;
    line-height: 1.2;
    margin: 0;
}

.form-v2-content .form-left .form-left-text span {
    font-size: 25px;
    display: block;
}

.form-v2-content .form-detail {
    padding: 40px 50px;
    width: 60%;
}

.form-v2-content .form-detail h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    color: #333;
    font-size: 28px;
    padding: 6px 0 0;
    margin-bottom: 25px;
    margin-top: 0;
}

.form-v2-content .form-detail .form-group {
    width: 100%;
    margin-bottom: 22px;
    position: relative;
}

.form-v2-content .form-detail label {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #666;
    display: block;
    margin-bottom: 11px;
}

.form-v2-content .form-detail input[type="text"],
.form-v2-content .form-detail input[type="email"],
.form-v2-content .form-detail input[type="password"] {
    width: 100%;
    padding: 14.5px 15px;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    -o-border-radius: 5px;
    -ms-border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    appearance: unset;
    -moz-appearance: unset;
    -webkit-appearance: unset;
    -o-appearance: unset;
    -ms-appearance: unset;
    outline: none;
    -moz-outline: none;
    -webkit-outline: none;
    -o-outline: none;
    -ms-outline: none;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #333;
    box-sizing: border-box;
}

.form-v2-content .form-detail input:focus {
    border-color: #53c83c;
}

.form-v2-content .form-detail .form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 22px;
}

.form-v2-content .form-detail .form-check input[type="checkbox"] {
    margin-top: 4px;
    margin-right: 10px;
}

.form-v2-content .form-detail .form-check label {
    margin: 0;
    font-size: 15px;
    color: #666;
    cursor: pointer;
}

.form-v2-content .form-detail .form-check label a {
    color: #3b63ca;
    text-decoration: underline;
}

.form-v2-content .form-detail .register {
    background: #3b63ca;
    border-radius: 6px;
    -o-border-radius: 6px;
    -ms-border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    width: 100%;
    border: none;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    padding: 15px;
    transition: background 0.15s;
}

.form-v2-content .form-detail .register:hover {
    background: #3356b0;
}

.form-v2-content .form-detail .form-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 15px;
    color: #666;
}

.form-v2-content .form-detail .form-footer a {
    color: #3b63ca;
    text-decoration: underline;
}

input::-webkit-input-placeholder { color: #999; font-size: 14px; }
input::-moz-placeholder { color: #999; font-size: 14px; }
input:-ms-input-placeholder { color: #999; font-size: 14px; }
input:-moz-placeholder { color: #999; font-size: 14px; }

.password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #666;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.password-toggle:hover {
    color: #333;
}

.password-toggle svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.password-toggle .eye-closed {
    display: none;
}

.password-toggle.showing .eye-open {
    display: none;
}

.password-toggle.showing .eye-closed {
    display: block;
}

@media screen and (max-width: 991px) {
    .form-v2-content {
        width: auto;
        margin: 30px 20px;
        flex-direction: column;
        -o-flex-direction: column;
        -ms-flex-direction: column;
        -moz-flex-direction: column;
        -webkit-flex-direction: column;
    }
    .form-v2-content .form-left {
        width: 100%;
        min-height: 200px;
    }
    .form-v2-content .form-left img {
        border-bottom-left-radius: 0px;
        border-top-right-radius: 15px;
        width: 100%;
        height: auto;
        max-height: 250px;
    }
    .form-v2-content .form-detail {
        width: auto;
        padding: 30px 25px;
    }
}

@media screen and (max-width: 575px) {
    .form-v2-content {
        margin: 20px 15px;
    }
    .form-v2-content .form-detail {
        padding: 25px 20px;
    }
}
