﻿@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,600,600italic,700,300,300italic);

@font-face {
    font-family: 'oswald_regularregular';
    src: url('../fonts/oswald-regular-webfont.eot');
    src: url('../fonts/oswald-regular-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/oswald-regular-webfont.woff') format('woff'), url('../fonts/oswald-regular-webfont.ttf') format('truetype'), url('../fonts/oswald-regular-webfont.svg#oswald_regularregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

html, body {
    width: 100%;
    height: 100%;
}

* {
    margin: 0;
    padding: 0;
}

body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #2d2d44 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loginpage {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100vh;
    display: flex;
    margin: 0;
    padding: 0;
}

    .loginpage::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
        pointer-events: none;
        z-index: 1;
        animation: gradientShift 15s ease-in-out infinite;
    }

.login_wrap {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.vd_login-page {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 1px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 480px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    animation: slideUp 0.6s ease-out;
}

.heading {
    padding-bottom: 32px;
}

    .heading h3 {
        font-size: 28px;
        font-weight: 700;
        color: #1f2937;
        margin: 16px 0 12px;
        letter-spacing: -0.5px;
    }

    .heading p {
        color: #6b7280;
        font-size: 15px;
        margin: 0;
        font-weight: 400;
        line-height: 1.5;
    }

.logo {
    margin-bottom: 24px;
}

.loginimg {
    background-size: contain !important;
    background-position: center !important;
    width: 100%;
    max-width: 240px;
    height: 60px;
    display: block;
    margin: 0 auto;
}

.panel {
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

.panel-body {
    padding: 0;
}

.login-icon {
    display: none !important;
}

.form-group {
    animation: fadeIn 0.8s ease-out 0.2s both;
}

.vd_input-wrapper {
    margin-bottom: 20px;
    position: relative;
    display: flex;
    align-items: center;
}

    .vd_input-wrapper input,
    .vd_input-wrapper select {
        width: 100% !important;
        padding-left: 44px !important;
        padding-right: 16px !important;
        border: 2px solid #e5e7eb !important;
        border-radius: 10px !important;
        height: 48px !important;
        font-size: 15px !important;
        background-color: #f3f4f6 !important;
        transition: all 0.3s ease !important;
        box-sizing: border-box !important;
        color: #1f2937 !important;
        font-weight: 500 !important;
    }

.menu-icon {
    color: #9ca3af;
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    pointer-events: none;
    font-size: 18px;
    z-index: 2;
}

input[type="email"]:focus,
input[type="password"]:focus,
select:focus {
    border-color: #2563eb !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
    outline: none !important;
}

input[type="email"].input-validation-error,
input[type="password"].input-validation-error,
select.input-validation-error {
    border-color: #dc2626 !important;
    background-color: #fef2f2 !important;
}

    input[type="email"].input-validation-error:focus,
    input[type="password"].input-validation-error:focus,
    select.input-validation-error:focus {
        border-color: #dc2626 !important;
        background-color: #fef2f2 !important;
        box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
    }

.field-validation-error {
    display: block !important;
    color: #dc2626;
    font-size: 13px;
    font-weight: 500;
    margin-top: 6px;
    margin-bottom: 12px;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    animation: slideIn 0.3s ease;
}

    .field-validation-error::before {
        content: '⚠ ';
        margin-right: 4px;
    }

.vd_checkbox {
    margin-bottom: 28px;
    margin-top: 20px;
    display: flex;
    align-items: center;
}

    .vd_checkbox input {
        accent-color: #3b82f6;
        width: 18px;
        height: 18px;
        cursor: pointer;
        margin-right: 0 !important;
    }

    .vd_checkbox label {
        color: #4b5563;
        font-size: 15px;
        margin-left: 10px;
        font-weight: 500;
        cursor: pointer;
    }

button {
    width: 100%;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border: none;
    border-radius: 10px;
    padding: 0;
    height: 50px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
}

    button:hover:not(:disabled) {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
    }

    button:active:not(:disabled) {
        transform: translateY(-1px);
    }

    button:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

    button i {
        margin-right: 0 !important;
        font-size: 18px;
    }

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

@media (max-width: 768px) {
    .vd_login-page {
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 0 !important;
        padding: 40px 24px !important;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .heading {
        margin-bottom: 32px !important;
    }

        .heading h3 {
            font-size: 24px !important;
        }

    .vd_input-wrapper {
        margin-bottom: 16px !important;
    }

    button {
        height: 45px !important;
        font-size: 15px !important;
    }

    .menu-icon {
        left: 10px !important;
    }
}

@media (max-width: 480px) {
    .vd_login-page {
        padding: 32px 16px !important;
    }

    .heading h3 {
        font-size: 22px !important;
    }

    .heading p {
        font-size: 13px !important;
    }

    .vd_input-wrapper {
        margin-bottom: 14px !important;
    }

    .menu-icon {
        left: 10px !important;
        font-size: 16px !important;
    }

    .vd_input-wrapper input,
    .vd_input-wrapper select {
        padding-left: 40px !important;
        height: 44px !important;
        font-size: 14px !important;
    }
}

body {
    background-color: #f0f0f0;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 23px;
}

.login-main {
    display: inline-block;
    position: relative;
    width: 380px;
    vertical-align: middle;
    color: #333;
    border-radius: 10px;
    box-shadow: 0 0 37px #0815420d;
    margin: 0 auto;
    background-color: #fff;
    padding: 10px;
    margin: 10px;
    background: white;
    width: 50%;
    min-width: 400px;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.loginpage {
    display: flex;
    width: 100%;
    height: 100%;
    /*background: url("../images/login-bg-grey.jpg") no-repeat center center;*/
    background-size: cover;
}

.columns {
    position: relative;
}

    .columns:not(.leftcol) {
        flex: 1 1 50%;
        background: url("../images/login-bg-grey.jpg") no-repeat;
        background-size: cover;
    }

    .columns.leftcol {
        position: relative;
        flex: 0 0 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.91), 0 1px 2px rgba(0, 0, 0, 0.52);
        transition: all 0.3s cubic-bezier(.25,.8,.25,1);
        background-color: #f8f9fb;
    }

.heading h4 {
    font-size: 15px;
    color: #666;
}

.columns.leftcol:before {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    content: "";
    background: #f8f9fb;
    left: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.91), 0 1px 2px rgba(0, 0, 0, 0.52);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.logo {
/*    font-family: "oswald_regularregular";
    font-size: 0;
    box-sizing: border-box;*/
    display: flex;
/*    margin: 0 0 17px;
    padding: 0 0 17px;
    font-weight: bold;*/
    width: 100%;
    background-color: #fff;
    /*transition: all 0.3s cubic-bezier(.25,.8,.25,1);*/
/*    border-bottom: 1px solid #ccc;*/
    min-height: 105px;
    align-items: center;
    justify-content: center;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
    /* Safari 5+ ONLY */
    ::i-block-chrome, .logo {
        line-height: 24px;
    }
}

.logo img {
    max-width: 45px;
    display: inline-block;
    vertical-align: bottom;
    margin: 0 5px;
}

.f-subtitle {
    font-family: "oswald_regularregular";
    font-size: 12px;
    font-weight: normal;
    line-height: 15px;
    color: #555;
    margin: 10px 0 0;
}

*::-moz-placeholder {
    color: #999;
}

.vd_grey {
    color: #777 !important;
}

.font-semibold {
    font-weight: 500;
}

h1, h2, h3, h4, h5, h6 {
    color: inherit;
    font-family: 'Open Sans', sans-serif;
    font-weight: normal;
    margin: 0 0 10px;
    text-rendering: optimizelegibility;
}

.mgbt-xs-5 {
    margin-bottom: 5px !important;
}

.widget::before, .widget::after {
    content: " ";
    display: table;
}

.widget::after {
    clear: both;
}

.widget::before, .widget::after {
    content: " ";
    display: table;
}

.widget {
    border-radius: 2px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    position: relative;
}

.panel {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    box-shadow: none;
}

    .panel .panel-body::after, .panel .panel-body-list::after {
        clear: both;
    }

    .panel .panel-body::before, .panel .panel-body-list::before,
    .panel .panel-body::after, .panel .panel-body-list::after {
        content: " ";
        display: table;
    }

    .panel .panel-body {
        padding: 15px 0 15px;
    }

    .panel .panel-body, .panel .panel-body-list {
        position: relative;
    }

.vd_hidden {
    display: none;
}

.alert {
    border: medium none;
    padding: 18px;
}

.alert-danger {
    background-color: #f6e1db;
}

.vd_input-wrapper input, .vd_input-wrapper select {
    border: 1px solid #ccc;
    height: 44px;
    padding: 0 10px 0 32px;
    width: 100%;
    color: #333;
    border-radius: 4px;
}

.vd_input-wrapper select {
    padding-left: 29px;
}

.faceDetect {
    padding-right: 44px;
}

    .faceDetect .fa-camera {
        position: absolute;
        right: 0;
        top: 4px;
        color: #7e7e7e;
        font-size: 36px;
    }

@media screen and (-webkit-min-device-pixel-ratio:0) {
    .vd_input-wrapper input {
        padding-top: 2px;
    }
}

span.asterisk {
    display: none !important;
}

.form-horizontal .form-group {
    margin: 0;
}

.vd_input-wrapper {
    display: inline-block;
    margin-bottom: 10px;
    position: relative;
    width: 100%;
}

    .vd_input-wrapper.focus {
        background: transparent;
    }

.vd_input-wrapper .menu-icon {
    font-size: 17px;
    left: 8px;
    position: absolute;
    width: auto !important;
    line-height: inherit;
}

#password-input-wrapper .menu-icon {
    font-size: 22px;
    left: 10px;
}

#company .menu-icon {
    font-size: 20px;
    left: 10px;
}

.vd_input-wrapper span {
    text-align: left;
    font-size: 12px;
    color: #a0a0a0;
    padding: 4px;
    width: 100%;
    float: left;
    line-height: normal;
    margin: 5px 0 !important;
}


.form-group.loginfields {
    margin: 0;
}

.vd_input-wrapper .validate-error {
    display: none;
}

.ng-invalid-email .vd_input-wrapper .validate-error {
    display: block;
}

.forgetpwcolor {
    color: #337ab7;
    font-size: 13px;
}

    .forgetpwcolor:hover {
        text-decoration: underline;
    }

a:hover, a:focus {
    color: #3c8dbc;
    outline: medium none;
    text-decoration: none;
}

.rememberstyl {
    color: #666 !important;
    font-family: 'Open Sans', sans-serif;
    font-weight: normal;
    margin-right: 3px !important;
    cursor: pointer;
    vertical-align: middle;
    position: relative;
    top: -2px;
}

.vd_checkbox {
    text-align: left;
    margin: 0 0 10px;
}

.form-submit .button-blue {
    width: 100%;
}

.register-panel {
    clear: both;
    display: inline-block;
    margin: 40px 0 0;
    width: 100%;
}

    .register-panel a {
        color: #fff !important;
        display: inline-block;
        padding: 7px 0;
        width: 100%;
    }

.loginpage .button-orange {
    background-color: #7e7e7e;
    transition: all 0.3s ease;
    display: inline-block;
    border: medium none;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    color: #fff !important;
    text-decoration: none !important;
    cursor: pointer;
    font-size: 16px !important;
    padding: 12px 10px;
    margin: 0;
    vertical-align: top;
    width: 100%;
}

.preload-overlay {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1000;
}

.preloadImg {
    position: absolute;
    width: 52px;
    height: 52px;
    padding: 8px;
    left: 50%;
    top: 50%;
    margin: -21px 0 0 -21px;
    border: 1px solid #00b4fb;
    background: #1e212b;
    box-shadow: 0 2px 12px 2px #000;
}

    .preloadImg img {
        display: block;
    }

.preloader {
    display: none
}

.field-validation-error {
    display: inline-block;
    width: 100%;
    padding: 4px;
    margin: 0 0 10px;
    background: #f10000;
    border-radius: 4px;
    color: #fff;
}

.CameraPopover {
    width: 480px;
    height: 480px;
    display: none;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

    .CameraPopover .camInner {
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        overflow: hidden;
        border: 2px solid #000000;
    }

    .CameraPopover .closeCam {
        position: absolute;
        cursor: pointer;
        right: 98px;
        top: 20px;
        z-index: 1;
        background: #333;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        color: #fff;
        display: flex;
        justify-content: center;
        font-size: 21px;
        padding: 2px;
    }

    .CameraPopover canvas {
        transform: translate(-55%, -50%);
        position: absolute;
        top: 50%;
        left: 50%;
    }

.login-register div video {
    position: absolute;
    bottom: 0;
}

@media only screen and (max-width:500px) {
    .login-main {
        width: 85%;
    }

    .columns.leftcol {
        position: relative;
        flex: 0 0 100%;
    }

    @media only screen and (max-width:480px) and (max-height:320px) {
        .login-main {
            padding: 30px 0 0;
            margin-top: 20px;
        }

        .panel .panel-body {
            padding: 0 25px;
        }

        .panel-body div.form-group {
            margin-bottom: 5px;
        }

        .loginpage div.panel {
            margin-bottom: 5px;
        }
    }

    @media only screen and (max-width:500px) {
        .columns {
            display: none;
        }
    }
}

.ui.primary.button {
    box-shadow: 0 0 5px #007bff, 0 0 5px rgba(16, 185, 129, 0.2) !important;
}