﻿@font-face {
    font-family: sahel;
    src: url('/Content/fonts/sahel/Sahel.eot');
    src: url('/Content/fonts/sahel/Sahel.eot?#iefix') format('Sahel-opentype'), url('/Content/fonts/sahel/Sahel.woff') format('woff'), url('/Content/fonts/sahel/Sahel.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'sahel', 'Segoe UI', Tahoma, sans-serif;
    background: linear-gradient(135deg, #e0e7ff 0%, #ffffff 100%);
    overflow-x: hidden;
}

.main {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

p.footer {
    position: absolute;
    bottom: 10px;
    margin: 10px auto;
    display: inline-block;
    width: 100%;
    text-align: center;
}

    p.footer a {
        text-decoration: none;
        font-weight: bold;
    }

        p.footer a:hover {
            color: blue;
        }

.main .wrapper {
    width: 400px;
    z-index: 999;
    background: #ffffffb5;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

    .main .wrapper h3 {
        text-align: center;
        padding: 0;
        margin: 0;
        color: #5e35b1;
    }

.form-title {
    margin-top: -75px;
    width: 100%;
    text-align: center;
}

    .form-title img {
        max-height: 150px;
        max-width: 200px;
    }

.login-form {
    margin: 20px auto;
}

form {
    margin: auto;
}

    form input[type=text], form input[type=password] {
        font-size: 18px;
        color: #3a3a3a;
        background-color: #f0f8ff;
        border-radius: 8px;
        border: 1px solid #b4b4b4;
    }

    form input::placeholder {
        text-align: right;
    }

    form .zmdi {
        vertical-align: middle;
        font-size: 20px;
        color: gray;
    }

.btn-logout {
    text-decoration: none;
    background-color: #d35c5c;
    color: white;
    border-radius: 5px;
    padding: 8px;
    display: block;
    text-align: center;
}

.form-group.form-button {
    padding: 0 4px;
}

.form-group {
    margin: 15px 10px;
    position: relative;
    overflow: hidden;
}

    .form-group.two-input input {
        width: 48% !important;
        display: inline-block !important;
    }

        .form-group.two-input input:first-child {
            float: right;
        }

        .form-group.two-input input:last-child {
            float: left;
        }

    .form-group label {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        color: #222;
    }

    .form-group input[type=text], .form-group input[type=password] {
        padding: 10px;
        width: 100%;
        display: block;
        border: 1px solid #cdcdcd;
        font-family: sahel;
        box-sizing: border-box;
        font-size: 16px;
        background: #f9f9f9;
    }


        .form-group input[type=text]:active, .form-group input[type=password]:focus {
            background: #f9f9f9;
        }

input#UserName, input#Password, input#ConfirmPassword {
    padding-right: 30px;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #f9f9f9 inset !important;
}

a, p, h1, h2, h3, h4, h5 {
    font-family: sahel;
    color: #5e35b1;
}

button {
    font-family: sahel;
}

.btn-wide {
    padding: 10px 20px !important;
}

.form-submit {
    padding: 13px;
    background-color: #7e57c2;
    color: #ffffff;
    border: none;
    color: #ffffff;
    border-radius: 5px;
    font-family: sahel;
    font-size: 14px;
    width: 100%;
    cursor: pointer;
    float: left;
}

    .form-submit:hover {
        background-color: #5e35b1;
    }

.msg {
    font-family: sahel;
    color: #5e35b1;
    font-size: 14px;
    background-color: #f6b738;
    padding: 10px 15px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    margin-bottom: 8px;
    width: 91%;
}

#timer {
    background-color: #8686b3;
    font-family: Tahoma;
    border-radius: 8px;
    display: inline-block;
    padding: 10px;
    color: #ffffff;
    right: 1px;
}

#VerificationCode {
    padding-right: 55px;
}

.link {
    text-decoration: none;
    font-size: 16px;
    padding-top: 7px;
    margin-bottom: 10px;
    display: block;
    text-align: center;
}

    .link a {
        text-decoration: none;
        font-weight: bold;
    }

.validation-summary-errors {
}

    .validation-summary-errors ul {
        line-height: 25px;
        display: block;
        border-left: none;
        margin-bottom: 2px;
        padding: 0 10px;
    }

        .validation-summary-errors ul li {
            font-family: sahel;
            font-size: 12px;
            padding: 5px 10px;
            color: #ffffff;
            background-color: #964040;
            border-left: 1px solid #7d0000;
            border-radius: 5px;
            line-height: 25px;
            display: block;
            border-left: none;
            margin-bottom: 2px;
        }

            .validation-summary-errors ul li:last-child {
                border-left: none;
            }

.loader {
}

    .loader img {
        display: inline-block;
        width: 100px;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%,-50%);
    }

@media only screen and (max-width: 900px) {
    .main .wrapper {
        background: none;
        box-shadow: none;
    }

    #timer {
        right: 0px;
    }
}

#UserName, #Password, #ConfirmPassword {
    direction: ltr
}

#passwordEye {
    left: auto;
    cursor: pointer;
}

.captcha-group {
    position: relative;
    margin: 10px;
}

.captcha-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .captcha-wrapper img {
        height: 40px;
        border-radius: 5px;
        cursor: pointer;
        border: 1px solid #cdcdcd;
    }

    .captcha-wrapper input[type=text] {
        flex: 1;
        padding: 10px;
        font-family: sahel;
        font-size: 16px;
        background: #f9f9f9;
        border: 1px solid #cdcdcd;
        border-radius: 8px;
        direction: ltr;
    }


.btn-join {
    border-radius: 8px;
    display: inline-block;
    width: calc(50% - 3px);
    text-align: center;
    padding: 10px 0;
    border: none;
    cursor: pointer;
}

    .btn-join.btn-accept {
        background-color: green;
        color: #ffffff;
    }

    .btn-join.btn-deny {
        background-color: red;
        color: #ffffff;
    }

.btn-addcompany {
    background-color: lightgray;
    padding: 10px 5px;
    display: block;
    border-radius: 5px;
    text-align: center;
    color: #585858;
    text-decoration: none;
}

.ltr {
    direction: ltr
}

.rtl {
    direction: rtl
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}
