﻿:root {
    --BackColor: #fff;
    /*--ForeColor: rgb(50,130,194);*/
    --ForeColor: blue;
    --LabelColor: #1f49ee;
    --TabBackColor: rgb(0,2,79);
    --TabForeColor: rgb(255,255,255);
    --LabelContainerMinWidth: 150px;
    --TableHeaderColor: rgb(0,2,79);
    --MenuBackColor: rgb(1,2,50);
    --MenuForeColor: #fff;
    --SideBarMinWidth: 205px;
}

* {
    padding: 0;
    margin: 0;
    font-family: 'Poppins',sans-serif;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html, body {
    box-sizing: border-box;
    height: 100%;
    margin: 0;
    padding: 0px;
}

/*#region object list table*/
.ObjectListTableContainer {
    height: 500px;
    overflow-y: auto;
    border: 1px solid black;
    padding: 5px;
}

.ObjectListTable th, .ObjectListTable td {
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

.ObjectListTableHeader {
    margin: 0;
    color: #fff;
    background-color: #36304A !important;
    padding: 5px;
    font-family: Arial;
    font-size: 14px;
    border: 1px solid lightgray;
    line-height: 1;
    white-space: nowrap;
    overflow-x: hidden;
    text-overflow: ellipsis;
    text-align:center;
}

.ObjectListTable {
    border: 1px solid;
    padding: 0;
    margin: 0;
    margin-bottom: 1rem;
    color: #495057;
}

.ObjectListTableCell, .ObjectListTableCellLightGray, .ObjectListTableCellLightYellow, .ObjectListTableCellRed, .ObjectListTableCellLightRed .ObjectListTableCellBlue, .ObjectListTableCellLightBlue, .ObjectListTableCellGreen, .ObjectListTableCellLightGreen, .ObjectListTableCellRed1, .ObjectListTableDateCell, .ObjectListTableCellLightCyan, .ObjectListTableCellLightRed1, .ObjectListTableCellLightRed2, .ObjectListTableCellTan, .ObjectListTableCellDarkOrange, .ObjectListTableCellOrange, .ObjectListTableCellAqua {
    border: 1px solid lightgray;
    padding: 5px;
    margin: 0;
    color: black;
    background-color: white;
    font-family: Calibri;
    font-size: 12px;
    line-height: 1;
    overflow-x: clip;
    text-overflow: ellipsis;
    font-size: 1em;
}

.ObjectListTableCellNoWrap {
    border: 1px solid;
    padding: 5px;
    margin: 0;
    color: black;
    background-color: white;
    font-family: Arial;
    font-size: 12px;
    white-space: nowrap;
}

.ObjectListTableCellLightGray {
    background-color: lightgray;
}

.ObjectListTableCellLightYellow {
    background-color: yellow;
}

.ObjectListTableCellRed {
    background-color: red;
}

.ObjectListTableCellRed1 {
    color: red;
}

.ObjectListTableCellLightRed {
    background-color: lightcoral;
}

.ObjectListTableCellBlue {
    background-color: blue;
}

.ObjectListTableCellLightBlue {
    background-color: lightblue;
}

.ObjectListTableCellGreen {
    background-color: green;
}

.ObjectListTableCellLightGreen {
    background-color: lightgreen;
}

.ObjectListTableCellLightcyan {
    background-color: lightcyan;
}

.ObjectListTableCellLightRed1 {
    background-color: #fe5a5a;
    font-size: 12px;
}

.ObjectListTableCellLightRed2 {
    background-color: #b78787;
    font-size: 12px;
}

.ObjectListTableCellTan {
    background-color: tan;
}

.ObjectListTableCellDarkOrange {
    background-color: darkorange;
}

.ObjectListTableCellOrange {
    background-color: orange;
}

.ObjectListTableCellAqua {
    background-color: aqua;
}



.ObjectListContainer {
    height: auto;
}
/*#endregion*/

/*#region TextBox*/
.TextBoxWide, .TextBox, .TextBoxReadOnly, .TextBoxSmall, .TextBoxNumber, .TextBoxNumberWide, .TextBoxNarrow {
    border: 1px solid black;
    margin: 0px;
    padding: 2px 2px 2px 3px;
    height: 22px;
}

.TextBoxWide {
    width: 250px;
}

.TextBox {
    width: 150px;
    padding: 5px;
    width: 150px;
    margin-bottom: 10px
}

.TextBoxReadOnly {
    width: 150px;
    background-color: #eeeeee;
}

.TextBoxSmall {
    width: 70px;
}

.TextBoxNumber {
    width: 90px;
}

.TextBoxNumberWide {
    width: 150px;
}

.TextBoxNarrow {
    width: 60px;
}
/*#endregion*/

/*#region DropDownList
*/ .DropDownList {
    width: 200px;
    max-width: 250px;
}

.DropDownListLong {
    width: 150px;
    max-width: 250px;
    height: auto;
    max-height: 200px;
    overflow-x: scroll;
    padding: 3px;
    vertical-align: top;
}

.DropDownListWide {
    width: fit-content;
    max-width: 100%;
    overflow-x: hidden;
}
/*#endregion*/

.FullWidth {
    width: auto;
    min-width: 100%;
    overflow-x: auto;
}

.Hidden {
    display: none;
}

.Visible {
    display: block;
}

.ErrorMessage {
    border: none;
    color: red;
    background-color: transparent;
    font-family: Arial;
    font-weight: bold;
    font-size: 16px;
}

.ErrorLabel {
    border: none;
    color: red;
    background-color: transparent;
    font-weight: bold;
    font-size: 16px;
    width: auto;
    min-width: 0 !important;
    min-height: 0 !important
}

.Section {
    border: 1px solid;
    border-radius: 5px;
    padding: 3px;
    width: 100%;
    overflow-x: auto;
    max-height: 90%;
}

.MainHeader {
    font-size: 20px;
    font-family: Arial;
    font-weight: bold;
}

.PageHeader, .SectionHeader {
    font-style: normal;
    font-weight: bold;
    padding: 3px;
    margin-bottom: 5px;
    text-align: left;
}

.PageHeader {
    font-size: 1.3em;
    color: var(--ForeColor) !important;
}

.SectionHeader {
    font-size: 1.1em;
    color: var(--ForeColor) !important;
}

.TopAligned {
    vertical-align: top;
}

.FullHeight {
    height: 100%;
}

.ImageButton {
    cursor: pointer;
    display:inline;
}

input {
    padding-left: 5px;
    padding-top: 3px;
}

.WhiteLabel {
    color: var(--BackColor);
}

.Bold {
    font-weight: bold;
}

.Red {
    background-color: red;
}
.RedFont {
    color: red;
}

.Green {
    background-color: green;
}
.GreenFont {
    color: lightgreen;
}

.LightGreen{
    background-color:lightgreen;
}

.DarkGreen{
    background-color:darkgreen;
}

.BlueFont {
    color: blue;
}

.Gray {
    background-color: lightgray;
}

.Inline {
    display: inline-block;
}

.ShowHideMenuIcon {
    left: 30px;
    top: 30px;
    position: fixed;
    z-index: 999;
}

.Disabled {
    opacity: 0.8;
    pointer-events: none;
}

.Enabled {
    opacity: 0;
    pointer-events: auto;
}

.CursorPointer {
    cursor: pointer;
}


.LogoutIcon {
    width: 20px;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

.ProgressIndicator {
    margin-top: 13px;
    margin-left: 5px;
}

.VerticalAllignedCenter {
    display: flex;
    justify-content: center;
}

/* Shared CSS */

/*#region MainMenu*/
.MainMenu {
    padding: 3px;
    color: var(--ForeColor) !important;
    background-color: var(--MenuBackColor) !important;
    font-size: 20px !important;
    font-weight: 500;
    color: var(--BackColor);
    align-items: center;
    display: flex;
}

    .MainMenu img {
        vertical-align: top;
    }

        .MainMenu img:hover {
            transform: scale(1.1);
        }

.MainMenuItem {
    display: inline;
    border-right: 1px solid #fff;
    padding: 10px;
    cursor: pointer;
    font-size: 18px !important;
    font-weight: 500;
    min-width: 100px;
}

    .MainMenuItem label {
        cursor: pointer;
    }

    .MainMenuItem img {
        cursor: pointer;
    }

    .MainMenuItem:hover {
        border-right: 1px solid #fff;
        border-radius: 10px;
        padding: 10px;
        cursor: pointer;
        color: #fff;
    }
/*#endregion*/

/*#region Modal*/
/*modal container is a box that fill whole window ,disabled and displayed over other contents
    thats why we make it top 0, left 0, height 100vh and width 100% position fixed
    note that other contents are still exist but overridden by modal container box
    note: I made container display block because I show / hide modal using blazor c# so it should be visible always
*/
.Modal-Container {
    background-color: rgba(0,0,0,0.3);
    display: block;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    z-index: 999;
}

.Modal {
    display: block;
    position: relative;
    margin: auto;
    width: fit-content;
    height: auto;
    max-height: 100vh;
    overflow-y: auto;
    padding: 20px;
    border: 1px solid;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(1 1 1 / 30%);
    background-color: var(--BackColor) !important;
    margin-top: 100px;
}

.Absolute {
    position: absolute;
}
/*#endregion*/

.FlexContainer {
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
    height: auto;
    width: auto;
    /*border: 3px solid red*/
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
}

.Banner {
    /*flex: 0 1 auto;*/
    height: auto;
    padding: 5px 10px;
    background-color: #fff;
    display: block;
}

.Container {
    width: 100%;
    height: 100%;
    min-height: 100%;
    overflow-y: auto;
    /*border: 1px solid;*/
}

.ContainerBox {
    width: fit-content;
    min-width: 500px;
    padding: 5px;
    padding-top: 10px;
}

.LogoutButton {
    float: right;
    border: none !important;
    margin-top: -10px;
}

.MainLogo {
    text-decoration: none;
    color: var(--BackColor);
    font-weight: 700;
    font-size: 1.8em;
    flex-direction: row;
    background: white;
    display: flex;
    justify-content: center;
    padding-top: 7px;
    max-width: 150px;
}

select {
    background-color: #eee;
    width: auto;
    /*max-width: 500px;*/
    min-width: 150px;
    overflow-x: auto;
    overflow-y: auto;
    padding: 3px;
    cursor: pointer;
    text-align: center;
}

    select[multiple] {
        height: 500px;
    }

button {
    padding: 5px 10px;
    font-size: 1em;
}

i {
    width: 30px;
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.block {
    display: block;
}

.Button {
    width: auto;
    padding: 10px;
    font-size: 1.0em;
    border-radius: 5px;
    background-color: var(--TabBackColor);
    color: var(--TabForeColor);
    cursor: pointer;
    margin: 10px;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .7);
    border-radius: 5px;
    white-space: nowrap;
    transition: 0.3s;
    display: inline-block;
}

    .Button:active {
        box-shadow: 0 .1rem .25rem rgba(0, 0, 0, .7);
        transform: scale(0.98);
    }

.NoWrap {
    white-space: nowrap;
}

.MultiSelectListItem {
    width: auto;
    padding: 5px 10px 0 10px;
    background-color: #ddd;
}

    .MultiSelectListItem input {
        cursor: pointer;
    }

    .MultiSelectListItem label {
        padding-left: 10px;
        cursor: pointer;
    }

.MultiSelectList {
    width: auto;
    background-color: #ddd;
    width: fit-content;
    border: 1px solid Navy;
    padding: 5px;
    overflow-y: scroll;
    height: 80%;
}

.Flex {
    display: flex;
}

.Pointer {
    cursor: pointer;
}

.MainButton {
    height: 50px;
    padding: 10px;
    border-radius: 5px;
    color: var(--TabForeColor);
    background-color: var(--TabBackColor);
    cursor: pointer;
    font-weight: 700;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .7);
    transition: 0.3s;
    width: fit-content;
    max-width: 500px !important;
    min-width: 200px !important;
    text-align: center;
}

    .MainButton:active {
        box-shadow: 0 .1rem .25rem rgba(0, 0, 0, .7);
        transform: scale(0.98);
    }

.LargeButton {
    cursor: pointer;
    color: #fff;
    background-color: #0a49f6;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 600;
    padding: 0.9em 2em;
    letter-spacing: 1px;
    border-radius: 10px;
    margin: 10px 40px;
    transition: 0.7s ease;
    /*display: block;*/
    width: auto;
}

    .LargeButton:hover {
        background-color: var(--BackColor);
        transform: scale(1.1);
        color: var(--ForeColor);
    }

.LoginHeader {
    font-size: 1.4em;
    font-weight: 600;
    margin: 20px 10px;
    color: var(--ForeColor);
    text-align: center;
}

.SFGridColumnHeader {
    color: var(--TableHeaderColor);
    font-size: 1.2em;
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 2px;
}

.Center {
    text-align: center !important;
}

.EntryField {
    padding-top: 3px;
    width: auto;
    overflow-x: clip;
    display: inline-block;
    white-space: nowrap;
}

.Separator {
    height: 10px;
}

.RegistrationFormContainer {
    width: 100%;
    height: fit-content;
    padding: 10px;
    background-color: #ddd;
}

.RegistrationForm {
    width: 500px;
    max-width: 500px;
    min-width: 500px;
    padding: 10px;
    margin: auto;
    border: 1px solid var(--BackColor);
    border-radius: 10px;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .7);
    background-color: #eee;
    text-align: center;
}

.Border {
    border: 1px solid;
    padding: 3px;
    border-radius: 3px;
}

.SpanBorder {
    border: 1px #eee;
}

.Card {
    width: fit-content;
    padding: 10px;
    margin: auto;
    border: 1px solid var(--BackColor);
    border-radius: 10px;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .7);
    background-color: #fff;
}

.NavIcon {
    width: 30px;
    max-width: 30px;
    min-width: 30px;
    margin-right: 10px;
}

.LabelContainer {
    padding-right: 2px;
    padding-top: 3px;
    padding-left: 10px;
    font-size: 0.9em;
    font-weight: bold;
    text-align: right;
    margin-left: 3px;
    vertical-align: top;
    width: auto;
    min-width: fit-content;
    color: var(--LabelColor) !important;
}

.InputContainer {
    vertical-align: top;
    padding-top: 3px;
    padding-right: 5px;
    font-family: Arial;
    font-size: 0.9em;
    width: fit-content;
    text-align: left;
    min-width: 100px;
}

.NumericInputContainer {
    vertical-align: central;
    padding-right: 5px;
    font-family: Arial;
    font-size: 0.9em;
    width: 100px;
    min-width: 100px;
    text-align: left;
}

.ObjectSummary {
    border: 3px solid var(--TabBackColor);
    padding: 3px;
    border-radius: 5px;
    margin: 5px 10px;
    width: fit-content;
}

.NavBarHeader {
    margin-left: 30px;
}

.CollapsibleHeader {
    background-color: var( --TabBackColor);
    color: var(--TabForeColor);
    cursor: pointer;
    padding: 10px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1em;
}

.CollapsibleContent {
    padding: 3px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: #f1f1f1;
}

.sidebar1 {
    margin: 0;
    padding: 5px;
    min-width: var(--SideBarMinWidth);
    background-color: var(--MenuBackColor);
    color: var(--MenuForeColor);
    height: 100%;
    overflow-y: auto;
    position: fixed;
    z-index: 999;
    width: auto;
}

    .sidebar1 a {
        display: block;
        color: black;
        padding: 16px;
        text-decoration: none;
    }

        .sidebar1 a.active {
            background-color: var(--TabBackColor);
            color: white;
        }

        .sidebar1 a:hover:not(.active) {
            background-color: var(--ForeColor);
            color: white;
        }

.RazorPageContainer {
    padding: 1px 16px;
    height: 1000px;
    margin-left: 200px;
}

.CloseButton {
    position: absolute;
    cursor: pointer;
    left: 5px;
    top: 1px;
    font-size: 1.2em;
    font-weight: 700;
    color: red;
}

.MenuIcon {
    position: relative;
    left: 40px;
    top: 50px;
    cursor: pointer;
}

.Menu-Level1, Menu-Level2 {
    display: block;
    background-color: var(--MenuBackColor);
    color: var(--MenuForeColor);
    cursor: pointer;
    margin-left: 0;
    padding: 0;
}

.Menu-Level2, .Menu-Level3, .Menu-Level4 {
    margin-left: 5px;
}

.MenuHeader {
    display: block;
    background-color: var(--MenuBackColor);
    color: var(--MenuForeColor);
    border: none;
    cursor: pointer;
    padding: 0;
    overflow-x: hidden;
    white-space: nowrap;
    font-size: 1.0em;
    font-weight: 400;
    margin-bottom: 5px;
    padding-left: 10px;
}

    .MenuHeader label {
        padding-left: 5px;
        cursor: pointer;
    }

.AppMenuItem {
    display: block;
    background-color: rgb(1,2,50);
    color: rgb(200,200,200);
    border: none;
    cursor: pointer;
    padding: 0;
    overflow-x: hidden;
    white-space: nowrap;
    font-size: .8em;
    font-weight: 400;
    /*min-width: 205px !important;*/
    margin-left: 20px;
    margin-bottom: 5px;
    padding-left: 5px;
}

    .AppMenuItem:hover {
        background-color: var(--TabBackColor);
        color: var(--TabForeColor);
    }

.AppMenuItemLabel {
    background-color: rgb(1,2,50);
    color: rgb(200,200,200);
    cursor: pointer;
    margin-left: 10px;
    padding-left: 10px !important;
}

.AppMenuItemImage {
    overflow: hidden;
}

.AppMenuLogo {
    display: block;
    margin-left: 5px;
    overflow-x: hidden !important;
    vertical-align: central;
}

@media screen and (max-width: 700px) {
    .sidebar1 {
        width: 100%;
        height: auto;
        position: relative;
    }

    .MainLogo {
        display: none;
    }
}

/*#region TabControl*/
.TabControlHeader {
    display: flex;
    text-align: center;
    margin-top: 5px;
    margin-left: 10px;
    margin-right: 0px;
    height: fit-content;
}

.TabPanleHeaderBox, .TabPanleHeaderBoxSelected {
    padding: 10px;
    font-style: normal;
    font-weight: normal;
    height: 60px;
    border: 1px solid;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    cursor: pointer;
    font-size: 1em;
    margin-right: 2px;
    display: flex;
    align-items: center; /* vertical alignment */
    justify-content: center;
}

.TabPanleHeaderBox {
    color: var(--TabBackColor) !important;
    background-color: var(--TabForeColor) !important;
}

.TabPanleHeaderBoxSelected {
    color: var(--TabForeColor) !important;
    background-color: var(--TabBackColor) !important;
}

.TabPanleHeaderBox label {
    cursor: pointer;
}

.TabPanleHeaderBoxSelected label {
    cursor: pointer;
}

.TabControlTabsContainer {
    width: 100%;
    min-width: 100%;
    padding: 5px;
    height: 100%;
    overflow-y: auto;
    border: 1px solid;
}

.TabPanel {
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 5px;
    top: 0;
    margin-top: 0;
    border: 1px solid var(--BackColor);
    overflow-y: auto;
}
/*#endregion*/

.EmployeeSelection {
    max-height: 500px;
    overflow-y: auto;
}

.ItemList {
    max-height: 600px;
    overflow-y: auto;
}

.addline {
    background-color: var(--TabBackColor);
    color: var(--TabForeColor);
    margin: 10px;
    width: 60px
}

.tabledata {
    padding: 3px 5px;
}

.MultiLineTextInput {
    padding: 3px 5px;
}



.invoice-POS {
    /*-webkit-box-shadow: 0 0 1in -0.25in rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 1in -0.25in rgba(0, 0, 0, 0.5);*/
    padding: 2mm;
    margin: 0 auto;
    width: 270px;
    background: #FFF;
    direction: rtl
}

    .invoice-POS ::-moz-selection {
        background: #f31544;
        color: #FFF;
    }

    .invoice-POS ::selection {
        background: #f31544;
        color: #FFF;
    }

    .invoice-POS ::moz-selection {
        background: #f31544;
        color: #FFF;
    }

    .invoice-POS h1 {
        font-size: 1.5em;
        color: #000;
    }

    .invoice-POS h2 {
        font-size: 14px;
    }

    .invoice-POS h3 {
        font-size: 1.2em;
        font-weight: 300;
        line-height: 2em;
    }

    .invoice-POS p {
        font-size: 14px !important;
        color: #000;
        line-height: 1.2em;
    }

    .invoice-POS #top,
    .invoice-POS #mid,
    .invoice-POS #bot {
        /* Targets all id with 'col-' */
        border-bottom: 1px solid #000;
    }

    .invoice-POS #top {
        min-height: 20px;
    }

    .invoice-POS #mid {
        min-height: 80px;
    }

    .invoice-POS #bot {
        min-height: 50px;
    }



    .invoice-POS .info {
        display: block;
        margin-left: 0;
        font-size: 14px !important
    }

    .invoice-POS .title {
        float: right;
    }

        .invoice-POS .title p {
            text-align: right;
        }

    .invoice-POS table {
        width: 100%;
        border-collapse: collapse;
    }

    .invoice-POS .tabletitle {
        font-size: 12px;
    }

    .invoice-POS .service {
        border-bottom: 1px solid #000;
    }

.total .Wayyak {
    border-top: 2px solid #000 !important;
    border-bottom: 2px solid #000 !important;
    font-size: 20px;
    text-align: center;
    width: 250px !important;
    display: block;
    font-weight: bold
}

.invoice-POS .item {
    width: 20mm;
}

.invoice-POS .itemtext {
    font-size: 12px;
}

.invoice-POS #legalcopy {
    margin-top: 5mm;
    text-align: center;
}

.tableitem {
    max-width: 50px !important;
    word-wrap: break-word;
    font-size: 14px !important;
    color: #000 !important;
    word-break: break-all !important
}

.itemtext {
    font-size: 12px !important;
    color: #000 !important;
    word-break: break-all !important
}

.BusinessObjectSearchCriteria {
    padding: 5px;
    border: 1px solid gray;
    height: auto;
    overflow-y:  auto;
    margin: 0;
}


.unselectable {
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.selectable {
    -webkit-user-select: all;
    -webkit-touch-callout: revert;
    -moz-user-select: all;
    -ms-user-select: element;
    user-select: all;
}

/*#region Card CSS*/
.card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 400px;
    width: 100%;
    margin-top: 5px;
    padding: 5px;
    margin: 5px;
    border: 1px solid var(--BackColor);
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .7);
    /*text-align: center;*/
    display: inline-block;
}

.card-image {
    /*width: 100%;*/
    height: auto;
    display: block;
}

.card-content {
    padding: 20px;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.card-text {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
}

.card-label {
    display: block;
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    color: var(--LabelColor) !important;
    margin-bottom: 5px;
}

.card-dropdown {
    width: 300px;
    min-width: 300px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 15px;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease;
    font-size: 0.875rem;
    padding: 8px;
}

.card-input {
    width: 300px !important;
    min-width: 300px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 15px;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease;
    font-size: 0.875rem;
    padding: 8px;
}

    .card-dropdown:focus,
    .card-input:focus {
        border-color: #007bff;
        outline: none;
    }

.card-radio-group {
    border: none;
    margin: 0 0 15px 0;
    padding: 0;
}

    .card-radio-group legend {
        font-size: 0.875rem;
        color: #333;
        margin-bottom: 10px;
    }

.card-radio {
    display: block;
    font-size: 0.875rem;
    color: #333;
    margin-bottom: 8px;
}

    .card-radio input {
        margin-right: 8px;
    }

.card-checkbox {
    display: block;
    font-size: 0.875rem;
    color: #333;
    margin-bottom: 15px;
}

    .card-checkbox input {
        margin-right: 8px;
    }

.card-multi-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    margin-bottom: 15px;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease;
}

    .card-multi-select:focus {
        border-color: #007bff;
        outline: none;
    }

.card-button {
    display: inline-block;
    padding: 10px 15px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    width: 90%;
    text-align: center;
    margin-bottom: 2px;
    cursor: pointer;
}

    .card-button:hover {
        background-color: #0056b3;
    }

/*#endregion*/

/*Tables*/
.table-container {
    width: 100%;
    overflow-x: auto;
}

.responsive-table {
    width: 100%;
    border-collapse: collapse;
    /*margin: 0 auto;*/
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

    .responsive-table th,
    .responsive-table td {
        padding: 12px 15px;
        text-align: left;
        border-bottom: 1px solid #ddd;
    }

    .responsive-table th {
        background-color: #007bff;
        color: #fff;
        font-weight: bold;
    }

    .responsive-table tbody tr:hover {
        background-color: #f1f1f1;
    }

/*Calendar*/
.calendar-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Space between divs */
}
.calendar {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 410px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

    .calendar h5 {
        flex-basis: 100%;
        /*font-size: 1.5rem;
        color: #333;
        margin-bottom: 20px;
        text-align: center;*/
    }

.calendar-grid {
    flex: 1 1 calc(50% - 10px);
    /*display: grid;
    grid-template-columns: 1fr;*/
    gap: 3px;
}



.DoctorAppointmentsStatistics {
    width: auto;
    height: 110px;
    padding: 0;
    margin: 0;
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
}

.Appointments {
    width: auto;
    padding: 5px;
    margin: 10px;
    border-radius: 10px;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .7);
    font-size: 14px;
}

    .Appointments thead {
        color: var(--MenuBackColor);
        font-weight: bold;
    }

.Number {
    font-size: 18px;
    font-weight: bold;
    /*padding: 5px;*/
}

.Remaining {
    width: 120px;
    padding: 5px;
    margin: 5px 10px;
    border-radius: 10px;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .7);
    font-size: 14px;
}

    .Remaining thead {
        color: var(--MenuBackColor);
        font-weight: bold;
    }

td {
    padding: 5px;
}


.ButtonCard {
    margin: 5px;
    border-radius: 5px;
    overflow: hidden;
    height: 100px;
    width: 100px;
    margin: 5px;
    display: inline-block;
    text-align: center;
    box-shadow: 0 5px 25px rgba(1 1 1 / 15%);
    background-color: #fff;
    padding-top: 15px;
    color: var(--ForeColor);
}

    .ButtonCard:active {
        box-shadow: 0 .1rem .25rem rgba(0, 0, 0, .7);
        transform: scale(0.98);
    }


    .ButtonCard label {
        display: block;
    }


/* Responsive adjustments */


/* Media query to stack the third div */
@media (max-width: 735px) {

    .calendar {
        flex: 1 1 calc(50% - 10px); /* Two divs per row */
    }
}

/* Media query to stack the third div */
@media (max-width: 507px) {
    .calendar {
        flex: 1 1 100%; /* one div per row */
    }
}


@media (max-width: 508px) {
    /*cards for mobile*/
    .card {
        max-width: 100%;
    }

    .card-title {
        font-size: 1.25rem;
    }

    .card-text, .card-label {
        font-size: 0.875rem;
        width:100%;
    }
    
    .card-dropdown,
    .card-radio-group legend {
        font-size: 0.875rem;
    }

    .card-radio {
        font-size: 0.875rem;
    }

    .card-checkbox {
        font-size: 0.875rem;
    }

    .card-multi-select {
        font-size: 0.875rem;
        padding: 8px;
    }
    .card-button {
        font-size: 0.875rem;
        padding: 8px 12px;
    }

    /*Tables for mobile*/
    /*.responsive-table {
        display: block;
        width: 100%;
    }

        .responsive-table thead {
            display: none;
        }

        .responsive-table tbody {
            display: block;
            width: 100%;
        }

        .responsive-table tr {
            display: block;
            margin-bottom: 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
        }

        .responsive-table td {
            display: block;
            text-align: right;
            padding-left: 50%;
            position: relative;
            border-bottom: 1px solid #ddd;
        }

            .responsive-table td::before {
                content: attr(data-label);
                position: absolute;
                left: 15px;
                width: 45%;
                padding-right: 10px;
                text-align: left;
                font-weight: bold;
                color: #333;
            }

            .responsive-table td:last-child {
                border-bottom: 0;
            }*/

    /*slots*/
    .calendar-container{
        flex-direction:column;
    }
    .calendar {
        max-width: 100%;
    }

        .calendar h2 {
            font-size: 1.25rem;
        }

    .slot {
        font-size: 0.875rem;
        padding: 10px;
    }
}