﻿a {
    text-decoration: none
}

.main-header .logo {
    width: 0 !important
}

.main-header > .navbar {
    margin-right: 0 !important
}

.app-main {
    margin-top: max(58px, calc(3.5rem + 1px));
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
}

@media (min-width: 768px) {
    .mobile-only {
        display: none;
    }
}

@media (max-width: 425px) {
    .mobile-only425 {
        display: block;
    }
}

@media (min-width: 425px) {
    .mobile-only425 {
        display: none;
    }
}

@media (max-width: 375px) {
    .mobile-only375 {
        display: block;
    }
}

@media (min-width: 375px) {
    .mobile-only375 {
        display: none;
    }
}

@media (max-width: 1024px) {
    .mobile-only1024 {
        display: block;
    }
}

@media (min-width: 1024px) {
    .mobile-only1024 {
        display: none;
    }
}

.nav-treeview {
    padding-right: 15px !important
}

.nav-link i {
    padding-left: 5px
}

.sidebar-wrapper .nav-link {
    font-weight: 500 !important
}
/*BEGIN Lists*/
.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

    .switch input {
        display: none;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 16px;
        width: 16px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}
/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

.RadGrid {
    border-radius: 10px;
}

.RadGrid_MetroTouch, .rgPagerCell, .RadComboBox, .rcbList {
    font-family: WIranSans !important
}

/*END Lists*/

/*BEGIN Loading*/
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(248, 249, 250, 0.9);
    z-index: 99999;
}

    .loading .card {
        width: 100%;
    }

    .loading .position-absolute {
        z-index: 10; /* ??????? ?? ????? ?????? ??? ??? ???? ???? */
    }

@media (max-width: 768px) {
    .loading .card {
        margin: 10px; /* ????? ?? ?????? */
    }
}
/*END Loading*/
/*BEGIN progressBar*/

.progress-bar {
    font-size: .9rem;
    font-weight: 600;
}

.progress {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(248, 249, 250, 0.33);
    width: 100%;
    height: 28px !important;
    border-radius: 50px !important;
    overflow: hidden;
}

    .progress .card {
        width: 100%;
        /*max-width: 500px;*/ /* ??? ?????? ???? */
    }

    .progress .position-absolute {
        z-index: 10; /* ??????? ?? ????? ?????? ??? ??? ???? ???? */
    }

@media (max-width: 768px) {
    .progress .card {
        margin: 10px; /* ????? ?? ?????? */
    }
}
/*END progressBar*/
/*BEGIN Telerik*/
.RadGrid {
    border-radius: 10px;
}

.RadGrid_MetroTouch, .rgPagerCell, .RadComboBox, .rcbList {
    font-family: WIranSans !important
}

.rgMasterTable {
    white-space: nowrap !important;
}

.warpTitle {
    white-space: pre-wrap !important;
    text-align: justify
}

.blink {
    animation: blinker 1.5s linear infinite;
}
/*RadDropDownTree*/
.rddtSlide {
    z-index: 10000001 !important
}
/*RadGrid Scroll*/
.rddtPopup {
    text-align: right !important
}


.scrollbar-top {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    height: 20px; /* ?????? ???? ???? ????? ?????????? */
}

.scrollbar-top-inner {
    height: 1px; /* ???? ????????? ?????????? */
    width: 100%; /* ??? ?????? ?? ?? JavaScript ????? ?????? */
}

.rgDataDiv {
    overflow-x: auto !important;
    overflow-y: visible !important;
}

/*
  NOTE (Bootstrap dropdown clipping):
  CSS computes overflow-y to "auto" whenever overflow-x is not "visible".
  So .rgDataDiv is always a clipping scrollport despite overflow-y:visible.
  Working pages put padding on the SAME element (.rgDataDiv.rgDataDiv-N)
  so the menu has room inside that scrollport.
*/
.rgDataDiv-10 {
    padding-bottom: 100px;
}

.rgDataDiv-15 {
    padding-bottom: 150px;
}

.rgDataDiv-20 {
    padding-bottom: 200px;
}

.rgDataDiv-25 {
    padding-bottom: 250px;
}

.rgDataDiv-30 {
    padding-bottom: 300px;
}

.racList {
    direction: rtl !important;
    text-align: right !important;
}

.racInput, .racTokenList, .withoutBorder .rcbInner {
    border: none !important;
    border-style: unset !important;
}

.withoutBorder .rcbInner, .withoutBorder .rcbActionButton {
    background: no-repeat !important;
}

/*END progress*/
/*BEGIN input-group*/
.input-group-text {
    padding: 5px 9px !important
}
/*BEGIN input-group*/
/*BEGIN card*/
.card-header {
    padding: 9px 15px !important;
}
/*END card*/
/*BEGIN btn*/
/* ?????????? ???? ???? btn-app */
.btn-app {
    position: relative;
    display: inline-block;
    padding: 15px 10px;
    margin: 10px 5px;
    min-width: 80px;
    height: 70px;
    text-align: center;
    border-radius: 0.375rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background-color: #0d6efd;
}

    /* ????? ???? ???? */
    .btn-app > .fa,
    .btn-app > .bi {
        font-size: 24px;
        display: block;
        margin-bottom: 5px;
    }

/* ???????? ???? */
.btn-app-success {
    background-color: #e6ffe6;
    color: green;
}

.btn-app-danger {
    background-color: #ffe6e6;
    color: #cc0000;
}

.btn-app-warning {
    background-color: #ffffe6;
    color: darkorange;
}

.btn-app-info {
    background-color: #0dcaf0;
    color: #212529;
}

.btn-app-secondary {
    background-color: #f4f4f4;
    color: #666;
}

/* ???? ???? */
.btn-app.active,
.btn-app:active {
    box-shadow: inset 0 3px 5px rgba(0,0,0,0.125);
    transform: scale(0.98);
}

/* ???? ??????? */
.btn-app.disabled,
.btn-app:disabled {
    opacity: 0.6;
    pointer-events: none;
}

/* ?? ????????? ???? ?????? */
@media (max-width: 576px) {
    .btn-app {
        width: 100%;
        height: auto;
        padding: 12px;
        font-size: 16px;
        margin: 5px 0;
        border-radius: 0.5rem;
    }

        .btn-app > .fa,
        .btn-app > .bi {
            font-size: 28px;
            margin-bottom: 8px;
        }
}
/* ?????????? ???? ???? btn-social */
.btn-social {
    position: relative;
    padding-left: 44px; /* ???? ???? ???? ????? */
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    font-size: 14px;
    line-height: 1.5;
    width: fit-content; /* ????? ??? ?? ???? ????? */
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

    /* ????? ????? ?? ???? */
    .btn-social > :first-child {
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 32px;
        line-height: 34px;
        font-size: 1.6em;
        text-align: center;
        border-right: 1px solid rgba(0, 0, 0, 0.2);
    }

    /* ??????? ??????? ???? ???????? ??????? */
    .btn-social.btn-facebook {
        color: #fff;
        background-color: #3b5998;
        border-color: #3b5998;
    }

        .btn-social.btn-facebook:hover {
            background-color: #344e86;
            border-color: #2d4373;
        }

    .btn-social.btn-twitter {
        color: #fff;
        background-color: #1da1f2;
        border-color: #1da1f2;
    }

        .btn-social.btn-twitter:hover {
            background-color: #1a91da;
            border-color: #1687cc;
        }

    .btn-social.btn-google {
        color: #fff;
        background-color: #dd4b39;
        border-color: #dd4b39;
    }

        .btn-social.btn-google:hover {
            background-color: #c74332;
            border-color: #b93b2d;
        }

    .btn-social.btn-linkedin {
        color: #fff;
        background-color: #0077b5;
        border-color: #0077b5;
    }

        .btn-social.btn-linkedin:hover {
            background-color: #00669c;
            border-color: #005a87;
        }

    /* ???????? ?? ?????????? ????? */
    .btn-social.btn-sm {
        padding: 5px 10px;
        font-size: 12px;
        line-height: 1.5;
        border-radius: 3px;
    }

        .btn-social.btn-sm > :first-child {
            width: 28px;
            line-height: 28px;
            font-size: 1.4em;
        }

    .btn-social.btn-lg {
        padding: 10px 16px;
        font-size: 18px;
        line-height: 1.33;
        border-radius: 6px;
    }

        .btn-social.btn-lg > :first-child {
            width: 40px;
            line-height: 44px;
            font-size: 1.8em;
        }

    /* ???? ??????? */
    .btn-social:disabled {
        opacity: 0.65;
        pointer-events: none;
    }
/*END btn*/
/*BEGIN Background*/
/* ??????? ???????? bg-* ?? AdminLTE 2 */
.bg-green {
    background-color: #00a65a !important;
    color: #fff !important;
}

    .bg-green:hover {
        background-color: #008d4c !important;
    }

.bg-blue {
    background-color: #3c8dbc !important;
    color: #fff !important;
}

    .bg-blue:hover {
        background-color: #367fa9 !important;
    }

.bg-red {
    background-color: #dd4b39 !important;
    color: #fff !important;
}

    .bg-red:hover {
        background-color: #c23321 !important;
    }

.bg-yellow {
    background-color: #f39c12 !important;
    color: #fff !important;
}

    .bg-yellow:hover {
        background-color: #e08e0b !important;
    }

.bg-aqua {
    background-color: #00c0ef !important;
    color: #fff !important;
}

    .bg-aqua:hover {
        background-color: #00a7d0 !important;
    }

.bg-light-blue {
    background-color: #3c8dbc !important;
    color: #fff !important;
}

    .bg-light-blue:hover {
        background-color: #367fa9 !important;
    }

.bg-navy {
    background-color: #001f3f !important;
    color: #fff !important;
}

    .bg-navy:hover {
        background-color: #001226 !important;
    }

.bg-teal {
    background-color: #39cccc !important;
    color: #fff !important;
}

    .bg-teal:hover {
        background-color: #2cb2b2 !important;
    }

.bg-olive {
    background-color: #3d9970 !important;
    color: #fff !important;
}

    .bg-olive:hover {
        background-color: #2e7d56 !important;
    }

.bg-lime {
    background-color: #01ff70 !important;
    color: #000 !important;
}

    .bg-lime:hover {
        background-color: #00e765 !important;
    }

.bg-orange {
    background-color: #ff851b !important;
    color: #fff !important;
}

    .bg-orange:hover {
        background-color: #e76b00 !important;
    }

.bg-fuchsia {
    background-color: #f012be !important;
    color: #fff !important;
}

    .bg-fuchsia:hover {
        background-color: #d600a6 !important;
    }

.bg-purple {
    background-color: #605ca8 !important;
    color: #fff !important;
}

    .bg-purple:hover {
        background-color: #534d8f !important;
    }

.bg-maroon {
    background-color: #d81b60 !important;
    color: #fff !important;
}

    .bg-maroon:hover {
        background-color: #b91550 !important;
    }

    /* ???? ??????? ?? ?????????? ?? ???? ?? ????? ?? ????? ????? */
    .bg-green.btn,
    .bg-blue.btn,
    .bg-red.btn,
    .bg-yellow.btn,
    .bg-aqua.btn,
    .bg-light-blue.btn,
    .bg-navy.btn,
    .bg-teal.btn,
    .bg-olive.btn,
    .bg-lime.btn,
    .bg-orange.btn,
    .bg-fuchsia.btn,
    .bg-purple.btn,
    .bg-maroon.btn {
        border: 1px solid transparent;
        padding: 6px 12px;
        border-radius: 4px;
        transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
    }
/*END Background*/
/*BEGIN label*/
/* ?????????? ???? ???? label */
.label {
    display: inline-block;
    padding: 0.25em 0.4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

/* ??????? ??????? ???? ??????? label */
.label-default {
    background-color: #d2d6de !important;
    color: #444 !important;
}

    .label-default:hover {
        background-color: #c1c7d1 !important;
    }

.label-primary {
    background-color: #3c8dbc !important;
    color: #fff !important;
}

    .label-primary:hover {
        background-color: #367fa9 !important;
    }

.label-success {
    background-color: #00a65a !important;
    color: #fff !important;
}

    .label-success:hover {
        background-color: #008d4c !important;
    }

.label-info {
    background-color: #00c0ef !important;
    color: #fff !important;
}

    .label-info:hover {
        background-color: #00a7d0 !important;
    }

.label-warning {
    background-color: #f39c12 !important;
    color: #fff !important;
}

    .label-warning:hover {
        background-color: #e08e0b !important;
    }

.label-danger {
    background-color: #dd4b39 !important;
    color: #fff !important;
}

    .label-danger:hover {
        background-color: #c23321 !important;
    }
/*END label*/
/*BEGIN todo-list*/
/* ?????????? ???? ???? todo-list */
.todo-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #fff;
    border: 1px solid #d2d6de;
    border-radius: 0.25rem;
}

    .todo-list li {
        position: relative;
        padding: 10px 15px;
        border-bottom: 1px solid #f4f4f4;
        display: flex;
        align-items: center;
    }

        .todo-list li:last-child {
            border-bottom: none;
        }

    /* ?????? ???? ?????????? */
    .todo-list .icheck-primary {
        display: inline-block;
    }

        .todo-list .icheck-primary input[type="checkbox"] {
            margin: 0 5px 0 0;
            vertical-align: middle;
        }

    .todo-list .todo-list-text {
        flex-grow: 1;
    }

/* ?????? ???? ??????? (edit, delete) */
.todo-list-tools {
    display: flex;
    gap: 10px;
}

    .todo-list-tools i {
        cursor: pointer;
        color: #6c757d;
    }

        .todo-list-tools i:hover {
            color: #000;
        }

/* ?????? ???? ????????? */
.todo-list .sort-highlight {
    background: #f4f4f4;
    border: 1px dashed #d2d6de;
    height: 40px;
    border-radius: 0.25rem;
}

/* ???????? ????????? */
.todo-list .handle {
    cursor: move;
    margin-right: 10px;
    color: #6c757d;
}
/*END todo-list*/
/*BEGIN btn-group for popup menu*/
/* ????????? ?????????? Bootstrap 3 ???? btn-group */
.btn-group {
    position: relative;
    display: inline-flex;
    vertical-align: middle;
    /*    z-index: 9999;*/
    border: none;
}

    .btn-group > a {
        display: inline-block;
        padding: 6px 12px;
        font-size: 14px;
        line-height: 1.42857143;
        text-align: center;
        white-space: nowrap;
        vertical-align: middle;
        cursor: pointer;
        border: none;
    }

        .btn-group > a:hover,
        .btn-group > a:focus {
            text-decoration: none;
        }

    .btn-group .btn-social {
        width: 100% !important;
        text-align: right !important;
        height: 35px;
        --bs-btn-box-shadow: inset 0
    }
/* ????????? dropdown-menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    z-index: 1000;
    display: none;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    font-size: 14px;
    text-align: left;
    list-style: none;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}

.btn-group.open .dropdown-menu,
.btn-group.show .dropdown-menu,
.dropdown-menu.show {
    display: block;
}

.dropdown-menu > li > a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
}

    .dropdown-menu > li > a:hover,
    .dropdown-menu > li > a:focus {
        background-color: #f5f5f5;
        color: #262626;
        text-decoration: none;
    }
/* ????????? ???? divider */
.dropdown-menu .divider {
    height: 1px;
    margin: 9px;
    overflow: hidden;
    background-color: #e5e5e5;
    border-bottom: 1px solid #ccc;
}

/* ???????? ?? tooltip */
[data-toggle="tooltip"] {
    position: relative;
}

    [data-toggle="tooltip"]:hover:after {
        content: attr(title);
        position: absolute;
        z-index: 1000;
        bottom: 100%;
        left: 50%;
        transform: translateX(-50%);
        padding: 4px 8px;
        font-size: 12px;
        line-height: 1.4;
        color: #fff;
        background-color: #333;
        border-radius: 4px;
        white-space: nowrap;
    }

/* ????????? fa-spin ???? ????? ????? */
.fa-spin {
    animation: fa-spin 2s infinite linear;
}

@keyframes fa-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*END btn-group for popup menu*/
/*BEGIN Tabs*/
/* ????????? ?????????? Bootstrap 3 ???? ????? ?? Bootstrap 5 */
.nav-tabs {
    border-bottom: 0;
}

    .nav-tabs > li {
        margin-bottom: -1px;
        display: inline-block;
    }

        .nav-tabs > li > a {
            border: 1px solid transparent;
            border-radius: 4px 4px 0 0;
            padding: 10px 15px;
            color: #337ab7;
            text-decoration: none;
            background-color: transparent;
            position: relative;
            top: 1px;
        }

            .nav-tabs > li > a:hover,
            .nav-tabs > li > a:focus {
                border-color: #eee #eee #ddd;
                background-color: #f5f5f5;
                color: #2a6496;
            }

        .nav-tabs > li.active > a {
            color: #555;
            background-color: #fff;
            border: 1px solid #ddd;
            border-bottom-color: transparent;
            cursor: default;
        }

            .nav-tabs > li.active > a:hover,
            .nav-tabs > li.active > a:focus {
                color: #555;
                background-color: #fff;
                border: 1px solid #ddd;
                border-bottom-color: transparent;
            }

/* ????????? tab-content ? tab-pane */
.tab-content {
    border: 1px solid #ddd;
    border-top: none;
    padding: 0;
    border-radius: 0 0 4px 4px;
}

.tab-pane {
    display: none;
}

    .tab-pane.active {
        display: block;
    }

    .tab-pane.fade {
        opacity: 1;
        transition: opacity 0.15s linear;
    }

        .tab-pane.fade.in {
            opacity: 1;
        }

/*END Tabs*/
/*BEGIN Timeline*/
.timeline {
    position: relative;
    margin: 0 0 30px 0;
    padding: 0;
    list-style: none;
}

    .timeline:before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 4px;
        background: #ddd;
        margin: 0;
        border-radius: 2px;
        left: 31px !important
    }

    .timeline::before {
        right: auto !important;
        left: 31px !important;
    }

    .timeline > li {
        position: relative;
        margin-right: 10px;
        margin-bottom: 15px
    }

        .timeline > li:before, .timeline > li:after {
            content: " ";
            display: table
        }

        .timeline > li:after {
            clear: both
        }

        .timeline > li > .timeline-item {
            -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.1);
            box-shadow: 0 1px 1px rgba(0,0,0,.1);
            border-radius: 3px;
            margin-top: 0;
            background: #fff;
            color: #444;
            margin-left: 60px;
            margin-right: 15px;
            padding: 0;
            position: relative
        }

            .timeline > li > .timeline-item > .time {
                color: #999;
                float: right;
                padding: 10px;
                font-size: 12px
            }

.timeline-header {
    direction: rtl !important
}

.timeline > li > .timeline-item > .timeline-header {
    margin: 0;
    color: #555;
    border-bottom: 1px solid #f4f4f4;
    padding: 10px;
    font-size: 16px;
    line-height: 1.1
}

    .timeline > li > .timeline-item > .timeline-header > a {
        font-weight: 600
    }

.timeline > li > .timeline-item > .timeline-body, .timeline > li > .timeline-item > .timeline-footer {
    padding: 10px
}

.timeline > li > .fa, .timeline > li > .glyphicon, .timeline > li > .ion {
    width: 30px;
    height: 30px;
    font-size: 15px;
    line-height: 30px;
    position: absolute;
    color: #666;
    background: #d2d6de;
    border-radius: 50%;
    text-align: center;
    left: 18px;
    top: 0
}

.timeline > .time-label > span {
    font-weight: 600;
    padding: 5px;
    display: inline-block;
    background-color: #fff;
    border-radius: 4px
}

}
/*END Timeline*/
/*Begin btn-group-wrapper*/
.btn-group-wrapper {
    overflow-x: auto;
    padding: 10px;
}

.btn-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sf-btn {
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    font-size: 14px;
}

    .sf-btn i {
        margin-bottom: 5px;
    }

.btn-label {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 576px) {
    .sf-btn {
        width: 80px;
        height: 100px;
        font-size: 12px;
    }

        .sf-btn i {
            font-size: 18px;
        }
}
/*END btn-group-wrapper*/
/*BEGIN modal responsive*/
/* Responsive Modal Fix for ModalPopupExtender */
:dir(rtl) .modal-dialog {
    max-width: 90% !important; /* ????? ?? ?????? 90% ??? */
    margin: 1.5rem auto !important; /* ???? ?? margin */
}

:dir(rtl) .modal-content {
    width: 100%;
    overflow-y: auto; /* scroll vertical ??? ????? ???? ???? */
    max-height: 80vh !important; /* ?????? ?????? 80% viewport */
}

:dir(rtl) .modal-header .row {
    flex-direction: row-reverse !important; /* ????? ???? ??? row ???? RTL */
}

:dir(rtl) .modal-header .col-9 {
    text-align: right !important;
}

:dir(rtl) .modal-header .col-3 {
    text-align: left !important;
}

/* ?????? (???? ?? 768px) */
@media (max-width: 767.98px) {
    :dir(rtl) .modal-dialog {
        max-width: 95% !important; /* ????? ??? ?? ?????? */
        margin: 0.5rem auto !important; /* margin ???? */
    }

    :dir(rtl) .modal-content {
        max-height: 90vh !important; /* ?????? ????? ?? ?????? */
        padding: 0.5rem !important;
    }

    :dir(rtl) .modal-header .row {
        flex-wrap: nowrap !important; /* ??????? ?? wrap ?? ?????? */
    }

    :dir(rtl) .modal-header .col-9,
    :dir(rtl) .modal-header .col-3 {
        width: auto !important; /* ?????? ????? ??? */
    }
}

/* Fix ???? modal_fade (?????) */
.modal_fade {
    background-color: rgba(0, 0, 0, 0.75) !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1040 !important; /* ??? ????? */
}
/*END modal responsive*/
/*BEGIN Font management*/
/* Global Font Size Reduction for RTL */
:dir(rtl) html {
    font-size: 90% !important; /* ???? 12.5% (?? 16px ?? ~14px) */
}

:dir(rtl) body {
    font-size: 0.9rem !important; /* ????? 14px ?? base 16px */
}

/* ????? ???? ????????? ??? ?? ????? override ??? */
:dir(rtl) .app-header.navbar,
:dir(rtl) .main-sidebar,
:dir(rtl) .modal-content,
:dir(rtl) .RadGrid {
    font-size: inherit !important; /* inherit ?? parent */
    line-height: 1.4 !important; /* ????? line-height ???? ??????? */
}

/* ????? ???? ?????? (??? ???? ?? ????? ??????? ????) */
@media (max-width: 767.98px) {
    :dir(rtl) html {
        font-size: 85% !important; /* ??? ?????? ?? ?????? */
    }
}
/*END Font management*/


.dropdown-menu-lg {
    max-width: unset !important
}


/* ???? ???? input??? ????? ?? ???? rfControl ???? */
.RadFilter .rfControl input,
.RadFilter .rfText.rfControl,
.rfText .rfControl input {
    font-size: 1rem;
    line-height: 1.5;
    color: #212529;
    height: 40px;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    padding: 3px
}

    /* ???? ????? ??? form-control */
    .RadFilter .rfControl input:focus,
    .rfText .rfControl input:focus {
        color: #212529;
        background-color: #fff;
        border-color: #86b7fe;
        outline: 0;
        box-shadow: 0 0 0 0.25rem rgba(13,110,253,.25);
    }



/* ======================================
   Telerik Theme
====================================== */
.RadGrid_MetroTouch {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

    /* Header */

    .RadGrid_MetroTouch .rgHeader,
    .RadGrid_MetroTouch th.rgHeader {
        font-weight: 700;
        font-size: .95rem;
    }

    /* Rows */

    .RadGrid_MetroTouch .rgRow,
    .RadGrid_MetroTouch .rgAltRow {
        transition: background-color .15s ease;
    }

        .RadGrid_MetroTouch .rgRow:hover,
        .RadGrid_MetroTouch .rgAltRow:hover {
            background-color: #f8fafc;
        }

    /* Filter Row */

    .RadGrid_MetroTouch .rgFilterRow input {
        border-radius: 8px;
    }

    /* Pager */

    .RadGrid_MetroTouch .rgPager {
        border-top: 1px solid #edf0f2;
    }

/* ===== Telerik Grid ===== */

.RadGrid_MetroTouch {
    font-size: .95rem;
}

    .RadGrid_MetroTouch .rgHeader {
        font-weight: 700 !important;
        font-size: 15px !important;
        padding: 10px 8px !important;
        background: #f8f9fa !important;
    }

    .RadGrid_MetroTouch .rgFilterRow td {
        padding: 4px !important;
    }

    .RadGrid_MetroTouch .rgFilterBox {
        height: 34px !important;
        border-radius: 8px !important;
        font-size: 13px !important;
    }

    .RadGrid_MetroTouch .rgRow,
    .RadGrid_MetroTouch .rgAltRow {
        height: 52px;
    }

    .RadGrid_MetroTouch .rgPager {
        background: #fff !important;
    }

    .RadGrid_MetroTouch .rgRow:hover,
    .RadGrid_MetroTouch .rgAltRow:hover {
        background: #f8fafc !important;
    }



/*****************************************************
    ?????? ?????
*****************************************************/
/* ===== Sidebar ===== */
:root,
[data-bs-theme=light],
[data-bs-theme=dark] {
    --lte-sidebar-width: 320px !important;
}

.app-sidebar {
    transition: all .3s ease;
}

.sidebar-brand {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(var(--bs-body-color-rgb), .08);
}

    .sidebar-brand .brand-text {
        font-size: 1.1rem;
        font-weight: 700 !important;
        letter-spacing: .5px;
    }

.app-sidebar .nav-link.active,
.app-sidebar .menu-open > .nav-link {
    box-shadow: 0 0 0 1px rgba(255,255,255,.05), 0 8px 20px rgba(0,0,0,.25);
    background: rgba(255,255,255,.02) !important;
}

/* ===== Main Links ===== */

.app-sidebar .nav-link {
    margin: 3px 8px;
    padding: 10px 14px;
    border-radius: 12px;
    transition: all .2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .app-sidebar .nav-link:hover {
        background: rgba(var(--bs-body-color-rgb), .08);
        transform: translateX(-2px);
    }

    /* ===== Icons ===== */

    .app-sidebar .nav-link i:first-child {
        width: 22px;
        text-align: center;
        font-size: 16px;
    }

/* ===== Treeview ===== */

.app-sidebar .nav-treeview {
    margin-right: 12px;
    padding-right: 10px;
    border-right: 1px solid rgba(var(--bs-body-color-rgb), .12);
}

/* ===== Expand Arrow ===== */

.app-sidebar .nav-arrow {
    margin-right: auto;
    transition: transform .2s;
}

/* ===== Active ===== */

.app-sidebar .nav-link.active {
    background: rgba(var(--bs-primary-rgb), .15);
    color: var(--bs-primary);
    font-weight: 600;
}

/* ===== Old circle icons ===== */

.app-sidebar .fa-circle-o {
    font-size: 8px !important;
    opacity: .45;
}

/* ===== Scroll ===== */

.sidebar-wrapper {
    scrollbar-width: thin;
}
/* ===========================
   MODERN SIDEBAR - BS5 SAFE
   =========================== */

.app-sidebar {
    border-left: 1px solid rgba(var(--bs-body-color-rgb), .08);
    transition: all .25s ease;
}

/* Brand */

.sidebar-brand {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(var(--bs-body-color-rgb), .08);
}

    .sidebar-brand .brand-text {
        font-size: 1.15rem;
        font-weight: 700 !important;
        letter-spacing: .3px;
    }

/* Scroll */

.sidebar-wrapper {
    padding: 8px 0;
}

/* Main links */

.app-sidebar .nav-link {
    min-height: 44px;
    margin: 3px 8px;
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    transition: all .18s ease;
}

    /* Hover */

    .app-sidebar .nav-link:hover {
        background: rgba(var(--bs-body-color-rgb), .08);
        transform: translateX(-3px);
    }

    /* Icons */

    .app-sidebar .nav-link i:first-child {
        width: 22px;
        text-align: center;
        margin-left: 10px;
        opacity: .9;
    }

/* Top level menu */

.sidebar-menu > .nav-item > .nav-link {
    font-weight: 600;
}

/* Tree menu */

.nav-treeview {
    margin-right: 10px;
    padding-right: 12px;
    border-right: 1px dashed rgba(var(--bs-body-color-rgb), .15);
}

    /* Nested links */

    .nav-treeview .nav-link {
        min-height: 40px;
        font-size: .95rem;
    }

/* Arrow */

.nav-arrow {
    margin-right: auto;
    opacity: .65;
    transition: .2s;
}

/* Active */

.nav-link.active,
.nav-link[aria-expanded="true"] {
    background: rgba(var(--bs-primary-rgb), .15) !important;
    color: var(--bs-primary) !important;
    font-weight: 700;
}

/* Legacy icons */

.fa-circle-o {
    font-size: 7px !important;
    opacity: .35;
}

.fa-check-square-o {
    opacity: .75;
}

/* DataList generated items */

.app-sidebar .nav-item {
    margin-bottom: 1px;
}

/* Smooth */

.app-sidebar * {
    transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

/* Dark mode improvements */

.bg-body-dark .nav-link,
.bg-dark .nav-link {
    color: rgba(255,255,255,.9);
}

    .bg-body-dark .nav-link:hover,
    .bg-dark .nav-link:hover {
        background: rgba(255,255,255,.08);
    }

.bg-body-dark .nav-treeview,
.bg-dark .nav-treeview {
    border-right-color: rgba(255,255,255,.12);
}

/* Dashboard item */

#karDashboard {
    font-weight: 700;
    border-radius: 14px;
}

/* ==========================================
   PAIMAN MODERN SIDEBAR V2
   ========================================== */

.app-sidebar {
    backdrop-filter: blur(10px);
    transition: all .25s ease;
}

/* ---------- Brand ---------- */

.sidebar-brand {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

    .sidebar-brand .brand-text {
        font-size: 1.15rem;
        font-weight: 700 !important;
    }

/* ---------- Menu Root ---------- */

.sidebar-menu {
    padding: 8px;
}

    /* ---------- Main Items ---------- */

    .sidebar-menu > .nav-item {
        margin-bottom: 6px;
    }

        .sidebar-menu > .nav-item > .nav-link {
            min-height: 48px;
            border-radius: 14px;
            padding: 0 14px;
            display: flex;
            align-items: center;
            font-weight: 600;
            transition: all .18s ease;
        }

            .sidebar-menu > .nav-item > .nav-link:hover {
                transform: translateX(-4px);
                background: rgba(var(--bs-body-color-rgb), .08);
            }

    /* ---------- Icons ---------- */

    .sidebar-menu .nav-link i:first-child {
        width: 24px;
        text-align: center;
        margin-left: 12px;
        font-size: 16px;
    }

/* ---------- Sub Menus ---------- */

.nav-treeview {
    margin-top: 6px;
    margin-right: 18px;
    padding-right: 12px;
    border-right: 2px solid rgba(var(--bs-body-color-rgb), .10);
}

    .nav-treeview .nav-item {
        margin-bottom: 2px;
    }

    .nav-treeview .nav-link {
        min-height: 40px;
        border-radius: 10px;
        padding: 8px 12px;
        font-size: .93rem;
        transition: .18s;
    }

        .nav-treeview .nav-link:hover {
            background: rgba(var(--bs-body-color-rgb), .06);
        }

    /* ---------- Deep Levels ---------- */

    .nav-treeview .nav-treeview {
        margin-right: 14px;
        border-right-style: dashed;
    }

/* ---------- Arrow ---------- */

.nav-arrow {
    margin-right: auto;
    opacity: .6;
    transition: .2s;
}

/* ---------- Active ---------- */

.nav-link.active {
    background: rgba(var(--bs-primary-rgb), .14) !important;
    color: var(--bs-primary) !important;
    font-weight: 700;
}

/* ---------- Old FA Icons ---------- */

.fa-circle-o {
    font-size: 6px !important;
    opacity: .25 !important;
}

.fa-check-square-o {
    opacity: .65;
}

/* ---------- Dashboard ---------- */

#karDashboard {
    border-radius: 16px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 16px rgba(0,0,0,.05);
}

/* ---------- Scroll ---------- */

.sidebar-wrapper {
    scrollbar-width: thin;
}

/* ---------- Dark Theme ---------- */

.bg-body-dark .nav-link,
.bg-dark .nav-link {
    color: rgba(255,255,255,.92);
}

    .bg-body-dark .nav-link:hover,
    .bg-dark .nav-link:hover {
        background: rgba(255,255,255,.08);
    }

.bg-body-dark .nav-treeview,
.bg-dark .nav-treeview {
    border-right-color: rgba(255,255,255,.12);
}

/* ---------- Smooth ---------- */

.app-sidebar *,
.app-sidebar *::before,
.app-sidebar *::after {
    transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
/* ===== TOP LEVEL ===== */

.sidebar-menu > .nav-item {
    margin-bottom: 8px;
}

    .sidebar-menu > .nav-item > .nav-link {
        min-height: 52px;
        border-radius: 16px;
        padding: 0 16px;
        display: flex;
        align-items: center;
        font-weight: 600;
        position: relative;
    }

        .sidebar-menu > .nav-item > .nav-link:hover {
            transform: translateX(-4px);
            background: rgba(var(--bs-primary-rgb), .08);
        }

.nav-arrow {
    margin-right: auto;
    opacity: .55;
    transition: .25s ease;
}

.menu-open > .nav-link .nav-arrow {
    transform: rotate(-90deg);
}

.fa-circle-o {
    opacity: .4;
}

.nav-treeview {
    margin-right: 18px;
    padding-right: 14px;
    border-right: 2px solid rgba(var(--bs-primary-rgb), .15);
}

    .nav-treeview .nav-link {
        min-height: 40px;
        border-radius: 12px;
        margin-bottom: 2px;
        padding: 8px 12px;
        font-size: .95rem;
    }

        .nav-treeview .nav-link:hover {
            background: rgba(var(--bs-primary-rgb), .08);
        }

.nav-link.active {
    background: rgba(var(--bs-primary-rgb), .15) !important;
    color: var(--bs-primary) !important;
    font-weight: 700;
}

.app-footer a {
    color: inherit;
}



/* overlay */
.ultra-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

/* ???? */
.ultra-loader {
    width: 300px;
    padding: 35px 30px;
    border-radius: 22px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(20px);
    text-align: center;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}

/* ???? */
.ultra-core {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
}


/* ???? ??? */
.ring2 {
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    border: 4px dashed var(--bs-primary);
    opacity: 0.4;
    animation: spinReverse 2s linear infinite;
}

/* ???? */
.center-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--bs-primary);
    animation: pulseGlow 1.5s infinite;
}

/* ??? */
.ultra-text {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* progress */
.progress-bar {
    width: 100%;
    height: 12px;
    background: rgba(0,0,0,0.08);
    border-radius: 10px;
    overflow: hidden;
    /*margin-bottom: 10px;*/
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--bs-primary), #60a5fa);
    animation: loadingBar 2.5s ease-in-out infinite;
}

/* subtitle */
.ultra-sub {
    font-size: 12px;
    color: #666;
}

/* animations */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes spinReverse {
    to {
        transform: rotate(-360deg);
    }
}

@keyframes pulseGlow {
    0%,100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.6;
    }
}

@keyframes loadingBar {
    0% {
        width: 0%;
    }

    50% {
        width: 70%;
    }

    100% {
        width: 100%;
    }
}


/* ===========================================================
   Home Page
   =========================================================== */

.peyman-home-wrapper {
    --ph-primary: #3b82f6;
    --ph-primary-soft: rgba(59, 130, 246, 0.07);
    --ph-success: #22c55e;
    --ph-success-soft: rgba(34, 197, 94, 0.07);
    --ph-warning: #f59e0b;
    --ph-warning-soft: rgba(245, 158, 11, 0.07);
    --ph-info: #0ea5e9;
    --ph-info-soft: rgba(14, 165, 233, 0.07);
    --ph-text: #0f172a;
    --ph-text-sub: #334155;
    --ph-text-muted: #64748b;
    --ph-radius: 1rem;
    --ph-shadow: 0 2px 16px rgba(15, 23, 42, 0.06);
    --ph-shadow-hover: 0 8px 28px rgba(15, 23, 42, 0.1);
    --ph-gap: 1.25rem;
    --ph-pad: 1.25rem;
    --ph-pad-header: 1rem 1.25rem;
    --ph-transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    --ph-font-title: 1.0625rem;
    --ph-font-subtitle: 0.9375rem;
    --ph-font-desc: 0.8125rem;
    --ph-font-btn: 0.875rem;
    direction: rtl;
}

.peyman-home-wrapper .home-section {
    margin-bottom: var(--ph-gap);
}

.peyman-home-wrapper .home-section:last-child {
    margin-bottom: 0;
}

/* ?? Unified Card ?? */
.ph-card {
    background: #fff;
    border-radius: var(--ph-radius);
    box-shadow: var(--ph-shadow);
    border: 1px solid rgba(15, 23, 42, 0.05);
    overflow: hidden;
    margin-bottom: var(--ph-gap);
    transition: box-shadow var(--ph-transition);
}

.ph-card:last-child {
    margin-bottom: 0;
}

.ph-card:hover {
    box-shadow: var(--ph-shadow-hover);
}

.ph-card-accent-primary { border-right: 3px solid var(--ph-primary); background: var(--ph-primary-soft); }
.ph-card-accent-success { border-right: 3px solid var(--ph-success); background: var(--ph-success-soft); }
.ph-card-accent-warning { border-right: 3px solid var(--ph-warning); background: var(--ph-warning-soft); }
.ph-card-accent-info    { border-right: 3px solid var(--ph-info);    background: var(--ph-info-soft); }

.ph-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: var(--ph-pad-header);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    background: rgba(255, 255, 255, 0.72);
}

.ph-card-header-main {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.ph-card-header-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
}

.ph-card-icon-primary { background: linear-gradient(135deg, #60a5fa, var(--ph-primary)); }
.ph-card-icon-success { background: linear-gradient(135deg, #4ade80, var(--ph-success)); }
.ph-card-icon-warning { background: linear-gradient(135deg, #fbbf24, var(--ph-warning)); }
.ph-card-icon-info    { background: linear-gradient(135deg, #38bdf8, var(--ph-info)); }

.ph-title {
    margin: 0;
    font-size: var(--ph-font-title);
    font-weight: 700;
    color: var(--ph-text);
    line-height: 1.4;
}

.ph-subtitle {
    margin: 0.125rem 0 0;
    font-size: var(--ph-font-subtitle);
    font-weight: 600;
    color: var(--ph-text-sub);
    line-height: 1.45;
}

.ph-desc {
    margin: 0.125rem 0 0;
    font-size: var(--ph-font-desc);
    color: var(--ph-text-muted);
    line-height: 1.55;
}

.ph-card-content { padding: var(--ph-pad); }
.ph-card-content-compact { padding: 0.875rem var(--ph-pad) var(--ph-pad); }

.ph-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: var(--ph-font-desc);
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: 2rem;
    background: #fff;
    color: var(--ph-primary);
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}

.ph-badge-dot {
    font-size: 0.45rem;
}

/* ===========================================================
   Hero Slider
   =========================================================== */

.hero-carousel {
    border-radius: var(--ph-radius);
    box-shadow: var(--ph-shadow);
    overflow: hidden;
    /* ?????? ?????? ???? position:absolute ??????????? ? ???? override ??????? float ????????? */
    min-height: 280px;
}

.hero-carousel .carousel-inner {
    overflow: hidden;
}

.hero-carousel .carousel-item {
    min-height: 280px;
}

.hero-media {
    position: relative;
    background: #0f172a;
    min-height: 280px;
    overflow: hidden;
}

.hero-media-placeholder {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #1e3a5f 100%);
    background-size: 200% 100%;
    animation: hero-shimmer 1.5s ease-in-out infinite;
    transition: opacity 0.45s ease, visibility 0.45s ease;
    pointer-events: none;
}

@keyframes hero-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.hero-media.is-loaded .hero-media-placeholder {
    opacity: 0;
    visibility: hidden;
}

/* Ken Burns ??? ??? wrapper ? ?? ??? img */
.hero-media-zoom {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-carousel .carousel-item.active .hero-media-zoom {
    animation: hero-ken-burns 22s ease-in-out infinite alternate;
}

@keyframes hero-ken-burns {
    from { transform: scale(1); }
    to   { transform: scale(1.07); }
}

.hero-carousel-img {
    display: block;
    width: 100%;
    height: 42vh;
    min-height: 280px;
    max-height: 420px;
    object-fit: cover;
    vertical-align: top;
}

.hero-overlay-gradient {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(180deg,
        rgba(15, 23, 42, 0.35) 0%,
        rgba(15, 23, 42, 0.55) 45%,
        rgba(15, 23, 42, 0.72) 100%);
}

.hero-network-canvas {
    position: absolute;
    inset: 0;
    z-index: 4;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.glass-caption {
    z-index: 5;
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    right: auto;
    width: min(76%, 52rem);
    max-width: 80%;
    margin: 0;
    padding: 1.25rem 1.5rem;
    text-align: center;
    direction: rtl;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--ph-radius);
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.22);
    opacity: 0;
    transform: translateX(-50%) translateY(1.25rem);
    transition: opacity 0.55s ease, transform 0.55s ease;
    pointer-events: none;
}

.hero-carousel .carousel-item.active .glass-caption {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.hero-caption-title,
.hero-caption-desc {
    text-align: center;
}

.hero-caption-title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.125rem, 2.5vw, 1.625rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
    line-height: 1.35;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-caption-desc {
    margin: 0;
    font-size: clamp(0.8125rem, 1.6vw, 0.9375rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.custom-indicators {
    z-index: 6;
}

.custom-indicators [data-bs-target] {
    width: 2.5rem;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    transition: width var(--ph-transition), background var(--ph-transition), opacity var(--ph-transition);
    margin: 0 4px;
    opacity: 1;
}

.custom-indicators .active {
    width: 2.75rem;
    background: #3b82f6;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.55);
}

.hero-carousel-btn {
    z-index: 6;
    width: 42px;
    height: 42px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    opacity: 0;
    transition: opacity var(--ph-transition), background var(--ph-transition), box-shadow var(--ph-transition);
    margin: 0 10px;
}

.hero-carousel:hover .hero-carousel-btn {
    opacity: 1;
}

.hero-carousel-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

/* -- ???? ???????? -- */
.home-features-bar {
    position: relative;
    z-index: 7;
    margin-top: -1.75rem;
}

.home-features-card {
    background: #fff;
    border-radius: var(--ph-radius);
    box-shadow: var(--ph-shadow-hover);
    border: 1px solid rgba(15, 23, 42, 0.06);
    padding: 1.25rem 1.5rem;
}

.home-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.home-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    min-width: 0;
}

.home-feature-icon {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-feature-icon .fa {
    font-family: FontAwesome !important;
    font-size: 1.125rem;
    line-height: 1;
    display: inline-block;
}

.home-feature-icon-blue {
    background: rgba(59, 130, 246, 0.12);
    color: #2563eb;
}

.home-feature-icon-purple {
    background: rgba(139, 92, 246, 0.12);
    color: #7c3aed;
}

.home-feature-icon-green {
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
}

.home-feature-icon-orange {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
}

.home-feature-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
    text-align: right;
}

.home-feature-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--ph-text);
    line-height: 1.4;
}

.home-feature-desc {
    font-size: 0.8125rem;
    color: var(--ph-text-muted);
    line-height: 1.55;
}

/* ?? CTA ?? */
.home-entry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--ph-gap);
    align-items: stretch;
}

.home-entry-item {
    display: flex;
    min-width: 0;
}

.app-interactive-btn {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 9rem;
    padding: 1.5rem 1.375rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: var(--ph-radius);
    text-decoration: none !important;
    box-shadow: var(--ph-shadow);
    transition: transform var(--ph-transition), box-shadow var(--ph-transition), border-color var(--ph-transition), background var(--ph-transition);
}

.app-interactive-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--ph-shadow-hover);
}

.btn-icon-holder {
    flex-shrink: 0;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1.125rem;
    transition: transform var(--ph-transition), box-shadow var(--ph-transition);
}

.btn-icon-holder i {
    font-size: 1.625rem;
    color: #fff;
}

.btn-text-holder {
    display: flex;
    flex-direction: column;
    text-align: right;
    min-width: 0;
    gap: 0.3rem;
}

.btn-lbl-main {
    font-size: var(--ph-font-subtitle);
    font-weight: 700;
    line-height: 1.4;
    color: var(--ph-text);
}

.btn-lbl-sub {
    font-size: var(--ph-font-desc);
    line-height: 1.5;
    color: var(--ph-text-muted);
}

.btn-style-register {
    border-right: 3px solid var(--ph-success);
    background: linear-gradient(135deg, #fff 55%, var(--ph-success-soft));
}

.btn-style-register .btn-icon-holder {
    background: linear-gradient(135deg, #4ade80, var(--ph-success));
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.28);
}

.btn-style-register:hover {
    border-color: var(--ph-success);
    background: linear-gradient(135deg, #ecfdf5, var(--ph-success-soft));
}

.btn-style-login {
    border-right: 3px solid var(--ph-primary);
    background: linear-gradient(135deg, #fff 55%, var(--ph-primary-soft));
}

.btn-style-login .btn-icon-holder {
    background: linear-gradient(135deg, #60a5fa, var(--ph-primary));
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.28);
}

.btn-style-login:hover {
    border-color: var(--ph-primary);
    background: linear-gradient(135deg, #eff6ff, var(--ph-primary-soft));
}

.btn-style-manager {
    border-right: 3px solid #1e3a8a;
    background: linear-gradient(135deg, #fff 55%, rgba(30, 58, 138, 0.06));
}

.btn-style-manager .btn-icon-holder {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 50%, #172554 100%);
    box-shadow: 0 4px 16px rgba(23, 37, 84, 0.35);
}

.btn-style-manager:hover {
    border-color: #172554;
    background: linear-gradient(135deg, #eef2ff, rgba(30, 58, 138, 0.1));
}

.app-interactive-btn:hover .btn-icon-holder {
    transform: scale(1.07);
}

/* ?? System Actions ?? */
.ph-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    align-items: center;
    justify-content: flex-start;
}

.ph-card-actions:has(> .ph-action-btn:only-child) {
    justify-content: center;
}

.ph-action-btn {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5625rem 1.125rem 0.5625rem 0.875rem;
    border-radius: 2rem;
    border: 1px solid transparent;
    text-decoration: none !important;
    font-size: var(--ph-font-btn);
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    transition: transform var(--ph-transition), box-shadow var(--ph-transition), background var(--ph-transition);
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}

.ph-action-btn i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.875rem;
    height: 1.875rem;
    border-radius: 50%;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.ph-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.09);
}

.ph-action-warning        { background: rgba(245, 158, 11, 0.12); color: #b45309; }
.ph-action-warning i      { background: rgba(245, 158, 11, 0.2); }
.ph-action-warning-strong { background: var(--ph-warning); color: #fff; }
.ph-action-warning-strong i { background: rgba(255, 255, 255, 0.2); }
.ph-action-success        { background: rgba(34, 197, 94, 0.12); color: #15803d; }
.ph-action-success i      { background: rgba(34, 197, 94, 0.2); }
.ph-action-primary        { background: rgba(59, 130, 246, 0.12); color: #1d4ed8; }
.ph-action-primary i      { background: rgba(59, 130, 246, 0.2); }
.ph-action-info           { background: rgba(14, 165, 233, 0.12); color: #0369a1; }
.ph-action-info i         { background: rgba(14, 165, 233, 0.2); }
.ph-action-neutral        { background: rgba(100, 116, 139, 0.1); color: #475569; }
.ph-action-neutral i      { background: rgba(100, 116, 139, 0.15); }

/* ?? Orders ?? */
.ph-order-item {
    border-radius: calc(var(--ph-radius) - 0.25rem) !important;
    transition: transform var(--ph-transition), box-shadow var(--ph-transition) !important;
}

.ph-order-item:hover {
    transform: translateX(-3px);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.07) !important;
}

.ph-order-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ?? Notifications wrapper ?? */
.home-notifications-wrap {
    margin-bottom: 0;
    width: 100%;
}

.home-notifications-wrap:has(#row_notif) {
    margin-bottom: var(--ph-gap);
}

/* ?? Responsive ?? */
@media (max-width: 991.98px) {
    .home-entry-grid {
        grid-template-columns: 1fr;
    }

    .ph-card-actions {
        justify-content: flex-start;
    }

    .ph-card-actions:has(> .ph-action-btn:only-child) {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .peyman-home-wrapper {
        --ph-gap: 1rem;
        --ph-pad: 1rem;
    }

    .hero-carousel {
        min-height: 220px;
    }

    .hero-carousel-img {
        height: 32vh;
        min-height: 220px;
        max-height: 300px;
    }

    .hero-carousel .carousel-item {
        min-height: 220px;
    }

    .hero-media {
        min-height: 220px;
    }

    .glass-caption {
        bottom: 1.125rem;
        width: min(92%, 100%);
        max-width: 92%;
        padding: 1rem 1.125rem;
    }

    .home-features-bar {
        margin-top: -1rem;
    }

    .home-features-card {
        padding: 1rem;
    }

    .home-features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .app-interactive-btn {
        min-height: 7.75rem;
        padding: 1.25rem 1.125rem;
    }

    .btn-icon-holder {
        width: 3.875rem;
        height: 3.875rem;
    }

    .btn-icon-holder i {
        font-size: 1.375rem;
    }

    .ph-order-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.75rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .home-entry-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-media-placeholder,
    .hero-media-zoom {
        animation: none !important;
    }

    .glass-caption {
        transition: none;
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}


/* ===========================================================
   Notification Modal
   =========================================================== */

.notif-root {
    --notif-radius: 1rem;
    --notif-shadow: 0 2px 16px rgba(15, 23, 42, 0.06);
    --notif-shadow-hover: 0 8px 28px rgba(15, 23, 42, 0.1);
    --notif-gap: 0.625rem;
    --notif-pad: 1.25rem;
    --notif-pad-header: 1rem 1.25rem;
    --notif-transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    --notif-text: #0f172a;
    --notif-text-muted: #64748b;
    --notif-primary: #3b82f6;
    --notif-danger: #ef4444;
    --notif-warning: #f59e0b;
    --notif-font-title: 1.0625rem;
    --notif-font-item: 0.875rem;
    --notif-font-date: 0.75rem;
    width: 100%;
}

.notif-root > .col-12 {
    padding: 0;
}

/* ?? Card Shell ?? */
.notif-card {
    background: #fff;
    border-radius: var(--notif-radius);
    box-shadow: var(--notif-shadow);
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-right: 3px solid var(--notif-warning);
    overflow: hidden;
    width: 100%;
    transition: box-shadow var(--notif-transition);
}

.notif-card:hover {
    box-shadow: var(--notif-shadow-hover);
}

.notif-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: var(--notif-pad-header);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.06) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.notif-card-header-main {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.notif-card-header-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fbbf24, var(--notif-warning));
    color: #fff;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}

.notif-title {
    margin: 0;
    font-size: var(--notif-font-title);
    font-weight: 700;
    color: var(--notif-text);
    line-height: 1.4;
}

.notif-card-body {
    padding: var(--notif-pad);
    padding-top: 0.875rem;
}

.notif-list {
    display: flex;
    flex-direction: column;
    gap: var(--notif-gap);
}

/* ?? Notification Items ?? */
.notif-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-radius: calc(var(--notif-radius) - 0.2rem);
    border: 1px solid rgba(15, 23, 42, 0.06);
    background: #fff;
    text-decoration: none !important;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03);
    transition: background var(--notif-transition), transform var(--notif-transition), box-shadow var(--notif-transition), border-color var(--notif-transition);
}

.notif-item:hover {
    transform: translateX(-3px);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.07);
}

.notif-item-danger {
    border-right: 3px solid var(--notif-danger);
    background: linear-gradient(135deg, #fff 70%, rgba(239, 68, 68, 0.04));
    color: var(--notif-text);
}

.notif-item-danger:hover {
    background: linear-gradient(135deg, #fff 50%, rgba(239, 68, 68, 0.09));
    border-color: rgba(239, 68, 68, 0.2);
}

.notif-item-primary {
    border-right: 3px solid var(--notif-primary);
    background: linear-gradient(135deg, #fff 70%, rgba(59, 130, 246, 0.04));
    color: var(--notif-text);
}

.notif-item-primary:hover {
    background: linear-gradient(135deg, #fff 50%, rgba(59, 130, 246, 0.09));
    border-color: rgba(59, 130, 246, 0.2);
}

.notif-item-main {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    min-width: 0;
    flex: 1;
}

.notif-item-icon {
    flex-shrink: 0;
    width: 2.125rem;
    height: 2.125rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    margin-top: 0.125rem;
}

.notif-item-danger .notif-item-icon {
    background: rgba(239, 68, 68, 0.12);
    color: var(--notif-danger);
}

.notif-item-primary .notif-item-icon {
    background: rgba(59, 130, 246, 0.12);
    color: var(--notif-primary);
}

.notif-item-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.notif-item-title {
    font-size: var(--notif-font-item);
    font-weight: 600;
    line-height: 1.45;
    margin: 0;
}

.notif-item-date {
    font-size: var(--notif-font-date);
    color: var(--notif-text-muted);
    line-height: 1.4;
}

.notif-item-chevron {
    flex-shrink: 0;
    font-size: 0.75rem;
    opacity: 0.4;
    transition: opacity var(--notif-transition), transform var(--notif-transition);
}

.notif-item:hover .notif-item-chevron {
    opacity: 0.7;
    transform: translateX(-2px);
}

/* ?? Bootstrap 5 Modal ?? */
.notif-modal-content {
    --notif-primary: #3b82f6;
    --notif-text: #0f172a;
    --notif-text-muted: #64748b;
    --notif-radius: 1rem;
    --notif-transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: var(--notif-radius) !important;
    overflow: hidden;
}

.notif-modal-header {
    padding: 1.125rem 1.375rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.07) 0%, #fff 100%);
    border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.notif-modal-header-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.22);
}

.notif-modal-header-icon .fa {
    font-family: FontAwesome !important;
    font-style: normal;
    font-weight: normal;
    font-size: 1rem;
    line-height: 1;
    color: #fff;
    display: inline-block;
}

.notif-card-header-icon .fa,
.notif-item-icon .fa {
    font-family: FontAwesome !important;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.notif-card-header-icon .fa {
    font-size: 1rem;
    color: #fff;
}

.notif-modal-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--notif-text);
    line-height: 1.45;
}

.notif-modal-body {
    padding: 1.375rem;
    background: #fff;
    max-height: 60vh;
    overflow-y: auto;
}

.notif-modal-message {
    display: block;
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--notif-text);
    text-align: justify;
}

.notif-modal-message > p:first-child {
    margin-top: 0;
}

.notif-modal-message p {
    margin-bottom: 0.875rem;
}

/* List Group style for documents / lists */
.notif-modal-message ul,
.notif-modal-message ol {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.notif-modal-message li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0.75rem;
    background: rgba(248, 250, 252, 0.85);
    transition: background var(--notif-transition), border-color var(--notif-transition), box-shadow var(--notif-transition);
}

.notif-modal-message li::before {
    content: "\f15b";
    font-family: FontAwesome;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    background: rgba(59, 130, 246, 0.12);
    color: var(--notif-primary);
    line-height: 2rem;
    text-align: center;
}

.notif-modal-message li:hover {
    background: #fff;
    border-color: rgba(59, 130, 246, 0.18);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.notif-modal-message a {
    color: var(--notif-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--notif-transition);
}

.notif-modal-message a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.notif-modal-message table {
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.notif-modal-message th,
.notif-modal-message td {
    padding: 0.625rem 0.875rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    vertical-align: middle;
}

.notif-modal-message th {
    background: rgba(59, 130, 246, 0.06);
    font-weight: 600;
    font-size: 0.875rem;
}

.notif-modal-message tr:last-child td {
    border-bottom: none;
}

.notif-modal-message tr:hover td {
    background: rgba(59, 130, 246, 0.03);
}

/* Footers */
.notif-modal-footer-agreement {
    padding: 1.125rem 1.375rem;
    background: rgba(248, 250, 252, 0.95);
    border-top: 1px solid rgba(15, 23, 42, 0.07);
}

.notif-modal-footer-bar {
    padding: 0.875rem 1.375rem;
    background: #fff;
    border-top: 1px solid rgba(15, 23, 42, 0.07);
    justify-content: flex-end;
}

.notif-modal-check {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    margin: 0;
}

.notif-modal-checkbox {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.125rem;
    accent-color: var(--notif-primary);
    cursor: pointer;
    flex-shrink: 0;
}

.notif-modal-check-label {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--notif-text);
    cursor: pointer;
    line-height: 1.55;
}

.notif-modal-confirm {
    text-align: left;
}

/* ?? Responsive ?? */
@media (max-width: 767.98px) {
    .notif-root {
        --notif-pad: 1rem;
        --notif-pad-header: 0.875rem 1rem;
    }

    .notif-item {
        padding: 0.75rem 0.875rem;
    }

    .notif-modal-body {
        padding: 1rem;
        max-height: 55vh;
    }

    .notif-modal-header {
        padding: 1rem;
    }

    .notif-modal-footer-agreement,
    .notif-modal-footer-bar {
        padding: 1rem;
    }

    .notif-modal-confirm .btn,
    .notif-modal-footer-bar .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .modal.fade .modal-dialog {
        transition: none;
    }
}

/* ===========================================================
   Viewer Login
   ???????? Enterprise/Premium ????? ???? ?????????? ?? ????
   ???? ???? ????? Home (Hero). ???? ????? ??? ????? ???????
   .vlogin ????? ??????? ?? ??? ???? ?????/Bootstrap/AdminLTE
   ?? ???? ????? ??? ????? ???? ?????.
   =========================================================== */

.vlogin {
    /* تم پیش‌فرض: آبی «ورود پیمانکار» (هم‌خانوادهٔ --ph-primary صفحهٔ Home) */
    --vl-primary: #3b82f6;
    --vl-primary-2: #2563eb;
    --vl-btn-light: #60a5fa;
    --vl-glow-a: 59, 130, 246;
    --vl-glow-b: 37, 99, 235;
    --vl-glow-c: 96, 165, 250;
    --vl-aside-a: 37, 99, 235;
    --vl-aside-b: 30, 58, 138;
    --vl-aside-c: 12, 34, 63;
    --vl-aside-glow: 59, 130, 246;
    --vl-ink: #0f172a;
    --vl-card-radius: 22px;
    --vl-field-radius: 14px;
    --vl-btn-radius: 14px;
    --vl-text-on-dark: #e2e8f0;
    position: relative;
    z-index: 0;
    direction: rtl;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 18px;
    overflow: hidden;
    background:
        radial-gradient(1100px 620px at 82% -10%, rgba(var(--vl-glow-a), 0.38) 0%, transparent 60%),
        radial-gradient(900px 560px at 8% 108%, rgba(var(--vl-glow-b), 0.22) 0%, transparent 60%),
        radial-gradient(760px 520px at 50% 50%, rgba(var(--vl-glow-c), 0.18) 0%, transparent 62%),
        linear-gradient(135deg, #0b1220 0%, #0f172a 48%, #12233f 100%);
    font-family: inherit;
}

/* تم «ورود اعضای سازمان (مدیران)»: آبی تیرهٔ Enterprise (Azure Admin).
   فقط متغیرهای رنگ override می‌شوند؛ کارت/فاصله/دکمه/تایپوگرافی/گلَس/انیمیشن یکسان می‌ماند. */
.vlogin.vlogin-members {
  /* تم آبی تیرهٔ سازمانی «ورود اعضای سازمان» — Executive / Internal Portal */
  --vl-primary: #1e3a8a;
  --vl-primary-2: #172554;
  --vl-btn-light: #1e40af;
  --vl-glow-a: 30, 58, 138;
  --vl-glow-b: 23, 37, 84;
  --vl-glow-c: 30, 64, 175;
  --vl-aside-a: 30, 58, 138;
  --vl-aside-b: 23, 37, 84;
  --vl-aside-c: 2, 6, 23;
  --vl-aside-glow: 30, 64, 175;
}

/* پس‌زمینهٔ پایهٔ به‌مراتب تیره‌تر برای جدایی آشکار از پورتال پیمانکار */
.vlogin.vlogin-members {
  background:
    radial-gradient(1100px 620px at 82% -10%, rgba(30, 58, 138, 0.5) 0%, transparent 60%),
    radial-gradient(900px 560px at 8% 108%, rgba(23, 37, 84, 0.55) 0%, transparent 60%),
    radial-gradient(760px 520px at 50% 50%, rgba(30, 64, 175, 0.22) 0%, transparent 62%),
    linear-gradient(135deg, #020617 0%, #0b1120 45%, #172554 100%);
}

/* تنظیمات دقیق پالت اعضای سازمان (فقط رنگ — بدون تغییر ساختار) */
.vlogin.vlogin-members .vlogin-head-eyebrow {
  color: #1e3a8a;
  background: rgba(30, 58, 138, 0.12);
  border-color: rgba(30, 58, 138, 0.22);
}

.vlogin.vlogin-members .vlogin-input:focus {
  box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.30);
}

.vlogin.vlogin-members .vlogin-btn {
  box-shadow: 0 12px 26px rgba(23, 37, 84, 0.35);
}

.vlogin.vlogin-members .vlogin-btn:hover {
  box-shadow: 0 18px 40px rgba(23, 37, 84, 0.45);
}

.vlogin.vlogin-members .vlogin-btn-ghost,
.vlogin.vlogin-members .vlogin-link {
  color: #1e3a8a !important;
}

.vlogin.vlogin-members .vlogin-feature i {
  color: #93c5fd;
}

.vlogin.vlogin-members .vlogin-tab.active {
  color: #1e3a8a;
}

/* مودال اعضای سازمان — accent تیرهٔ سازمانی */
.vlogin-modal-members .notif-modal-content {
  --notif-primary: #1e3a8a;
}

.vlogin-modal-members .notif-modal-header {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.12) 0%, #eff6ff 100%);
}

.vlogin-modal-members .notif-modal-header-icon {
  background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 50%, #172554 100%);
  box-shadow: 0 4px 12px rgba(23, 37, 84, 0.35);
}

/* ?????? ?? ??? ?? ????? ???? ???? ????? ??? */
body:has(.vlogin) .app-main {
    margin: 0 !important;
    padding: 0 !important;
}

/* ???? ??????? ????? ??? (?? Particle) */
.vlogin::after {
    content: '';
    position: absolute;
    inset: -60%;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1.6px);
    background-size: 36px 36px;
    opacity: 0.5;
    animation: vlogin-pan 42s linear infinite;
}

@keyframes vlogin-pan {
    from { transform: translate(0, 0); }
    to   { transform: translate(36px, 36px); }
}

/* Glow Orbs ????? */
.vlogin-orb {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.55;
    pointer-events: none;
    will-change: transform;
}

.vlogin-orb-1 {
    width: 460px;
    height: 460px;
    top: -140px;
    right: -120px;
    background: radial-gradient(circle, rgba(var(--vl-glow-a), 0.7), transparent 70%);
    animation: vlogin-drift-1 18s ease-in-out infinite alternate;
}

.vlogin-orb-2 {
    width: 380px;
    height: 380px;
    bottom: -150px;
    left: -110px;
    background: radial-gradient(circle, rgba(var(--vl-glow-b), 0.55), transparent 70%);
    animation: vlogin-drift-2 22s ease-in-out infinite alternate;
}

.vlogin-orb-3 {
    width: 320px;
    height: 320px;
    top: 40%;
    left: 42%;
    background: radial-gradient(circle, rgba(var(--vl-glow-c), 0.5), transparent 70%);
    animation: vlogin-drift-3 26s ease-in-out infinite alternate;
}

@keyframes vlogin-drift-1 {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(-40px, 46px) scale(1.12); }
}

@keyframes vlogin-drift-2 {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(48px, -40px) scale(1.15); }
}

@keyframes vlogin-drift-3 {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(30px, 30px) scale(1.08); }
}

/* ?? Shell + Card ?? */
.vlogin-shell {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1000px;
}

.vlogin-card {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    border-radius: var(--vl-card-radius);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow:
        0 30px 80px rgba(2, 6, 23, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
    animation: vlogin-rise 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes vlogin-rise {
    from { opacity: 0; transform: translateY(22px) scale(0.985); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ?? Brand / Info pane ?? */
.vlogin-aside {
    position: relative;
    padding: 48px 40px;
    color: #fff;
    background:
        radial-gradient(600px 380px at 80% 0%, rgba(var(--vl-aside-glow), 0.55), transparent 65%),
        linear-gradient(160deg, rgba(var(--vl-aside-a), 0.92) 0%, rgba(var(--vl-aside-b), 0.92) 55%, rgba(var(--vl-aside-c), 0.95) 100%);
    overflow: hidden;
}

.vlogin-aside::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1.5px);
    background-size: 30px 30px;
    opacity: 0.35;
    pointer-events: none;
}

.vlogin-brand {
    position: relative;
    z-index: 1;
    animation: vlogin-fade 0.7s ease 0.1s both;
}

.vlogin-brand-logo {
    width: 74px;
    height: 74px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #fff;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 12px 30px rgba(2, 6, 23, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(6px);
}

.vlogin-brand-title {
    margin: 22px 0 8px;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.4;
}

.vlogin-brand-sub {
    margin: 0;
    font-size: 15px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.88);
    max-width: 40ch;
}

.vlogin-features {
    position: relative;
    z-index: 1;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.vlogin-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.94);
    animation: vlogin-fade 0.6s ease both;
}

.vlogin-feature i {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #bfdbfe;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 9px;
}

.vlogin-aside-foot {
    position: relative;
    z-index: 1;
    margin-top: 34px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
}

/* ?? Form pane ?? */
.vlogin-main {
    padding: 48px 44px;
    background: rgba(255, 255, 255, 0.96);
    animation: vlogin-fade 0.7s ease 0.18s both;
}

.vlogin-head {
    margin-bottom: 26px;
    text-align: right;
}

.vlogin-head-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 12px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 700;
    color: var(--vl-primary-2);
    background: rgba(var(--vl-glow-a), 0.1);
    border: 1px solid rgba(var(--vl-glow-a), 0.18);
    border-radius: 999px;
}

.vlogin-head-title {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 800;
    color: var(--vl-ink);
    letter-spacing: -0.01em;
}

.vlogin-head-sub {
    margin: 0;
    font-size: 14px;
    line-height: 1.9;
    color: #64748b;
}

/* ?? Floating-label fields ?? */
.vlogin-field {
    position: relative;
    margin-bottom: 16px;
}

.vlogin-field-icon {
    position: absolute;
    top: 0;
    right: 0;
    width: 48px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #94a3b8;
    pointer-events: none;
    transition: color 0.2s ease;
    z-index: 2;
}

.vlogin-input {
    width: 100%;
    height: 58px;
    padding: 20px 48px 6px 44px;
    font-size: 14.5px;
    color: var(--vl-ink);
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--vl-field-radius);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    outline: none;
}

.vlogin-input:hover {
    border-color: #cbd5e1;
}

.vlogin-input:focus {
    background: #fff;
    border-color: var(--vl-primary);
    box-shadow: 0 0 0 4px rgba(var(--vl-glow-a), 0.14);
}

.vlogin-input:focus ~ .vlogin-field-icon {
    color: var(--vl-primary);
}

.vlogin-label {
    position: absolute;
    right: 48px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #94a3b8;
    pointer-events: none;
    transition: all 0.18s ease;
    z-index: 2;
}

.vlogin-input:focus + .vlogin-label,
.vlogin-input:not(:placeholder-shown) + .vlogin-label {
    top: 11px;
    transform: translateY(0);
    font-size: 11.5px;
    font-weight: 700;
    color: var(--vl-primary-2);
}

/* toggle ????? ??? */
.vlogin-pass-toggle {
    position: absolute;
    top: 0;
    left: 0;
    width: 44px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.vlogin-pass-toggle a {
    color: #94a3b8;
    cursor: pointer;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease;
}

.vlogin-pass-toggle a:hover {
    color: var(--vl-primary);
}

/* ?? Captcha ?? */
.vlogin-captcha {
    display: grid;
    grid-template-columns: 1fr 118px 52px;
    gap: 10px;
    align-items: center;
    margin-bottom: 16px;
}

.vlogin-captcha .vlogin-field {
    margin-bottom: 0;
}

.vlogin-captcha-img {
    height: 58px;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--vl-field-radius);
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vlogin-captcha-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vlogin-captcha-refresh {
    height: 58px;
    width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    text-decoration: none;
    background: #f1f5f9;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--vl-field-radius);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.vlogin-captcha-refresh:hover {
    background: var(--vl-primary);
    color: #fff;
    border-color: var(--vl-primary);
    transform: rotate(45deg);
}

/* ?? Buttons ?? */
.vlogin-btn {
    position: relative;
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 6px;
    padding: 0 18px;
    font-size: 15px;
    font-weight: 800;
    color: #fff !important;
    text-decoration: none !important;
    text-align: center;
    border: none;
    border-radius: var(--vl-btn-radius);
    background: linear-gradient(135deg, var(--vl-btn-light) 0%, var(--vl-primary) 45%, var(--vl-primary-2) 100%);
    box-shadow: 0 12px 26px rgba(var(--vl-glow-b), 0.32);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.vlogin-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -130%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-18deg);
    transition: left 0.7s ease;
}

.vlogin-btn:hover {
    transform: translateY(-2px);
    color: #fff !important;
    box-shadow: 0 18px 36px rgba(var(--vl-glow-b), 0.42);
    filter: saturate(1.05);
}

.vlogin-btn:hover::before {
    left: 130%;
}

.vlogin-btn:active {
    transform: translateY(0) scale(0.99);
}

/* Ripple ??? */
.vlogin-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
}

.vlogin-btn:active::after {
    animation: vlogin-ripple 0.5s ease-out;
}

@keyframes vlogin-ripple {
    from { transform: translate(-50%, -50%) scale(0); opacity: 0.55; }
    to   { transform: translate(-50%, -50%) scale(46); opacity: 0; }
}

.vlogin-btn-ghost {
    width: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    color: var(--vl-primary-2) !important;
    text-decoration: none !important;
    background: rgba(var(--vl-glow-a), 0.06);
    border: 1.5px solid rgba(var(--vl-glow-a), 0.4);
    border-radius: var(--vl-btn-radius);
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.vlogin-btn-ghost:hover {
    background: rgba(var(--vl-glow-a), 0.12);
    border-color: var(--vl-primary);
    color: var(--vl-primary-2) !important;
    transform: translateY(-1px);
}

/* ?? Links ?? */
.vlogin-links {
    margin-top: 18px;
    text-align: center;
}

.vlogin-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--vl-primary-2) !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.vlogin-link::before {
    content: "\f084";
    font-family: FontAwesome;
}

.vlogin-link:hover {
    color: #1d4ed8 !important;
}

/* ?? Recover tabs ?? */
.vlogin-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 6px;
    margin-bottom: 20px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
}

.vlogin-tab {
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: #475569;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.vlogin-tab.active {
    background: #fff;
    color: var(--vl-primary-2);
    box-shadow: 0 4px 14px rgba(2, 6, 23, 0.1);
}

/* ?? Alert / lock message (dMsg) ?? */
.vlogin-alert {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 560px;
    margin: 0 auto 18px;
    padding: 18px 22px;
    text-align: center;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.9;
    color: #7f1d1d;
    background: rgba(254, 242, 242, 0.96);
    border: 1px solid rgba(248, 113, 113, 0.5);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.25);
    animation: vlogin-fade 0.5s ease both;
}

.vlogin-alert:empty {
    display: none;
}

@keyframes vlogin-fade {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Modal (ModalPopupExtender) با همان Design Language مودال Notification ──
   ساختار/کلاس‌های مشترک .notif-modal-* بازاستفاده می‌شوند؛ این wrapper فقط
   عرض و انیمیشن ورود پنل ModalPopupExtender را مدیریت می‌کند. */
.vlogin-modal {
    width: min(560px, 92vw);
    margin: 0 auto;
}

.vlogin-modal .notif-modal-content {
    animation: vlogin-modal-in 0.32s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes vlogin-modal-in {
    from { opacity: 0; transform: translateY(-14px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .vlogin-modal .notif-modal-content {
        animation: none;
    }
}

/* ?? Responsive ?? */
@media (max-width: 991.98px) {
    .vlogin-card {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .vlogin-aside {
        padding: 34px 30px;
    }

    .vlogin-features {
        display: none;
    }

    .vlogin-brand-sub {
        max-width: none;
    }

    .vlogin-main {
        padding: 34px 28px;
    }
}

@media (max-width: 575.98px) {
    .vlogin {
        padding: 20px 12px;
    }

    .vlogin-aside {
        padding: 26px 22px;
    }

    .vlogin-brand-logo {
        width: 60px;
        height: 60px;
        font-size: 24px;
        border-radius: 16px;
    }

    .vlogin-brand-title {
        font-size: 21px;
    }

    .vlogin-main {
        padding: 26px 20px;
    }

    .vlogin-captcha {
        grid-template-columns: 1fr;
    }

    .vlogin-captcha-refresh {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vlogin::after,
    .vlogin-orb,
    .vlogin-card,
    .vlogin-brand,
    .vlogin-feature,
    .vlogin-main,
    .vlogin-alert {
        animation: none !important;
    }

    .vlogin-btn::before {
        transition: none;
    }
}

/* برچسب ثابت بالای تب‌های احراز هویت (ورود مدیران) */
.vlogin-static-label {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}

/* ===========================================================
   Viewer Register
   صفحهٔ ثبت‌نام تأمین‌کنندگان — اسکوپ‌شده تحت .vreg
   =========================================================== */

.vreg {
    /* تم سبز «ثبت نام تامین کننده» (هم‌خانوادهٔ --ph-success صفحهٔ Home) */
    --vr-primary: #16a34a;
    --vr-primary-2: #22c55e;
    --vr-accent: #4ade80;
    --vr-success: #10b981;
    --vr-warning: #f59e0b;
    --vr-danger: #ef4444;
    --vr-ink: #0f172a;
    --vr-sub: #334155;
    --vr-muted: #64748b;
    --vr-border: rgba(15, 23, 42, 0.08);
    --vr-radius: 20px;
    --vr-radius-sm: 14px;
    --vr-shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
    --vr-shadow-hover: 0 18px 44px rgba(2, 6, 23, 0.1);
    --vr-ease: cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 0;
    direction: rtl;
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(900px 480px at 88% -10%, rgba(34, 197, 94, 0.12), transparent 60%),
        radial-gradient(700px 420px at 0% 110%, rgba(22, 163, 74, 0.1), transparent 60%),
        linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

body:has(.vreg) .app-main {
    margin: 0 !important;
    padding: 0 !important;
}

.vreg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.45;
    pointer-events: none;
    z-index: 0;
}

.vreg-orb-1 {
    width: 360px;
    height: 360px;
    top: -120px;
    right: -80px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.45), transparent 70%);
    animation: vreg-drift 18s ease-in-out infinite alternate;
}

.vreg-orb-2 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -60px;
    background: radial-gradient(circle, rgba(22, 163, 74, 0.35), transparent 70%);
    animation: vreg-drift 22s ease-in-out infinite alternate-reverse;
}

@keyframes vreg-drift {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(24px, 28px) scale(1.1); }
}

.vreg-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 720px) 1fr;
    min-height: 100vh;
}

/* ── Form panel ── */
.vreg-panel {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-left: 1px solid var(--vr-border);
    padding: clamp(1.75rem, 4vw, 3rem);
    overflow-y: auto;
}

.vreg-header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.vreg-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    color: #fff;
    background: linear-gradient(135deg, var(--vr-primary), var(--vr-primary-2));
    box-shadow: 0 14px 32px rgba(22, 163, 74, 0.28);
}

.vreg-title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.5rem, 3vw, 1.9rem);
    font-weight: 800;
    color: var(--vr-ink);
}

.vreg-sub {
    margin: 0;
    font-size: 0.95rem;
    line-height: 2;
    color: var(--vr-muted);
    max-width: 36rem;
    margin-inline: auto;
}

/* ── Progress steps (visual) ── */
.vreg-progress {
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0.5rem;
    display: flex;
    gap: 0.35rem;
    background: #fff;
    border: 1px solid var(--vr-border);
    border-radius: var(--vr-radius-sm);
    box-shadow: var(--vr-shadow);
    overflow-x: auto;
}

.vreg-step {
    flex: 1;
    min-width: 5.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.25rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--vr-muted);
    text-align: center;
    border-radius: 10px;
    transition: background 0.2s ease, color 0.2s ease;
}

.vreg-step span {
    width: 1.6rem;
    height: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--vr-muted);
}

.vreg-step.is-active {
    color: var(--vr-primary);
    background: rgba(34, 197, 94, 0.08);
}

.vreg-step.is-active span {
    background: linear-gradient(135deg, var(--vr-primary), var(--vr-primary-2));
    color: #fff;
}

/* مرحلهٔ تکمیل‌شده: تیک سبز موفقیت */
.vreg-step.is-done {
    color: var(--vr-primary);
    background: rgba(22, 163, 74, 0.06);
}

.vreg-step.is-done span {
    position: relative;
    color: transparent;
    background: linear-gradient(135deg, var(--vr-success), #34d399);
}

.vreg-step.is-done span::after {
    content: "\f00c";
    font-family: FontAwesome;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    color: #fff;
}

/* ── Sections ── */
.vreg-section {
    margin-bottom: 1.25rem;
    background: #fff;
    border: 1px solid var(--vr-border);
    border-radius: var(--vr-radius);
    box-shadow: var(--vr-shadow);
    overflow: hidden;
    transition: box-shadow 0.25s var(--vr-ease);
}

.vreg-section:hover {
    box-shadow: var(--vr-shadow-hover);
}

.vreg-section-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1.1rem 1.35rem;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    border-bottom: 1px solid var(--vr-border);
}

.vreg-section-icon {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1.1rem;
    color: #fff;
    background: linear-gradient(135deg, var(--vr-primary), var(--vr-primary-2));
    box-shadow: 0 8px 18px rgba(22, 163, 74, 0.22);
}

.vreg-section-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--vr-ink);
}

.vreg-section-desc {
    margin: 0.15rem 0 0;
    font-size: 0.82rem;
    color: var(--vr-muted);
}

.vreg-section-body {
    padding: 1.35rem;
}

/* ── Form grid ── */
.vreg-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
}

.vreg-field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.vreg-span-2 {
    grid-column: 1 / -1;
}

.vreg-hidden {
    display: none !important;
}

.vreg-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--vr-sub);
}

.vreg-label.required::after {
    content: " *";
    color: var(--vr-danger);
}

.vreg-input {
    height: 52px;
    border-radius: var(--vr-radius-sm);
    border: 1.5px solid #e2e8f0;
    font-size: 0.9rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vreg-input:focus {
    border-color: var(--vr-primary-2);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.14);
}

/* ── Hints ── */
.vreg-hint {
    padding: 0.9rem 1rem;
    font-size: 0.85rem;
    line-height: 1.9;
    color: var(--vr-sub);
    background: #f8fafc;
    border: 1px solid var(--vr-border);
    border-radius: var(--vr-radius-sm);
}

.vreg-hint-info {
    background: #f0fdf4;
    border-color: rgba(34, 197, 94, 0.25);
    color: #15803d;
}

.vreg-hint-success {
    background: #ecfdf5;
    border-color: #bbf7d0;
    color: #166534;
}

/* ── Checkbox list ── */
.vreg-checkbox-wrap {
    padding: 0.5rem;
    background: #f8fafc;
    border: 1px solid var(--vr-border);
    border-radius: var(--vr-radius-sm);
}

/* ── Captcha + Submit ── */
.vreg-captcha-card {
    padding: 1.25rem;
    background: #f8fafc;
    border: 1px solid var(--vr-border);
    border-radius: var(--vr-radius-sm);
}

.vreg-captcha-head {
    margin-bottom: 1rem;
}

.vreg-captcha-title {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 800;
    color: var(--vr-ink);
}

.vreg-captcha-desc {
    margin: 0;
    font-size: 0.85rem;
    color: var(--vr-muted);
}

.vreg-captcha-row {
    display: grid;
    grid-template-columns: 1fr 130px 52px;
    gap: 0.75rem;
    align-items: end;
    margin-bottom: 1.25rem;
}

.vreg-captcha-field {
    margin: 0;
}

.vreg-captcha-img {
    height: 52px;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--vr-radius-sm);
    overflow: hidden;
    background: #fff;
}

.vreg-captcha-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vreg-captcha-refresh {
    height: 52px;
    width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vr-primary);
    text-decoration: none;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--vr-radius-sm);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.vreg-captcha-refresh:hover {
    background: var(--vr-primary);
    color: #fff;
    transform: rotate(45deg);
}

.vreg-submit {
    display: flex;
    justify-content: flex-end;
}

.vreg-btn {
    min-width: 240px;
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0 1.5rem;
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff !important;
    text-decoration: none !important;
    border: none;
    border-radius: var(--vr-radius-sm);
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 12px 26px rgba(22, 163, 74, 0.3);
    transition: transform 0.2s var(--vr-ease), box-shadow 0.2s var(--vr-ease);
    cursor: pointer;
}

.vreg-btn:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(22, 163, 74, 0.4);
}

/* ── Aside panel ── */
.vreg-aside {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
    background:
        radial-gradient(600px 380px at 80% 0%, rgba(34, 197, 94, 0.45), transparent 65%),
        linear-gradient(160deg, rgba(22, 163, 74, 0.95) 0%, rgba(21, 128, 61, 0.97) 55%, rgba(6, 78, 59, 0.98) 100%);
    overflow: hidden;
}

.vreg-aside::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1.5px);
    background-size: 30px 30px;
    opacity: 0.35;
    pointer-events: none;
}

.vreg-aside-inner {
    position: relative;
    z-index: 1;
    max-width: 28rem;
}

.vreg-aside-logo {
    width: 72px;
    height: 72px;
    margin-bottom: 1.25rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(6px);
}

.vreg-aside-title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    line-height: 1.35;
}

.vreg-aside-welcome {
    margin: 0 0 1.5rem;
    font-size: 1rem;
    line-height: 2;
    opacity: 0.92;
}

.vreg-info-card {
    padding: 1.1rem 1.2rem;
    border-radius: var(--vr-radius-sm);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

.vreg-info-warning {
    background: rgba(245, 158, 11, 0.18);
    border-color: rgba(245, 158, 11, 0.35);
}

.vreg-info-title {
    margin: 0 0 0.65rem;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* سازگاری با کلاس‌هایی که code-behind تنظیم می‌کند */
.vreg .info-card {
    padding: 1.1rem 1.2rem;
    margin-bottom: 1rem;
    border-radius: var(--vr-radius-sm);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.vreg .info-card.danger {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.35);
}

.vreg .info-card.warning {
    background: rgba(245, 158, 11, 0.18);
    border-color: rgba(245, 158, 11, 0.35);
}

/* ── Telerik (scoped) ── */
.vreg .RadComboBox,
.vreg .RadComboBox_Default,
.vreg .RadComboBox_Bootstrap {
    width: 100% !important;
}

.vreg .RadComboBox .rcbInner {
    height: 52px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: var(--vr-radius-sm) !important;
    background: #fff !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
}

.vreg .RadComboBox .rcbInput {
    height: 50px !important;
    font-size: 0.9rem !important;
    font-family: inherit !important;
    color: var(--vr-sub) !important;
    padding-right: 14px !important;
}

.vreg .RadComboBox .rcbActionButton {
    width: 52px !important;
    border-right: 1px solid #e2e8f0 !important;
    background: #fff !important;
}

.vreg .RadComboBox:hover .rcbInner {
    border-color: var(--vr-primary-2) !important;
}

.vreg .RadComboBoxFocused .rcbInner {
    border-color: var(--vr-primary-2) !important;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.14) !important;
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
    .vreg-layout {
        grid-template-columns: 1fr;
    }

    .vreg-aside {
        display: none;
    }

    .vreg-panel {
        border-left: none;
    }
}

@media (max-width: 767.98px) {
    .vreg-grid {
        grid-template-columns: 1fr;
    }

    .vreg-span-2 {
        grid-column: auto;
    }

    .vreg-captcha-row {
        grid-template-columns: 1fr;
    }

    .vreg-captcha-refresh {
        width: 100%;
    }

    .vreg-submit {
        display: block;
    }

    .vreg-btn {
        width: 100%;
    }

    .vreg-progress {
        flex-wrap: nowrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vreg-orb {
        animation: none !important;
    }
}

/* Dark-mode ready tokens */
@media (prefers-color-scheme: dark) {
    .vreg {
        --vr-border: rgba(148, 163, 184, 0.16);
    }
}

/* =====================================================
   Contractor Dashboard — Hero symmetric columns
   ===================================================== */
.contractor-dashboard .cd-hero-metrics {
    --bs-gutter-x: .75rem;
    --bs-gutter-y: .65rem;
}

.contractor-dashboard .cd-hero-col {
    display: flex;
}

.contractor-dashboard .cd-hero-col .cd-hero-block {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contractor-dashboard .cd-hero-col-status .cd-hero-block,
.contractor-dashboard .cd-hero-col-docs .cd-hero-block {
    min-height: 100%;
}

/* Desktop: user | status | docs — status & docs always equal width */
@media (min-width: 992px) {
    .contractor-dashboard .cd-hero-metrics.row {
        display: grid;
        grid-template-columns: minmax(9.5rem, 1fr) minmax(0, 2.35fr) minmax(0, 2.35fr);
        align-items: stretch;
        --bs-gutter-x: 0;
        column-gap: .75rem;
        row-gap: .65rem;
    }

    .contractor-dashboard .cd-hero-metrics > .cd-hero-col {
        width: auto;
        max-width: none;
        flex: none;
        padding-left: 0;
        padding-right: 0;
    }

    .contractor-dashboard .cd-hero-col-user {
        grid-column: 1;
    }

    .contractor-dashboard .cd-hero-col-status {
        grid-column: 2;
    }

    .contractor-dashboard .cd-hero-col-docs {
        grid-column: 3;
    }
}

/* Shared 2-column tile grid inside status & docs */
.contractor-dashboard .cd-hero-tile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
    flex: 1 1 auto;
    align-content: start;
}

.contractor-dashboard .cd-hero-tile-grid .cd-mini-kpi {
    min-height: 3.25rem;
    height: 100%;
    align-items: flex-start;
    margin: 0;
}

.contractor-dashboard .cd-hero-tile-grid .cd-mini-kpi-label {
    font-size: .6rem;
    max-width: 100%;
}

/* Tablet / Mobile: stack vertically (Bootstrap col-12) */
@media (max-width: 991.98px) {
    .contractor-dashboard .cd-hero-metrics.row {
        display: flex;
        flex-wrap: wrap;
    }

    .contractor-dashboard .cd-hero-col {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .contractor-dashboard .cd-hero-col .cd-hero-block {
        margin-bottom: .1rem;
    }
}

@media (max-width: 575.98px) {
    .contractor-dashboard .cd-hero-tile-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .4rem;
    }

    .contractor-dashboard .cd-hero-tile-grid .cd-mini-kpi {
        min-height: 3rem;
        padding: .35rem .45rem;
    }
}

