﻿:root {
    --light-green-color: #E2FFF4;
    --green-color: #287F74;
    --green-background-color: #3CBEAE17;
    --green-high-transparent-color: #287F7433;
    --green-low-transparent-color: #287F74CC;
    --white-color: #FFFFFF;
    --black-color: #000000;
    --gray-color: #CFCFCF;
    --dark-gray-color: #424449;
    --info-gray-color: #CFCFCF;
    --disabled-green-color: #5fdead;
    --red-color: #D92D20;
    --red-disabled-color: #D92D2052;
    --font-for-txt: Nunito Sans;
    --border-gray-color: #5E77912E;
    --gray-high-transparent-color: #5E77911E;
    --light-gray-color: #78868F2E;
    --muted-gray-color: #4E6379;
    --rusty-red: #D92D2017;
    --screen-background-gray: #F2F4F9;
    --status-green-color: #4E6F4A;
    --status-green-extrem-light-color: #9CDD9317;
    --status-red-color: #B42318;
    --status-dark-yellow-color: #6D5310;
    --text-black: #1F2830;
    --delete-icon-red: #B42318;
    --text-black: #13181D;
    --placeholder-gray-color: #DADADA;
    --disabled-grey: #BBC2C7;
    --interactive-text-gray-normal: #181B1D;
    --interactive-background-gray-default: #E7E9EB;
    --ligher-black: #647077; 
}

/* Buttons */
.color-filled-green-btn,
.only-border-color-btn,
.color-filled-gray-btn,
.color-filled-green-disable-btn {
    padding-left: 28px;
    padding-right: 28px;
    padding-top: 1px;
    padding-bottom: 1px;
    font-weight: 500;
    border-radius: 6px;
    box-shadow: none;
    transition: none;
    border: none;
    border-style: solid
}

.color-filled-green-btn,
.color-filled-green-btn:has(:hover) {
    height: 45px;
    background-color: var(--green-color);
    color: var(--white-color)
}

.only-border-color-btn {
    background-color: var(--white-color);
    border-color: var(--green-color);
    color: var(--green-color)
}

.color-filled-gray-btn {
    background-color: var(--gray-color);
    border-color: var(--gray-color);
    color: var(--black-color)
}

.color-filled-green-disable-btn {
    background-color: var(--light-green-color);
    border-color: var(--light-green-color);
    color: var(--disabled-green-color)
}

/* Text & labels */

.appbar-title-txt {
    color: var(--white-color);
    font-family: var(--font-for-txt);
    font-size: 32px;
    font-weight: 900
}

.section-title-txt {
    color: var(--black-color);
    font-family: var(--font-for-txt);
    font-size: 18px;
    font-weight: 700
}

.field-title-txt {
    color: var(--black-color);
    font-family: var(--font-for-txt);
    font-size: 16px;
    font-weight: 600
}

.field-label-txt {
    color: var(--black-color);
    font-family: var(--font-for-txt);
    font-size: 16px
}

.info-gray-small-txt {
    color: var(--info-gray-color);
    font-family: var(--font-for-txt);
    font-size: 12px
}

.menu-item-txt,
.button-layout-name-desc-txt {
    font-weight: 400;
    font-family: var(--font-for-txt);
    font-size: 16px
}

/* Input fields */
.user-input-txt {
    font-family: var(--font-for-txt);
    font-weight: normal;
    font-size: 16px;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-right: 10px;
    padding-left: 10px;
    border-radius: 5px;
    border-width: 0.5px
}

.user-input-search-txt {
    font-family: var(--font-for-txt);
    font-weight: normal;
    font-size: 14px;
    padding-top: 6px;
    padding-bottom: 6px;
    padding-right: 8px;
    padding-left: 12px;
    border-radius: 5px;
    border-width: 0.5px;
    background-color: var(--white-color);
    color: var(--gray-color);
    border-color: var(--white-color);
    width: 350px
}
    .user-input-search-txt .mud-input-adornment {
        margin-left: 6px
    }

/* Check boxes */
.custom-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;   
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    margin: 0;
    border: 2px solid var(--black-color);
    border-radius: 4px;
    position: relative;
    cursor: pointer
}

    /* Styling the checked state */
    .custom-checkbox input[type="checkbox"]:checked {
        background-color: var(--red-color);
        border-color: var(--black-color)
    }

        /* Adding a checkmark when checked */
        .custom-checkbox input[type="checkbox"]:checked::after {
            content: '✔';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: var(--white-color);
            font-size: 14px
        }

/* Check box style */
.check-box-style input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 50px;
    height: 50px;
    margin: 0;
    border: 1px solid var(--black-color);
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    outline: none;
    background-color: transparent;
    transition: background-color 0.2s, border-color 0.2s
}

    /* Styling the checked state */
    .check-box-style input[type="checkbox"]:checked {
        background-color: var(--green-color);
        border-color: var(--green-color)
    }

        /* Adding a checkmark when checked */
        .check-box-style input[type="checkbox"]:checked::after {
            content: '✔';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: var(--white-color);
            font-size: 14px
        }

/* Menu */
/*.common-menu-items:hover {
    background-color: var(--info-gray-color);
    margin: 8px;
    color: var(--black-color);
    border-radius: 5px
}*/

/* Appbar */
.app-bar-style {
    background-color: var(--dark-gray-color)
}

/* Card style */
.card-style {
    padding: 20px /* Padding inside the card */
}

.blur-dialog-overlay {
    backdrop-filter: blur(5px);
}

.nutral-button {
    height: 36px;
    box-shadow: none;
    font-weight: bold;
    border-radius: 4px;
    border-style: solid;
    text-transform: capitalize;
}

.secondary-button {
    height: 36px;
    box-shadow: none;
    font-weight: bold;
    border-radius: 4px;
    border-style: solid;
    text-transform: capitalize;
}

.center-vertical {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    align-self: center;
}

.center-horizontal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    justify-items: center;
    justify-self: center;
}

.end-horizontal {
    display: flex;
    flex-wrap: wrap;
    justify-content: right;
    justify-items: right;
    justify-self: right;
}

/* Fonts and weight */
.font-24-weight-600 {
    font-size: 24px !important;
    font-weight: 600 !important;
}

.font-20-weight-700 {
    font-size: 20px !important;
    font-weight: 600 !important;
}

.font-18-weight-700 {
    font-size: 18px !important;
    font-weight: 700 !important;
}

.font-18-weight-600 {
    font-size: 18px !important;
    font-weight: 600 !important;
}

.font-14-weight-400 {
    font-size: 14px !important;
    font-weight: 400 !important;
}

.font-14-weight-600 {
    font-size: 14px !important;
    font-weight: 600 !important;
}

.font-14-weight-700 {
    font-size: 14px !important;
    font-weight: 700 !important;
}

.font-16-weight-400 {
    font-size: 16px !important;
    font-weight: 400 !important;
}

.font-16-weight-700 {
    font-size: 16px !important;
    font-weight: 700 !important;
}

.font-12-weight-700 {
    font-size: 12px !important;
    font-weight: 700 !important;
}

.font-12-weight-600 {
    font-size: 12px !important;
    font-weight: 600 !important;
}

.font-12-weight-400 {
    font-size: 12px !important;
    font-weight: 400 !important;
}

.font-11-weight-400-italic {
    font-size: 11px !important;
    font-weight: 400 !important;
    font-style: italic !important;
}

.font-12-weight-400-italic {
    font-size: 12px !important;
    font-weight: 400 !important;
    font-style: italic !important;
}

/* Below are the styles of button */
.positive-green-enabled-button {
    background-color: var(--green-color) !important;
    border-radius: 4px !important;
    text-transform: none !important;
    font-size: 14px !important;
    height: 38px;
    font-weight: 700 !important;
    color: var(--white-color) !important;
    gap: 0px;
    opacity: 1 !important;
    --mud-palette-action-default-hover: var(--green-color) !important;
}
    .mud-button-root.positive-green-enabled-button:disabled {
        background-color: var(--green-high-transparent-color) !important;
        border-radius: 4px !important;
        text-transform: none !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        color: var(--green-low-transparent-color) !important;
        height: 38px;
        gap: 0px;
        opacity: 0.6;
        --mud-palette-action-default-hover: var(--green-color) !important;
    }

.positive-green-disabled-button {
    background-color: var(--green-high-transparent-color) !important;
    border-radius: 4px !important;
    text-transform: none !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--green-low-transparent-color) !important;
    height: 38px;
    gap: 0px;
    --mud-palette-action-default-hover: var(--green-color) !important;
}

.neutral-green-border-enabled-button {
    text-transform: none !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    border-style: solid !important;
    height: 38px;
    background-color: var(--white-color) !important;
    border-width: 2px !important;
    border-color: var(--green-color) !important;
    color: var(--green-color) !important;
    opacity: 1;
    --mud-palette-action-default-hover: var(--white-color) !important;
}
.mud-button-root.neutral-green-border-enabled-button:disabled {
    text-transform: none !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    border-style: solid !important;
    height: 38px;
    background-color: var(--white-color) !important;
    border-width: 2px !important;
    border-color: var(--green-color) !important;
    color: var(--green-color) !important;
    opacity: 0.5;
    cursor: not-allowed !important;
    pointer-events: auto !important;
    /*   --mud-palette-action-default-hover: var(--white-color) !important;*/
}

.neutral-green-border-disabled-button {
    text-transform: none !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    border-style: solid !important;
    height: 38px;
    background-color: var(--white-color) !important;
    border-width: 2px !important;
    border-color: var(--green-color) !important;
    color: var(--green-color) !important;
    opacity: 0.5;
    --mud-palette-action-default-hover: var(--white-color) !important;
}

.negative-gray-enabled-button {
    background-color: var(--interactive-background-gray-default) !important;
    border-radius: 4px !important;
    text-transform: none !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--interactive-text-gray-normal) !important;
    height: 38px;
    gap: 0px !important;
    opacity: 1;
    --mud-palette-action-default-hover: var(--light-gray-color) !important;
}

.negative-gray-disabled-button {
    background-color: var(--light-gray-color) !important;
    border-radius: 4px !important;
    text-transform: none !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--dark-gray-color) !important;
    height: 38px;
    gap: 0px;
    opacity: 0.3;
    --mud-palette-action-default-hover: var(--light-gray-color) !important;
}

.error-red-enabled-button {
    text-transform: none !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    border-radius: 4px !important;
    box-shadow: none;
    border-style: solid !important;
    background-color: var(--rusty-red) !important;
    border-color: var(--red-color) !important;
    color: var(--red-color) !important;
    border-width: 2px !important;
    height: 38px;
    opacity: 1 !important;
}

.error-red-disabled-button {
    text-transform: none !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    border-radius: 4px !important;
    box-shadow: none;
    border-style: solid !important;
    background-color: var(--rusty-red) !important;
    border-color: var(--red-disabled-color) !important;
    color: var(--red-disabled-color) !important;
    border-width: 2px !important;
    height: 38px;
}

.error-red-filled-dark-button {
    background-color: var(--red-color) !important;
    border-radius: 4px !important;
    text-transform: none !important;
    font-size: 14px !important;
    height: 38px;
    font-weight: 700 !important;
    color: var(--white-color) !important;
    gap: 0px;
    opacity: 1 !important;
    --mud-palette-action-default-hover: var(--red-color) !important;
}

.plain-text-button-style {
    border-radius: 6px !important;
    text-transform: none !important;
    font-size: 14px !important;
    text-transform: none !important;
    font-weight: 700 !important;
    color: var(--green-color) !important;
    width: auto;
    height: 38px;
    gap: 0px;
    --mud-palette-action-default-hover: var(--white-color) !important;
}

/* Divider style */
.div-divider-style {
    background-color: var(--border-gray-color);
    height: 2px;
}

.div-divider-style-1px {
    background-color: var(--border-gray-color);
    height: 1px;
    width: 100%;
}

/* box border style */
.box-border-style {
    border-color: var(--border-gray-color);
    border-width: 1px;
}

/*screen background gray and white card style*/
.screen-background-style {
    width: 100vw;
    padding: 16px;
    background-color: var(--screen-background-gray);
    height: calc((100vh) - (var(--mud-appbar-height)) - (var(--mud-appbar-height) / 4) + (30px)) !important;
}

.screen-white-card-style {
    height: 100%;
    padding: 16px;
    overflow-y: auto;
    border-width: 1px;
    border-radius: 4px;
    background-color: var(--white-color);
    border-color: var(--border-gray-color);
}

/* Chip selection and unselect style */
.normal-chip {
    border-width: 1px;
    border-color: var(--light-gray-color);
}

.selected-chip {
    border-width: 1px;
    color: var(--green-color);
    border-color: var(--green-color);
    background-color: var(--green-background-color);
}

/* Status text chip for success, error, pending etc */
.success-text-green-color {
    background-color: var(--status-green-color);
    color: var(--white-color);
    border-radius: 32px;
    padding: 4px 12px; 
}

.pending-text-yellow-color {
    background-color: var(--status-dark-yellow-color);
    color: var(--white-color);
    border-radius: 32px;
    padding: 4px 12px;
}

.error-text-red-color {
    background-color: var(--status-red-color);
    color: var(--white-color);
    border-radius: 32px;
    padding: 4px 12px;
}

.black-text-gray-color {
    background-color: var(--gray-high-transparent-color);
    color: var(--text-color);
    border-radius: 32px;
    padding: 4px 12px;
}

.light-green-back-dark-text-chip {
    background-color: var(--status-green-extrem-light-color);
    color: var(--status-green-color);
    border-radius: 32px;
    padding: 4px 12px;
}

.light-red-back-dark-text-chip {
    background-color: var(--rusty-red);
    color: var(--status-red-color);
    border-radius: 32px;
    padding: 4px 12px;
}

/* style tp show the color square box */
.color-hint-for-dropdown-style {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border-color: #929292;
    border-width: 2px;
}

.settings-icon {
    top: 6px;
    right: 6px;
    width: 36px;
    height: 36px;
    z-index: 10; /* Ensure it appears above the image */
    position: absolute;
    border-radius: 4px; /* Make the button rounded rectangle */
    color: var(--white-color);
    background-color: rgba(255, 255, 255, 0.24) !important; /* Add a semi-transparent background */
}
#add-widget-btn-style {
    font-size: 12px;
    justify-self: center;
    align-self: center;
    text-transform: none;
    background-color: var(--green-color);
    color: var(--white-color);
    font-weight: 600;
    box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.1);
    padding: 4px;
    z-index: 4;
}
#scanner_button_style {
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    color: #FFFFFF;
    text-transform: none;
    box-shadow: none;
}
.negative-gray-enabled-button-with-delete {
    background-color: var(--light-gray-color) !important;
    border-radius: 6px !important;
    text-transform: none !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    height: 38px;
    color: var(--delete-icon-red) !important;
    gap: 0px !important;
    opacity: 1;
    --mud-palette-action-default-hover: var(--light-gray-color) !important;
}

/* Required field mark "Red Asterisk mark" include this on mudtext label to mark as mandatory field. */

.required:after {
    content: "*";
    color: red;
    margin-left: 4px;
}

/* CSS style for no item present on the screen. this shows the text style. */
.no-list-item-placeholder-text {
    font-size: 24px !important;
    font-weight: 700 !important;
    text-align: center;
    color: #DADADA;
    width: 500px;
}
/* Bootstrap utility classes for flex/grid alignment and justification */
.justify-content-end {
    justify-content: flex-end !important;
}

.justify-content-start {
    justify-content: flex-start !important;
}

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

.justify-items-start {
    justify-items: start !important;
}

.justify-items-center {
    justify-items: center !important;
}

.justify-items-end {
    justify-items: end !important;
}

.justify-self-start {
    justify-self: start !important;
}

.justify-self-end {
    justify-self: end !important;
}

.justify-self-center {
    justify-self: center !important;
}

.align-content-end {
    align-content: flex-end !important;
}

.align-content-start {
    align-content: flex-start !important;
}

.align-content-center {
    align-content: center !important;
}

.align-items-start {
    align-items: flex-start !important;
}

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

.align-items-end {
    align-items: flex-end !important;
}

.align-self-start {
    align-self: flex-start !important;
}

.align-self-end {
    align-self: flex-end !important;
}

.align-self-center {
    align-self: center !important;
}

/* CSS for placeholder text if no list item is present. */
.no-data-in-list-placeholder-text-style {
    font-size: 24px !important;
    font-weight: 700 !important;
    text-align: center;
    color: var(--ligher-black);
    width: 500px;
}