#dyna_form_div .ui-datepicker-trigger {
    position: relative;
    right: 6px;
    top: -25px;
    float: right;
}

.ui-autocomplete {
    position: relative;
    cursor: default;
    z-index: 9999 !important;
    width: 35%;
}

.ui-autocomplete-loading {
    background: url('/images/loader.gif') no-repeat right center
}

.card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.tab {
    overflow: hidden;
    background-color: #fff;
    width: 60%;
    margin: auto;
    text-align: center;
}

.tab button {
    background-color: inherit;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 0px;
    width: 30%;
}

.tab button:hover {
    background-color: #edf3fc;
}

.tab button.active {
    border-bottom: 2px solid #414e9b;
    color: #414e9b;
}

.tabcontent {
    display: none;
    padding: 6px 12px;
    min-height: 600px;
    animation: tabContentFadeEffect 1s;
}

#tab_content_container {
    background-color: #fff;
}

@keyframes tabContentFadeEffect {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.tt-card-table--scroller {
    max-height: calc(100vh - 228px);
    overflow-y: auto;
}

.report-detail--card {
    display: flex;
    flex-direction: column;
    width: 50%;
    margin: 8px;
}

.report-detail {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin-right: 32px;
}

#dyn_select_div .ms-drop.bottom {
    z-index: 9999;
}

div#ui-datepicker-div {
    z-index: 9999 !important;
}

.zindex-cls {
    z-index: 1000 !important;
    background-color: #fff !important;
    position: sticky !important;
}

.sweet-alert input {
    margin-top: 0px !important;
}

.grecaptcha-badge {
    visibility: hidden;
}

.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane>svg path.leaflet-interactive {
    color: #000000 !important;
}

.skip-to-main-content-link {
    position: absolute;
    top: -9999px;
    z-index: 999;
    padding: 0;
    background-color: black;
    color: white;
    opacity: 0;
}

.skip-to-main-content-link:focus {
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    background-color: black;
    color: white;
}

.dm-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.55);
        display: none; /* toggled via JS */
        align-items: center;
        justify-content: center;
        z-index: 9999;
    }

    /* Fixed-size modal */
    .dm-modal {
        width: 450px;          /* Fixed width */
        height: 420px;         /* Fixed height */
        background: #ffffff;
        border-radius: 14px;
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
        display: flex;
        flex-direction: column;
        overflow: hidden;
        animation: dmFadeIn 0.3s ease-in-out;
    }

    /* Progress bar */
    .dm-progress {
        height: 6px;
        background: #e5e7eb;
    }

    .dm-progress-bar {
        height: 100%;
        width: 0%;
        background: #3f51b5;
        transition: width 0.3s ease;
    }

    /* Header */
    .dm-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px 20px 10px;
        border-bottom: 1px solid #e5e7eb;
    }

    .dm-title-wrapper {
        text-align: center;
        flex: 1;
    }

    .dm-title-wrapper h2 {
        margin: 0;
        font-size: 20px;
        font-weight: 600;
        color: #111827;
    }

    .dm-counter {
        font-size: 13px;
        color: #6b7280;
        margin-top: 3px;
    }

    /* Navigation arrows */
    .dm-arrow {
        background: none;
        border: none;
        font-size: 26px;
        cursor: pointer;
        color: #374151;
        width: 40px;
    }

    .dm-arrow:disabled {
        opacity: 0.3;
        cursor: not-allowed;
    }

    /* Scrollable content area */
    .dm-body {
        flex: 1;
        padding: 18px 20px;
        overflow-y: auto;
        font-size: 14.5px;
        color: #374151;
        line-height: 1.6;
    }

    /* Footer with fixed position inside modal */
    .dm-footer {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        padding: 15px 20px 20px;
        border-top: 1px solid #e5e7eb;
    }

    /* Buttons */
    .dm-btn {
        flex: 1;
        padding: 11px;
        border-radius: 8px;
        border: none;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .dm-btn-cancel {
        background: #ef4444;
        color: #fff;
    }

    .dm-btn-cancel:hover {
        background: #dc2626;
    }

    .dm-btn-primary {
        background: #3f51b5;
        color: #fff;
    }

    .dm-btn-primary:hover {
        background: #3f51b5;
    }

    /* Optional animation */
    @keyframes dmFadeIn {
        from {
            opacity: 0;
            transform: scale(0.95);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    /* Responsive fallback for smaller screens */
    @media (max-width: 500px) {
        .dm-modal {
            width: 90%;
            height: 90vh;
        }
    }