﻿
/* پس‌زمینه کامل صفحه */
body {
    font-family: 'IRANSans';
    font-size: 14px;
    direction: rtl;
    text-align: right;
    margin: 0;
    padding: 0;
    background: url('../images/background3.jpg') center center / cover no-repeat fixed;
    min-height: 100vh;
}
a {
    text-decoration: none;
}

ul {
    padding: 0;
    list-style-type: none;
    margin: 0;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.text-500 {
    color: #a1a5b7;
}

.login-page {
    border-radius: 10px;
    background-color: #f1f1f1;
    padding: 25px 15px;
}

    .login-page input.form-control:focus {
        border-color: #a58e72;
        outline: 0;
        box-shadow: none;
    }

    .login-page .user-role {
        padding-top: 10px;
        font-weight: bold;
    }

.switch-logintype {
    padding: 3px 5px;
    margin-bottom: 50px;
    border-radius: 15px;
    font-size: 13px;
    border:1px solid #3e2911;
}

    .switch-logintype a {
        display: block;
        color: #343333;
        /*border-radius: 15px;*/
        /*height: 30px;*/
        padding: 6px 10px;
        text-align: center;
        text-decoration: none;
    }

        .switch-logintype a.active {
            /*background-color: #fff;*/
        }

input::placeholder {
    color: #c8c8c8;
    opacity: 0.5;
    font-size: 11px;
}

.DisableItems {
    pointer-events: none;
    position: relative;
    background-color: initial;
    border-radius: 5px;
    min-height: 100px;
}

    .DisableItems::after {
        content: url('../images/loading.gif');
        color: #2b71e0;
        width: 100%;
        top: calc(50% - 23px);
        left: 0;
        text-align: center;
        position: absolute;
    }

    .DisableItems * {
        pointer-events: none;
        opacity: 0;
    }

.DisableItemsSelect {
    pointer-events: none;
    opacity: 0.3;
}

.DisableButton {
    pointer-events: none;
    opacity: 0.3;
}

.step-two {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.code-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-direction: row-reverse;
}

    .code-container.code-container2 {
        gap: 10px;
    }

    .code-container input {
        width: 50px;
        height: 50px;
        text-align: center;
        border: 1px solid rgba(0, 0, 0, 0.01);
        border-radius: 10px;
        font-size: 18px;
        background-color: #fff;
    }

        .code-container input:focus {
            border-color: #f3f3f3;
        }

        .code-container input.code2 {
            background-color: #fff;
            flex: 1;
            font-size: 13px;
            direction: ltr;
            box-shadow: 0px 5.40154px 5.40154px rgba(0, 0, 0, 0.05), 0px 4.05115px 13.5038px rgba(0, 0, 0, 0.1), inset 0px 6.11296px 6.75192px rgba(0, 0, 0, 0.01);
        }

.resendcode {
    color: #818181;
    font-size: 11px;
}

a.select-account:hover {
    text-decoration: none;
    background-color: #e6ebf3 !important;
}

a.userpanel {
    background-color: #e3e9f1 !important;
}

.form-check-inline {
    margin-right: 0 !important;
    margin-left: 15px !important;
}

    .form-check-inline .form-check-input {
        margin-right: 0;
        margin-left: 5px;
    }

.select2-search__field:focus-visible {
    outline: none;
}

.select2-container .select2-selection--single {
    height: 32px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 30px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 32px;
}

.application-title {
    font-weight: bold;
    /*padding: 0 15px;*/
    font-size: 16px;
    /*color: #e6be5e;*/
}


.center-div {
    width: 300px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    border: 1px solid #ddd;
}



/* کانتینر اصلی */
.login-page {
    background: rgb(243 230 230);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 20px;
    padding: 30px 35px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.15);
    margin-top: 20px;
}

/* لوگو */
.login-logo img {
    max-width: 90px;
    /*margin: 40px auto 10px auto;*/
}

/* سوییچ ورود */
.switch-logintype {
/*    background: #dfe5ea;
*/    border-radius: 12px;
    padding: 10px;
    margin-bottom: 25px;
}

    .switch-logintype a {
        display: inline-block;
        /*padding: 10px 0;*/
        border-radius: 10px;
        text-align: center;
        background: transparent;
        font-weight: 600;
        color: #291e15;
    }

        .switch-logintype a.active {
            background: #ebd8d8;
            color: #261b12;
            border-bottom: 2px solid #261b12;
            /*box-shadow: 0 0 10px rgba(0,0,0,0.06);*/
        }

/* فیلدهای ورودی */
.form-control {
    height: 48px;
    border-radius: 12px;
    border: 1px solid #d9d9d9;
    padding-right: 12px;
    font-size: 15px;
    background: #847c75;
    border: 1px solid #3e2911;
}

    .form-control:focus {
        border-color: #c0a27f;
        box-shadow: 0 0 6px rgba(10,116,218,0.3);
    }

/* دکمه ارسال */
.btn-success {
    background: #613e3f !important;
    border-radius: 12px !important;
    height: 48px;
    font-size: 16px;
    font-weight: bold;
}

/* ریسپانسیو موبایل */
@media (max-width: 767px) {
    .login-page {
        margin: 20px;
        padding: 25px !important;
    }

    .login-logo img {
        max-width: 80px;
    }
}
.login-features {
    margin-top: 25px;
    padding-top: 10px;
}

.feature-icon {
    width: 40px;
    margin-bottom: 10px;
    opacity: 0.90;
}

.feature-title {
    font-weight: 600;
    color: #616a73;
    font-size: 11px;
    margin-bottom: 3px;
}

.feature-desc {
    font-size: 13px;
    color: #555;
}

.login-features span.bi {
    color: #0a74da;
    font-size: 30px;
}

.separator-box {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: #604128;
}

    .separator-box::before,
    .separator-box::after {
        content: "";
        flex: 1;
        border-bottom: 1px solid #a08f7b;
    }

    .separator-box a.separator-link {
        background: #fff;
        padding: 4px 16px;
        margin: 0 12px;
        border-radius: 8px;
        box-shadow: 0 0 4px rgba(0,0,0,0.05);
        font-size: 14px;
        color: #0077cc; /* آبی سبک مثل عکس */
        text-decoration: none;
        white-space: nowrap;
        font-weight: 500;
    }

        .separator-box a.separator-link:hover {
            color: #005fa3; /* آبی تیره‌تر هنگام hover */
        }




        .w100p{
            width:100px;
        }


.login-btn {
    background: #613e3f;
    color: #fffaf2;
    border-radius: 8px;
}

    .login-btn:hover {
        background: #e1c4c4;
        border: 2px solid #dfafaf;
    }

    @media (max-width: 767px) {
        .feature-icon {
            width: 32px;
        }

        .feature-title {
            font-size: 14px;
        }

        .feature-desc {
            font-size: 12px;
        }
    }
.form-control {
    background: #f3dfdf !important;
    border: 1px solid #3e2911;
}


.login-logo h2 {
    color: #ead2bb;
    margin: 10px;
    font-size: 20px;
}
}

.btn.focus, .btn:focus {
    outline: 0;
    box-shadow: 0 0 0 .2rem rgb(121 69 74);
}