/* #toast-container > div {
    border: 2px solid #a5d6a7;
    box-shadow: 0 0 10px 2px rgba(165, 214, 167, 0.7), 
                0 0 20px 4px rgba(165, 214, 167, 0.5), 
                0 0 30px 6px rgba(165, 214, 167, 0.3);
    animation: flicker 1.5s infinite;
    border-radius: 10px
}

@keyframes flicker {
    0%, 100% {
        box-shadow: 0 0 10px 2px rgba(165, 214, 167, 0.7), 
                    0 0 20px 4px rgba(165, 214, 167, 0.5), 
                    0 0 30px 6px rgba(165, 214, 167, 0.3);
    }
    50% {
        box-shadow: 0 0 15px 3px rgba(165, 214, 167, 0.8), 
                    0 0 25px 5px rgba(165, 214, 167, 0.6), 
                    0 0 35px 8px rgba(165, 214, 167, 0.4);
    }
}

#toast-container > .toast-success {
    border-color: #a5d6a7;
    box-shadow: 0 0 10px 2px rgba(165, 214, 167, 0.7), 
                0 0 20px 4px rgba(165, 214, 167, 0.5), 
                0 0 30px 6px rgba(165, 214, 167, 0.3);
    border-radius: 10px;
}

#toast-container > .toast-error {
    border-color: #f44336;
    box-shadow: 0 0 10px 2px rgba(244, 67, 54, 0.7), 
                0 0 20px 4px rgba(244, 67, 54, 0.5), 
                0 0 30px 6px rgba(244, 67, 54, 0.3);
    border-radius: 10px;
} */

/* .bg-login {
    background: linear-gradient(0deg, #000, #667ff2, #758bf5, #8398f7, #91a5fa, #a0b2fc, #aebefd, #bdcbff) !important;
} */

/* .bg-login {
    background: linear-gradient(0deg,#000,#000,#000) !important;
} */

.bg-login {
    /* background: linear-gradient(0deg, #4facfe, #00f2fe) !important */
    /* background: linear-gradient(0deg, #43e97b, #38f9d7) !important */
    /* background: linear-gradient(0deg, #667eea, #bd7bff) !important */


    /* 15 different gradients for .bg-login, uncomment the one you want to use */
    /* background: linear-gradient(0deg, #43e97b, #38f9d7, #667eea, #bd7bff) !important; */
    /* background: linear-gradient(135deg, #ff9a56, #ff6b6b, #ffa726) !important; Warm food colors */
    /* background: linear-gradient(45deg, #ff8a65, #ff7043, #ffab40) !important; /* Orange food theme */
    /* background: linear-gradient(120deg, #ffb74d, #ff8a65, #ff7043) !important; /* Warm sunset food */

    /* background: linear-gradient(45deg, #fc466b, #3f5efb) !important; */
    /* background: linear-gradient(200deg, #ee9ca7, #ffdde1) !important; */
    /* background: linear-gradient(300deg, #ff6e7f, #bfe9ff) !important; */
    /* background: linear-gradient(330deg, #f857a6, #ff5858) !important; */

    /* background: linear-gradient(0deg, #00f2fe, #4facfe) !important; */
    /* background: linear-gradient(135deg, #e0c3fc, #8ec5fc) !important; */
    /* background: linear-gradient(120deg, #ffd395, #f3cdc0) !important; */
    background: linear-gradient(120deg, #fdd499, #ffd8cb) !important;
    /* background: linear-gradient(45deg, #fceabb, #f8b500) !important; */
}

.btn.btn-primary:hover:not(.btn-active) {
    background-color: #000 !important;
}

/* Toast Notification Styles - Modern Banner Design */
#toast-container {
    position: fixed;
    top: 14px;
    right: 24px;
    z-index: 9999;
    width: 300px;
    max-width: 300px;
    pointer-events: none; /* Allows clicks to pass through if toast disappears */
}

#toast-container > div {
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10), 0 1.5px 6px rgba(0,0,0,0.05);
    padding: 8px 20px 10px 18px !important;
    margin-bottom: 10px;
    width: 300px;
    min-height: 46px;
    position: relative;
    overflow: hidden;
    background-image: none !important;
    background-position: initial !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    align-items: flex-start;
    pointer-events: auto;
}

.toast-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    margin-bottom: 6px;
    padding: 0;
    line-height: 1.4;
    display: block;
    letter-spacing: 0;
}

.toast-message {
    font-size: 14px !important;
    line-height: 1.5;
    padding: 0;
    font-weight: 400;
    display: block;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.toast-message a {
    text-decoration: underline;
    color: inherit;
    font-weight: 500;
}

/* Success Toast - Light Green Background */
.toast-success {
    background-color: #e8f5e9 !important;
    border-top: 4px solid #2eaf35 !important;
    color: #2eaf35 !important;
    padding: 20px 50px 20px 24px !important;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.2s ease;
}

.toast-success .toast-title {
    color: #2eaf35 !important;
    font-weight: 700 !important;
}

.toast-success .toast-message {
    color: #2eaf35 !important;
}

.toast-success .toast-close-button {
    color: #2eaf35 !important;
    opacity: 0.8;
}

.toast-success .toast-close-button:hover {
    opacity: 1;
    color: #1e7e34 !important;
}

/* Error Toast - Light Red Background */
.toast-error {
    background-color: #ffebee !important;
    border-top: 4px solid #d32f2f !important;
    color: #d32f2f !important;
    padding: 20px 50px 20px 24px !important;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.2s ease;
}

.toast-error .toast-title {
    color: #d32f2f !important;
    font-weight: 700 !important;
}

.toast-error .toast-message {
    color: #d32f2f !important;
}

.toast-error .toast-close-button {
    color: #d32f2f !important;
    opacity: 0.8;
}

.toast-error .toast-close-button:hover {
    opacity: 1;
    color: #b71c1c !important;
}

/* Warning Toast - Light Orange Background */
.toast-warning {
    background-color: #fff3e0 !important;
    border-top: 4px solid #f57c00 !important;
    color: #f57c00 !important;
    padding: 20px 50px 20px 24px !important;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.2s ease;
}

.toast-warning .toast-title {
    color: #f57c00 !important;
    font-weight: 700 !important;
}

.toast-warning .toast-message {
    color: #f57c00 !important;
}

.toast-warning .toast-close-button {
    color: #f57c00 !important;
    opacity: 0.8;
}

.toast-warning .toast-close-button:hover {
    opacity: 1;
    color: #e65100 !important;
}

/* Info Toast - Light Blue Background */
.toast-info {
    background-color: #e3f2fd !important;
    border-top: 4px solid #1976d2 !important;
    color: #1976d2 !important;
    padding: 20px 50px 20px 24px !important;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.2s ease;
}

.toast-info .toast-title {
    color: #1976d2 !important;
    font-weight: 700 !important;
}

.toast-info .toast-message {
    color: #1976d2 !important;
}

.toast-info .toast-close-button {
    color: #1976d2 !important;
    opacity: 0.8;
}

.toast-info .toast-close-button:hover {
    opacity: 1;
    color: #0d47a1 !important;
}

/* Close Button Styling */
.toast-close-button {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    opacity: 0.8;
    cursor: pointer;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    width: 24px !important;
    height: 24px !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.toast-close-button:hover {
    opacity: 1;
    transform: scale(1.1);
}

.toast-close-button:active {
    transform: scale(0.95);
}

/* Progress Bar Styling */
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background-color: rgba(0, 0, 0, 0.06);
    width: 100%;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.toast-success .toast-progress {
    background-color: rgba(30, 148, 30, 0.336);
}

.toast-error .toast-progress {
    background-color: rgba(211, 47, 47, 0.4);
}

.toast-warning .toast-progress {
    background-color: rgba(245, 124, 0, 0.4);
}

.toast-info .toast-progress {
    background-color: rgba(25, 118, 210, 0.4);
}

/* Remove default toastr icons/background images */
#toast-container > div.toast-success,
#toast-container > div.toast-error,
#toast-container > div.toast-warning,
#toast-container > div.toast-info {
    background-image: none !important;
    background-position: initial !important;
}

/* Ensure proper spacing between title and message */
#toast-container .toast-title + .toast-message {
    margin-top: 5px;
}

/* Toast content wrapper */
#toast-container > div > div {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Ensure toast content doesn't overflow */
#toast-container .toast-message {
    max-width: 100%;
}

/* Animation for toast appearance */
#toast-container > div {
    animation: slideInRight 0.3s ease-out;
}

/* Hover effect for toast */
#toast-container > div:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-1px) !important;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* .btn.btn-primary:hover:not(.btn-active) {
    background-color:#FF9D9D !important;
} */

.desc-info *{
    font-size: 14px !important;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 300px;
}

.bg-gradient-danger {
    /* background: linear-gradient(to right, #7562F6,#9382ff) !important */
    background: linear-gradient(to right, #2196F3, #60b5fa) !important
}

.bg-gradient-success {
    /* background: linear-gradient(to right, #C93A80, #ff67b0) !important; */
    background: linear-gradient(to right, #ff48a1, #ff67b0c2) !important
}

.bg-gradient-info{
    /* background: linear-gradient(to right, #EEA750,#ffbc6b) !important; */
    background: linear-gradient(to right, #EEA750, #ffbc6bc7) !important
}

.bg-gradient-purple{
    /* background: linear-gradient(to right, #E1645D,  #f87a74) !important; */
    background: linear-gradient(to right, #50cd89, #50cd89bf) !important
}

.bg-gradient-pink{
    background: linear-gradient(to right, #787974, #787974) !important  
}

.bg-gradient-wine{
    background: linear-gradient(to right, #464555, #464555) !important;
}

.card.card-img-holder i {
    background-color: rgb(255 255 255 / 50%);
    padding: 10px;
    border-radius: 25%;
}

.card.card-img-holder {
    height: 200px;
    position: relative;
}

.card.card-img-holder a:hover{
    color:#000 !important
}

.card.card-img-holder .card-img-absolute, .card.card-img-holder .card-footer {
    position: absolute;
    top: 0;
    right:-4px;
    height: 100%;
}

.card.card-img-holder .card-footer{
    position: absolute;
    bottom: 0;
    top: 43%;
}

.card.card-img-holder img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

div#kt_app_sidebar {
    top: 0 !important;
    box-shadow: 0px 0px 24px rgba(27, 46, 94, 0.05) !important;
    background-color: #fff;
}

div#kt_app_header {
    left: 247px;
}

div#kt_app_header_logo {
    width: 100px;
}

.form-box {
    border: 20px;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    background-color: #f7f9fc;
    transition: transform 0.3s ease;
}

.imagwrap {
    position: relative;
}

.imagwrap:before {
    position: absolute;
    content: '';
    background-color: #fff;
    width: 43px;
    height: 43px;
    opacity: 0.5;
    left: -9px;
    border-radius: 10px;
    top: -9px;
    z-index: 1; /* Ensure the background appears behind the icon */
}

.app-sidebar .menu>.menu-item .menu-item .menu-link.active .menu-icon, .app-sidebar .menu>.menu-item.here .menu-icon {
    background-color: #01BCFF;
}

/* Override old active state - new style is in menu-accordion.here and single-menu.active rules below */
.app-sidebar .menu-accordion>.menu-sub-accordion.here>.menu-item>.menu-accordion.here>.menu-link {
    background-color: #0a74da2b !important;
    box-shadow: 0 5px 4px 0px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1) !important;
    border-radius: 25px;
}

.app-sidebar .menu>.menu-item .menu-item .menu-link.active .menu-icon i, .app-sidebar .menu>.menu-item.here>span.menu-link>span.menu-icon i {
    color: #fff !important;
}

.imagwrap img {
    position: relative;
    z-index: 2; /* Ensure the icon is shown above the background */
}

/* .form-box:hover {
    transform: scale(1.005);
} */

.header-main,#kt_app_toolbar,div#kt_app_content,div#kt_app_footer,div#kt_app_aside {
    background-color: #F4F7FA !important;
}

/* a.menu-link.active, .app-sidebar .menu > .menu-accordion.here > .menu-link {
    background-color: rgb(87 114 239 / 20%) !important;
}*/

/* a.menu-link.active, .app-sidebar .menu > .menu-accordion.here > .menu-link {
    background-color: #a9a9a947 !important;
} */
      
.app-sidebar .menu > .menu-accordion.here .menu-sub .menu-item .menu-link.active {
    background-color: transparent !important;
    color: #01BCFF !important;
}

.app-sidebar .menu > .menu-accordion.here .menu-sub .menu-item .menu-link.active .menu-title {
    color: #01BCFF !important;
    font-weight: 600;
}

.app-sidebar .menu > .menu-accordion.here .menu-sub .menu-item .menu-link.active .menu-bullet .bullet {
    background-color: #01BCFF !important;
}

a.menu-link.active span.menu-icon i,
a.menu-link.active span.menu-title, 
.app-sidebar .menu > .menu-item .menu-item .menu-link.active span.menu-title,
.app-sidebar .menu > .menu-accordion.here > .menu-link span.menu-title,
.app-sidebar .menu > .menu-accordion.here > .menu-link span.menu-icon i{
    color: #01BCFF !important;
}

/* div#kt_app_sidebar {
    top: 0 !important;
} */

.app-sidebar{
    box-shadow: 0px 0px 24px rgba(27, 46, 94, 0.05) !important;
}

.app-sidebar .menu >.menu-item .menu-icon {
    width: 30px;
    height: 30px;
    background-color: #fff;
    border-radius: .5rem;
    box-shadow: 0 5px 4px 2px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1) !important;
    /* box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1) !important; */
}

span.menu-title {
    font-size: 14px;
}

/* Sidebar Section Headers */
.menu-section-title {
    display: flex;
    align-items: center;
    padding: 0 15px;
    margin-top: 16px;
    margin-bottom: 12px;
}

.menu-section-text {
    color: #6c757d;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-right: 10px;
    white-space: nowrap;
}

.menu-section-line {
    flex: 1;
    height: 1px;
    background-color: #e9ecef;
    margin-left: 10px;
}

/* Active menu item styling - light blue background with dark blue left border */
.app-sidebar .menu > .menu-accordion.here > .menu-link {
    background-color: rgba(9, 141, 238, 0.1) !important;
    border-left: 4px solid #01BCFF !important;
    padding-left: 11px !important;
    border-radius: 0 !important;
}

.app-sidebar .menu > .menu-accordion.here > .menu-link .menu-icon {
    background-color: #01BCFF !important;
}

.app-sidebar .menu > .menu-accordion.here > .menu-link .menu-icon i {
    color: #fff !important;
}

.app-sidebar .menu > .menu-accordion.here > .menu-link .menu-title {
    color: #01BCFF !important;
    font-weight: 600;
}

.app-sidebar .menu > .menu-accordion.here > .menu-link .menu-arrow {
    color: #01BCFF !important;
}

/* Ensure menu arrows are visible */
.app-sidebar .menu > .menu-accordion > .menu-link .menu-arrow {
    opacity: 1;
    visibility: visible;
}

/* Single menu active state */
.app-sidebar .menu > .single-menu .menu-item .menu-link.active {
    background-color: rgba(9, 141, 238, 0.1) !important;
    border-left: 4px solid #01BCFF !important;
    padding-left: 11px !important;
    border-radius: 0 !important;    
}

.app-sidebar .menu > .single-menu .menu-item .menu-link.active .menu-icon {
    background-color: #01BCFF !important;
}

.app-sidebar .menu > .single-menu .menu-item .menu-link.active .menu-icon i {
    color: #fff !important;
}

.app-sidebar .menu > .single-menu .menu-item .menu-link.active .menu-title {
    color: #01BCFF !important;
    font-weight: 600;
}

/* Quill Editor Styles */
.ql-editor {
    min-height: 120px;
    font-size: 14px;
    line-height: 1.6;
}

.ql-toolbar {
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    background-color: #f8f9fa;
}

.ql-container {
    border-bottom: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 4px 4px;
    min-height: 120px;
}

.ql-editor:focus {
    border-color: #6978F7;
    box-shadow: 0 0 0 0.2rem rgba(105, 120, 247, 0.25);
}

.ql-toolbar button:hover,
.ql-toolbar .ql-picker-label:hover {
    color: #6978F7;
}

.ql-toolbar button:hover .ql-stroke,
.ql-toolbar .ql-picker-label:hover .ql-stroke {
    stroke: #6978F7;
}

.ql-toolbar button:hover .ql-fill {
    fill: #6978F7;
}

.ql-toolbar .ql-active {
    color: #6978F7;
}

.ql-toolbar .ql-active .ql-stroke {
    stroke: #6978F7;
}

.ql-toolbar .ql-active .ql-fill {
    fill: #6978F7;
}