::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
}

::-webkit-scrollbar-thumb {
    border-radius: 2px;
    background-color: #9696c9;
    box-shadow: 0 0 1px rgba(255, 255, 255, .1);
}

tbody tr:nth-child(even) {
    background-color: #F9FAFB;
    font-weight: medium;
}

.custom-date-input::-webkit-calendar-picker-indicator {
    cursor: pointer;
}

.custom-textarea {
    display: flex;
    flex-direction: column;
    width: 75%;
}

.-mx-custom {
    margin-left: 0;
    margin-right: -2rem;
}

.own-chat-margin {
    margin-left: 15rem;
}

.not-own-chat-margin {
    margin-left: 1rem;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.overlay-image {
    max-width: 100%;
    max-height: 100%;
}

[data-title] {
    position: relative;
    cursor: pointer;
}

[data-title]::after {
    content: attr(data-title);
    position: absolute;
    left: calc(100% + 2px);
    top: 100%;
    transform: translateY(-12px);
    background-color: rgba(60, 60, 60, 0.8);
    color: #fff;
    padding: 6px 10px;
    border-radius: 0 12px 12px 12px;
    font-size: 0.85rem;
    line-height: 1.2;
    white-space: pre-line;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
    z-index: 9999;
    min-width: max-content;
    max-width: 18rem;
}

[data-title]:hover::after {
    opacity: 1;
    visibility: visible;
}

.Input-module_options__2BmH1 {
    min-width: 350px !important;
}

.Input-module_container__1XTe4 {
    min-width: 360px !important;
}

@keyframes shrink {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

@keyframes flash-blue {
    0% {
        background-color: #dbeafe;
    }

    100% {
        background-color: transparent;
    }
}

.highlight-flash {
    animation: flash-blue 2s ease-out;
    border-radius: 12px;
}

.quill-rich-editor .ql-editor.ql-blank::before {
    content: "Enter message here..." !important;
    font-style: normal !important;
    color: #9ca3af !important;
    pointer-events: none;
}

.quill-rich-editor .ql-snow .ql-toolbar button {
    width: 32px !important;
    height: 32px !important;
}

.quill-rich-editor .ql-snow .ql-toolbar svg {
    width: 20px !important;
    height: 20px !important;
}

.quill-rich-editor .ql-snow.ql-toolbar :is(.ql-picker, .ql-picker-label) {
    position: relative !important;
}

:is(#chat-editor, #content-editor, #description-editor, #reminder-editor) .ql-snow .ql-picker.ql-expanded .ql-picker-options {
    z-index: 1000 !important;
    background: white !important;
}

:is(#chat-editor, #content-editor, #description-editor, #reminder-editor) .ql-snow .ql-picker.ql-expanded .ql-picker-options.ql-picker-options--flip-up {
    bottom: 100% !important;
    top: auto !important;
    margin-top: 0 !important;
    margin-bottom: 4px !important;
}

.group:hover .message-actions {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.flash {
    width: calc(100% - 352px - 64px);
}

.login-page .flash {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(42rem, calc(100vw - 2rem)) !important;
    max-width: 42rem;
}