@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%;
    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;
}

/* Login */
.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%;
}

.login-box {
    border: 1px solid #ccc;
    border-radius: 15px;
    padding: 20px;
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

    .login-box .title-header-text {
        font-family: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
        color: #02145C;
        font-size: 1.5rem;
        line-height: 2.5rem;
        font-weight: 600;
        letter-spacing: 0rem;
        padding: .5rem;
        margin: 0 0 10px 0;
    }

.login-logo {
    width: 300px;
    padding: 10px;
    margin: 10px 20px;
}

.login-button {
    font-family: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 600;
    background-color: #26b050;
    color: #fff;
    display: inline-block;
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 0px;
    border-radius: 10px;
}

/* Logout */
.logout-box {
    border: 1px solid #ccc;
    border-radius: 15px;
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

/* Job Log */
div.privateJobLog {
    background-color: #FF99FF;
}

div.automatedJobLog {
    background-color: #CCCCFF;
}

.calendar {
    height: 800px;
}

/* Add rounded corner to DxGrid */
/*dxbl-grid.dxbl-grid {
    border-radius: 15px !important;
    overflow: hidden;
}*/

/* Change DxAccordion Item active design */
.dxbl-accordion-item.dxbl-active {
    background-color: var(--bs-primary);
    color: white !important;
}

/* Remove NavMenu DxAccordion header rounded corner */
.nav-scroll-view .dxbl-accordion .dxbl-accordion-group:first-child:not(:last-child), .dxbl-accordion .dxbl-accordion-group:first-child:not(:last-child) > .dxbl-accordion-group-header {
    border-radius: 0 !important;
}

/* Grid CSS Start */
.gridText-onHold {
    color: red;
}

/* Remove DxGrid header row */
.dxGrid-hiddenHeader {
    display: none;
}

/* Remove DxGrid Toolbar */
.dxGrid-hiddenToolbar > .dxbl-grid-toolbar-container {
    display: none !important;
}

/* Remove DxGrid grid lines */
.no-grid-lines-td td {
    border-left-width: 0px !important;
    border-right-width: 0px !important;
}

.no-grid-lines-th th {
    border-left-width: 0px !important;
    border-right-width: 0px !important;
}

/* Adjusted grid font-size */
.dxbl-grid.dxbl-sm {
    --dxbl-grid-font-size: 0.85rem;
    --dxbl-grid-line-height: 2.5;
}

/* Remove DxGrid outside borders */
.no-borders-grid {
    border: none !important; 
}

/* Remove DxGrid row and header border */
.no-borders-grid-cell td, .no-borders-grid-cell th {
    border: none !important;
}

/* If you need to remove header borders specifically */
.no-borders-grid thead th {
    border-bottom: none !important;
}

/* If you need to remove borders from other elements like the card container */
.no-borders-grid > .card {
    border: none !important;
}

.dxGrid-OnHoldRow:hover {
    background: #FFC1C1 !important;
}
/* Grid CSS End */

/* required field css */
.required-field::after {
    content: '*';
    color: red;
}

/* ThemeSwitcher Menu */
.theme-template-container {
    display: flex;
    align-items: center;
}

.theme-template-icon {
    width: 1rem;
    height: 1rem;
    margin-right: 0.375rem;
    -webkit-mask-image: url("/images/theme-icon.svg");
    mask-image: url("/images/theme-icon.svg");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    background-color: currentColor;
}

.dxbl-sm .theme-template-icon {
    margin-right: 0.25rem;
}

.dxbl-lg .theme-template-icon {
    margin-right: 0.5rem;
}

.theme-template-container > .blazing-berry {
    color: #5c2d91;
}

.theme-template-container > .blazing-dark {
    color: #46444a;
}

.theme-template-container > .office-white {
    color: #fe7109;
}

.theme-template-container > .purple {
    color: #7989ff;
}

.theme-template-container > .default {
    color: #007bff;
}

.theme-template-container > .default-dark {
    color: #212529;
}

.theme-template-container > .cerulean {
    color: #2fa4e7;
}

.theme-template-container > .cyborg {
    color: #060606;
}

.theme-template-container > .flatly {
    color: #dce4ec;
}

.theme-template-container > .journal {
    color: #eb6864;
}

.theme-template-container > .litera {
    color: #4582ec;
}

.theme-template-container > .lumen {
    color: #158cba;
}

.theme-template-container > .lux {
    color: #1a1a1a;
}

.theme-template-container > .pulse {
    color: #593196;
}

.theme-template-container > .simplex {
    color: #d9230f;
}

.theme-template-container > .solar {
    color: #b58900;
}

.theme-template-container > .superhero {
    color: #df691a;
}

.theme-template-container > .united {
    color: #e95420;
}

.theme-template-container > .yeti {
    color: #008cba;
}

.theme-template-container > .fluent-light {
    color: #0f6cbd;
}

.theme-template-container > .fluent-dark {
    color: #282828;
}

/* Attendance */
.attendance-wholeDayLeave > td {
    background-color: #FADBD8;
}

.attendance-restDay > td {
    background-color: #F0F0F0;
    color: #696969;
}

/* Override Styles */
h5 {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
}

.mt-3 {
    margin-top: 2.25rem !important;
}

.page-header-title-text {
    font-size: 1.75rem !important;
    line-height: 1.5 !important;
    margin: 25px 0 0 0;
}

.btn-primary {
    background-color: #02145C;
    border-color: #02145C;
}

.btn-success {
    background-color: #6BCB00;
    border-color: #6BCB00;
}