html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #e0e0e0;
}
* {
    --bs-table-striped-bg: #7daf362e;
    --mud-palette-primary: #7daf36;
    --mud-palette-primary-darken: #668f2c;
    /*    --mud-theme-primary-light: #258cfb;
    --mud-theme-primary-dark: #1861ac;
    --mud-theme-secondary: #006bb7;
    --mud-theme-secondary-light: #0088d1;
    --mud-theme-secondary-dark: #005a8f;
    --mud-theme-tertiary: #f0f0f0;
    --mud-theme-tertiary-light: #f5f5f5;
    --mud-theme-tertiary-dark: #e0e0e0;
    --mud-theme-dark: #333;
    --mud-theme-light: #fff;
    --mud-theme-text-primary: #333;
    --mud-theme-text-secondary: #666;
    --mud-theme-text-disabled: #999;
    --mud-theme-text-hint: #666;
    --mud-theme-text-icon: #666;
    --mud-theme-text-hint: #666;
    --mud-theme-text-icon: #666;
    --mud-theme-text-divider: #e0e0e0;
    --mud-theme-text-link: #006bb7;
    --mud-theme-text-link-hover: #005a8f;
    --mud-theme-text-link-visited: #006bb7;
    --mud-theme-text-link-disabled: #999;
    --mud-theme-text-button: #fff;
    --mud-theme-text-button-disabled: #999;
    --mud-theme-text-button-hover: #fff;
    --mud-theme-text-button-pressed: #fff*/
}
.btn-primary {
    background-color: #7daf36 !important;
    border: none;
}
.mud-button-root:hover {
    background: var(--mud-palette-primary);
    color: #fff;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhl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AuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.day-card {
    box-shadow: 0 0 5px rgba(0,0,0,0.4);
    padding: 20px;
    margin: 30px 20px !important;
    border-radius: 10px;
    background: #fff;
    background: #e0e0e0;
    box-shadow: 4px 4px 5px rgba(0,0,0,0.2), -4px -4px 5px rgba(255,255,255,0.6);
}
.add-toolbar {
    box-shadow: 0 0 5px rgba(0,0,0,0.4);
    padding: 20px;
    margin: 30px 10px !important;
    border-radius: 10px;
    background: #fff;
    background: #e0e0e0;
    /*width: 100%;*/
    margin: 0 auto;
    box-shadow: 4px 4px 25px rgba(0,0,0,0.8), -4px -4px 25px rgba(255,255,255,1);
}
.clickable {
    max-width: 50px !important;
}
.title-toolbar {
    min-width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.title-toolbar input{
    display:inline-block;
}
.search-input{
    margin: 0 !important;
    line-height: 1.2;
    margin-left: -10px;
    width: 100%;
}

input, select{
    height: 28px !Important;
    border-radius: 5px;
    border: solid 1px rgba(0,0,0,0.5)
}

.edit-modal {
    position: fixed;
    top: 0;
    left: 0;
    min-height: 100vh;
    min-width: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 99999;
    display: grid;
    align-content: center;
    max-height: 100vh;
}


.edit-modal-body {
    background: #fff;
    width: fit-content;
    /* min-height: 250px; */
    width: 900px;
    max-width: 100vw;
    max-height: 100%;
    overflow: auto;
    margin: 0 auto;
    display: grid;
    padding: 10px;
    overflow-x: clip;
}

.company {
    font-weight: bold;
}

.clickable {
    cursor: pointer !important;
}
.mud-button-label {
    width: 100%;
    display: inherit;
    align-items: flex-start !important;
    justify-content: inherit;
}

tr, td {
    align-content: center;
}

input{
    padding-left: 10px;
}
.broughtForward {
    position: absolute;
    height: 100%;
    width: 100%;

    display: grid;
    align-content: center;
    justify-content: center;
    z-index: 999;
    padding-right: 20px;
    box-sizing: border-box;
}
.sentBack {
    filter: blur(5px) grayscale(.6);
}
.latest-item {
    background: #f0f0f0;
    padding: 0 10px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0,0,0,0.4);
    margin: 10px 0;
    min-height: 100%;
    background: #e0e0e0;
    box-shadow: inset 4px 4px 5px rgba(0,0,0,0.2), inset -4px -4px 5px rgba(255,255,255,0.6);
    cursor: pointer;
}
    .latest-item:hover {
        background: #e0e0e0;
        box-shadow: 4px 4px 5px rgba(0,0,0,0.2), -4px -4px 5px rgba(255,255,255,0.6);
    }
    .latest-item {
        display: flex;
    }
.latest-item-text {
    margin-top: 20px;
    justify-self: center;
    align-self: center;
}
.latest-item-avatar {
    display: flex;
    flex-direction: column;
    justify-self: center;
    align-self: center;
}
    .latest-item-avatar p {
        text-align: center;
        margin: 0;
        justify-self: center;
        align-self: center;
    }
.latest-item-avatar-img {
    height: 80px;
    width: 80px;
    align-content: center;
    justify-content: center;
    margin: 0 auto;
    text-align: center;
    background-color: var(--mud-palette-primary);
    color: #fff;
    font-size: 40px;
    border-radius: 50%;
    margin: 10px;
    box-shadow: 4px 4px 5px rgba(0,0,0,0.2), -4px -4px 5px rgba(255,255,255,0.6);
}
.company-item {
    border-radius: 5px;
    padding: 0 5px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    margin: 5px 0;
    min-height: 39px;
    border: 1px solid rgba(64,64,64,.2);
}
    .company-item p{
                margin: 0;
    }
    .company-item.active {
        background-color: var(--mud-palette-primary);
        border: 1px solid var(--mud-palette-primary);
        border-radius: 5px;
        color: #fff;
        box-shadow: 0 0 10px rgba(64,64,64,0.4)
    }


.layout {
    margin-top: 60px;
    display: flex;
    transition: margin-left 0.3s ease;
}

.side-navbar {
    background-color: #343a40;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 60px;
    overflow-x: hidden;
    transition: width 0.3s ease;
    z-index: 100;
    margin-top: 60px ;
}

    .side-navbar nav {
        display: flex;
        flex-direction: column;
        padding-top: 20px;
    }

.nav-link {
    display: flex;
    align-items: center;
    padding: 12px;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .nav-link .bi {
        margin-right: 8px;
        font-size: 1.5rem;
        color: white;
        transition: color 0.3s ease;
    }

    .nav-link:hover,
    .nav-link.active {
        color: greenyellow; 
    }

    .nav-link:hover .bi,
    .nav-link.active .bi {
        color: greenyellow; 
    }

.nav-text {
    display: none; 
}

.side-navbar.expanded .nav-text {
    display: inline-block; 
}

.side-navbar.expanded {
    width: 240px;
}

.main-content {
    margin-left: 60px;
    transition: margin-left 0.3s ease;
    padding: 20px;
    padding-top: 60px;
}

    .main-content.expanded {
        margin-left: 240px; 
    }

.nav-link:hover {
    background-color: #495057;
    cursor: pointer;
}

.top-bar {
    background-color: #343a40;
    color: white;
    padding: 10px 20px;
    text-align: center;
    font-size: 1.5rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    transition: margin-left 0.3s ease;
}


.item-card {
    background-color: #fff;
    padding: 10px;
    width: 93vw; /* Make the card 95% of the viewport width */
    max-width: 100%; /* Prevent overflow */
    min-height: 250px;
    margin: -40px 0;
    border-radius: 10px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}

/*    .item-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15); 
    }*/

.item-card-header {
    display: flex;
    padding-top: 5px;
    margin-bottom: 30px;
    align-items: center;
    justify-content: center;
    background-color: greenyellow;
    border-radius: 10px;
}

.item-card-body {
    margin-bottom: 15px;
}

    .item-card-body p {
        font-size: 1rem;
        color: #666;
    }

.item-card-footer {
    display: flex;
    justify-content: flex-end;
}

    .item-card-footer .btn {
        padding: 8px 16px;
        background-color: #007bff;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

        .item-card-footer .btn:hover {
            background-color: #0056b3;
        }

.save-button {
    background-color: greenyellow;
    padding: 5px;
    border-radius : 10px;
    margin-left: 80px;
    margin-top: 15px;
}
    .save-button:hover {
        background-color: yellowgreen; 
    }

.custom-dropdown {
    text-align: center;
    padding: 0.5rem;
    min-height: 2.5rem;
    width: 100%;
}

    .custom-dropdown option {
        text-align: left;
        padding: 0.5rem;
    }

.custom-file-label {
    display: block; 
    text-align: center; 
}

    .custom-file-label i {
        display: block; 
        margin: 5px auto 0 auto; 
    }

.table {
    width: 100%;
    border-collapse: collapse;
}

    .table th, .table td {
        padding: 8px 12px;
        border: 1px solid #ddd;
        text-align: left;
    }

    .table th {
        background-color: #f4f4f4;
    }

.btn {
    margin: 0 5px;
}

.ddt-label {
    background-color: greenyellow;
    border: solid 1px black;
    border-radius: 10px;
}

body.homepage .nav-menu,
body.homepage .top-nav {
    display: none;
}