:root {
    --primary-color: #4e73df; /* Define the color variable */
    --secondary-color: #2e59d9;
}
.close, .dataTables_wrapper .dt-paging {
    float: right
}

.card, .modal-content, .page-link {
    position: relative
}

.responsive-image, .responsive-image2 {
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%
}

.text-bold {
    font-weight: 700
}

.text-bold-upper {
    font-weight: 700;
    text-transform: uppercase
}

#main-logo {
    max-width: 40%;
    height: auto
}

.responsive-image2 {
    max-height: 50%
}

.custom-select, .form-control {
    height: calc(1.5em + .75rem + 2px);
    font-weight: 400;
    line-height: 1.5;
    font-size: 1rem
}

.bg-dark, .navbar-dark {
    background-color: #202020;
    color: #fff
}

#wrapper #content-wrapper {
    background-color: #2d2d2d;
    width: 100%;
    color: #fff;
    overflow-x: hidden
}
.btn-danger.focus, .btn-danger:focus, .btn-danger:hover {
	background-color: #49100b;
	border-color: #49100b;
	color: #fff;
}
.text-gray-800 {
    color: #fff
}
a {
	color: var(--primary-color);
	text-decoration: none;
	background-color: transparent;
}
a:hover {
	color: var(--secondary-color); 
	text-decoration: none;
	background-color: transparent;
}
.scroll-to-top {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	display: none;
	width: 2.75rem;
	height: 2.75rem;
	text-align: center;
	color: #fff;
	background: var(--primary-color);
	line-height: 46px;
}
.scroll-to-top:hover {
	background: var(--secondary-color);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color)
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color)
}
.bg-primary {
	background-color: var(--primary-color) !important;
}

::-webkit-scrollbar {
    width: 10px
}
.btn-outline-primary:hover, .btn-outline-primary:not(:disabled):not(.disabled).active, .btn-outline-primary:not(:disabled):not(.disabled):active, .btn-primary, .btn-primary.disabled, .btn-primary:disabled, .show>.btn-outline-primary.dropdown-toggle {
	color: #fff;
	background-color: var(--primary-color);
	border-color: var(--primary-color);
}
.btn-primary.focus, .btn-primary:focus, .btn-primary:hover {
	background-color: var(--secondary-color);
	border-color: var(--secondary-color);
	color: #fff;
}
.custom-select, .form-control, .table {
    width: 100%;
    color: #fff
}

.card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #202020;
    background-clip: border-box;
    border: 1px solid var(--primary-color);
    border-radius: .35rem
}

.custom-select, .form-control, .table-bordered, .table-bordered td, .table-bordered th {
    border: 1px solid var(--primary-color)
}

.card-header {
    padding: .75rem 1.25rem;
    margin-bottom: 0;
    background-color: var(--primary-color);
    border-bottom: 1px solid var(--primary-color)
}

.table, hr .custom {
    margin-bottom: 1rem
}

.table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid var(--primary-color)
}

.table td, .table th {
    padding: .75rem;
    vertical-align: top;
    border-top: 1px solid var(--primary-color)
}
.form-control {
	display: block;
	padding: .375rem .75rem;
	background-color: #202020;
	background-clip: padding-box;
	border-radius: .35rem;
	transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.form-control::placeholder {
	color: #fff;
	opacity: 1;
}
.custom-select {
    display: inline-block;
    padding: .375rem 1.75rem .375rem .75rem;
    vertical-align: middle;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%235a5c69' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") right .75rem center/8px 10px no-repeat #2d2d2d;
    border-radius: .35rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none
}

.page-item.disabled .page-link {
    color: #fff;
    pointer-events: none;
    cursor: auto;
    background-color: #202020;
    border-color: var(--primary-color)
}

.page-link {
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #fff;
    background-color: #202020;
    border: 1px solid var(--primary-color)
}

.table-hover tbody tr:hover {
    color: #fff;
    background-color: var(--primary-color)
}

.card-footer {
    padding: .75rem 1.25rem;
    background-color: #2d2d2d;
    border-top: 1px solid var(--primary-color)
}

.form-control:focus, .modal-content {
    background-color: #202020;
    outline: 0
}

.form-control:focus {
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 .2rem rgb(78 115 223 / 25%)
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid var(--primary-color);
    border-top-left-radius: calc(.3rem - 1px);
    border-top-right-radius: calc(.3rem - 1px)
}

.item-image {
    max-height: 100px;
    height: 70%;
    width: auto
}

.my-list {
    list-style: none;
    padding: 0
}

.my-list-item {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0
}

.my-list-item .fab, .my-list-item .fad {
    margin-right: .5rem;
    color: var(--primary-color)
}

.my-list-item .text-white-right {
    color: #fff;
    font-weight: bolder;
    flex: 1;
    text-align: right;
    margin: 0;
    padding: 0
}

.my-list-item .fw-semibold {
    flex: 1;
    text-align: left;
    margin: 0;
    padding: 0
}

.my-list-item .money {
    color: #181717;
    flex: 1;
    text-align: right;
    font-weight: bolder;
    margin: 0;
    padding: 0
}

.modal-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-clip: padding-box;
    border: 1px solid var(--primary-color);
    border-radius: .3rem
}
.badge-primary, .nav-pills .nav-link.active, .nav-pills .show>.nav-link {
	color: #fff;
	background-color: var(--primary-color);
}
.btn-success:not(:disabled):not(.disabled).active, .btn-success:not(:disabled):not(.disabled):active, .show>.btn-success.dropdown-toggle {
	color: #fff;
	background-color: var(--secondary-color);
	border-color: var(--secondary-color);
}
div.dt-buttons>.dt-button:focus:not(.disabled), div.dt-buttons>div.dt-button-split .dt-button:focus:not(.disabled) {
	outline: 2px solid var(--secondary-color);
}

.close {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: red;
    text-shadow: 0 1px 0 red;
    opacity: .5
}

.modal-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    padding: .75rem;
    border-top: 1px solid var(--primary-color);
    border-bottom-right-radius: calc(.3rem - 1px);
    border-bottom-left-radius: calc(.3rem - 1px)
}

.dataTables_wrapper .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px
}

.dataTables_wrapper .dt-buttons, .dataTables_wrapper .dt-search {
    margin-right: auto
}

.dataTables_wrapper .dt-info {
    float: left
}

.dataTables_wrapper .dt-search input {
    width: auto
}

.dt-button .btn-success {
    background-color: red;
    color: #fff
}

div.dt-buttons>.dt-button, div.dt-buttons>div.dt-button-split .dt-button {
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    margin-left: .167em;
    margin-right: .167em;
    margin-bottom: .333em;
    padding: .5em 1em;
    border: 1px solid var(--primary-color);
    border-radius: 2px;
    cursor: pointer;
    font-size: .88em;
    line-height: 1.6em;
    color: inherit;
    white-space: nowrap;
    overflow: hidden;
    background: linear-gradient(to bottom, var(--primary-color) 0, var(--primary-color) 100%);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-decoration: none;
    outline: 0;
    text-overflow: ellipsis
}

div.dt-buttons>.dt-button:hover:not(.disabled), div.dt-buttons>div.dt-button-split .dt-button:hover:not(.disabled) {
    border: 1px solid var(--secondary-color);
    background: linear-gradient(to bottom, var(--secondary-color) 0, var(--secondary-color) 100%)
}
.text-primary {
	color: var(--primary-color)!important;
}
.page-link:hover {
	z-index: 2;
	color: #fff;
	text-decoration: none;
	background-color: var(--secondary-color);
	border-color: var(--primary-color);
}
.page-item.active .page-link {
	z-index: 3;
	color: #fff;
	background-color: var(--primary-color);
	border-color: var(--primary-color);
}
.rimg2 {
    width: 100%;
    height: auto;
    border-radius: .375rem
}

.pointer {
    cursor: pointer
}

.img-chat {
    height: 60px;
    width: 60px
}

div.dt-container div.dt-length select {
    width: auto;
    display: inline-block;
    margin-right: .5em
}

#inventory-list-table_wrapper>div.bottom, #user-list-table_wrapper>div.bottom, #tool-list-table_wrapper>div.bottom, #file-list-table_wrapper>div.bottom {
    margin-top: 20px
}
.img-profile {
    height: 2rem;
    width: 2rem
}
.img-login {
    height: 20rem;
    width: 20rem
}
div:where(.swal2-container) div:where(.swal2-popup) {
    display: none;
    position: relative;
    box-sizing: border-box;
    grid-template-columns: minmax(0, 100%);
    width: 32em;
    max-width: 100%;
    padding: 0 0 1.25em;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    background: #202020;
    color: #fff;
    font-family: inherit;
    font-size: 1rem
}
.custom-file-label {
	position: absolute;
	left: 0;
	z-index: 1;
	overflow: hidden;
	font-weight: 400;
	background-color: var(--primary-color);
	border: 1px solid var(--primary-color);
    color: #fff;
    text-align: center;
	border-radius: .35rem;
}

.custom-file-label:hover {
    background-color: #3c5cb1;
}

.custom-file-label:active {
    background-color: #2f47a0;
}
.modal-dialog {
	max-width: 800px;
	margin: 1.75rem auto;
}
div:where(.swal2-container).swal2-backdrop-show, div:where(.swal2-container).swal2-noanimation {
    background: rgba(0, 0, 0, .91)
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: .25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #fff;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0
}

.dropdown-item:focus, .dropdown-item:hover {
    color: #fff;
    text-decoration: none;
    background-color: var(--primary-color)
}

.dropdown-menu {
    color: #fff;
    background-color: #202020;
    background-clip: padding-box;
    border: 1px solid var(--primary-color);
    border-radius: .35rem
}

.center-screen {
    min-height: 100vh
}

.text-bigger {
    font-size: 20px
}

.text-danger {
    color: red !important
}

hr .custom {
    margin-top: 1rem;
    border: 0;
    border-top: 1px solid var(--primary-color)
}

#users-online .user-item {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--primary-color);
    padding: 10px;
    transition: background-color .3s
}

#users-online .user-item:hover {
    background-color: var(--primary-color)
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #007bff;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: 700
}

.border-bottom-custom {
    border-bottom: 1px solid var(--primary-color) !important
}

.sidebar .nav-item .nav-link i {
    font-size: 1.25rem;
    margin-right: .25rem;
}