/* --------------------------------------------------
Utilities
------------------------------------------------- */

.text-muted {
    color: #666;
}

.gap-3 {
	gap: 3px !important;
}

body.inline .hidden-inline {
    display: none !important;
}

table.no-wrap td,
table.no-wrap th {
	white-space: nowrap;
}

/* --------------------------------------------------
Hide disabled options in select2
------------------------------------------------- */

.select2-container .select2-results__option[aria-disabled=true] {
	display: none;
}

/* --------------------------------------------------
Select2 dummy when disabled
------------------------------------------------- */

.select2-container--disabled .select2-selection__arrow {
	display: none;
}

.select2-container--disabled .select2-selection {
	box-shadow: unset;
	border: none !important;
	background: unset !important;
}

/* --------------------------------------------------
Repeater inside a table
------------------------------------------------- */

tbody[items-container] li[repeater-item] {
	display: contents;
}

.data-table .repeater-connection.wrapper {
	margin: 0;
}

/* --------------------------------------------------
Circular Progress
------------------------------------------------- */

.circular-progress {
    position: relative;
    height: var(--size, 65px);
    width: var(--size, 65px);
    border-radius: 50%;
    background: conic-gradient(var(--color, green) calc(var(--value, 0) * 3.6deg), #ededed 0deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.circular-progress::before{
    content: "";
    position: absolute;
    height: calc(var(--size, 65px) - (var(--size, 65px) / 5));
    width: calc(var(--size, 65px) - (var(--size, 65px) / 5));
    border-radius: 50%;
    background-color: #fff;
}

.circular-progress:after {
    counter-reset: percentage var(--value, 0);
    content: counter(percentage) "%";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: calc(var(--size, 65px) / 4);
    font-weight: 600;
    color: var(--color);
    text-align: center;
}

/* --------------------------------------------------
Mega Dropdown
------------------------------------------------- */

.mega-dropdown {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 400px;
    max-width: 80vw;
}

.mega-dropdown > b {
    display: block;
    width: 100;
}

.mega-dropdown > .items > a {
    justify-content: flex-start;
}

.mega-dropdown > .items > a img {
    width: 30px;
}

.mega-dropdown > .items > a.active {
    pointer-events: none;
}

/* --------------------------------------------------
Statistics - الإحصائيات
------------------------------------------------- */

.graph-container b {
	display: block;
}

.graph-container .dropdown-menu .elements-container {
	padding: 5px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 5px;
}

.graph-container .dropdown-menu .btn {
	justify-content: flex-start;
}

.graph-container img {
	display: none;
}

/* --------------------------------------------------
Project Card
------------------------------------------------- */

.project-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
    border: 1px solid #ddd;
}

.project-card .project-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--project-color);
    color: #fff;
}

.project-card .project-icon i {
    font-size: 1.6rem;
}

.project-card .label {
    margin-inline-start: 5px;
    padding: 4px 8px;
}

.project-card .progress-bar-striped {
	height: 15px;
    position: relative;
}

.project-card .progress-bar-striped:after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: repeating-linear-gradient(-45deg, #ffffff30, #ffffff30 10px, #ffffff00 10px, #ffffff00 20px);
}

.project-card .project-info {
    border: 1px dotted #ccc;
    padding: 10px;
    border-radius: 5px;
}

.pmp-card h3 {
    line-height: 1;
    font-size: 3rem;
    font-weight: bold;
}

.pmp-card b {
    display: block;
}

.pmp-card .value {
    text-align: center;
    margin: 15px 0 10px 0;
}

.pmp-card .value.percentage .circular-progress {
    margin: 0 auto 0 auto;
}

.pmp-card .money b {
    font-size: 3rem;
}

.pmp-card .money i {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 2.4rem;
}

.pmp-card .index b {
    width: 75px;
    height: 75px;
    font-size: 2.2rem;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin: 0 auto 0 auto;
}