﻿@import url('open.iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
/*    background:#d5cdec;*/

}

html, body {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
 
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.button-link {
    text-decoration: unset;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem .25rem 0.7rem .25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 0.625rem;
}

    .title.title-secondary {
        padding-top: 0.313rem;
        padding-bottom: 0;
        color: var(--bs-secondary-color);
    }

.title-header-text {
    font-size: 2.5rem;
    line-height: 3rem;
    font-weight: 600;
    letter-spacing: 0rem;
    padding: 0.3125rem 0;
}

.title-content-text {
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 2.5rem;
    letter-spacing: 0rem;
}

.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.block-content {
    width: 31.25rem;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    max-width: 100%;
}

/*my css form user corner*/
.dxbl-menu-item-tmpl {
    display: flex;
    align-items: center;
}

.notoggle svg {
    display: none;
}

.dxbl-menu-item .search {
    min-width: 123px
}

.dxbl-menu-item-tmpl > .search {
    position: relative;
}

.user-profile .logo-container {
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
}

.user-profile .log-off-btn {
    padding-top: 0.815rem;
    padding-bottom: 0.815rem;
    border-top: 1px solid #e5e5e5;
}

.menu-icon-user-profile {
    opacity: 0.75;
}

.user-profile .menu-icon-user-profile {
    opacity: 0.25;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
}

.user-name-container .tm-8 {
    opacity: 0.8;
}

/*uske icons*/
.menu-icon {
    width: var(--dxbl-icon-width);
    height: var(--dxbl-icon-height);
    min-width: var(--dxbl-icon-width);
    min-height: var(--dxbl-icon-height);
    background-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    background-position: center center;
    background-color: currentColor;
    opacity: 0.7;
}

.menu-icon-home {
    mask-image: var(--dxbl-icon-home);
    -webkit-mask-image: var(--dxbl-icon-home);
}

.menu-icon-support {
    mask-image: var(--dxbl-icon-support);
    -webkit-mask-image: var(--dxbl-icon-support);
}

.menu-icon-products {
    mask-image: var(--dxbl-icon-products);
    -webkit-mask-image: var(--dxbl-icon-products);
}

.icon-logo {
    display: flex;
    height: 20px;
    width: 120px;
    opacity: 0.7;
    background-color: currentColor;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-image: url("../images/icons/logo-monochrome.svg");
    -webkit-mask-image: url("../images/icons/logo-monochrome.svg");
}
/*.dxbl-grid {
    padding-right: 5px;
    padding-left: 5px;
}*/
/*dxbl-grid-layout-item {
    padding-right: 9px;
    padding-left: 9px;
}*/
/*end of user code*/

/*
.container-fluid {
    background-color: #f3f1ffe6;
}*/

/*this datalist form loding show frount color-profile thead popups*/
.custom-loading-panel {
    z-index: 100000 !important;
}

    /* DxTextBox, DxTextArea */
.dxbl-text-edit .dxbl-text-edit-input {
    font-weight: bold !important;
}
.dxbl-text-edit-input.editor-focus-green:focus {
    border-color: #7ED957 !important;
    background-color: #ccffcc !important;
    box-shadow: 0 0 5px #7ED957 !important;
    font-weight: bold;
}

/* DxComboBox, DxDateEdit, DxSpinEdit, DxDropDownEdit, DxAutocomplete */
.dxbl-edit-input.editor-focus-green:focus {
    border-color: #7ED957 !important;
    background-color: #ccffcc !important;
    box-shadow: 0 0 5px #7ED957 !important;
    font-weight: bold;
}

/* सभी एडिटेबल DevExpress inputs */
.editor-focus-green:focus {
    outline: none !important;
    background-color: #ccffcc !important;
    font-weight: bold;
}

/*grid height*/
.heightclass {
    max-height: 600px;
}



/*+ butoon css*/
.custom-plus-button {
    position: absolute;
    top: -8px; /* Raise button slightly */
    right: -5px; /* Nudge into top-right */
    font-size: 0.9rem;
    width: 20px;
    height: 20px;
    padding: 0;
    border-radius: 50%;
    line-height: 18px;
    text-align: center;
    font-weight: bold;
    background-color: #7976ff;
    color: white;
    z-index: 1000;
    box-shadow: 0 0 3px rgba(0,0,0,0.2);
    border: none;
}


/* Force fixed footer  purches entry popup footerr ---------------------------------------------------------------------------  */
::deep .my-style .dxbl-modal-body {
    overflow: visible !important;
    padding-bottom: 0 !important;
}

::deep .my-style .dxbl-modal-content {
    overflow: visible !important;
    max-height: none !important;
}

::deep .my-style .dxbl-grid-edit-form-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
}


/*purches entry popup footerr -----------------------------------------end---------------------------------- */


/*.my-style .dxbl-popup-body,
.my-style .dxbl-modal-body {
    padding: 0 !important;
}*/
/* Edit form container की padding भी remove करो */
/*.my-style .dxbl-grid-edit-form-container {
    padding: 0 !important;
}*/
.my-popup-body {
    background-color: #f0f8ff !important;
}

/*toolbar css for date and combo in toolbar */

.stock-toolbar-container {
    width: 100%;
}

.toolbar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

/* TITLE */
.toolbar-title {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

/* FILTERS */
.toolbar-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-item {
    min-width: 150px;
}

/* MOBILE */
@media (max-width: 768px) {
    .toolbar-row {
        flex-direction: column;
        align-items: stretch;
    }

    .toolbar-filters {
        flex-direction: column;
        width: 100%;
    }

    .filter-item {
        width: 100%;
    }
}

/*--------------------------css for validation error in consumption popup------------------------*/

/* SpinEdit / TextEdit / DateEdit – invalid border */
.dx-invalid.dxbl-text-edit,
.dx-invalid .dxbl-text-edit {
    border: 2px solid #dc3545 !important;
    border-radius: 4px;
}

    /* Focus state */
    .dx-invalid.dxbl-text-edit.dxbl-focused {
        border-color: #dc3545 !important;
        box-shadow: 0 0 0 0.1rem rgba(220, 53, 69, 0.25);
    }

    .dx-invalid.dxbl-text-edit:hover {
        border-color: #dc3545 !important;
    }


.dx-invalid.dxbl-masked-input,
.dx-invalid .dxbl-masked-input {
    border: 2px solid #dc3545 !important;
    border-radius: 4px;
}

    .dx-invalid.dxbl-masked-input.dxbl-focused {
        border-color: #dc3545 !important;
        box-shadow: 0 0 0 0.1rem rgba(220, 53, 69, 0.25);
    }



/*   ============== certificate no field css  =======================================================================================*/
/* DxSpinEdit width force */
.certi-no-spin {
    width: 85px !important;
    min-width: 85px !important;
    max-width: 85px !important;
    flex-shrink: 0;
}

    /* Inner input bhi force */
    .certi-no-spin .dxbl-text-edit-input-container {
        width: 85px !important;
        min-width: 85px !important;
    }

    .certi-no-spin input {
        width: 85px !important;
        min-width: 85px !important;
        max-width: 85px !important;
        text-align: center !important;
        font-weight: 600 !important;
        font-size: 13px !important;
    }
/*   ============== certificate no field css  end =======================================================================================*/