@media (max-width: 767px) {
    .main-signup-header,
    .main-card-signin {
        padding: 1.5rem;
        border-radius: 6px;
    }
}

.flatpickr-calendar {
    z-index: 1000000 !important;
}

@media (min-width: 992px) {
    .app-content {
        min-height: calc(80vh) !important;
    }
}

/* mobile number style */
.iti {
    width: 100% !important;
}

.iti__country {
    background-color: var(--custom-white) !important;
}

.iti__divider {
    padding-bottom: 0px !important;
    margin-bottom: 0px !important;
}

/* end style mobile number */

/* summer note */
.ql-container {
    background-color: var(--custom-white) !important;
}

/* end summer note */

#goog-gt-tt {
    display: none !important;
}

.skiptranslate iframe {
    display: none;
}

body {
    top: 0 !important;
}

.wire_loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    background-color: rgba(6, 6, 6, 0.1);
    backdrop-filter: blur(20px);
}

/* Custom scrollbar for WebKit browsers */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background-color: var(--custom-white);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #888 !important;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

::-webkit-scrollbar-button:vertical:decrement {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%234B8B3D"><path d="M7 10l5 5 5-5z"/></svg>')
        no-repeat center;
}

/* Custom buttons for horizontal scrollbar */
::-webkit-scrollbar-button:horizontal:decrement {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%234B8B3D"><path d="M14 7l-5 5 5 5z"/></svg>')
        no-repeat center;
}

/* Arrow left for horizontal scrollbar */
::-webkit-scrollbar-button:horizontal:increment {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%234B8B3D"><path d="M10 7l5 5-5 5z"/></svg>')
        no-repeat center;
}

input:focus {
    border-color: #80bdff !important;
    outline: 0 !important;
    box-shadow: 0 0 0 0.1rem rgba(38, 143, 255, 0.15) !important;
}

.quillEditor {
    min-height: 100px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background-color: #fff;
    transition: all 0.3s ease;
}

.input-validation-error ~ .select2 .select2-selection {
    border: 1px solid red;
}

#AnimationNow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
    display: none;
}
/* LOADER */
/* From Uiverse.io by satyamchaudharydev */
.loading {
    --speed-of-animation: 0.9s;
    --gap: 6px;
    --first-color: #4c86f9;
    --second-color: #49a84c;
    --third-color: #f6bb02;
    --fourth-color: #f6bb02;
    --fifth-color: #2196f3;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    gap: 6px;
    height: 100px;
}

.loading span {
    width: 4px;
    height: 50px;
    background: var(--first-color);
    animation: scale var(--speed-of-animation) ease-in-out infinite;
}

.loading span:nth-child(2) {
    background: var(--second-color);
    animation-delay: -0.8s;
}

.loading span:nth-child(3) {
    background: var(--third-color);
    animation-delay: -0.7s;
}

.loading span:nth-child(4) {
    background: var(--fourth-color);
    animation-delay: -0.6s;
}

.loading span:nth-child(5) {
    background: var(--fifth-color);
    animation-delay: -0.5s;
}

@keyframes scale {
    0%,
    40%,
    100% {
        transform: scaleY(0.05);
    }

    20% {
        transform: scaleY(1);
    }
}
.badge {
    padding-bottom: 4px !important;
}
.card {
    border-radius: 11px;
}
/* Fix the footer at the bottom and prevent it from overlapping */
.position-fixed-custom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3; /* Ensure it's above content but below the sidebar */
    width: 100%;
    padding: 0 15px; /* Adjusts spacing for smaller screens */
}

/* Responsive Design */
@media (max-width: 768px) {
    .position-fixed {
        padding-left: 10px;
        padding-right: 10px;
    }

    .card {
        max-width: 100%; /* Adjust card size on smaller screens */
    }
}

@media (max-width: 576px) {
    .card {
        max-width: 100%; /* Stack cards on smaller screens */
    }
}

.header-logo img {
    height: 3rem !important;
    line-height: 2rem;
}

.position-fixed {
    position: fixed;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.justify-content-center {
    justify-content: center;
}

.main-content {
    padding: 0px;
}
.custom-underline {
    text-decoration: underline;
}
.table th,
.table td {
    padding: 8px !important;
}

.ql-editor.ql-blank::before {
    font-style: normal;
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #666;
    margin-left: 7px;
}
