/* فونت و جهت‌دهی */
body {
    direction: rtl;
    text-align: right;
    background-color: #f8f9fa;
    font-weight: 300;
}
a {
    text-decoration: none !important;
}
.w-25 {
    width: 25% !important;
}
.w-50 {
    width: 49% !important;
}
.inline-block {
    display: inline-block !important;
}
/* استایل صفحه ورود */
.login-panel {
    margin-top: 50px;
    border-radius: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.login-panel .panel-heading {
    background-color: #428bca;
    color: white;
    border-bottom: 1px solid #357ebd;
}

.login-panel .panel-body {
    padding: 30px;
}

/* استایل صفحه مدیریت */
.admin-header {
    background-color: #428bca;
    color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.admin-header h1 {
    margin: 0;
    font-size: 1.5rem;
}

.admin-header p {
    margin: 5px 0 0;
    opacity: 0.9;
}

.admin-header .btn {
    margin-top: 10px;
}

.admin-content h2 {
    margin-bottom: 10px;
    margin-top: 10px;
    font-size: 1.5rem;
    color: #333;
}

/* استایل باکس‌های منوی اصلی */
.admin-box {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 25px 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.admin-box i {
    color: #428bca; /* رنگ آیکون */
    margin-bottom: 15px;
}

.admin-box h3 {
    font-size: 1.5rem;
    margin: 0;
    color: #333;
}

/* استایل لینک باکس */
.admin-box-link {
    text-decoration: none;
    color: inherit;
}

/* اثر hover روی باکس */
.admin-box-link:hover .admin-box {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #428bca;
}

.admin-box-link:hover .admin-box i {
    color: #2a6496; /* تغییر رنگ آیکون در حالت hover */
}

/* استایل برای فرم‌ها */
.form-group {
    margin-bottom: 20px;
}

/* استایل برای دکمه‌های جدول */
.table .btn {
    margin: 0 2px;
}

@media (min-width: 992px) {
    .dashboard.admin-content .col-md-1,
    .dashboard.admin-content .col-md-10,
    .dashboard.admin-content .col-md-11,
    .dashboard.admin-content .col-md-12,
    .dashboard.admin-content .col-md-2,
    .dashboard.admin-content .col-md-3,
    .dashboard.admin-content .col-md-4,
    .dashboard.admin-content .col-md-5,
    .dashboard.admin-content .col-md-6,
    .dashboard.admin-content .col-md-7,
    .dashboard.admin-content .col-md-8,
    .dashboard.admin-content .col-md-9 {
        float: right;
    }
}

.admin-header a {
    text-decoration: none !important;
    color: #fff !important;
    font-weight: bold;
}

/* waybills_list */
.dataTables_wrapper .dataTables_filter {
    float: left;
    text-align: left;
}
.dataTables_wrapper .dataTables_length {
    float: right;
    text-align: right;
}
.table-responsive {
    direction: rtl;
}
.table th,
.table td {
    text-align: right;
}
.bootstrap-select .dropdown-toggle .filter-option {
    text-align: right !important;
}
.dropdown-menu {
    text-align: right !important;
}
#clock {
    font-size: 1.5rem;
    padding: 10px;
    position: relative;
    float: left;
    margin-top: -60px;
}
#clock .span-weekday,
#clock .span-month {
    color: #fff;
    font-weight: 500;
}
th.gridjs-th .gridjs-th-content {
    overflow: visible !important;
}
button.gridjs-sort-neutral {
    background-position-y: initial;
}
button.gridjs-sort {
    margin-right: -10px;
}

/* login */

/*     body {
            background: #f2f2f2;
        }*/
.login-wrap {
    width: 100%;
    max-width: 400px;
    margin: 80px auto;
    padding: 40px 25px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
}
.login-title {
    margin-bottom: 30px;
    text-align: center;
    font-size: 24px;
    color: #333;
}
.input-group {
    margin-bottom: 15px;
}
.form-control {
    height: 45px;
    font-size: 15px;
}
.btn-login {
    width: 100%;
    padding: 10px;
    font-size: 16px;
}
.login-options {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.login-options .login-forgot {
    font-size: 13px;
}
.fa-4x {
  font-size: 7rem;
}
.fa-2x {
  font-size: 1.5rem;
  margin-left: 5px;
}