html,
body {
    height: 100%;
}

.bi {
    display: inline-block;
    width: 1rem;
    height: 1rem;
}

/*
 * Sidebar
 */

@media (min-width: 768px) {
    .sidebar .offcanvas-lg {
        position: -webkit-sticky;
        position: sticky;
        top: 48px;
    }

    .navbar-search {
        display: block;
    }
}

.sidebar .nav-link {
    font-size: .875rem;
    font-weight: 500;
}


.sidebar-heading {
    font-size: .75rem;
}

/*
 * Navbar
 */

.navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
    background-color: rgba(0, 0, 0, .25);
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .form-control {
    padding: .75rem 1rem;
}


.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

.index-divider {
    width: 100%;
    height: 3rem;
    background-color: rgba(0, 0, 0, .1);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
    flex-shrink: 0;
    width: 1.5rem;
    height: 100vh;
}

.bi {
    vertical-align: -.125em;
    fill: currentColor;
}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}

.nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.btn-bd-primary {
    --bd-violet-bg: #712cf9;
    --bd-violet-rgb: 112.520718, 44.062154, 249.437846;

    --bs-btn-font-weight: 600;
    --bs-btn-color: var(--bs-white);
    --bs-btn-bg: var(--bd-violet-bg);
    --bs-btn-border-color: var(--bd-violet-bg);
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: #6528e0;
    --bs-btn-hover-border-color: #6528e0;
    --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
    --bs-btn-active-color: var(--bs-btn-hover-color);
    --bs-btn-active-bg: #5a23c8;
    --bs-btn-active-border-color: #5a23c8;
}

.bd-mode-toggle {
    z-index: 1500;
}

.bd-mode-toggle .dropdown-menu .active .bi {
    display: block !important;
}

.table td, .table th {
    /*text-align: center;*/
    vertical-align: middle;
}

.dt-scroll-body {
    min-height: 200px;
}

.form-max-width {
    max-width: 330px;
}

.header-bar {
    /*height: 10%;*/
    min-height: 100px;
}

/*.dt-scroll {*/
/*    width: 100%;*/
/*}*/

/*.dt-scroll-sizing {*/
/*    height: 0 !important;*/
/*    overflow: hidden !important;*/
/*}*/

/*.dt-container {*/
/*    !*height: 100%;*!*/
/*    align-content: start;*/

/*}*/

/*.dt-scroll-body {*/
/*    !*height: 100%;*!*/
/*}*/

@media (max-width: 768px) {
    /*.dt-layout-table {*/
    /*    height: calc(100vh - 305px);*/
    /*}*/
    .dt-scroll-body {
        max-height: calc(100vh - 350px);
    }
}


@media (min-width: 768px) {
    /*.dt-layout-table {*/
    /*    height: calc(100vh - 230px);*/
    /*}*/
    .dt-scroll-body {
        max-height: calc(100vh - 280px);
    }
}


/*.dataTable {*/
/*    !*height: 100%;*!*/
/*    overflow-y: auto;*/

/*}*/


.is-hidden {
    display: none !important;
}


.card-title {
    margin-bottom: 0;
}

.sidebar-line {
    width: 3px;
}

.invalid-feedback {
    display: block;
}


.back-arrow {
    cursor: pointer;
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
    color: black;
}

.back-arrow {
    transition: transform 0.2s ease, color 0.2s ease;
}

.back-arrow i {
    color: var(--bs-body-color);
}

.back-arrow:hover {
    transform: scale(1.3);
    color: var(--bs-link-hover-color);
}

.back-arrow:hover i {
    color: var(--bs-link-hover-color);
}

p {
    margin-bottom: 0.5rem;
}

.priceListLabel {
    width: 229px;
}

.priceListValue {
    width: 130px;
}

.quill-content {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    background-color: #f9f9f9;
    margin: 10px 0;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
}

.custom-input input {
    border: none;
    border-bottom: 2px dashed #ccc;
    padding: 5px 0;
    width: 100%;
}

.custom-input strong {
    font-weight: bold;
}

.input-strong input {
    font-weight: bold;
}

.order-component-summary {
    /*min-width: 1100px;*/

}

.order-component-summary-wrapper {
    position: relative;
}

.scroll-prompt {
    display: none;
}

@media (max-width: 941px) {
    .scroll-prompt {
        display: block;
        position: absolute;
        top: 50%;
        right: 10px;
        transform: translateY(-50%);
        font-size: 14px;
        color: #888;
        pointer-events: none;
        animation: fade-in-out 2s infinite;
    }

    @keyframes fade-in-out {
        0%, 100% {
            opacity: 0.5;
        }
        50% {
            opacity: 1;
        }
    }

}

.euro-input::after {
    content: "€";
    position: absolute;
    right: 10px;
}

.video-container {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    z-index: 2;
}

.user-profile-link-container {
    /*background-color: var(--bs-gray-900);*/
    text-overflow: clip;
    /*overflow: hidden;*/
}

.shadowed-sidebar {
    background: radial-gradient(circle, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.6) 100%, transparent 100%);
    /*box-shadow: 5px 0 15px rgba(0, 0, 0, 0.5);*/
    /*height: 100vh;*/
    /*padding: 1rem;*/
    /*width: 250px;*/
    color: white;
}

.shadowed-sidebar a {
    color: white;
    text-decoration: none;
    transition: color 0.2s, text-shadow 0.2s;
}

.shadowed-sidebar a:hover {
    color: var(--battleship-grey) !important;
    text-shadow: 0 0 8px rgba(128, 143, 135, 0.52);
}

.shadowed-sidebar a:active {
    color: var(--battleship-grey) !important;
    text-shadow: 0 0 20px var(--battleship-grey), 0 0 40px var(--battleship-grey);
    transition: text-shadow 0.1s ease-out;
}

.shadowed-sidebar a.active {
    color: var(--emphasis-red) !important;
}

.sidebar li a:active {
    color: var(--battleship-grey) !important;
}


.card img {
    width: 100%;
    height: auto;
    display: block;
}

.image-wrapper {
    position: relative;
    /*width: 100px; !* Adjust size as needed *!*/
    /*height: 100px; !* Keep it square *!*/
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px; /* Rounded corners */
    border: 3px solid rgba(0, 0, 0, 0.1); /* Subtle border */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Modern shadow */
    background-color: white; /* Optional background */
}

/*.image-wrapper img {*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    object-fit: cover; !* Ensures the image fills the wrapper nicely *!*/
/*    border-radius: 10px; !* Ensures the image follows the wrapper's rounded corners *!*/
/*}*/


.category-hover {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
    z-index: 10;
}

.image-wrapper:hover .category-hover {
    opacity: 1;
}

.btn-toggle-nav {
    padding-left: 2.6rem;
    list-style-type: disc;
}

.sidebar-line {
    position: relative;
    width: 4px; /* Adjust width */
    height: 100%;
    background: linear-gradient(transparent, var(--battleship-grey) 30%, var(--battleship-grey) 70%, transparent);
    overflow: hidden;
}

.sidebar-line::before {
    content: "";
    position: absolute;
    left: 50%;
    width: 8px;
    height: 100%;
    background: linear-gradient(45deg, yellow, transparent, yellow);
    filter: drop-shadow(0 0 8px yellow);
    transform: translateX(-50%) translateY(-100%);
    opacity: 0;
}

.sidebar-line:hover::before,
.sidebar-line:active::before {
    animation: lightning 2s ease-in-out infinite;
    opacity: 1;
}

@keyframes lightning {
    0% {
        transform: translateX(-50%) translateY(-100%);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(100%);
        opacity: 0;
    }
}

.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: bold;
    text-align: center;
}

.status-created {
    background-color: var(--status-created-bg);
    color: var(--status-created-color);
}

.status-planning {
    background-color: var(--status-planning-bg);
    color: var(--status-planning-color);
}

.status-in-progress {
    background-color: var(--status-in-progress-bg);
    color: var(--status-in-progress-color);
}

.status-critical {
    background-color: var(--status-critical-bg);
    color: var(--status-critical-color);
}

.status-done {
    background-color: var(--status-done-bg);
    color: var(--status-done-color);
}

.project-status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: bold;
    text-align: center;
}

.status-badge-fixed-width {
    min-width: 150px;
    max-width: 150px;
}

.project-status-default {
    background-color: var(--bs-gray);
    color: var(--status-planning-color);
}

.project-status-archived {
    background-color: var(--bs-gray);
    color: white;
}

.project-status-new {
    background-color: var(--status-created-bg);
    color: var(--status-created-color);
}

.project-status-in-progress {
    background-color: var(--status-in-progress-bg);
    color: var(--status-in-progress-color);
}

.project-status-done {
    background-color: var(--status-done-bg);
    color: var(--status-done-color);
}


.small-scrollable-card-body {
    max-height: 50vh;
    overflow: scroll;
}

.delete-column {
    opacity: 0;
    max-width: 0;
    padding: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-width 0.3s ease, padding 0.3s ease;
}

.delete-column.show {
    opacity: 1;
    max-width: 100px;
    padding: 0.5rem;
}

.heading-text {

    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0.1em;
    padding-bottom: 0.1em;
}

.card-header {
    background-color: var(--primary-blue);
    color: white;
}


.task-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 5px; /* Adjust spacing */
}

.confirm-actions {
    display: flex;
    gap: 5px;
}

.task-item {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.task-item > .d-flex {
    flex: 1;
    min-width: 0;
}

.task-actions {
    flex-shrink: 0;
}

.confirm-actions {
    position: relative;
    right: 0;
    padding: 5px;
    border-radius: 5px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 99;
}

table.dataTable th {
    white-space: nowrap;
}

#userList .list-group-item:hover {
    background-color: #f0f0f0;
    cursor: pointer;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    right: auto;
    margin-top: -0.1rem;
    display: none;
}

.dropdown-submenu .dropdown-menu.show {
    display: block;
}

.dropdown-submenu.open-left .dropdown-menu {
    left: auto;
    right: 100%;
}


.checkbox-container {
    height: 58px;
}

.input-group {
    flex-wrap: nowrap;
}

.project-filter-dropdown-menu-width {
    min-width: 380px;
}

@media (min-width: 576px) {
    .project-filter-dropdown-menu-width {
        min-width: 500px;
    }
}

@media (min-width: 700px) {
    .project-filter-dropdown-menu-width {
        min-width: 600px;
    }
}

@media (min-width: 1200px) {
    .project-filter-dropdown-menu-width {
        min-width: 900px;
    }
}

dd {
    min-height: 24px;
}

.padded_main {
    padding-top: 82px;
}

.index-logo {
    height: 50px;
    width: 55px;
}


.machine {
    width: 40vmin;
    fill: #198754;
}

.machine-small-shadow, .machine-medium-shadow, .machine-large-shadow {
    fill: rgba(0, 0, 0, 0.05);
}

.machine-small {
    -webkit-animation: counter-rotation 5s infinite linear;
    -moz-animation: counter-rotation 5s infinite linear;
    -o-animation: counter-rotation 5s infinite linear;
    animation: counter-rotation 5s infinite linear;
    -webkit-transform-origin: 100.136px 225.345px;
    -ms-transform-origin: 100.136px 225.345px;
    transform-origin: 100.136px 225.345px;
}

.machine-small-shadow {
    -webkit-animation: counter-rotation 5s infinite linear;
    -moz-animation: counter-rotation 5s infinite linear;
    -o-animation: counter-rotation 5s infinite linear;
    animation: counter-rotation 5s infinite linear;
    -webkit-transform-origin: 110.136px 235.345px;
    -ms-transform-origin: 110.136px 235.345px;
    transform-origin: 110.136px 235.345px;
}

.machine-medium {
    -webkit-animation: rotation 7.5s infinite linear;
    -moz-animation: rotation 7.5s infinite linear;
    -o-animation: rotation 7.5s infinite linear;
    animation: rotation 7.5s infinite linear;
    -webkit-transform-origin: 254.675px 379.447px;
    -ms-transform-origin: 254.675px 379.447px;
    transform-origin: 254.675px 379.447px;
}

.machine-medium-shadow {
    -webkit-animation: rotation 7.5s infinite linear;
    -moz-animation: rotation 7.5s infinite linear;
    -o-animation: rotation 7.5s infinite linear;
    animation: rotation 7.5s infinite linear;
    -webkit-transform-origin: 264.675px 389.447px;
    -ms-transform-origin: 264.675px 389.447px;
    transform-origin: 264.675px 389.447px;
}

.machine-large {
    -webkit-animation: counter-rotation 10s infinite linear;
    -moz-animation: counter-rotation 10s infinite linear;
    -o-animation: counter-rotation 10s infinite linear;
    animation: counter-rotation 10s infinite linear;
    -webkit-transform-origin: 461.37px 173.694px;
    -ms-transform-origin: 461.37px 173.694px;
    transform-origin: 461.37px 173.694px;
}

.machine-large-shadow {
    -webkit-animation: counter-rotation 10s infinite linear;
    -moz-animation: counter-rotation 10s infinite linear;
    -o-animation: counter-rotation 10s infinite linear;
    animation: counter-rotation 10s infinite linear;
    -webkit-transform-origin: 471.37px 183.694px;
    -ms-transform-origin: 471.37px 183.694px;
    transform-origin: 471.37px 183.694px;
}

@-webkit-keyframes rotation {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(359deg);
    }
}

@-moz-keyframes rotation {
    from {
        -moz-transform: rotate(0deg);
    }
    to {
        -moz-transform: rotate(359deg);
    }
}

@-o-keyframes rotation {
    from {
        -o-transform: rotate(0deg);
    }
    to {
        -o-transform: rotate(359deg);
    }
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}

@-webkit-keyframes counter-rotation {
    from {
        -webkit-transform: rotate(359deg);
    }
    to {
        -webkit-transform: rotate(0deg);
    }
}

@-moz-keyframes counter-rotation {
    from {
        -moz-transform: rotate(359deg);
    }
    to {
        -moz-transform: rotate(0deg);
    }
}

@-o-keyframes counter-rotation {
    from {
        -o-transform: rotate(359deg);
    }
    to {
        -o-transform: rotate(0deg);
    }
}

@keyframes counter-rotation {
    from {
        transform: rotate(359deg);
    }
    to {
        transform: rotate(0deg);
    }
}

.card-pricing {
    border: none;
    border-radius: 1.5rem;
    transition: all 0.3s ease-in-out;
    background: linear-gradient(to bottom right, #ffffff, #f8f9fa);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.card-pricing:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

/*.card-pricing .card-header {*/
/*    border-bottom: none;*/
/*    background: transparent;*/
/*}*/

.card-pricing .card-title {
    font-size: 2.5rem;
    font-weight: 700;
}

.card-pricing ul li {
    padding: 0.25rem 0;
    font-size: 1rem;
}

.btn-outline-primary:hover {
    background-color: #0d6efd;
    color: white;
    border-color: #0d6efd;
}

.fc-scroller-harness, .fc-scroller, .fc-timeline-body {
    background-color: #fff;
}

.fc-day-today {
    background-color: #ffeeba !important; /* light yellow */
}

.fc-day-sat {
    background-color: var(--bs-gray-200);
}

.fc-day-sun {
    background-color: var(--bs-gray-300);
}

/* Set first column width */
.fc-datagrid-header col:first-child,
.fc-datagrid-body col:first-child {
    width: 150px;
}

/* Zebra striping for even rows */
.fc-datagrid-body tbody tr:nth-child(even),
.fc-timeline-body tbody tr:nth-child(even) {
    background-color: var(--bs-gray-100);
}

.text-red {
    color: var(--emphasis-red);
}

.go-team-logo {
    font-weight: 400;
    font-size: 26px;
    color: var(--emphasis-red);
    letter-spacing: 1.0px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.sidebar-logo {
    /*max-height: 70px;*/
    /*max-width: 175px;*/
    height: 50px;
    width: 150px;
    object-fit: cover;
    border-radius: 6px;
    z-index: 0;
}

.img-list-thumbnail {
    width: 48px;
    height: 48px;
    max-width: 48px;
    max-height: 48px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    margin: auto;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.img-detail-thumbnail {
    margin-left: auto;
    margin-right: auto;
    width: 100px;
    height: 100px;
    max-width: 100px;
    max-height: 100px;
    border-radius: 10px;
    object-fit: cover;
    aspect-ratio: 1/1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.ai-textarea {
    height: 174px !important;
}

.ql-toolbar {
    background-color: var(--bs-tertiary-bg);
    border-top-left-radius: var(--bs-border-radius);
    border-top-right-radius: var(--bs-border-radius);
}

.ql-container {
    min-height: 130px;
    background-color: var(--bs-body-bg);
    border-bottom-left-radius: var(--bs-border-radius);
    border-bottom-right-radius: var(--bs-border-radius);
}

.pdf-iframe {
    width: 100%;
    height: 1500px;
}

.drag-handle {
    font-size: 1.2rem;
    color: #6c757d;
    cursor: grab;
}

.drag-handle:active {
    cursor: grabbing;
}

.alert-error {
    background-color: var(--alert-red) !important;
    border-color: var(--alert-red) !important;
    color: #fff !important;
}

.btn-red {
    --bs-btn-color: #000;
    --bs-btn-bg: var(--emphasis-red);
    --bs-btn-border-color: var(--emphasis-red);
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: var(--emphasis-red-light);
    --bs-btn-hover-border-color: var(--emphasis-red-light);
    --bs-btn-focus-shadow-rgb: 217, 164, 6;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: var(--emphasis-red-light);
    --bs-btn-active-border-color: var(--emphasis-red-light);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #000;
    --bs-btn-disabled-bg: var(--emphasis-red);
    --bs-btn-disabled-border-color: var(--emphasis-red);
}


.feature-card {
    border-radius: 0.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: inherit;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    color: var(--primary-blue);
    transition: color 0.3s ease, transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    color:var(--emphasis-red);
    transform: scale(1.2);
}

.feature-card h5,
.feature-card p {
    transition: color 0.3s ease;
}

.feature-card:hover h5 {
    color:var(--emphasis-red);
}
