@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");
@import url('app.css');

body {
    font-family: Poppins !important;
}

:root {
    --rz-primary: #866ec7;
    --rz-primary-light: #917ccd;
    --rz-primary-lighter: #d9d3f0;
    --rz-primary-dark: #745fad;
    --rz-primary-darker: #625093;
    --primary-darkest: #4d0094;
    --rz-on-primary: var(--rz-base-300);
}

.rz-on-primary {
    color: var(--rz-on-primary);
}

.background-color-primary-darkest {
    background-color: var(--primary-darkest);
}

:root {
    --rz-scrollbar-background-color: var(--rz-grid-header-background-color);
    --rz-text-font-family: Poppins !important;
    --rz-text-font-size: 20px;
    --rz-icon-size: 1.7rem;
    --bs-body-bg: var(--rz-body-background-color);
    --rz-layout-body-padding: 0.5rem;
    --color-blue1: #002159;
    --color-blue2: #000d24;
    --rz-small-icon-size: small;
    --rz-xlarge-icon-size: 48px;
    --rz-large-icon-size: 32px;
    --rz-dialog-title-background-color: var(--rz-primary-light);
    --rz-dialog-title-padding: 1rem;
    --rz-dialog-title-color: var(--rz-white);
    --rz-datalist-item-padding: 0;
    --rz-button-disabled-opacity: 0.5;
    --rz-link-color: var(--rz-primary);
    --rz-link-hover-color: var(--rz-primary-dark);
    --rz-sidebar-width: 14rem;
    --rz-border-radius: 0.5rem;
    --rz-grid-header-background-color: var(--rz-base-200);
    --rz-text-title-color: var(--rz-base-600);
    --rz-grid-filter-color: var(--rz-base-400);
    --rz-grid-sort-icon-color: var(--rz-base-400);
    --rz-grid-header-cell-padding: 0.6rem 0;
    --rz-on-primary-lighter: var(--rz-base-300);
    --rz-profile-menu-padding: 0.2rem;
    --rz-secondary: #F7F7F7;
    --rz-secondary-light: #ed4b82;
    --rz-secondary-lighter: rgba(233, 30, 99, 0.12);
    --rz-secondary-dark: #ba184f;
    --rz-secondary-darker: #9e1443;
    --rz-on-secondary: var(--rz-primary);
    --rz-input-padding: 0.3rem;
    --rz-form-field-label-color: var(--bs-body-color);
    --rz-selectbar-selected-background-color: var(--rz-primary-dark);
    --bs-body-font-size: 0.85rem;
    --rz-body-font-size: var(--bs-body-font-size);
    --rz-tabs-tab-font-size: inherit;
    --rz-tabs-tab-text-transform: inherit;
    --rz-panel-menu-font-size: inherit;
    --rz-paginator-summary-font-size: inherit;
    --rz-grid-cell-font-size: inherit;
    --rz-panel-menu-item-color: #245C6D;
    --rz-paginator-numeric-button-selected-background-color: var(--bs-body-color);
    --bs-body-font-family: az_ea_font,"Segoe UI",az_font,system-ui,-apple-system,BlinkMacSystemFont,Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif;
    --rz-paginator-numeric-button-selected-background-color: var(--rz-primary);
    --rz-pager-numeric-button-selected-color: #232121;
    --rz-text-color: var(--bs-body-color);
    --rz-dialog-close-color: var(--rz-dialog-title-color);
    --rz-switch-checked-background-color: var(--rz-primary);
    --rz-dropdown-item-selected-color: inherit;
    --rz-menu-top-item-hover-background-color: var(--rz-primary-light);
    --rz-paginator-numeric-button-padding: 0.2rem;
    --rz-paginator-numeric-button-selected-padding: var(--rz-paginator-numeric-button-padding);
    --rz-dropdown-item-selected-hover-background-color: var(--rz-primary-light);
    --bs-secondary-color: inherit;
    --rz-panel-menu-item-2nd-level-offset: 3.5rem;
    --rz-panel-menu-item-3rd-level-offset: 4rem;
    --rz-panel-menu-item-2nd-level-active-color: inherit;
}

.rz-dialog-titlebar .rz-dialog-titlebar-icon {
    display: flex !important;
    align-items: center !important;
    margin-bottom:10px;
}
:root {
    --rz-transition: 0.3s linear;
    --rz-transition-all: all 0.3s linear;
    --bs-body-color: var(--rz-base-700);
    --custom-menu-active-color: var(--rz-primary);
}

    .rz-layout {
    height: inherit;
}

.main-header h1, .main-header h2 {
    font-size: 20px !important;
    font-family: Poppins !important;
    line-height: 20px;
}

.fw-bold {
    font-weight: 600 !important;
}

.rz-colorpicker, .rz-lookup-search input, .rz-numeric, .rz-datepicker > .rz-inputtext, .rz-multiselect, .rz-dropdown, .mask, .rz-textarea, .rz-textbox{
    font-size: 14px !important;
    font-family: Poppins !important;
}

.search-input-group .form-control {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-right: none !important;
}

.search-input-group .search-button {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-left: none;
    background-color: white;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border: 1px solid #bdbdbd;
    border-left: none;
}

.profile-image {
    height: 2rem;
    border-radius: 50%;
}

.checkboxColumnWidth {
    width: 50px !important;
}

.editColumnWidth {
    width: 70px !important;
}

.statusColumnWidth {
    width: 140px !important;
}

.primaryColumnWidth {
    width: 110px !important;
}

.rz-tooltip-content {
    white-space: inherit !important;
}

i.rzi {
    cursor: pointer;
}

    i.rzi:hover {
        opacity: 0.6;
    }


.e-dashboardlayout.e-control .e-panel.e-panel-transition {
    border-radius: 0.7rem;
    padding-top: 0.5rem;
    padding-right: 0.5rem;
}

.e-dashboardlayout.e-control .e-panel .e-panel-container .e-panel-header {
    background: inherit !important;
}

.e-dashboardlayout.e-control .e-panel:active {
    background: transparent !important;
}

.rz-data-grid {
    border-radius: 0.5rem;
}

.rz-body {
    display: flex;
    flex-direction: column;
    overflow: visible !important;
}

.rz-sidebar-toggle {
    position: relative;
    left: inherit;
    background: var(--rz-primary-darker);
    border-radius: 2rem;
    transition: all .3s;
    margin-left: 0.2rem;
}

    .rz-sidebar-toggle.active {
        left: -1.5rem;
    }

.rz-state-active {
    background-color: var(--rz-primary) !important;
    color: white !important;
}

.user-profile {
    white-space: nowrap;
    border-radius: 30px;
    background-color: none !important;
    color: #333 !important;
    border: 1px solid #EBF2F7;
    font-size: 10px;
    padding: 3px;
    font-weight: 400;
    margin-left: 6px;
    margin-right: 0;
    display: inline-table;
}

.user-profile-text {
    padding-left: 8px;
    padding-right: 8px;
    display: table-cell;
    justify-content: center;
    align-items: center;
    vertical-align: top;
}

.cursor-pointer {
    cursor: pointer;
}

.avatar-img-wd {
    height: 34px;
    width: 34px;
    border-radius: 50%;
}

.fa-bell {
    font-size: 26px;
    cursor: pointer;
}

.fa-gear {
    font-size: 26px;
}

.badge1[data-badge="0"] {
    display: none;
}

.badge1 {
    content: attr(data-badge);
    position: relative;
    right: 30%;
    font-size: 40%;
    padding: .4em;
    border-radius: 8px;
    line-height: .75em;
    background: var(--rz-danger-darker);
    text-align: center;
    min-width: 2em;
    font-weight: bold;
}

a {
    color: var(--rz-link-color);
    text-decoration: none;
    cursor: pointer;
}

    a:hover {
        text-decoration: underline;
    }

.rz-state-highlight .link {
    color: var(--rz-info) !important ;
}
.rz-selectable tbody tr.rz-data-row.rz-state-highlight .rz-cell-data {
    color: #616161;
}

.rz-panel-menu .rz-navigation-item-link {
    background: none;
}

.rz-panel-menu .rz-navigation-item-active:before, .rz-panel-menu .rz-navigation-item-wrapper-active :before {
    position: absolute;
    content: '';
    top: 0;
    bottom: 0;
    width: 0.3rem;
    left: 0;
    background-color: var(--custom-menu-active-color);
    border-radius: 5rem;
}

.rz-panel-menu .rz-navigation-item-text {
    color: var(--rz-panel-menu-item-color);
}

.action-buttons-container {
    display: flex;
    gap: 2rem;
}

.rz-button.rz-primary.rz-shade-dark {
    background-color: #237387;
}
    .validation-message {
    color: var(--rz-danger);
    font-size: 12px;
    white-space: pre-wrap;
}

.width-96-per {
    width: 96%;
}

i.fa.fa-times-circle {
    font-size: 2rem;
}

i:hover {
    opacity: 0.7;
}

    .skeleton-loader {
    height: 1rem;
    background: #dadada;
    background-image: linear-gradient(to right,#dadada 0%,#edeef1 20%,#dadada 40%,#dadada 100% );
    background-size: 100%;
    background-repeat: no-repeat;
    animation: skeleton-loading-anim 1s linear infinite;
    z-index: 100;
}


@keyframes skeleton-loading-anim {

    0% {
        background-position: -468px 0;
    }

    100% {
        background-position: 468px 0;
    }
}


.optional-class {
    color: var(--rz-base-500);
}

textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
textarea:-webkit-autofill:active,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus,
select:-webkit-autofill:active,
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-background-clip: text;
    -webkit-text-fill-color: var(--rz-text-color);
    transition: background-color 5000s ease-in-out 0s;
}

::-ms-input-placeholder { /* Edge 12-18 */
    color: inherit !important;
}

::placeholder {
    color: inherit !important;
}

.rz-tabview.rz-tabview-top > .rz-tabview-nav .rz-tabview-selected:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 45%;
    border-bottom: 0.5rem solid var(--rz-primary);
    border-left: 0.5rem solid transparent;
    border-right: 0.5rem solid transparent;
}

i.fa.fa-times-circle {
    color: var(--rz-primary);
}

/* material-icons */
@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/materialicons/v130/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 34px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

/* material-icons */

.rz-paginator-element, .rz-button-lg {
    min-height: 2rem;
    min-width: 2rem;
    font-size: 14px !important;
    font-family: Poppins !important;
}

.table-row-select tbody tr:hover {
    opacity: 0.75;
}

.rounded-img-30px {
    border-radius: 15px;
    height: 30px;
}

.blazored-toast {
    color: inherit !important;
    background-color: var(--rz-base-background-color) !important;
}

.rz-g {
    display: inline-flex;
    flex-wrap: wrap;
}

.svgPath {
    stroke: var(--rz-link-color);
}

.e-pv-properties-name-edit-input {
    pointer-events: none;
    opacity: 0.5;
}

.gradientButton {
    background: linear-gradient(90deg, #00AAD4, #C1026E) !important;
    color: white; /* Text color */
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.red-star{
    color: red !important;
}

.tooltip-icon {
    font-size: 15px;
    cursor: pointer;
    white-space: normal; /* Allow line breaks within text */
    word-wrap: break-word; /* Break long words that exceed the container */
    text-align: justify; /* Distribute text evenly between the margins */
}

/*
    Dashboard
*/
.custom-popup {
    padding: 20px;
    border-radius: 12px;
    width: 200px;
}

.action-list {
    display: flex;
    background-color: ghostwhite;
    box-shadow: 0px,0px,5px,5px;
    padding: 20px;
    border-radius: 12px;
    width: 420px;
    margin-left: -290px;
    margin-top:-20px;
    flex-direction: column;
    gap: 2px;
}

.action-item {
    display: flex;
    cursor: pointer;
    align-items: flex-start;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

    .action-item:hover {
        background-color: #f0f4ff;
    }

.action-icon {
    width: 32px;
    height: 32px;
    margin-right: 12px;
}

.action-text {
    flex: 1;
}

.action-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 4px;
}

.action-description {
    font-size: 13px;
    color: #666;
}
/*Document Policy details Page*/
.overview-fieldset .summary-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem 2rem;
    padding: 0.5rem 0;
}

.custom-dropdown-fixed-width {
    width: 186px; /* or any fixed width you need */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-input {
    background-color: white !important;
    padding: 0.375rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 7px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

    .custom-input:focus-within {
        border-color: #0d6efd; /* Bootstrap primary blue */
        box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    }
