/*
* demo.css
* File include item demo only specific css only
******************************************************************************/


/* Define a custom font or style */

@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');
.kershyu-text {
    font-family: 'Great Vibes', cursive;
    font-size: 4rem;
    color: transparent;
    background: repeating-radial-gradient(circle at 100% 100%, rgba(255, 190, 11, 0.5) 4%, rgba(255, 190, 11, 0.5) 8%, rgba(251, 86, 7, 0.5) 8%, rgba(251, 86, 7, 0.5) 12%, rgba(255, 0, 110, 0.5) 12%, rgba(255, 0, 110, 0.5) 16%, rgba(131, 56, 236, 0.5) 16%, rgba(131, 56, 236, 0.8) 20%, rgba(58, 134, 255, 0.5) 20%, rgba(58, 134, 255, 0.5) 24%), repeating-radial-gradient(circle at 0% 100%, rgba(255, 190, 11, 0.7) 4%, rgba(255, 190, 11, 0.9) 8%, rgba(251, 86, 7, 0.7) 8%, rgba(251, 86, 7, 0.9) 12%, rgba(255, 0, 110, 0.7) 12%, rgba(255, 0, 110, 0.9) 16%, rgba(131, 56, 236, 0.8) 16%, rgba(131, 56, 236, 0.8) 20%, rgba(58, 134, 255, 0.8) 20%, rgba(58, 134, 255, 0.8) 24%);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    margin-bottom: 27rem !important;
}

.checkbox-border {
    border: 1px solid #9b98a3 !important;
}

.animation-bottom {
    position: fixed;
    bottom: 0;
    left: 30%;
    transform: translateX(-50%);
    z-index: 10;
    margin-bottom: 2rem !important;
}

::-moz-selection {
    color: white;
    background: #7367f0;
}

::selection {
    color: white;
    background: #7367f0;
}

.navbar-search-wrapper {
    display: none;
}

#hours,
#in_time,
#edit_in_time,
#edit_out_time,
#out_time {
    border: 1px solid #dbdade;
    padding: 17px;
    text-align: left;
}

.light-style .menu .app-brand.demo {
    height: 64px;
}

.dark-style .menu .app-brand.demo {
    height: 64px;
}

.app-brand-logo.demo {
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    display: -ms-flexbox;
    display: flex;
    width: 34px;
    height: auto;
}

.app-brand-logo.demo svg {
    width: 35px;
    height: 24px;
}

.app-brand-text.demo {
    font-size: 1.375rem;
}


/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */

.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
    padding-top: 64px !important;
}

.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
    padding-top: 78px !important;
}


/* Navbar page z-index issue solution */

.content-wrapper .navbar {
    z-index: auto;
}


/*
* Content
******************************************************************************/

.demo-blocks>* {
    display: block !important;
}

.demo-inline-spacing>* {
    margin: 1rem 0.375rem 0 0 !important;
}


/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */

.demo-vertical-spacing>* {
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
}

.demo-vertical-spacing.demo-only-element> :first-child {
    margin-top: 0 !important;
}

.demo-vertical-spacing-lg>* {
    margin-top: 1.875rem !important;
    margin-bottom: 0 !important;
}

.demo-vertical-spacing-lg.demo-only-element> :first-child {
    margin-top: 0 !important;
}

.demo-vertical-spacing-xl>* {
    margin-top: 5rem !important;
    margin-bottom: 0 !important;
}

.demo-vertical-spacing-xl.demo-only-element> :first-child {
    margin-top: 0 !important;
}

.rtl-only {
    display: none !important;
    text-align: left !important;
    direction: ltr !important;
}

[dir='rtl'] .rtl-only {
    display: block !important;
}


/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-top: 1rem;
}

.layout-demo-placeholder img {
    width: 900px;
}

.layout-demo-info {
    text-align: center;
    margin-top: 1rem;
}

.tox-promotion {
    display: none;
}


/* .template-customizer-open-btn {
    display: block !important;
} */

.template-customizer-open-btn {
    display: none !important;
}

.tox-tinymce {
    border: 1px solid #dbdade !important;
}

.tox:not(.tox-tinymce-inline) .tox-editor-header {
    border-bottom: 1px solid #dbdade !important;
}

.tox .tox-statusbar__branding {
    display: none;
}

.alert.alert-danger,
.alert.alert-success {
    opacity: 0;
    animation: slideIn 0.5s forwards;
    font-weight: 700;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

p {
    margin-bottom: 0px;
}


/* .page-link {
  font-size: 20px;
  width: 40px;
} */

.custom-spinner {
    border: 10px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 10px solid #3498db;
    width: 100px;
    height: 100px;
    animation: spin 1s linear infinite;
    text-align: center;
    margin: auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.animated-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    position: relative;
    appearance: none;
    background-color: #fff;
    border: 2px solid #007bff;
    border-radius: 3px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.animated-checkbox:checked {
    background-color: #007bff;
    border-color: #007bff;
    animation: checkbox-bounce 0.3s ease;
}

.animated-checkbox:checked::after {
    content: '\2713';
    /* Unicode for checkmark */
    font-size: 14px;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.tox-promotion {
    display: none;
}

.tox-tinymce {
    border: 1px solid #dbdade !important;
}

.tox:not(.tox-tinymce-inline) .tox-editor-header {
    border-bottom: 1px solid #dbdade !important;
}

.tox .tox-statusbar__branding svg {
    display: none;
}

.truncate {
    width: 18rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    /* -webkit-line-clamp: 2;  */
    line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 16px;
    word-wrap: break-word;
}

.custom-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.custom-loader::after {
    content: '';
    display: block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.icon {
    margin-right: 5px;
}

.task-title {
    font-size: 12px;
}

.fa-circle {
    font-weight: 600 !important;
    font-size: 5px !important;
    margin-right: 5px !important;
}

.mr-1 {
    margin-right: 10px;
    font-size: 15px;
}

.rotate-icon {
    transform: rotate(45deg);
    margin-right: 10px;
    font-size: 15px;
}

.table> :not(caption)>*>* {
    padding: 0.55rem 1.25rem;
    background-color: var(--bs-table-bg);
    border-bottom-width: 0px !important;
    box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
}

.comment-section {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.comments-display {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 20px;
}

.comment-input {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
}

.comment {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

.comment-author {
    font-weight: bold;
}

.comment-time {
    font-size: 0.9em;
    color: #777;
}

.comments-list {
    max-height: 500px;
    overflow-y: auto;
}

#attechments_preview img {
    width: 150px;
    margin: 10px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

#attechments_preview img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.remove-image {
    cursor: pointer;
    display: block;
    margin-top: 5px;
    color: red;
}

.comment-section {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.comments-display {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 20px;
}

.comment-input {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    padding: 20px;
}

.comment {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

.comment-author {
    font-weight: bold;
}

.comment-time {
    font-size: 0.9em;
    color: #777;
}

.comments-list {
    max-height: 500px;
    overflow-y: auto;
}