.select2-selection{
    min-height:42px !important;
    padding-left: 36px;
    padding-top: 7px;
}

.select2,.select2-container {
    width: 100% !important;
}

.customhtmls  ul,
.customhtmls  ol {
    list-style-type: disc; /* or decimal for ordered lists */
    padding-left: 20px; /* Add padding for proper indent */
    margin-bottom: 10px;
}

/* Headings */
.customhtmls  h1 {
    font-size: 2rem; /* Adjust font size for h1 */
    font-weight: bold;
}
.customhtmls  h2 {
    font-size: 1.75rem; /* Adjust font size for h2 */
    font-weight: bold;
}
.customhtmls  h3 {
    font-size: 1.5rem; /* Adjust font size for h3 */
    font-weight: bold;
}

/* Text Formatting */
.customhtmls  strong {
    font-weight: bold;
}
.customhtmls  em {
    font-style: italic;
}
.customhtmls  u {
    text-decoration: underline;
}

/* Background Color */
.customhtmls  mark {
    background-color: yellow; /* Change the background color */
}

/* Images */
.customhtmls  img {
    max-width: 100%; /* Ensure images are responsive */
    height: auto;
    border-radius: 8px; /* Optional: Add rounded corners */
}

/* Optional: Reset all Tailwind styles from affecting the Quill content */
.customhtmls  {
    all: unset; /* Prevent Tailwind from affecting Quill’s styles */
}

.active-payment {
    border: 1px solid teal !important;
    background: white;
    box-shadow: 1px 1px 1px 1px gray;
}

#custommap {
    height: 100%;
    width: 100%;
}

.searchform{
    box-shadow: 1px 1px 10px darkgray;
    border-radius: 10px;
    padding: 10px;
    border-top-left-radius: 0px;
}
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;  /* For Internet Explorer 10+ */
    scrollbar-width: none;  /* For Firefox */

}
.truncate-2-lines {
    display: -webkit-box;
    -webkit-line-clamp: 2;         /* Limit to 2 lines */
    -webkit-box-orient: vertical;  /* Required for line-clamping to work */
    overflow: hidden;              /* Hide the overflowed content */
    text-overflow: ellipsis;       /* Show ellipsis (...) for overflowed content */
}

/* Apply the transition on opacity, but no initial opacity setting */
#bloglist {
    transition: opacity 0.5s ease-in-out;
}

/* Initially, we'll leave it visible (for first load) */
#bloglist.initial-load {
    opacity: 1;
}

/* When content is swapped in */
#bloglist.loaded {
    opacity: 1;
}

div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm) {
    border: 0;
    border-radius: .25em;
    background: initial;
    background-color: #7066e0 !important;
    color: #fff;
    font-size: 1em;
}

.loading-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-popup.active {
    display: flex;
}

.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.disabled-content {
    pointer-events: none;
    opacity: 0.5;
}

.htmx-request{
    display: flex;
}
.htmx-indicator{
    opacity:0;
    transition: opacity 500ms ease-in;
}
.htmx-request .htmx-indicator{
    opacity:1;
}
.htmx-request.htmx-indicator{
    opacity:1;
}

#hidden-datepicker {
    border: none;
    outline: none;
    background: transparent;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.scrollbar-hide {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE 10+ */
}

.scrollbar-hide::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}