﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Segoe UI';
}

* {
    box-sizing: border-box;
}

.text {
    font-size: 12px;
    color: #505050;
}

.row {
    display: flex;
    align-items: stretch;
}

.textLight {
    font-size: 12px;
    color: #bcbcbc;
    font-weight: 600;
}

.txt-style {
    font-family: 'Segoe UI' !important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-size: 12px !important;
    line-height: 17px !important;
    color: #505050 !important;
}

.invalid-input {
    /*border: 2px solid red;*/
    box-shadow: 0 0 0 1px white, 0 0 0 3px #C1272D; /* White gap, red outer border */
    border: 1px solid #ccc; /* Retain default border */
    transition: box-shadow 0.3s ease-in-out; /* Smooth transition for invalid state */
}

.headerBox {
    display: flex; /* Sets the flexbox layout */
    align-items: center; /* Centers items vertically */
    margin-top: 30px; /* Top margin for spacing */
    margin-left: 50px;
}

.dialog-border {
    border-radius: 5px;
    border: 1px solid #646464;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    box-sizing: border-box; /* Include padding in height calculation */
    z-index: 1001;
}

.dialog-content {
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.dialog-header {
    height: 88px;
    min-height: 88px;
    padding: 0px 20px;
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dialog-title {
    color: #4D82B8;
    font-family: 'Segoe UI';
    font-style: normal;
    font-weight: 300;
    font-size: 26px;
    line-height: 35px;
}

.dialog-subtitle {
    color: #505050;
    font-family: 'Segoe UI';
    font-style: normal;
    font-weight: bold;
    font-size: 12px;
    padding-left: 2px;
    padding-top: 4px;
}

.dialog-header > img {
    height: 48px;
}

.dialog-body {
    flex: 1 1 auto;
    padding: 0px 20px 25px 20px;
    overflow: hidden;
}

.dialog-footer {
    padding: 0px 20px;
    flex: 0 1 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    background: #F0F0F1;
    height: 55px;
    min-height: 55px;
}

.headerTitle {
    margin-left: 10px;
    color: #4D82B8;
    font-family: 'Segoe UI';
    font-style: normal;
    font-weight: 300;
    font-size: 26px;
    line-height: 35px;
}

.vertical-stack {
    display: flex;
    flex-direction: column;
    margin-right: 70px;
    width: 100%;
}

.iconColor {
    color: #4d82b8;
}

.backgroundGrey {
    background-color: #E6E8EC;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.dialog-btn-dark {
    width: 101px;
    height: 22px;
    color: #505050;
    font-family: 'Segoe UI';
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    background-color: #D0D4D6;
    border-radius: 3px;
}

    .dialog-btn-dark:hover {
        background: #D3EDFF;
        cursor: pointer;
    }

    .dialog-btn-dark:disabled {
        background-color: #e0e0e0; /* Light gray */
        color: #a0a0a0; /* Gray text */
        cursor: default;
        opacity: 0.7;
    }

.btn-dialog {
    width:99px;
    height:20px;
    border:1px solid #D8D8D8;
    color:#505050;
    font-family: 'Segoe UI';
    font-size:12px;
    font-style:normal;
    font-weight:700;
    line-height:normal;
}

    .btn-dialog:hover {
        background: #D3EDFF;
        border-color: #00597C;
        cursor: pointer;
    }

    .btn-dialog:disabled {
        background-color: #e0e0e0; /* Light gray */
        color: #a0a0a0; /* Gray text */
        cursor: default;
        opacity: 0.7;
    }


.dialog-btn-anywhere-blue,
.dialog-btn-anywhere-grey {
    width: 151px;
    height: 23px;
    border: 1px solid #D8D8D8;
    border-radius: 5px;
    font-family: 'Segoe UI';
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.dialog-btn-anywhere-blue {
    color: #FFFFFF;
    background-color: #4D82B8;
}

    .dialog-btn-anywhere-blue:hover {
        background: #396ea4;
        cursor: pointer;
    }

    .dialog-btn-anywhere-blue:disabled {
        opacity: 0.5;
        pointer-events: none;
    }

.dialog-btn-anywhere-grey {
    color: #000;
    background-color: #D0D4D6;
}

    .dialog-btn-anywhere-grey:hover {
        background: #bcc0c2;
        cursor: pointer;
    }

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#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: 1001;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

div.blazorcontextmenu-menu {
    padding-left: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    /*width: 200px;*/
    border: 1px solid #ADADAD;
    box-shadow: 2px 2px 4px 1px rgb(0 0 0 / 60%);
}

.dialog-button-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 9px; /* Adjust as needed for your layout */
    margin-right: 7px; /* Space from the right edge */
    gap: 2px;
}

.checkbox-container {
    display: flex;
    flex-direction: column;
}

.svg-button {
    background: none;
    border: none;
    cursor: pointer;
}

    .svg-button svg {
        fill: currentColor; /* SVG color, use your own or inherit from text color */
        width: 32px; /* Adjust width as needed */
        height: 14px; /* Adjust height as needed */
    }

.btn-hover:hover, .btn-filter:hover {
    text-decoration: underline;
    cursor: pointer;
}


.label-hover-pointer {
    cursor: pointer;
}

    .label-hover-pointer:hover {
        text-decoration: underline;
    }

.label-style {
    color: #505050 !important;
}

.label-disabled {
    color: #CCCCCC !important;
}

.img-disabled {
    opacity: 0.5;
}

.textbox:disabled, .size-button:disabled {
    color: #CCCCCC;
    cursor: default;
}

.blazorcontextmenu-menu .blazorcontextmenu-menu-seperator {
    border-color: #D8D8D8;
    border: 1px solid #D8D8D8;
}

.blazorcontextmenu-menu-list {
    padding-left: 0px !important;
    padding-right: 1px !important;
    background: linear-gradient(to right, #F1F1F1 0%,#F1F1F1 13%,#F5F5F5 13%,#F5F5F5 100%);
}

.blazorcontextmenu-menu .blazorcontextmenu-menu-item-disabled,
.blazorcontextmenu-menu .blazorcontextmenu-menu-item {
    height: 20px;
    margin: auto;
    border-left: 0px;
    border-bottom: 0px;
    border-top: 0px;
    font-family: 'Segoe UI';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    padding: 1px;
    line-height: 20px;
    color: #505050;
    background: linear-gradient(to right, #F1F1F1 0%,#F1F1F1 13%,#F5F5F5 13%,#F5F5F5 100%);
}

.blazorcontextmenu-menu:hover .blazorcontextmenu-menu-item--disabled:hover,
.blazorcontextmenu-menu:hover .blazorcontextmenu-menu-item:hover {
    background: #D3EDFF;
    border-color: #00597C;
    cursor: pointer;
}

.blazor-context-menu__item--with-submenu:after {
    margin-right: 10px;
}

.dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background-color: rgba(0, 0, 0, 0.5);*/ /* Dim the background */
    background-color: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000; /* Ensures the overlay is on top */
}

.dialog-window {
    background-color: white;
    padding: 20px 0px 0px 20px;
    border-radius: 0px;
    border: 1px solid #646464;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow-y: auto; /* Enable vertical scrollbar */
    max-height: calc(100vh - 10px); /* Adjusted max-height */
    box-sizing: border-box; /* Include padding in height calculation */
    z-index: 1001;
}

input[type='radio'] {
    accent-color: #333333;
}

    input[type='radio']:disabled {
        opacity: 0.7;
    }

.targit-scrollbar-grey::-webkit-scrollbar,
.targit-scrollbar-grey *::-webkit-scrollbar,
.targit-scrollbar-blue::-webkit-scrollbar,
.targit-scrollbar-blue *::-webkit-scrollbar {
    width: 8px !important; /* width of the entire scrollbar */
    height: 8px !important; /* height of the entire scrollbar */
}

.targit-scrollbar-grey::-webkit-scrollbar-track,
.targit-scrollbar-grey *::-webkit-scrollbar-track,
.targit-scrollbar-blue::-webkit-scrollbar-track,
.targit-scrollbar-blue *::-webkit-scrollbar-track {
    background: #f1f1f1 !important; /* color of the tracking area */
}

.targit-scrollbar-grey::-webkit-scrollbar-thumb,
.targit-scrollbar-grey *::-webkit-scrollbar-thumb,
.targit-scrollbar-blue::-webkit-scrollbar-thumb,
.targit-scrollbar-blue *::-webkit-scrollbar-thumb {
    border-radius: 10px !important; /* roundness of the scroll thumb */
}

    .targit-scrollbar-blue::-webkit-scrollbar-thumb,
    .targit-scrollbar-blue *::-webkit-scrollbar-thumb {
        background-color: #CDE6F7 !important; /* color of the scroll thumb */
        border: 2px solid #CDE6F7 !important; /* creates padding around scroll thumb */
    }
.targit-scrollbar-grey::-webkit-scrollbar-thumb,
.targit-scrollbar-grey *::-webkit-scrollbar-thumb {
    background-color: #CDCDCD !important; /* color of the scroll thumb */
    border: 2px solid #CDCDCD !important; /* creates padding around scroll thumb */
}
