@import url("automated.css");


/* FRAMEWORK CSS CHANGES FOR FS ONLY */

.app-sidebar,
.app-sidebar__logo,
.app-header,
.app-header .collapse,
.responsive-navbar.navbar .navbar-collapse {
    background-color: #009dff;
    color: #fff;
}

.header .nav-link.icon i {
    color: #fff !important;
}

.app-sidebar a,
.app-sidebar .side-item-category,
.side-menu__label {
    color: #fff !important;
}

.side-menu__item:hover .side-menu__label,
.side-menu__item.active {
    color: #FFF !important;
}

.app-sidebar a:hover {
    background-color: #008be1 !important;
    color: #fff !important;
}

.app-header .dropdown:hover {
    background-color: #008be1 !important;
    color: #fff !important;
}

body {
    background: #edf6ff;
}

.fa-grip-dots-vertical.header-icons {
    color: #Fff !important;
}

.requestOnlineForm,
.requestOnlineForm .form-label {
    font-size: 1.1em;
}

/* END FRAMEWORK CSS CHANGES FOR FS ONLY */






.schedule-month-day-number {
    width: 100%;
    text-align: left;
}

.topAlert {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999999;
}


.dashboard-item {
    padding: 10px;
    margin: 10px;
    border: 1px solid #F4F4F4;
    background: #FFF;
    border-radius: 10px;
    transition: scale 0.5s ease-in-out;
    min-width: 200px;
}

.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;
}

.tag-note-type-private {
    background-color: #F4F4F4;
}

.tag-note-type-client {
    background-color: yellow;
}

.schedule-item-note {
    min-height: auto !important;
    background-color: #fffbd8;
}

.schedule-item-time-off {
    min-height: auto !important;
    background-color: #a6638d;
    color: #fff;
}

.schedule-item-time-off-pending {
    opacity: 0.5;
    border: 1px dashed #cea2be;
}

.schedule-item {
    min-height: auto !important;
    max-height: auto !important;
    height: auto !important;
    margin: 2px 0 !important;
    transition: border 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
}

.schedule-item-task {
    background-color: #d8f7ff;
}

.schedule-item.selected {
    border: 2px solid #008be1;
    box-shadow: 0 0 0 2px rgba(0, 139, 225, 0.35), 0 0 14px rgba(56, 179, 255, 0.9);
}

.schedule-day-column,
.schedule-week-column {
    height: auto !important;
    min-height: 100px;
}

.schedule-day-column.schedule-block,
.schedule-week-column.schedule-block {
    max-height: 60vh !important;
}

.qrCodeScannerContainer .select2 {
    width: 80% !important;
}

.map-marker-label {
    width: auto !important;
    height: auto !important;
}

/* strike through */
.schedule-item-complete {
    opacity: 0.8;
    text-decoration: line-through;
    position: relative;
}

.schedule-item-complete::before,
.schedule-item-complete::after {
    content: '';
    position: absolute;
    background-color: red;
    opacity: 0.3;
    /* Color of the 'X' */
    width: 4px;
    /* Thickness of the 'X' lines */
    height: 120%;
    /* Makes sure the lines cover the entire div when rotated */
    top: 50%;
    left: 50%;
    z-index: 999;
    pointer-events: none;
}

.schedule-item-complete::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.schedule-item-complete::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* CHAT STYLES */
#chatButton {
    position: fixed;
    bottom: 10px;
    right: 100px;
    display: block;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 2px 10px;
    z-index: 999999999;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 1.5em;
}

#chatButtonMessagesCounter {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: red;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5em;
}

#chatbox {
    height: 90vh;
    max-height: 600px;
    min-height: 200px;
    width: 90vw;
    max-width: 350px;
    min-width: 100px;
    position: fixed;
    bottom: 10px;
    right: 10px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    z-index: 99999999;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

#chatMessagesContainer {
    overflow: auto;
}

.select2-container--open {
    z-index: 999999999 !important;
}

.chatConversationItem {
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.chatConversationItem:hover {
    opacity: 0.8;
}

.chatConversationUnread {
    font-weight: bold;
    background-color: #ffdddd !important;
}

/* CHAT DARK MODE - matches .dark-mode pattern used above */
.dark-mode #chatButton,
.dark-mode #chatbox {
    background-color: #272D48;
    border-color: #3a405f;
    color: #fff;
}

.dark-mode #chatbox .text-dark {
    color: #fff !important;
}

.dark-mode #chatbox .text-muted,
.dark-mode #chatbox #attachmentsCounter,
.dark-mode #chatbox #chatUsersList {
    color: #b0b8d0 !important;
}

.dark-mode #chatbox .border-bottom,
.dark-mode #chatbox .border-top {
    border-color: #3a405f !important;
}

.dark-mode #chatbox .form-control {
    background-color: #1e2235;
    border-color: #3a405f;
    color: #fff;
}

.dark-mode #chatbox .form-control::placeholder {
    color: #8a93b0;
}

.dark-mode #chatMessagesContainer .bg-light {
    background-color: #343a56 !important;
    color: #fff;
}

.dark-mode .chatConversationItem {
    color: #fff;
    border-color: #3a405f !important;
}

.dark-mode .chatConversationUnread {
    background-color: #5a2a2a !important;
    color: #fff;
}

.dark-mode #chatbox .bg-secondary {
    background-color: #4a516e !important;
}

.dark-mode #chatbox hr {
    border-color: #3a405f;
}