.d-inline {
    display: inline !important;
}

.d-inline-block {
    display: inline-block !important;
}

.justify-content-center {
    justify-content: center;
}

.d-flex {
    display: flex !important;
}

.justify-content-between {
    justify-content: space-between;
}

.justify-content-around {
    justify-content: space-around;
}

html {
    scroll-behavior: smooth;
}

.d-none {
    display: none;
}

div .errors {
    background-color: #ff0000b5;
    color: aliceblue;
    border-radius: 4px;
    margin: 10px;
    padding: 10px 5px;
}

.p-relative {
    position: relative;
}

.top-5 {
    top: 5px;
}

.modal-inputs div {
    display: inline-block;
    margin: 7px 0px;
}

.has-submenu>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.has-submenu.open>.submenu {
    opacity: 1;
}

.has-submenu.open>a .fa-angle-down {
    transform: rotate(180deg);
}

.active-class {
    color: #00b8ce !important;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

li a.active-class:hover {
    color: white !important;
}

.table-center tr,
.table-center td,
.table-center th {
    text-align: center;
    vertical-align: middle;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.pointer {
    cursor: pointer;
}

.order-detail {
    padding: 5px;
}

.bg-red {
    background-color: red;
}

.red-option {
    color: red !important;
}

td.redirect {
    cursor: pointer;
}

.border-success {
    border: 1px solid green;
}

.m-0 {
    margin: 0;
}

.p-0 {
    padding: 0;
}

.p-4 {
    padding: 1.7rem;
}

.checkbox-tr {
    cursor: pointer;
}

.checkbox-tr td {
    padding: 3px !important;
}

.align-middle {
    vertical-align: middle !important;
}

.border-none {
    border: none !important;
}

.table-border-bottom tr {
    border-bottom: 1px dotted black;
}

.table-border-bottom tr:last-child {
    border-bottom: none;
}


.border-bottom-dot:last-child {
    border-bottom: none !important;
}

.bg-none {
    background-color: unset !important;
}

.full-package {
    background-color: #c6ffc6 !important;
}

.item {
    padding: 20px 0px;
    vertical-align: middle;
}

.table-middle>tbody>tr>td,
.table>tbody>tr>th,
.table-middle>tfoot>tr>td,
.table-middle>tfoot>tr>th,
.table-middle>thead>tr>td,
.table-middle>thead>tr>th {
    vertical-align: middle !important;
    text-align: center !important;
}

.timeline {
    position: relative;
    padding-top: 20px;
    margin-top: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: #c5c5c5;
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #007bff;
    border: 3px solid white;
    transform: translateX(-50%);
}

.timeline-content {
    position: relative;
    padding: 10px;
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
}

.all-dimension {
    border: 1px solid #cccccc;
    font-weight: bold;
    padding: 10px;
    border-radius: 7px;
    background-color: #eeeeee;
    width: 33%;
    text-align: center;
}

.my-10 {
    margin: 10px 0px;
}

.box-padding {
    padding: 8px 10px;
}

[v-cloak] {
    display: none;
}

.form-errors {
    padding: 10px;
    border-radius: 10px;
    background-color: #f2dede;
}

.loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    /* یا هر ارتفاعی که می‌خوای */
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #22a6b3;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.invoice-description {
    border-top: 1px dashed #d1d1d1;
    padding-top: 35px;
    margin: 10px 0px;
}

.destroyed {
    background-color: #ffa6a6 !important;
}

.menu-padding li {
    padding: 15px 0px;
}

.alert-button {
    right: unset !important;
    left: 0 !important;
}

.alert-button a li {
    padding: 8px;
}

.notify-count {
    font-size: 10px;
    background-color: #ff0000;
    padding: 4px 7px;
    border-radius: 14px;
    position: absolute;
    bottom: 15px;
    left: 25px;
}

.bell-small {
    font-size: 1.1em !important;
    transform: scale(0.85);
    animation: bellPulse 1s ease-in-out infinite;
}

@keyframes bellPulse {
    0% {
        transform: scale(0.85);
        color: #8e44ad;
    }
    50% {
        transform: scale(0.95);
        color: #ffffff;
    }
    100% {
        transform: scale(0.85);
        color: #8e44ad;
    }
}

.dropdown-menu {
    right: 0;
    left: auto;
    min-width: 320px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.dropdown-menu li a {
    padding: 10px 15px;
    color: #333;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    display: inline;
}

.dropdown-menu li a:hover {
    background-color: #f5f5f5;
    color: #337ab7;
}

.dropdown-menu li a i {
    margin-left: 10px;
    color: #555;
    width: 20px;
    text-align: center;
}

.dropdown-menu li a:hover i {
    color: #337ab7;
}

.btn-notification {
    background-color: #337ab7;
    border-color: #2e6da4;
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
}

.btn-notification:hover {
    background-color: #286090;
    border-color: #204d74;
}

.btn-timesheet {
    padding: 8px 16px;
    border-radius: 6px;
    margin-right: 10px;
}

.short-link {
    padding: 5px 8px !important;
    color: white !important;
    margin: 0px 3px;
}

.full-height {
    display: flex;
    align-items: stretch;
}

.center-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.action-buttons a {
    margin: 0px 1px;
}

/* Statistics Box Styles */
.stat-item {
    padding: 15px 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.stat-item:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}



/* Enhanced Dashboard Styles */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-title i {
    margin-left: 15px;
    color: #ffd700;
}

.page-subtitle {
    margin-top: 10px;
    font-size: 1.1em;
    opacity: 0.9;
    font-weight: 300;
}

/* Enhanced Statistics Panel */
.stats-panel {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.stats-panel .panel-heading {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 20px;
}

.stats-panel .panel-title {
    font-size: 1.5em;
    font-weight: 600;
    margin: 0;
}

.stats-panel .panel-title i {
    margin-left: 10px;
    color: #ffd700;
}

.panel-subtitle {
    margin-top: 5px;
    opacity: 0.8;
    font-size: 0.9em;
}

/* Enhanced Stat Items */
.stat-item {
    background: white;
    border-radius: 12px;
    padding: 20px 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    margin-bottom: 15px;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 2.5em;
    opacity: 0.8;
}

.stat-item h2 {
    margin: 0 0 10px 0;
    font-size: 2.2em;
    font-weight: bold;
    flex-shrink: 0;
}

.stat-item p {
    margin: 5px 0;
    font-size: 14px;
    font-weight: 500;
    flex-shrink: 0;
    text-align: center;
}

.stat-item small {
    color: #6c757d;
    font-size: 12px;
    flex-shrink: 0;
    text-align: center;
    line-height: 1.3;
}

/* Stat Item Color Variants */
.stat-primary {
    border-color: #007bff;
    background: linear-gradient(135deg, #f8f9ff 0%, #e3f2fd 100%);
}

.stat-primary:hover {
    border-color: #0056b3;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.stat-success {
    border-color: #28a745;
    background: linear-gradient(135deg, #f8fff9 0%, #e8f5e8 100%);
}

.stat-success:hover {
    border-color: #1e7e34;
    background: linear-gradient(135deg, #e8f5e8 0%, #c3e6c3 100%);
}

.stat-info {
    border-color: #17a2b8;
    background: linear-gradient(135deg, #f8fdff 0%, #e3f4f8 100%);
}

.stat-info:hover {
    border-color: #117a8b;
    background: linear-gradient(135deg, #e3f4f8 0%, #b8e6f0 100%);
}

.stat-warning {
    border-color: #ffc107;
    background: linear-gradient(135deg, #fffdf8 0%, #fff3cd 100%);
}

.stat-warning:hover {
    border-color: #d39e00;
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
}

.stat-danger {
    border-color: #dc3545;
    background: linear-gradient(135deg, #fff8f8 0%, #f8d7da 100%);
}

.stat-danger:hover {
    border-color: #bd2130;
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
}

/* Enhanced Panels */
.enhanced-panel {
    border: none;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.enhanced-panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.enhanced-panel .panel-heading {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 2px solid #dee2e6;
    padding: 15px 20px;
}

.enhanced-panel .panel-title {
    color: #495057;
    font-weight: 600;
    margin: 0;
}

.enhanced-panel .panel-title i {
    margin-left: 10px;
    color: #667eea;
}

/* Gradient Panels */
.gradient-panel {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.gradient-panel:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gradient-panel .panel-heading {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 20px;
}

.gradient-panel .panel-title {
    color: white;
    font-weight: 600;
    margin: 0;
}

.gradient-panel .panel-title i {
    margin-left: 10px;
    color: #ffd700;
}

.gradient-panel .panel-body {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px;
}

/* Enhanced Tables */
.table-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.table-header th {
    border: none;
    padding: 15px 12px;
    font-weight: 600;
}

.total-row {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%) !important;
    font-weight: 600;
}

/* Online Users */
.online-user, .online-admin {
    list-style: none;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.online-user:hover, .online-admin:hover {
    background-color: #f8f9fa;
    padding-right: 10px;
    border-radius: 5px;
}

.online-user i, .online-admin i {
    margin-left: 8px;
    font-size: 0.8em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 2em;
    }
    
    .stat-item h2 {
        font-size: 2em;
    }
    
    .page-header {
        padding: 20px;
        margin-bottom: 20px;
    }
}

/* Animation Effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-item, .enhanced-panel, .gradient-panel {
    animation: fadeInUp 0.6s ease-out;
}

/* Hover Effects for Links */
.enhanced-panel a:hover {
    color: #667eea;
    text-decoration: none;
}

/* Custom Scrollbar */
.panel-body::-webkit-scrollbar {
    width: 6px;
}

.panel-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.panel-body::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 3px;
}

.panel-body::-webkit-scrollbar-thumb:hover {
    background: #5a6fd8;
}