﻿body {
}

tr.k-filter-row td span.k-filtercell input {
    border-bottom-width: 1px;
    padding-left: 0.875rem;
    padding-right: 0.5rem;
    border-color: var(--primary-table-border-color);
    border-width: 2px;
}

table tr.k-filter-row td span.k-filtercell input {
    width: 100%;
    background-color: transparent;
    font-size: 0.75rem;
}

    table tr.k-filter-row td span.k-filtercell input::-moz-placeholder {
        opacity: 0;
    }

/*    table tr.k-filter-row td span.k-filtercell input::placeholder {
        opacity: 0;
    }
*/
table tr.k-filter-row td:first-child {
    border-bottom-left-radius: 0.5rem;
}

table tr.k-filter-row td:last-child {
    border-bottom-right-radius: 0.5rem;
}

.k-grid-header {
    padding-right: 0 !important;
}

/* kendo style pagination */

.k-pager {
    margin-top: 1rem;
    display: flex;
    height: 2.5rem;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
}

.k-pager-first,
.k-pager-last {
    display: none !important;
    /* Hides the "First" and "Last" buttons */
}

/* Replace the Previous button icon */

.k-pager-nav .k-svg-i-caret-alt-left:before {
    content: "\e90b";
    /* Unicode for left arrow */
    font-family: 'pac-icons';
    font-size: 16px;
    /* Adjust icon size */
    color: #6F849B;
    /* Change color */
}

.k-pager-nav .k-svg-i-caret-alt-right svg, .k-pager-nav .k-svg-i-caret-alt-left svg {
    display: none !important;
}

.k-pager-nav {
    height: 1.5rem;
    width: 1.5rem;
}

    /* Replace the Next button icon */

    .k-pager-nav .k-svg-i-caret-alt-right:before {
        content: '\e90c';
        /* Unicode for right arrow */
        font-family: 'pac-icons';
        font-size: 16px;
        color: #6F849B;
    }

.k-pager-info {
    display: flex !important;
    font: normal 400 14px/20px Heebo, sans-serif;
    color: var(--text-second);
    justify-content: start !important;
}

/* Hide the default Kendo icons */

.k-icon.k-svg-i-sort-asc-small svg,
.k-icon.k-svg-i-sort-desc-small svg {
    display: none;
}

.k-icon.k-svg-i-sort-asc-small::before {
    content: "\e904" !important;
    font-family: 'pac-icons' !important;
    margin-left: 0.25rem;
    display: inline-block;
    height: 1rem;
    width: 1rem;
}

.k-icon.k-svg-i-sort-desc-small::before {
    content: "\e903" !important;
    font-family: 'pac-icons' !important;
    margin-left: 0.25rem;
    display: inline-block;
    height: 1rem;
    width: 1rem;
}

.k-header[aria-sort="none"] .k-link::after {
    content: "\e923" !important;
    font-family: 'pac-icons' !important;
    margin-left: 0.25rem;
    display: inline-block;
    height: 1rem;
    width: 1rem;
}


/*kendo grid inside loader css start here*/
.k-loading-mask,
.k-loading-image,
.k-loading-color {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
}

    .k-loading-mask *,
    .k-loading-mask *::before,
    .k-loading-mask *::after, .k-loading-mask::before, .k-loading-mask::after,
    .k-loading-image *,
    .k-loading-image *::before,
    .k-loading-image *::after,
    .k-loading-image::before,
    .k-loading-image::after,
    .k-loading-color *,
    .k-loading-color *::before,
    .k-loading-color *::after,
    .k-loading-color::before,
    .k-loading-color::after {
        box-sizing: border-box;
    }


/*.k-loading-mask,.k-loading-image {
        background: url(../images/circular-loader.gif) no-repeat center center;
    }*/

.k-loading-mask {
    z-index: 100;
}

    .k-loading-mask.k-opaque .k-loading-color {
        opacity: 1;
    }

.k-loading-text {
    text-indent: -4000px;
    text-align: center;
    position: absolute;
}

.k-loading-image {
    z-index: 2;
}

.k-loading-color {
    opacity: 0.3;
}
/*kendo grid inside loader css end here*/



.k-header[data-role="columnsorter"] .k-link {
    display: flex;
}

.text-right.k-header[data-role="columnsorter"] .k-link {
    justify-content: flex-end;
}

/* kendo style END here */

.matched-drugs-grid .identifiercell .dropdown .k-input-button .k-icon {
    display: none;
}

.matched-drugs-grid .identifiercell .dropdown .k-input-button {
    position: relative;
}

    .matched-drugs-grid .identifiercell .dropdown .k-input-button::before {
        content: "\e90a";
        font-family: 'pac-icons' !important;
        margin-left: 0.5rem;
        display: inline-block;
        width: 0.875rem;
        height: 0.875rem;
        font-size: 0.875rem;
        line-height: 1.25rem;
        color: var(--text-second);
    }

#popupGrid .k-grid-content {
    height: 445px;
    max-height: 445px;
    overflow-y: auto;
}

#popupGrid .k-pager {
    justify-content: flex-end;
}

/* Is used to hide kendo upload functionality*/
.k-upload-button,
.k-dropzone-hint,
.k-icon.k-svg-icon.k-svg-i-file-data.k-file-icon.k-icon-xxl,
.k-icon.k-svg-icon.k-svg-i-check,
.k-icon.k-svg-icon.k-svg-i-check,
.k-upload-status.k-upload-status-total,
k-file-state, .k-file-info, .k-file-state {
    display: none !important;
}

.k-grid-content.k-auto-scrollable {
    overflow: auto !important;
    overflow-x: hidden !important;
    padding-right: 0px !important;
}

.k-grid-content {
    max-height: 700px !important;
    min-height: 300px !important;
}

.k-scrollbar {
    position: absolute;
    overflow: scroll;
}

.k-scrollbar-vertical {
    top: 0;
    right: 0;
    width: 17px;
    height: 100%;
    overflow-x: hidden;
}



.k-grid .k-grid-container {
    overflow: hidden;
    position: relative;
}


.k-virtual-scrollable-wrap {
    height: 100%;
    overflow-y: hidden;
    position: relative;
}




.k-svg-icon {
    width: 16px;
    height: 16px;
    outline: 0;
    display: inline-flex;
}


.k-no-data, .k-nodata {
    max-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: lighter;
    text-align: center;
    white-space: normal;
}


.k-list {
    border-color: #dee2e6;
    color: #212529;
    background-color: #ffffff;
    max-height: 300px; /* or whatever height you prefer */
    overflow-y: auto; /* enables vertical scrolling when needed */
    overflow-x: hidden; /* prevents horizontal scrolling */
}

    /* Optional: Style the scrollbar */
    .k-list::-webkit-scrollbar {
        width: 8px;
    }

    .k-list::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    .k-list::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 4px;
    }

        .k-list::-webkit-scrollbar-thumb:hover {
            background: #555;
        }

.k-list-group-sticky-header {
    border-color: inherit;
}

.k-list-item:hover, .k-list-optionlabel:hover, .k-list-item.k-hover, .k-hover.k-list-optionlabel {
    color: #16181b;
    background-color: #e9ecef;
}

.k-list-item:focus, .k-list-optionlabel:focus, .k-list-item.k-focus, .k-focus.k-list-optionlabel {
    box-shadow: inset 0 0 0 3px rgba(33, 37, 41, 0.15);
}


.k-filtercell .k-filtercell-wrapper {
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    border-width: 1px;
    border-color: gray;
    border-radius: 2px;
    padding-right: 0.5rem;
}

.k-input,
.k-picker {
    width: 100%;
    box-sizing: border-box;
    outline: 0;
    font-weight: normal;
    text-align: start;
    display: inline-flex;
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-appearance: none;
}


.k-input-inner {
    padding-block: 0.375rem;
    padding-inline: 0.75rem;
    width: 100%;
    border: 0;
    outline: 0;
    color: inherit;
    background: none;
    font: inherit;
    flex: 1;
    position: relative;
    z-index: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-appearance: none;
}



.k-input-loading-icon {
    width: 1em;
    height: 1em;
    font-size: 16px;
}

.k-clear-value {
    outline: 0;
    flex: none;
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.5;
}


.k-dropdown-operator.k-picker-md .k-input-button {
    padding: 0rem;
}


.k-dropdown-operator {
    width: min-content;
    flex: none;
}

    .k-dropdown-operator .k-input-inner {
        display: none;
    }

.k-grid .k-grid-header .k-table,
.k-grid .k-grid-content .k-table,
{
    table-layout: fixed;
}

# Tailwind CSS Classes to Regular CSS Mapping

## Layout & Positioning

.m-0 {
    margin: 0px;
}

.p-0 {
    padding: 0px;
}

.box-border {
    box-sizing: border-box;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.top-0 {
    top: 0px;
}

.left-0 {
    left: 0px;
}

.right-0 {
    right: 0px;
}

.bottom-0 {
    bottom: 0px;
}

.-bottom-2 {
    bottom: -0.5rem;
}

.align-top {
    vertical-align: top;
}

```

## Width & Height

```css
.w-auto {
    width: auto;
}

.w-full {
    width: 100%;
}

.w-1\/2 {
    width: 50%;
}

.w-2\/5 {
    width: 40%;
}

.w-1\/50 {
    width: 2%;
}

.w-12 {
    width: 3rem;
}

.w-16 {
    width: 4rem;
}

.w-20 {
    width: 5rem;
}

.w-28 {
    width: 7rem;
}

.w-32 {
    width: 8rem;
}

.h-auto {
    height: auto;
}

.h-1 {
    height: 0.25rem;
}

.h-12 {
    height: 3rem;
}

.min-h-screen {
    min-height: 100vh;
}

```

## Spacing (Padding & Margin)

```css
.p-2 {
    padding: 0.5rem;
}

.p-3 {
    padding: 0.75rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.p-10 {
    padding: 2.5rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-10 {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-5 {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.pt-3 {
    padding-top: 0.75rem;
}

.pr-4 {
    padding-right: 1rem;
}

.pr-5 {
    padding-right: 1.25rem;
}

.mr-1 {
    margin-right: 0.25rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.mr-5 {
    margin-right: 1.25rem;
}

.mb-5 {
    margin-bottom: 1.25rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mt-10 {
    margin-top: 2.5rem;
}

.ml-auto {
    margin-left: auto;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

```

## Flexbox & Grid

```css
.flex {
    display: flex;
}

.flex-1 {
    flex: 1 1 0%;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

```

## Typography

```css
.font-sans {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-base {
    font-size: 1rem;
    line-height: 1.5rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.uppercase {
    text-transform: uppercase;
}

.tracking-wide {
    letter-spacing: 0.025em;
}

.leading-relaxed {
    line-height: 1.625;
}

.leading-7 {
    line-height: 1.75rem;
}

.no-underline {
    text-decoration-line: none;
}

```

## Colors

```css
.text-white {
    color: rgb(255 255 255);
}

.text-gray-50 {
    color: rgb(249 250 251);
}

.text-gray-200 {
    color: rgb(229 231 235);
}

.text-gray-300 {
    color: rgb(209 213 219);
}

.text-gray-800 {
    color: rgb(31 41 55);
}

.bg-white {
    background-color: rgb(255 255 255);
}

.bg-gray-50 {
    background-color: rgb(249 250 251);
}

.bg-gray-200 {
    background-color: rgb(229 231 235);
}

.bg-gray-300 {
    background-color: rgb(209 213 219);
}

.bg-transparent {
    background-color: transparent;
}

/* Custom colors defined in config */
.text-custom-blue {
    color: #3498db;
}

.text-custom-dark {
    color: #2c3e50;
}

.text-custom-gray {
    color: #6c757d;
}

.bg-custom-blue {
    background-color: #3498db;
}

.bg-custom-dark {
    background-color: #2c3e50;
}

.bg-custom-darker {
    background-color: #34495e;
}

```

## Backgrounds & Gradients

```css
.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.bg-gradient-to-b {
    background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
}

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-custom-purple {
    --tw-gradient-from: #667eea;
    --tw-gradient-to: rgb(102 126 234 / 0);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-custom-purple-dark {
    --tw-gradient-to: #764ba2;
}

.from-custom-dark {
    --tw-gradient-from: #2c3e50;
    --tw-gradient-to: rgb(44 62 80 / 0);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-custom-blue {
    --tw-gradient-to: #3498db;
}

```

## Borders

```css
.border {
    border-width: 1px;
}

.border-r {
    border-right-width: 1px;
}

.border-b-2 {
    border-bottom-width: 2px;
}

.border-b-4 {
    border-bottom-width: 4px;
}

.border-l-4 {
    border-left-width: 4px;
}

.border-custom-blue {
    border-color: #3498db;
}

.border-custom-darker {
    border-color: #34495e;
}

.border-custom-border {
    border-color: #7f8c8d;
}

.border-gray-200 {
    border-color: rgb(229 231 235);
}

.border-gray-300 {
    border-color: rgb(209 213 219);
}

.border-collapse {
    border-collapse: collapse;
}

```

## Border Radius

```css
.rounded-sm {
    border-radius: 0.125rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-t-lg {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

```

## Shadows

```css
.shadow-sm {
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.shadow-md {
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

.shadow-none {
    box-shadow: 0 0 #0000;
}

```

## Display & Overflow

```css
.hidden {
    display: none;
}

.overflow-hidden {
    overflow: hidden;
}

.overflow-visible {
    overflow: visible;
}

.overflow-y-visible {
    overflow-y: visible;
}

```

## Table Specific

```css
.border-collapse {
    border-collapse: collapse;
}

.even\:bg-gray-50:nth-child(even) {
    background-color: rgb(249 250 251);
}

.odd\:bg-white:nth-child(odd) {
    background-color: rgb(255 255 255);
}

```

## Hover & State Effects

```css
.hover\:bg-gray-50:hover {
    background-color: rgb(249 250 251);
}

.hover\:text-custom-blue:hover {
    color: #3498db;
}

.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.duration-300 {
    transition-duration: 300ms;
}

```

## Maximum Width

```css
.max-w-6xl {
    max-width: 72rem;
}

```

## Gap

```css
.gap-5 {
    gap: 1.25rem;
}

```

This comprehensive mapping shows exactly how each Tailwind class translates to regular CSS properties. The beauty of Tailwind is that it provides a consistent, predictable naming convention that maps directly to CSS properties with standardized spacing and sizing scales.
