@import url("automated.css");


.dashboard-item {
    padding: 10px;
    margin: 20px;
    border: 1px solid #F4F4F4;
    background: #FFF;
    border-radius: 10px;
    transition: scale 0.5s ease-in-out;
}

.dark-mode .dashboard-item {
    background: #272D48;
}

.dashboard-item h1,
.dashboard-item h4 {
    margin: 5px;
}

.dashboard-item:hover {
    cursor: pointer;
    scale: 1.1;
}

.dashboard-item.active {
    border: 5px solid #c1ddec;
}

.text-purple {
    color: #6f42c1 !important;
}

.text-indigo {
    color: #4b0082 !important;
}

.text-teal {
    color: #20c997 !important;
}

.card-body {
    padding: 1px;
}

.tag-note-type-private {
    background-color: #F4F4F4;
}

.tag-note-type-client {
    background-color: yellow;
}

#incoming-call-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    z-index: 9999999;
    pointer-events: none;
}

.incoming-call-content {
    background: #fff;
    border: 1px solid #F4F4F4;
    border-radius: 10px;
    padding: 15px;
    height: auto;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    width: 200px;
    text-align: center;
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 9999999;
}

.incoming-call-content.minimized {
    bottom: 10px !important;
    right: 0 !important;
    left: auto !important;
    top: auto !important;
    height: 30px !important;
    padding: 5px !important;
    font-size: 0.8em !important;
    overflow: hidden !important;
}

.schedule-unscheduled {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #dee2e6;
    background: #fff;
}

.schedule-unscheduled-header {
    font-weight: bolder;
    padding: 10px;
    border-radius: 8px 8px 0 0;
}

#unscheduledContainer {
    border-radius: 8px;
}

#unscheduledContainer .schedule-item {
    height: 76px !important;
    min-height: 76px !important;
}

/* ECC appointment cards - base and hover expand */
.schedule-item {
    position: relative;
    overflow: hidden;
}

/* Bigger resize grab area for schedule appointments */
.ui-resizable-s {
    height: 14px !important;
    bottom: 0 !important;
    cursor: ns-resize !important;
}
.ui-resizable-s::after {
    content: "";
    display: block;
    height: 4px;
    margin: 5px 20px 0;
    border-radius: 2px;
    background: #9aa5b1;
}

.schedule-item:hover {
    height: auto !important;
    max-height: none !important;
    min-height: auto !important;
    width: auto !important;
    max-width: 380px !important;
    min-width: 200px !important;
    overflow: visible !important;
    z-index: 9999 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25) !important;
}

.schedule-item:hover .schedule-item-content {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
}

#unscheduledContainer .schedule-item:hover {
    height: auto !important;
    min-height: auto !important;
}


.schedule-day-header {
    height: 38px;
    z-index: 999999;
    transition: transform 0.05s ease-in-out;
    overflow: hidden;
}

.schedule-day-header.schedule-day-alternate-day-bg {
    background: #91c991;
}

.schedule-day-column.schedule-day-alternate-day-bg {
    background: #9fdb9f;
}


.schedule-weekend {
    background-color: #9e9e9e !important;
}

.schedule-container {
    overflow: visible;
}

.schedule-main-container {
    max-height: calc(100vh - 220px);
    overflow: auto;
}

.schedule-container.schedule-condensed {
    max-width: 100% !important;
}

.schedule-day-column,
.schedule-day-header:not(:nth-of-type(1)) {
    min-width: 100px !important;
    max-width: 100px !important;
}

.schedule-condensed .schedule-day-column,
.schedule-condensed .schedule-day-header:not(:nth-of-type(1)) {
    min-width: 5px !important;
}

/* Custom Tooltip Styles */
.tooltip {
    font-size: 0.7rem;
}

.app-header {
    z-index: 999999999 !important;
}

.app-sidebar {
    z-index: 999999999 !important;
}

.tooltip .tooltip-inner {
    background-color: #eadcf7 !important;
    /* Pale purple background */
    color: #000000 !important;
    /* Black text */
    border: 1px solid #d1b3e8;
    /* Slightly darker purple border */
    border-radius: 6px;
    padding: 6px 6px;
    max-width: 300px;
    opacity: 1 !important;
}

.tooltip.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: #e6d3f7 !important;
}

.tooltip.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: #e6d3f7 !important;
}

.tooltip.bs-tooltip-start .tooltip-arrow::before {
    border-left-color: #e6d3f7 !important;
}

.tooltip.bs-tooltip-end .tooltip-arrow::before {
    border-right-color: #e6d3f7 !important;
}

body {
    color: #000 !important;
}

.schedule-item-work-order {
    background-color: #f5fbfc;
}

.text-blue {
    color: blue;
}

.schedule-block-has-sortable-placeholder {
    background: #1e89f5 !important;
}

.schedule-item-task {
    background-color: #6ac6f7 !important;
}

.schedule-date-text-header {
    font-size: 1em;
}

.schedule-day-times,
.schedule-day-column {
    height: 63px !important;
}

.app-content .side-app {
    padding-inline: 5px !important;
    padding-block-start: 15px !important;
    padding-block-end: 10px;
}

.sidenav-toggled .app-content .side-app {
    padding-inline: 0px !important;
    padding-block-start: 2px !important;
    padding-block-end: 10px;
}

.tempus-dominus-widget {
    z-index: 9999999999 !important;
}

.text-muted {
    color: #505050 !important;
}

table {
    color: #000;
    font-size: 1.05em !important;
}

th {
    font-weight: bolder !important;
    font-size: 1.05em !important;
}

.side-menu__label {
    color: #000 !important;
}

.side-item-category {
    color: #505050 !important;
}


.hideUnscheduledContainer {
    margin: 0px !important;
    height: 0px !important;
    width: 0px !important;
    overflow: hidden !important;
}


.sidenav-toggled .main-content {
    margin-block-start: 0px !important;
}

/* custom scroll bars including horizontal */
.schedule-container {
    scrollbar-width: 6px;
    scrollbar-color: #2d2d2d #f4f4f4;
}

.schedule-container::-webkit-scrollbar {
    width: 6px;
}

.schedule-container::-webkit-scrollbar-track {
    background: #f4f4f4;
}

.schedule-container::-webkit-scrollbar-thumb {
    background: #2d2d2d;
}

.schedule-container::-webkit-scrollbar-thumb:hover {
    background: #2d2d2d;
}

.schedule-container::-webkit-scrollbar {
    height: 6px;
}

.schedule-container::-webkit-scrollbar-track {
    background: #f4f4f4;
}

.schedule-container::-webkit-scrollbar-thumb {
    background: #2d2d2d;
}

.schedule-container::-webkit-scrollbar-thumb:hover {
    background: #2d2d2d;
}

.modal {
    z-index: 9999999999 !important;
}

.modal-backdrop {
    z-index: 999999999 !important;
}

@media (min-width: 1000px) {
    .sidenav-toggled .app-header .main-container {
        display: none;
        z-index: 999999 !important;
    }
}