html, body {
    background-color: rgba(243,244,246,1) !important;
}

.select2.select2-container {
    width: 100% !important;
}

.select2.select2-container .select2-selection {
    border: 1px solid #ccc;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 7px;
    height: 3rem;
    outline: none !important;
    transition: all .15s ease-in-out;
    font-size: 14px;
    padding-top: 7px;
    padding-left: 7px;
    margin-top: 0.25rem;
}

.select2.select2-container .select2-selection .select2-selection__rendered {
    color: #333;
    line-height: 32px;
    padding-right: 33px;
}

.select2.select2-container .select2-selection .select2-selection__arrow {
    background: #f8f8f8;
    border-left: 1px solid #ccc;
    -webkit-border-radius: 0 3px 3px 0;
    -moz-border-radius: 0 3px 3px 0;
    border-radius: 0 7px 7px 0;
    height: 2.8rem;
    width: 33px;
    margin-top: 0.3rem;
}

.select2.select2-container.select2-container--open .select2-selection.select2-selection--single {
    background: #f8f8f8;
}

.select2.select2-container.select2-container--open .select2-selection.select2-selection--single .select2-selection__arrow {
    -webkit-border-radius: 0 3px 0 0;
    -moz-border-radius: 0 3px 0 0;
    border-radius: 0 3px 0 0;
}

/* Multiple */

.select2.select2-container.select2-container--open .select2-selection.select2-selection--multiple {
    border: 1px solid #34495e;
}

.select2.select2-container .select2-selection--multiple {
    height: auto;
    min-height: 34px;
    font-size: 12px;
    /* padding-top: 11px; */
}

.select2.select2-container .select2-selection--multiple .select2-search--inline .select2-search__field {
    margin-top: 0;
    height: 32px;
}

.select2.select2-container .select2-selection--multiple .select2-selection__rendered {
    display: block;
    padding: 0 4px;
    line-height: 29px;
}

.select2.select2-container .select2-selection--multiple .select2-selection__choice {
    background-color: #ffffff;
    border: 1px solid #ccc;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    padding: 0 6px 0 28px;
    line-height: 24px;
    font-size: 12px;
    position: relative;
}

.select2.select2-container .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    margin: 0;
    text-align: center;
    color: #F87171;
    font-size: 16px;
}

.select2-container .select2-dropdown {
    background: transparent;
    border: none;
    margin-top: -5px;
}

.select2-container .select2-dropdown .select2-search {
    padding: 0;
}

.select2-container .select2-dropdown .select2-search input {
    outline: none !important;
    border: 1px solid #34495e !important;
    border-bottom: none !important;
    padding: 4px 6px !important;
}

.select2-container .select2-dropdown .select2-results {
    padding: 0;
    font-size: 14px;
}

.select2-container .select2-dropdown .select2-results ul {
    background: #fff;
    border: 1px solid #838d97;
    border-radius: 0px 0px 16px 16px;
}

.select2-container .select2-dropdown .select2-results ul .select2-results__option {
    padding: 12px;
}

.select2-container .select2-dropdown .select2-results ul .select2-results__option--highlighted[aria-selected] {
    background-color: #51CA49;
}

.select2-container--default.select2-container--disabled .select2-selection--multiple {
    cursor: not-allowed;
    /* --tw-border-opacity: 1;
    border-color: var(--fallback-b2, oklch(var(--b2) / var(--tw-border-opacity)));
    --tw-bg-opacity: 1;
    background-color: var(--fallback-b2, oklch(var(--b2) / var(--tw-bg-opacity))); */
}

.select2-container--default.select2-container--disabled .select2-selection--single {
    cursor: not-allowed;
    /* --tw-border-opacity: 1;
    border-color: var(--fallback-b2, oklch(var(--b2) / var(--tw-border-opacity)));
    --tw-bg-opacity: 1;
    background-color: var(--fallback-b2, oklch(var(--b2) / var(--tw-bg-opacity))); */
}

.ql-editor ul[data-checked=true]>li::before,
.ql-result ul[data-checked=true]>li::before {
    font: normal normal normal 16px/1 "Font Awesome 5 Free" !important;
    content: '\f058' !important;
    margin-right: 6px;
    color: #51CA49 !important;
}

.ql-editor ul[data-checked=false]>li::before,
.ql-result ul[data-checked=false]>li::before {
    font: normal normal normal 16px/1 "Font Awesome 5 Free" !important;
    content: '\f111' !important;
    margin-right: 6px;
    color: #51CA49 !important;
}

.ql-result a {
    color: #51CA49;
    text-decoration-line: underline;
}

.shortcut-buttons-flatpickr-buttons {
    justify-content: center;
    width: 100%;
}

.shortcut-buttons-flatpickr-button {
    display: inline-flex;
    height: 3rem;
    min-height: 3rem;
    flex-shrink: 0;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    border-radius: var(--rounded-btn,.5rem);
    border-color: transparent;
    border-color: oklch(var(--btn-color,var(--b2))/var(--tw-border-opacity));
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: center;
    font-size: .875rem;
    line-height: 1em;
    gap: .5rem;
    font-weight: 600;
    text-decoration-line: none;
    transition-duration: .2s;
    transition-timing-function: cubic-bezier(0,0,.2,1);
    border-width: var(--border-btn,1px);
    transition-property: color,background-color,border-color,opacity,box-shadow,transform;
    --tw-text-opacity: 1;
    color: white;
    --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);
    --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);
    outline-color: var(--fallback-bc,oklch(var(--bc)/1));
    background-color: #51CA49;
    --tw-bg-opacity: 1;
    --tw-border-opacity: 1
}

.flatpickr-day.selected {
    background-color: #51CA49;
    border-color: #51CA49;
}

.flatpickr-day.selected:hover {
    background-color: #45bb3d;
    border-color: #45bb3d;
}

.flatpickr-monthSelect-month.selected {
    background-color: #51CA49;
    border-color: #51CA49;
}

.flatpickr-monthSelect-month.selected:hover {
    background-color: #45bb3d;
    border-color: #45bb3d;
}

.carousel-item {
    transition: opacity 1s ease-in-out;
}
.carousel-inner .carousel-item.active {
    opacity: 1 !important;
}

.ppt_embed iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    object-fit: cover;
    color: var(--text-slate-700, #4a5568);
    color: var(--text-slate-300, #d1d5db);
}

/* SweetAlert2 Custom Styles */
.swal2-popup {
    font-size: 0.875rem;
    border-radius: 0.5rem;
}

.swal2-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
}

.swal2-content {
    font-size: 0.875rem;
    color: #4a5568;
}

.swal2-actions {
    margin-top: 1.5rem;
}

.swal2-confirm {
    background-color: #4f46e5 !important;
    color: white !important;
    border-radius: 0.375rem !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    transition: background-color 0.2s !important;
}

.swal2-confirm:hover {
    background-color: #4338ca !important;
}

.swal2-cancel {
    background-color: #e5e7eb !important;
    color: #374151 !important;
    border-radius: 0.375rem !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    transition: background-color 0.2s !important;
}

.swal2-cancel:hover {
    background-color: #d1d5db !important;
}

.swal2-icon {
    border-width: 3px !important;
}

.swal2-icon.swal2-error {
    border-color: #ef4444 !important;
    color: #ef4444 !important;
}

.swal2-icon.swal2-success {
    border-color: #22c55e !important;
    color: #22c55e !important;
}

.swal2-icon.swal2-warning {
    border-color: #f59e0b !important;
    color: #f59e0b !important;
}

.swal2-icon.swal2-info {
    border-color: #3b82f6 !important;
    color: #3b82f6 !important;
}

.swal2-icon.swal2-question {
    border-color: #6b7280 !important;
    color: #6b7280 !important;
}

/* Animation classes */
.swal2-show {
    animation: swal2-show 0.3s;
}

.swal2-hide {
    animation: swal2-hide 0.15s forwards;
}

.swal2-noanimation {
    transition: none;
}

/* Backdrop styles */
.swal2-backdrop-show {
    background: rgba(0, 0, 0, 0.4) !important;
}

.swal2-backdrop-hide {
    opacity: 0 !important;
}

/* Container styles */
.swal2-container {
    z-index: 9999;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .swal2-popup {
        width: 90% !important;
        margin: 1rem !important;
    }
}
