.hide {
    display: none !important;
}

#loader {
    position: fixed;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-align: center;
    opacity: 1;
    background-color: #45444447;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Spinner animation */
#loader .spinner {
    /* border: 8px solid #f3f3f3; */
    border-top: 4px solid #ea7c11; /* Theme color */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    position: absolute;
    left: 55%;
    top: 45%;
}

/* Spin animation keyframes */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.content-wrapper .extracted-content {
    background-color: #ececec;
    border-radius: 8px;
    box-shadow: 0 0 6px 0 rgb(157 157 157 / 12%);
    padding-top: 5px;
}

.extracted-content ul {
    list-style-type: none;
    padding: 10px 15px;
    margin-bottom: 0;
    border-bottom: 1px solid white;
}

.extracted-content ul li:first-child {
    color: black;
    font-weight: 600;
    font-size: large;
}

#small-dialog.dialog-with-tabs.no-tabs .mfp-close {
    background-color: transparent;
    border: none;
}

.dashboard-box .headline.card-headline {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.kanban-view .fun-fact-icon {
    height: auto;
    flex: 0;
    display: block;
    background-color: transparent !important;
}

.kanban-view .fun-facts-container {
    width: calc(100% + 20px);
    padding: 0 20px;
    margin-top: 20px;
}

.kanban-view .fun-fact {
    margin-right: 20px;
    margin-bottom: 20px;
}

.blue-bg {
    background-color: rgb(115, 203, 247, 20%);
}

.font-blue {
    color: #3184ae !important;
}

.green-bg {
    background-color: rgb(54, 189, 120, 10%);
}

.font-green {
    color: #36bd78 !important;
}

.orange-bg {
    background-color: rgba(239, 168, 15, 15%);
}

.font-orange {
    color: #efa80f !important;
}

.red-bg {
    background-color: rgb(222, 89, 89, 15%);
}

.font-red {
    color: #de5959 !important;
}

.dashboard-box .headline h3 i {
    color: #66676b;
}

.kanban-date-container {
    width: 180px;
    float: none;
    position: absolute;
    right: 20px;
    top: 10px;
}

.button.export-btn {
    color: #064d72;
    background-color: rgb(65 187 250 / 42%);
}

table.basic-table th {
    background-color: #e1e1e2;
    color: #000;
}

table.basic-table td {
    border-bottom: 1px solid #d7d7d7;
}

table.basic-table tr:nth-child(odd) {
    background-color: #f8f8f8;
}

.dashboard-status-button.green {
    background: rgb(54, 189, 120, 10%);
    color: #36bd78;
}

.dashboard-status-button.orange {
    background: rgba(239, 168, 15, 15%);
    color: #efa80f;
}

.dashboard-status-button.red {
    background: rgb(222, 89, 89, 15%);
    color: #de5959;
}

.dashboard-status-button.blue {
    background: rgb(115, 203, 247, 20%);
    color: #3184ae;
}

.detailed-list-table .checkbox label span.checkbox-icon {
    top: -7px;
}

#logo img {
    height: 74px;
}

.admin-footer {
    position: fixed;
    width: 100%;
    bottom: 0;
}

table.basic-table th, 
table.basic-table td {
    padding: 15px;
    vertical-align: middle;
}

.dataTables_paginate {
    margin: 20px 0;
}

.dataTables_paginate .pagination {
    display: flex;
    list-style: none;
    justify-content: flex-end;
}

.dis-flex {
    display: flex !important;
}

.blog-compact-item:before {
    content: none;
}

.blog-compact-item {
    background: transparent;
}

.dataTables_paginate .paginate_button {
    line-height: 20px;
}

.dataTables_paginate .paginate_button.disabled a {
    cursor: default;
    color: #666 !important;
    border: 1px solid transparent;
    background: transparent;
    box-shadow: none;
}

.dataTables_paginate .paginate_button.active a {
    color: white !important;
    border: 1px solid #111;
    background: linear-gradient(to bottom, #585858 0%, #111 100%);
}

.dataTables_paginate .paginate_button a {
    box-sizing: border-box;
    display: inline-block;
    min-width: 1.5em;
    padding: .5em 1em;
    margin-left: 2px;
    text-align: center;
    border-radius: 2px;
}

span.mandatory {
    display: inline-block;
    color: red !important;
}

.blog-compact-item {
    z-index: unset;
}

.icons-table {
    border-radius: 2px;
    padding: 5px 10px;
    font-size: 20px;
    margin: 5px;
}

.dt-buttons button{
    padding: 10px;
    background: #737373;
    color: white;
    border-radius: 4px;
}

.dataTables_filter{
    width: 250px;
    float: right;
}

.dt-buttons{
    width: 150px;
    float: right;
    margin: 2px 10px;
}

.add-user{
    font-weight: bold;
    line-height: 50px;
    font-size: 20px;
}

.small-footer {
    left: 0;
}

table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control, 
table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control {
    padding-left: 35px !important;
}

.spinner-container,
.spinner-container-modal {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #fbfbfb85;
    z-index: 11;
    display: none;
}

.lds-spinner {
    color: #1c4c5b
}
.lds-spinner,
.lds-spinner div,
.lds-spinner div:after {
    box-sizing: border-box;
}
.lds-spinner {
    color: currentColor;
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
    left: calc(50% - 80px);
    top: calc(50% - 80px);
}
.lds-spinner div {
    transform-origin: 40px 40px;
    animation: lds-spinner 1.2s linear infinite;
}
.lds-spinner div:after {
    content: " ";
    display: block;
    position: absolute;
    top: 3.2px;
    left: 36.8px;
    width: 6.4px;
    height: 17.6px;
    border-radius: 20%;
    background: currentColor;
}
.lds-spinner div:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -1.1s;
}
.lds-spinner div:nth-child(2) {
    transform: rotate(30deg);
    animation-delay: -1s;
}
.lds-spinner div:nth-child(3) {
    transform: rotate(60deg);
    animation-delay: -0.9s;
}
.lds-spinner div:nth-child(4) {
    transform: rotate(90deg);
    animation-delay: -0.8s;
}
.lds-spinner div:nth-child(5) {
    transform: rotate(120deg);
    animation-delay: -0.7s;
}
.lds-spinner div:nth-child(6) {
    transform: rotate(150deg);
    animation-delay: -0.6s;
}
.lds-spinner div:nth-child(7) {
    transform: rotate(180deg);
    animation-delay: -0.5s;
}
.lds-spinner div:nth-child(8) {
    transform: rotate(210deg);
    animation-delay: -0.4s;
}
.lds-spinner div:nth-child(9) {
    transform: rotate(240deg);
    animation-delay: -0.3s;
}
.lds-spinner div:nth-child(10) {
    transform: rotate(270deg);
    animation-delay: -0.2s;
}
.lds-spinner div:nth-child(11) {
    transform: rotate(300deg);
    animation-delay: -0.1s;
}
.lds-spinner div:nth-child(12) {
    transform: rotate(330deg);
    animation-delay: 0s;
}
@keyframes lds-spinner {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.dataTables_length {
    float: left;
    margin-left: 30px;
}

.dataTables_length label {
    display: flex;
    align-items: center;
}

.dataTables_length select {
    margin: 0 10px;
}

textarea {
    resize: none;
}

.spinner-container-modal .lds-spinner {
    left: calc(50% - 40px);
    top: calc(50% - 80px);
}

.chart-container {
    padding: 20px;
}

.dashboard-sidebar {
    flex: 0 0 250px !important;
}

.required{
    color: red;
    font-style: italic;
    font-size: 16px;
}

table.dataTable.display>tbody>tr.odd>.sorting_1,
table.dataTable tbody tr.even:hover td.sorting_1 {
    box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, 0.019) !important;
    box-shadow: inset 0 0 0 9999px rgba(var(--dt-column-ordering), 0.019);
}

table.dataTable tbody tr:hover td.sorting_1 {
    background-color: transparent !important;
}

/* Action buttons */
.btn-view, .btn-edit, .btn-delete {
    background: none;
    border: none;
    margin: 0 4px;
    cursor: pointer;
    transition: 0.2s;
    color: #7d7d7d;
    font-size: 22px;
}

.btn-view:hover { color: #1976D2; }
.btn-edit:hover { color: #388E3C; }
.btn-delete:hover { color: #D32F2F; }

.dashboard-nav ul li ul li a {
    padding: 5px;
}

input.with-border:read-only {
    background-color: #e9ecef;
    cursor: not-allowed;
}

#logo {
    border-right: none;

    h3 {
        margin-left: 1rem;
        padding-right: 3rem;
        display: flex;
        flex-direction: column;
        justify-content: center;

        span:first-child {
            font-size: 16px;
        }
    }

    &.logo-with-header {
        border-right: 1px solid #e0e0e0;
    }
}

/* For Chrome, Safari, Edge, and Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0; /* Removes the margin that might remain */
}

/* For Firefox */
input[type=number] {
  appearance: textfield; /* Hides the spin buttons */
  -moz-appearance: textfield;
}

/* Standard property for future compatibility (not yet widely supported for this use case) */
input[type=number] {
  appearance: none;
}

.small-footer {
    width: 100%;
}

#backtotop {
    display: none;
}

.input-group {
    margin-bottom: 20px;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 14px 18px;
    border-radius: 30px !important;
    border: 1px solid #e5e5e5;
    outline: none;
    font-size: 14px;
}

.input-group .bootstrap-select {
    width: 100% !important;

    .dropdown-toggle {
        width: 100%;
        border-radius: 30px;
        border: 1px solid #e5e5e5;
        font-size: 14px;
        padding: 14px 18px;
        background-color: #fff;
        color: #808080;
    }

    .dropdown-menu {
        z-index: -1;
    }
}

.input-group.input-with-icon-left input {
    padding-left: 65px;
}

.input-with-icon-left.right-icon {

    input {
        padding-left: 20px;
    }

    i {
        right: 0;
        border-left: 1px solid #e0e0e0;
        border-right: 0;
    }
}

/* BUTTON */
.btn-3d {
    text-align: center;
    width: 10rem;
    padding: 9px 14px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #fff;
    background: linear-gradient(135deg, #ea7c11, #ff9a2a);
    transition: all 0.3s;
    box-shadow: 0 2px #ea7c11;

    &.full-width {
        max-width: 100%;
        width: 100%;
        text-align: center;
        display: block;
    }

    &:hover {
        opacity: 0.9;
        transform: translateY(-2px);
        color: #fff;
    }

    &:focus {
        box-shadow: none;
        color: #fff;
    }

    &:active {
        box-shadow: 0 2px #ea7c11; /* Smaller shadow makes it look closer to the "surface" */
        transform: translateY(3px); /* Moves the button down */
    }

    &.dark {
        background: #333;
        color: #fff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
}

.btn-outline {
    background: transparent;
    color: #ea7c11;
    border: 1px solid #ea7c11;
    box-shadow: none;

    &:hover {
        opacity: 0.9;
        transform: translateY(-2px);
        color: #ea7c11;
    }

    &:focus {
        box-shadow: none;
        color: #ea7c11;
    }

    &:active {
        box-shadow: none;
        transform: translateY(3px);
    }

}

.nested-stats {
    border-radius: 4px;
    padding: 8px;

    .row {
        margin-left: -5px;
        margin-right: -5px;
    }

    .fun-fact {
        height: 100%;
        margin-bottom: 5px;
        margin-top: 6px;

        span {
            font-size: 16px;
        }

        .fun-fact-icon {
            flex: 0 0 60px;
            height: 60px;

            i {
                font-size: 35px;
            }
        }
    }
}

.instruction-download-wrapper {
    margin-bottom: 15px;
    text-align: right;

    a {
        background-color: #ea7c1124;
        padding: 8px 15px;
        border-radius: 4px;
        color: #ea7c11;
        display: flex;
        align-items: center;
        width: fit-content;
        transition: all 0.3s;

        i {
            margin-right: 5px;
            font-size: 18px;
        }

        &:hover {
            transform: translateY(-2px);
        }
    }

    
}

.bootstrap-select.btn-group .dropdown-toggle .caret {
	position: absolute;
	top: 50%;
	right: 20px;
	margin-top: -2px;
	vertical-align: middle;
	transition: 0.35s;
}

.bootstrap-select.open .dropdown-toggle .caret {
	transform: rotate(180deg)
}

.bootstrap-select {
    .dropdown-menu.show {
        opacity: 1;
        pointer-events: all;
        visibility: visible;
        z-index: 1;
    }

    .dropdown-toggle::after {
        display: inline-block !important;
        margin-left: 0.255em;
        vertical-align: 0.255em;
        content: "" !important;
        border-top: 0.3em solid;
        border-right: 0.3em solid transparent;
        border-left: 0.3em solid transparent;
    }
}