@import "tailwindcss/base";
@import "tailwindcss/components";
@import "tailwindcss/utilities";

.ql-container {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background-color: #ffffff !important;
    min-height: 200px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: #1f2937 !important;
    padding: 1rem !important;
}

.ql-editor {
    padding: 0 !important;
    min-height: 200px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: #1f2937 !important;
}

.ql-snow {
    border: none !important;
    border-radius: 8px !important;
    overflow: visible !important;
}

.ql-snow .ql-toolbar {
    border: none !important;
    background-color: #f8fafc !important;
    border-top-left-radius: 8px !important;
    border-top-right-radius: 8px !important;
    position: relative !important;
    z-index: 2 !important;
}

.ql-snow .ql-container {
    border: none !important;
    background-color: #ffffff !important;
    border-bottom-left-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
}

.ql-snow .ql-picker {
    position: relative !important;
    z-index: 3 !important;
}

.ql-snow .ql-picker-options {
    position: absolute !important;
    z-index: 50 !important;
}

.ql-snow .ql-picker-label:hover .ql-stroke,
.ql-snow .ql-picker-item:hover .ql-stroke,
.ql-snow .ql-picker-item.ql-selected .ql-stroke,
.ql-snow .ql-picker-label.ql-active .ql-stroke,
.ql-snow .ql-picker-label.ql-expanded .ql-stroke,
.ql-snow .ql-toolbar button:hover .ql-stroke,
.ql-snow .ql-toolbar button:hover .ql-fill,
.ql-snow .ql-toolbar button.ql-active .ql-stroke,
.ql-snow .ql-toolbar button.ql-active .ql-fill {
    stroke: #4f46e5;
    fill: #4f46e5;
}

#dynamicTextarea {
    overflow-y: hidden;
    resize: none;
}

::-webkit-scrollbar {
    width: 8px;
    margin-right: 10px;
}

::-webkit-scrollbar-track {
    border-radius: 0.75rem;
    background-color: rgba(240, 240, 240, 0.5);
}

::-webkit-scrollbar-thumb {
    background-color: darkgrey;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: grey;
}

#NewMailAI::-webkit-scrollbar {
    margin-right: 100px;
}

#firstMainColumn,
#secondMainColumn {
    flex: 1;
    transition: flex 0.3s ease;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-spinner {
    border: 4px solid rgba(0, 0, 0, 0.3);
    border-top: 4px solid #000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
}

.fade-enter-active {
    transition: opacity 0.3s ease;
}

.fade-enter {
    opacity: 0;
}

.custom-scrollbar::-webkit-scrollbar-track {
    margin: 4px;
}
