﻿@import url('open.iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

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 1.25rem 0.7rem 1.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%;
}
.px-0 {
    padding-right: 5px !important;
    padding-left: 5px !important;
}




/*added by Dhruv*/
.upload-wrapper {
    width: 100%;
    max-width: 400px; /* adjust as per your width */
    display: flex;
    flex-direction: column;
}

.dxbl-col {
    font-weight: bold;
}

.upload-component {
    display: flex;
    flex-direction: column;
    padding: 0.2rem;
}

    /* This selector targets the file‐list container of the DxUpload component in DevExpress Blazor */
    .upload-component .dxbl-upload-file-list-view,
    .upload-component .dxbl-upload-file-list {
        max-height: 70px; /* fixed height for the file list area */
        overflow-y: auto; /* vertical scroll only when needed */
        /* optional for styling */
        border: 1px solid #ddd;
        border-radius: 4px;
        background: #fafafa;
        padding: 0.3rem;
        margin-bottom: 0.4rem;
    }

    .upload-component .dxbl-upload-select-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

.info-text {
    font-size: 11px;
    color: #666;
}

/* Popup styling keep */
.popup-elevated .dx-popup-content {
    background-color: #f9fafb;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    padding: 20px;
}


.my-popup-body {
    background-color: #f0f8ff; /* apna desired colour */
}
/*  .my-popup-header {
        background-color: #0066cc;
        color: white;
    } */

.popup-elevated .dx-popup-header {
    background-color: #004080;
    color: darkviolet;
}

.popup-elevated .dx-popup-body {
    background-color: #55a8fc;
}



.caption-bold {
    font-weight: bold !important;
    color: black !important;
}

/* All editors main wrapper: */
.editor-smooth {
    border-radius: 0px;
    box-shadow: 0 2px 10px #eee;
    /* border: 1px solid #cfd55c; */
    background: #c7e7ff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

/* Input inside editors */
.input-smooth input.dx-texteditor-input {
    padding: 0.6rem 0.95rem;
    border-radius: 0px;
    font-size: 1rem;
    border: none;
    outline: none;
    background: transparent;
}

    .input-smooth input.dx-texteditor-input:focus {
        border: none;
        box-shadow: 0 0 0 2px #00968833;
        background: #fff;
    }

/* Custom combobox dropdown and hover */
/*.dropdown-smooth .dx-listbox-items {
    background-color: #f5f5f5 !important;
}

.dropdown-smooth .dx-listbox-item:hover {
    background: #96ffff !important;
    color: #fff;
}*/

.dxbl-edit-btn-dropdown {
    /* color: #ffbf96 !important;  */
    /* background: #ff3c00;  */
  /*  border-radius: 0px;
    background-color: #67e905 !important;*/
}


.dxbl-tabs > .dxbl-tabs-tablist.dxbl-tabs-tablist-scrollable > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content > ul {
    background-color: #f0f8ff !important;
   /* border: 2mm ridge #c7e7ff;*/
}

.dxbl-tabs-tablist ul li button.dxbl-active {
    background-color: #ffffff !important;
    color: #000000 !important;
}

/*css foe + button*/
.custom-plus-button {
    position: absolute;
    top: -10px; /* Raise button slightly */
    right: -10px; /* 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;
}

/*.custom-plus-button {
    font-size: 0.9rem;
    width: 28px;
    height: 28px;
    padding: 0;
    border-radius: 50%;
    line-height: 26px;
    text-align: center;
    font-weight: bold;
    background-color: #7976ff;
    color: white;
    box-shadow: 0 0 3px rgba(0,0,0,0.2);
    border: none;
    cursor: pointer;
    flex-shrink: 0;
}*/

    .custom-plus-button:hover {
        background-color: #5f5ce6;
    }