﻿.fa {
    cursor: pointer;
}
.table_custom {
    border: 1px solid #ccc;
    width: 100%;
}
.table_custom tr td {
    padding: 5px;
    border: 1px solid #ccc;
}
.btnnopadding {
    padding: 0 !important;
}

#snackbar {
    visibility: hidden;
    color: #fff;
    background-color: #333;
    min-width: 250px;
    margin-left: -125px;
    border-radius: 30px;
    padding: 16px;
    text-align: center;
    left: 50%;
    bottom: 70px;
    z-index: 9999;
    position: fixed;
}

    /* This will be activated when the snackbar's class is 'show' which will be added through JS */
#snackbar.show {
        visibility: visible;
        -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
        animation: fadein 0.5s, fadeout 0.5s 2.5s;
    }

/* Animations for fading in and out */
@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 70px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 70px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 70px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 70px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}
.btnradius10 {
    border-radius:10px;
    min-width:120px;
}
.no-sort.sorting_disabled {
    cursor: initial;
}
.hide {
    display: none;
}
.errmsg {
    color: red;
    font-style:italic;
    font-size:14px;
}
.errmsg-border {
    border: 1px solid red;
}

.w100 {
    width: 100px;
}

.tblprivilege td, .tblprivilege th {
    padding: .25rem;
}
@keyframes blink {
    0% {
        opacity: 1.0;
    }
    /* Fully visible */
    50% {
        opacity: 0.0;
    }
    /* Fully invisible */
    100% {
        opacity: 1.0;
    }
    /* Fully visible again */
}

.btn-blink {
    animation: blink 1s infinite; /* Blinking animation with 1 second duration, infinite loop */
}
.ele-blink {
    animation: blink 1s infinite; /* Blinking animation with 1 second duration, infinite loop */
    background-color: red !important;
}

.charleft {
    display: flex;
    justify-content: flex-end;
    font-style: italic;
    font-size: 12px;
}

.editor-container {
    border: 1px solid #ced4da;
    border-radius: 5px;
    padding: 10px;
    /*max-width: 600px;*/
    background-color: #fff;
}

.editor-toolbar {
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
    margin-bottom: 10px;
}

    .editor-toolbar button {
        /*background: #f0f0f0;*/
        border: none;
        padding: 8px;
        margin-right: 5px;
        cursor: pointer;
    }

        .editor-toolbar button:hover {
            background: #ddd;
        }

.editor {
    min-height: 100px;
    max-height: 100px; /* Optional: limit the height */
    overflow-y: auto; /* Vertical scroll if content overflows */
    overflow-x: hidden; /* Prevent horizontal scroll */
    padding-right: 10px; /* Space for scrollbar */
    outline: none;
}

    .editor::-webkit-scrollbar {
        width: 5px; /* Width of the scrollbar */
    }

    .editor::-webkit-scrollbar-thumb {
        cursor: pointer; /* Change cursor to pointer */
        background-color: #74b9ff;
        border-radius: 5px;
    }

    .editor::-webkit-scrollbar-track {
        background-color: transparent; /* Color of the scrollbar track */
    }
    .editor.placeholder {
        color: #aaa;
    }

.editor-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #ddd;
    padding-top: 8px;
    margin-top: 10px;
}

    .editor-footer .left-icons,
    .editor-footer .right-icons {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .editor-footer button {
        background: none;
        border: none;
        cursor: pointer;
        font-size: 18px;
    }

        .editor-footer button:hover {
            color: #007bff;
        }

        .editor-footer button.end-chat {
            color: #dc3545;
        }

            .editor-footer button.end-chat:hover {
                color: #a71d2a;
            }

.filemodal {
    display: none;
}

label[for="filemodal"] {
    cursor: pointer;
}