: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;
}

/*#region MainMenu*/
.MainMenu {
    flex: 0 1 40px;
    padding: 3px;
    color: var(--ForeColor) !important;
    background-color: var(--BackColor) !important;
    font-size: 1em !important;
    font-weight: 500;
}

.MainMenuItem {
    border-right: 1px solid #fff;
    padding: 10px;
    cursor: pointer;
    color: #fff;
    color: var(--ForeColor);
    background-color: var(--BackColor);
    font-size: 1.2em !important;
    font-weight: 500;
    min-width: 100px;
    min-height: 20px;
}

    .MainMenuItem:hover {
        border-right: 1px solid #fff;
        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;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
}

.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;
}
/*#endregion*/

.FlexContainer {
    display: flex;
    flex-flow: column;
    height: 100vh;
    width: 100%;
    /*border: 3px solid red*/
}

.Banner {
    flex: 0 1 auto;
    height: 50px;
    max-height: 50px;
    padding: 5px 10px;
    background-color: var(--BackColor);
    color: #fff;
}

.Container {
    box-sizing: border-box;
    width: 100%;
    max-width: 450px;
    height: 100%;
    min-height: 100%;
    overflow-y: auto;
    margin: 0;
}

.ContainerBox {
    box-sizing: border-box;
    width: 100%;
    max-width: 420px;
    padding: 3px;
    padding-top: 10px;
    margin: auto;
    overflow-x: auto;
    /*border: 1px solid;*/
}

.LogoutButton {
    float: right;
    border: none !important;
    margin-top: -10px;
}

.MainLogo {
    text-decoration: none;
    color: var(--BackColor);
    font-weight: 700;
    font-size: 1.8em;
}

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: 15px;
    height: 15px;
    cursor: pointer;
}

.block {
    display: block;
}

.Button {
    width: auto;
    padding: 10px;
    font-size: 1em;
    border-radius: 5px;
    background-color: var(--ForeColor);
    color: var(--TabForeColor);
    cursor: pointer;
    margin: 15px;
    white-space: nowrap;
    transition: 0.3s;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .7);
}
    .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;
}

.MultiSelectList {
    width: auto;
    background-color: #ddd;
    width: fit-content;
    border: 1px solid Navy;
    padding: 5px;
    max-height: 300px;
    overflow-y: scroll;
}

.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: 100%;
    max-width: 300px !important;
    min-width: 200px !important;
    text-align: center;
    margin: 10px;
}

    .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;
}

.Center {
    text-align: center !important;
}

.EntryField {
    padding-top: 15px;
    width: 100%;
    min-width: 300px;
    overflow-x:auto;
    display: block;
}

.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;
}

/*#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: 100% !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*/

.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: 3px;*/
    font-size: 0.9em;
    width: auto;
    margin-left: 1px;
    text-align: center;
}

.LogoutIcon {
    width: 30px;
    padding: 0;
    margin: 0;
    margin-left: -20px;
    position: fixed;
    cursor: pointer;
}

.NavBarHeader {
    margin-left: 30px;
}

.getimage {
    background: var(--ForeColor);
    color: var(--BackColor);
    margin-top: 15px;
    border-radius: 5px;
    width: 100px;
    text-align: center;
}

center button {
    font-size: large;
    font-weight: 500;
}

.NavMenuItem {
    padding: 5px 10px;
}

.CollapsibleHeader {
    background-color: var( --TabBackColor);
    color: var(--TabForeColor);
    cursor: pointer;
    padding: 10px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1em;
    margin-top: 5px;
}

.CollapsibleContent {
    padding: 3px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: #f1f1f1;
}

.sidebar1 {
    margin-top: 10px;
    margin-left: 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;
    }

.MainLogo {
    display: none;
}
