.btn-login,
.navbar-inverse .navbar-brand,
.panel-heading {
    letter-spacing: .3px;
    color: #fff
}

.actions,
.login-header {
    text-align: center
}

.login-wrapper,
.remember {
    align-items: center;
    display: flex
}

.pagination a,
a {
    text-decoration: none
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 500;
    src: url(/content/fonts/IRANSansX-Medium.woff2) format("woff2")
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 900;
    src: url(/content/fonts/IRANSansX-BlackD4.woff2) format("woff2")
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 700;
    src: url(/content/fonts/IRANSansX-Bold.woff2) format("woff2")
}

body {
    font-family: IRANSansX;
    -moz-font-feature-settings: 'ss02';
    -webkit-font-feature-settings: 'ss02';
    font-feature-settings: 'ss02';
    font-weight: 500;
    direction: rtl !important;
    word-spacing: -.6px;
    font-size: 15.5px;
    line-height: 28px
}

.cell-strong,
label,
option,
select {
    font-weight: 700
}

.page-title,
.panel-heading,
.table>tbody>tr>th,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 900
}

.div-empty-class {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 5px;
    margin: auto 10px
}

.div-empty-class .btn {
    margin: 6px 4px;
    padding: 5px 6px
}

@media screen and (max-width:1170px) {
    .div-empty-class {
        grid-template-columns: repeat(5, 1fr)
    }
}

@media screen and (max-width:1000px) {
    .div-empty-class {
        grid-template-columns: repeat(4, 1fr);
        gap: 4px
    }
}

@media screen and (max-width:767px) {
    .div-empty-class {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media screen and (max-width:567px) {
    .div-empty-class {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media screen and (max-width:434px) {
    .div-empty-class {
        grid-template-columns: repeat(1, 1fr)
    }
}

.btn {
    margin: 5px;
    transition: .15s ease-in-out
}

.active,
.cop:focus {
    background: #daa520 !important
}

.panel-body {
    padding: 15px 9px 5px 18px;
    border-width: 2px;
    border-radius: 0 0 15px 15px
}

.panel {
    margin-bottom: 17px
}

main .btn {
    margin: 4px;
    border-radius: 11px
}

td .btn-default {
    border-color: #aaa;
    font-weight: 700
}

main>.container {
    background: #f0f8ff;
    border: 1px solid #ccc;
    box-shadow: 0 0 8px #eee;
    margin-top: 28px
}

.panel-body,
.table-striped>tbody>tr:nth-of-type(2n) {
    background: #fff
}

table {
    border: 2px solid #5a9fd4 !important;
    border-radius: 20px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .1)
}

form input {
    border-radius: 14px;
    padding: 8px 14px;
    border: 1px solid #5a9fd4;
    transition: .2s;
    box-shadow: 0 2px 6px rgba(90, 159, 212, .1)
}

form input:hover {
    border-color: #3a7bd5;
    box-shadow: 0 4px 12px rgba(58, 123, 213, .15)
}

.navbar-inverse {
    background-color: #2d3748;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2)
}

.navbar-inverse .navbar-brand {
    font-weight: 700
}

.navbar-inverse .navbar-toggle {
    border-color: rgba(255, 255, 255, .3)
}

.navbar-inverse .navbar-toggle .icon-bar {
    background-color: #fff
}

.navbar-inverse .btn {
    margin-left: 6px;
    border-radius: 6px
}

#submenu a.btn-default {
    background-color: #3b4457;
    border-color: #4a5369
}

.input-group input {
    border-radius: 15px !important
}

#submenu a.btn-default:hover {
    background-color: #4a5369
}

#submenu .btn-danger {
    background-color: #d85a5a;
    border-color: #b84b4b
}

#submenu .btn-danger:hover {
    background-color: #b84b4b
}

main>.container {
    padding: 16px;
    border-radius: 16px
}

.btn:hover {
    transform: translateY(-1px)
}

.table {
    border-color: #e5e7eb;
    border-radius: 20px !important
}

.table>thead>tr>th,
tr th {
    background: #3a7bd5;
    color: #fff
}

.table>thead>tr:first-child th:first-child {
    border-top-right-radius: 10px
}

.table>thead>tr:first-child th:last-child {
    border-top-left-radius: 10px
}

.table>tbody>tr:last-child td:first-child {
    border-bottom-right-radius: 10px
}

.table>tbody>tr:last-child td:last-child {
    border-bottom-left-radius: 10px
}

.table-striped>tbody>tr:nth-of-type(odd) {
    background-color: #d8e8e8
}

.panel-heading {
    font-size: 16.8px;
    background: #3a7bd5;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    padding: 10px 12px
}

.pagination>li>a,
.pagination>li>span {
    border-radius: 8px;
    margin: 0 2px
}

.badge {
    background: #ef4444;
    color: #fff
}

header .navbar-collapse {
    padding-top: 8px
}

.navbar-brand {
    padding-right: 0
}

table.table {
    border: 1px solid #e5e7eb !important;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
    border-radius: 16px !important
}

table.table thead th {
    background: #2563eb;
    color: #fff;
    border-bottom: 0;
    text-transform: none;
    letter-spacing: .2px
}

table.table thead tr:first-child th:first-child {
    border-top-right-radius: 12px
}

table.table thead tr:first-child th:last-child {
    border-top-left-radius: 12px
}

table.table td,
table.table th {
    padding: 10px 12px;
    vertical-align: middle
}

table.table tbody tr:last-child td:first-child {
    border-bottom-right-radius: 12px
}

table.table tbody tr:last-child td:last-child {
    border-bottom-left-radius: 12px
}

table.table.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f8fafc
}

table.table.table-hover tbody tr:hover {
    background: #eef2ff
}

table.table .btn {
    margin: 0 4px
}

table.table caption {
    caption-side: top;
    font-weight: 700;
    padding: 8px 12px;
    color: #374151
}

.page-title {
    margin: 12px 0 18px;
    color: #3a7bd5
}

.form-control,
input[type=date],
input[type=email],
input[type=number],
input[type=password],
input[type=search],
input[type=tel],
input[type=text],
input[type=time],
input[type=url],
select,
textarea {
    border-color: #c0d4e8;
    border-radius: 14px;
    background: linear-gradient(180deg, #fff 0, #fafbfc 100%);
    transition: .2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
    padding: 12px 16px;
    height: auto;
    min-height: 44px
}

.btn-default,
.btn-login {
    transition: transform .15s, box-shadow .15s
}

.form-control:focus,
input[type=date]:focus,
input[type=email]:focus,
input[type=number]:focus,
input[type=password]:focus,
input[type=search]:focus,
input[type=tel]:focus,
input[type=text]:focus,
input[type=time]:focus,
input[type=url]:focus,
select:focus,
textarea:focus {
    border-color: #3a7bd5;
    box-shadow: 0 0 0 4px rgba(58, 123, 213, .15), 0 4px 12px rgba(58, 123, 213, .1);
    outline: 0;
    background: #fff;
    transform: translateY(-1px)
}

::placeholder {
    color: #94a3b8;
    opacity: 1
}

.input-group .input-group-addon {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #475569
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none
}

.form-control:disabled,
.form-control[disabled],
input[disabled] {
    background: #f1f5f9;
    cursor: not-allowed;
    opacity: .85
}

input[type=checkbox],
input[type=radio] {
    accent-color: #3a7bd5
}

input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: 0 0
}

input[type=range]::-webkit-slider-runnable-track {
    height: 4px;
    background: #e5e7eb;
    border-radius: 9999px
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #3a7bd5;
    border: 2px solid #316fc4;
    margin-top: -6px
}

input[type=range]::-moz-range-track {
    height: 4px;
    background: #e5e7eb;
    border-radius: 9999px
}

input[type=range]::-moz-range-thumb {
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #3a7bd5;
    border: 2px solid #316fc4
}

input[type=file] {
    color: #475569
}

input[type=file]:file-selector-button {
    background: #3a7bd5;
    border: 1px solid #316fc4;
    color: #fff;
    border-radius: 8px;
    padding: 6px 12px;
    margin-right: 10px;
    cursor: pointer;
    transition: background .15s
}

input[type=file]:file-selector-button:hover {
    background: #316fc4
}

input:invalid,
select:invalid,
textarea:invalid {
    border-color: #e06b6b;
    box-shadow: 0 0 0 .2rem rgba(224, 107, 107, .12)
}

.has-error .form-control {
    border-color: #e06b6b
}

.has-success .form-control {
    border-color: #2ea39d
}

.login-wrapper {
    min-height: calc(100vh - 140px);
    justify-content: center
}

.login-card {
    width: 100%;
    max-width: 460px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .12);
    padding: 28px 26px;
    animation: .6s ease-out floatIn
}

.login-header {
    margin-bottom: 18px
}

.login-header i {
    font-size: 48px;
    color: teal;
    animation: 1.6s ease-in-out infinite pulse
}

.login-header h3 {
    margin: 10px 0 4px;
    font-weight: 800;
    color: #333
}

.login-header p {
    margin: 0;
    color: #666;
    font-size: .9rem
}

.form-group {
    margin-bottom: 14px
}

.input-group {
    width: 100%
}

.input-group-addon {
    background: #f5f7f9;
    border: none;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px
}

.form-control {
    line-height: 1.6;
    box-shadow: none
}

.remember {
    gap: 8px
}

.captcha-box {
    display: flex;
    align-items: center;
    gap: 10px
}

.badge,
.pagination,
.sortable .sort-ind {
    display: inline-block
}

.captcha-box img {
    max-width: 220px;
    height: auto;
    border: 1px solid #e0e6eb;
    border-radius: 10px;
    cursor: pointer;
    transition: transform .2s
}

.captcha-box img:hover {
    transform: scale(1.02)
}

.btn-login {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, teal, #00a3a3);
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(0, 128, 128, .25)
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 128, 128, .3)
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(10px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.06)
    }
}

ul {
    columns: 3;
    -webkit-columns: 3;
    -moz-columns: 3
}

ol {
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2
}

.btn-success {
    background-color: teal
}

.btn-success.btn-lg,
.panel-heading,
.pc-table-grid thead th {
    background: linear-gradient(135deg, teal, #00a3a3)
}

.panel {
    border: none;
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .12);
    overflow: hidden;
    animation: .5s fadeSlide
}

.panel-heading {
    font-weight: 800
}

.form-control,
select {
    border-radius: 14px;
    border: 1px solid #c0d4e8
}

.form-control:focus,
select:focus {
    border-color: teal;
    box-shadow: 0 0 0 4px rgba(0, 128, 128, .12)
}

.btn-default {
    border-radius: 14px;
    border: 2px solid teal;
    color: teal;
    background: linear-gradient(180deg, #f8fafa 0, #eef5f5 100%);
    font-weight: 600;
    padding: 8px 16px
}

.btn-default:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 128, 128, .2);
    background: linear-gradient(180deg, #fff 0, #f0f8f8 100%)
}

.btn-success.btn-lg {
    border-radius: 16px;
    box-shadow: 0 14px 32px rgba(0, 128, 128, .28);
    font-weight: 700;
    padding: 12px 24px
}

#partialViewContainer {
    transition: opacity .25s
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(8px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@media screen and (max-width:767px) {
    table.table {
        font-size: 14px;
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch
    }

    table.table td,
    table.table th {
        padding: 8px 10px;
        white-space: nowrap
    }

    table.table tbody,
    table.table tfoot,
    table.table thead {
        display: table;
        width: auto
    }

    ol,
    ul {
        columns: 1;
        -webkit-columns: 1;
        -moz-columns: 1
    }
}

.pagination a {
    color: #000;
    float: left;
    padding: 4px 9px;
    margin: 2px 3px;
    border-radius: 5px;
    background-color: #b0c4de
}

.pagination a:hover,
.pagination.active {
    background-color: gold
}

.pc-table {
    margin-top: 12px
}

.pc-table-responsive {
    overflow-x: auto;
    border: 1px solid #d0d7de;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .1)
}

.pc-table-grid {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 20px !important;
    overflow: hidden
}

.pc-table-grid thead th {
    position: sticky;
    top: 0;
    color: #fff;
    padding: 12px 14px;
    text-align: right;
    font-weight: 800
}

.pc-table-grid thead tr:first-child th:first-child {
    border-top-right-radius: 18px
}

.pc-table-grid thead tr:first-child th:last-child {
    border-top-left-radius: 18px
}

.pc-table-grid tbody td {
    padding: 12px 14px;
    border-top: 1px solid #eef2f6;
    vertical-align: top
}

.pc-table-grid tbody tr {
    transition: background .15s
}

.pc-table-grid tbody tr:hover {
    background: #f0f8f8
}

.pc-table-grid tbody tr:last-child td:first-child {
    border-bottom-right-radius: 18px
}

.pc-table-grid tbody tr:last-child td:last-child {
    border-bottom-left-radius: 18px
}

.cell-title {
    font-weight: 700;
    color: #222
}

.cell-sub {
    color: #555;
    margin-top: 2px
}

.cell-meta {
    color: #888;
    font-size: .86rem
}

.badge {
    padding: 2px 8px;
    border-radius: 999px;
    font-size: .75rem
}

.pc-loading,
.site-loader {
    position: fixed;
    inset: 0;
    display: flex
}

.badge-shared {
    background: #ffe6e6;
    color: #b22222;
    margin-right: 6px
}

.min-col {
    width: 1%
}

.actions .btn {
    margin: 2px
}

.btn-outline {
    border: 1px solid teal;
    color: teal;
    background: #fff;
    border-radius: 8px
}

.btn-danger {
    border-radius: 8px
}

.sortable .sort-ind {
    margin-right: 6px;
    opacity: .7
}

.sortable:hover .sort-ind {
    opacity: 1
}

.pc-loading {
    background: rgba(255, 255, 255, .65);
    align-items: center;
    justify-content: center;
    z-index: 9999
}

.loading-text {
    margin-top: 10px;
    color: #333;
    font-weight: 700
}

@media (max-width:768px) {

    .pc-table-grid tbody td,
    .pc-table-grid thead th {
        padding: 10px
    }

    .actions .btn {
        font-size: .8rem
    }
}

.site-loader {
    background: rgba(255, 255, 255, .75);
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity .2s
}

.spinner {
    width: 46px;
    height: 46px;
    border: 4px solid rgba(255, 128, 128, .2);
    border-top-color: orange;
    border-radius: 50%;
    animation: .8s linear infinite spin
}

@keyframes spin {
    to {
        transform: rotate(1turn)
    }
}

/* ── UI/UX Enhancements ── */
.panel {
    transition: transform .2s ease, box-shadow .2s ease
}

.panel:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .14)
}

table.table.table-hover tbody tr {
    transition: background .2s ease
}

.btn:active {
    transform: scale(.97) !important;
    transition: transform .08s
}

.login-card {
    position: relative
}

.login-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(0, 128, 128, .15), rgba(58, 123, 213, .1));
    z-index: -1;
    opacity: 0;
    transition: opacity .4s
}

.login-card:hover::before {
    opacity: 1
}

.pagination a {
    transition: transform .2s, background .2s
}

.pagination a:hover {
    transform: scale(1.08)
}