.dynamic-toolbar {
    background: #fff;
    border: 1px solid #e9edf5;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, .06);
}

.dynamic-toolbar-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.toolbar-title {
    display: flex;
    flex-direction: column;
}

.toolbar-title h5 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}

.toolbar-title span {
    color: #6b7280;
    font-size: 13px;
    margin-top: 3px;
}

.toolbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toolbar-actions .rz-button {
    height: 42px;
    border-radius: 10px;
}

.search-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.search-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 420px;
}

.search-box i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    z-index: 2;
    font-size: 17px;
}

.search-box .rz-textbox {
    width: 100%;
    height: 44px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding-left: 42px !important;
    background: #fafafa;
}

.search-box .rz-textbox:focus {
    background: white;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .08);
}

.search-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.search-buttons .rz-button {
    height: 44px;
    border-radius: 10px;
}

.filter-container {
    margin-top: 18px;
    border: 1px solid #edf1f7;
    border-radius: 14px;
    background: #fbfcfe;
    overflow: hidden;
    animation: fadeIn .25s ease;
}

.filter-header {
    padding: 14px 18px;
    border-bottom: 1px solid #edf1f7;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
}

.filter-body {
    padding: 20px;
}

.filterr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.filter-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.dynamic-menu {
    position: absolute;
    right: 0;
    top: 48px;
    width: 220px;
    background: white;
    border-radius: 14px;
    border: 1px solid #edf1f7;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .12);
    overflow: hidden;
    z-index: 999;
}

.dynamic-menu button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    border: none;
    background: transparent;
    padding: 13px 18px;
    transition: .2s;
    color: #374151;
}

.dynamic-menu button:hover {
    background: #f3f6fb;
    color: #2563eb;
}

@media(max-width:768px) {

    .dynamic-toolbar-top,
    .search-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .toolbar-actions,
    .search-buttons {
        width: 100%;
    }

    .toolbar-actions .rz-button,
    .search-buttons .rz-button {
        flex: 1;
    }

    .search-box {
        max-width: 100%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}


/* Modal Css */

.dynamic-form-card {
    background: #ffffff;
    border: 1px solid #e9edf5;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, .06);
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eef2f7;
}

.form-title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.form-subtitle {
    font-size: 13px;
    color: #6b7280;
    margin-top: 4px;
}

.form-grid {
    row-gap: 6px;
}

.form-field-wrapper {
    background: #ffffff;
}

.rz-form-field {
    width: 100%;
}

.rz-form-field-label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #374151 !important;
}

.rz-textbox,
.rz-textarea,
.rz-dropdown,
.rz-numeric,
.rz-datepicker {
    width: 100% !important;
    min-height: 42px;
    border-radius: 10px !important;
}

.rz-inputtext,
.rz-dropdown-label,
.rz-textarea textarea {
    font-size: 14px;
}

.rz-inputtext:focus,
.rz-textarea:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .08) !important;
}

.checkbox-btn {
    width: 100%;
    height: 42px;
    border-radius: 10px !important;
    background: white !important;
    border: 1px solid #d1d5db !important;
    color: #374151 !important;
    font-size: 14px !important;
    font-weight: 500;
}

.checkbox-btn:hover {
    background: #f8fafc !important;
}

.rz-dropdown {
    width: var(--rz-paginator-dropdown-width) !important;
}

.rz-chkbox-box .rzi {
    color: rgb(255 255 255) !important;
    background-color: #0D6EFD !important;
    border-radius: 5px !important;
}

.rz-chkbox-box {
    border-radius: 5px !important;
    border-color: #00000070 !important;
}