:root {
    --mud-palette-surface: null;
}

/* Navigation */
/* Appbar */

.appbar-company-icon {
    height: 40px;
    margin: 10px;
    border-radius: 50%;
}

/* End Appbar */
/* End Navigation */
/* Login Page */
.login-container {
    max-height: 96.9vh;
    overflow: hidden;
}

.left-panel {
    background-color: #f5f5f5; /* Light background for banner */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 0 !important;
}

.left-panel img {
    height: auto;
    object-fit: cover;
}

.right-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    height: 96vh;
}

.login-paper {
    padding: 24px;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.company-logo {
    max-height: 60px;
    margin-bottom: 16px;
}

.login-title {
    margin-top: 16px;
    margin-bottom: 16px;
}

/* Hide left panel on small screens */
@media (max-width: 600px) {
    .left-panel {
        display: none;
    }
}

/* End Login Page */

/* Candidate Recruitment Badge */
.recruitment-candidate-status-badge > .mud-chip-container > .mud-chip {
    min-height: 3rem;
}

.recruitment-candidate-status-badge {
    height: 100%;
    width: 100%;
}

.recruitment-candidate-status-badge .mud-badge-wrapper .mud-badge {
    left: calc(100% - 2rem) !important;
    height: 2rem;
    width: 2rem;
    min-height: 2rem;
    min-width: 2rem;
    top: 25% !important;
    border-radius: 1rem;
}

.recruitment-candidate-phone-badge {
    font-size: .8rem;
    top: .15rem;
    position: relative;
}

/* End Candidate Recruitment Badge */

/* Candidate Details Page */

.gwis-input-tooltip {
    width: 100%;
}

@media (min-width: 1280px) {
    .candidate-details-left {
        width: 80%;
    }

    .candidate-details-right {
        width: 20%;
    }
}

/* End Candidate Details Page */

/* Begin Recruitment Candidate Overview */
.recruitment-statusoverview-swimminglane {
    border: 1px solid #d5d5d5;
    background-color: #f1f1f1;
}

.recruitment-statusoverview-step {
    box-shadow: none;
    border: 1px dotted #9c9c9c;
}


/* End Recruitment Candidate Overview */

.mud-table-container {
    width: 100% !important;
}

/* Begin Hours Availability */

.mud-cal-week-cell.mud-cal-disabled {
    background-color: var(--mud-palette-action-disabled-background);
}

/* End Hours Availability */

/* Blazor Error UI */
#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    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;
}

/* End Blazor Error UI */

/* Grid Column Widths */
.col-width-100 {
    width: 100px;
}

.col-width-150 {
    width: 150px;
}

.col-width-200 {
    width: 200px;
}

/* End Grid Column Widths */

/* Container Utilities */
.container-full-width {
    max-width: 100%;
}

/* End Container Utilities */

/* Dialog Sizes */
.dialog-large {
    min-width: 80vw;
    min-height: 80vh;
}

/* End Dialog Sizes */

/* Begin Planning Scheduler Components */

.planning-button-fixed-size-twinned-large {
    width: 20rem;
    min-width: 20rem;
    max-width: 20rem;
    height: 2rem;
    min-height: 2rem;
    max-height: 2rem;
}

.planning-button-fixed-size-twinned-small {
    width: 5rem;
    min-width: 5rem;
    max-width: 5rem;
    height: 2rem;
    min-height: 2rem;
    max-height: 2rem;
}

.planning-button-fixed-size {
    width: 20rem;
    min-width: 20rem;
    max-width: 20rem;
    height: 2rem;
    min-height: 2rem;
    max-height: 2rem;
}

/* Free Scheduler Blocks */
.planning-free-block-normal {
    background-color: var(--mud-palette-primary);
    color: white;
    border: 2px solid var(--mud-palette-primary-darken);
    cursor: pointer;
    transition: all 0.2s;
}

.planning-free-block-normal:hover {
    background-color: var(--mud-palette-primary-darken);
}

.planning-free-block-warning {
    background-color: var(--mud-palette-warning);
    color: white;
    border: 2px solid var(--mud-palette-warning-darken);
    cursor: pointer;
    transition: all 0.2s;
}

.planning-free-block-warning:hover {
    background-color: var(--mud-palette-warning-darken);
}

.planning-free-block-content {
    padding: 4px 8px;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    position: relative;
}

.planning-free-block-time {
    font-size: 0.85em;
    margin-top: 2px;
}

.warning-icon {
    position: absolute;
    top: 2px;
    right: 4px;
    font-size: 0.9em;
}

/* Toolbar Elements */
/*.toolbar-date-picker {
    max-width: 180px;
}*/

.toolbar-team-select {
    min-width: 250px;
    max-width: 400px;
}

/* End Planning Scheduler Components */

/* Changes van Patrick */
.content-left-container {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    background-color: #f1f1f1;
}

.content-left-container .mud-paper {
    background-color: #f1f1f1;
}

.content-left-container .mud-nav-group button:first-child {
    background-color: #a7a7a7;
    color: white;
}

.mud-appbar h6 {
    line-height: var(--mud-appbar-height);
}

.mud-tab {
    border: 0 !important;
}

.mud-tab-active {
    background-color: #a7a7a7;
    color: white !important;
    border: 0 !important;
}


.last-updated {
    font-weight: bold;
    font-size: 12px;
    display: block;
    line-height: 12px;
}

.last-updated-by {
    color: #a6a6a6;
    font-size: 12px;
    line-height: 12px;
}

.content-main-container {
    margin-top: 20px;
}

.mud-table-head .mud-table-cell {
    border: 1px solid #e9e9e9;
    background-color: #cbcbcb;
}

.mud-table-head .mud-table-cell:first-child {
    border-left: 0;
}

.mud-table-head .mud-table-cell:last-child {
    border-right: 0;
}

/* End changes van Patrick */

/* Text Utilities */
.text-overflow-ellipsis {
    overflow: hidden;
    text-wrap: nowrap;
    width: 100%;
}

.text-overflow-ellipsis-max {
    overflow: hidden;
    text-wrap: nowrap;
    max-width: 200px;
    text-overflow: ellipsis;
}

.text-size-sm {
    font-size: .6rem;
}

.text-size-md {
    font-size: .8rem;
}

.text-align-start {
    text-align: start;
}

/* End Text Utilities */

/* Icon Utilities */
.icon-size-sm {
    height: 2rem;
    width: 2rem;
}

.icon-size-sm-positioned {
    height: 2rem;
    width: 2rem;
    top: 1rem;
}

.icon-positioned-top {
    top: 0;
    position: relative;
}

.icon-positioned-right {
    position: absolute;
    right: 0;
}

/* End Icon Utilities */

/* Layout Utilities */
.display-block-center {
    display: block;
    text-align: center;
}

.display-grid-padded {
    display: grid;
    padding-top: 10px;
    padding-bottom: 10px;
    min-width: 30rem;
}

.height-full {
    height: 100%;
}

.width-full {
    width: 100%;
}

.height-width-full {
    height: 100%;
    width: 100%;
}

.toolbar-height-sm {
    height: 3em;
}

/* Spacing Utilities */
.ml-2 {
    margin-left: 8px;
}

/* End Layout Utilities */

/* Button Utilities */
.btn-action {
    padding: 0.5rem;
    margin: 0.5rem;
}

/* End Button Utilities */

/* ==========================================================================
   Dialog Styles
   ========================================================================== */

/* Dialog Sizes */
.dialog-xlarge {
    min-width: 80vw;
    min-height: 80vh;
}

.dialog-large-width {
    min-width: 80vw;
    max-width: 80vw;
}

.dialog-medium {
    min-width: 60vw;
    min-height: 50vh;
}

/* End Dialog Styles */

/* ==========================================================================
   Planning & Shift Components
   ========================================================================== */

/* Shift Dialog Elements */
.shift-dialog__add-button {
    right: 1rem;
    position: fixed;
    top: 3.5rem;
}

.shift-dialog__list-item {
    border: 1px solid lightgray;
}

.shift-dialog__delete-button {
    position: absolute;
    z-index: 5;
    right: 0;
    top: 0;
    padding: 0;
    margin: 0.5vh;
}

.shift-dialog__status-chip {
    width: 150px;
}

.shift-dialog__status-chip--disabled {
    width: 150px;
    cursor: not-allowed;
    color: lightgray;
}

.shift-dialog__info-text {
    display: inline-grid;
    line-height: 0.7rem;
    text-align: start;
}

.shift-dialog__list-item--disabled {
    cursor: not-allowed;
}

.shift-dialog__text--disabled {
    color: darkgray;
}

/* Mutation & Schedule Lock Dialogs */
.mutation-dialog__info-section {
    background-color: var(--mud-palette-background-grey);
}

/* Shift Overview Components */
.shift-overview__paper-bordered {
    border: 1px solid var(--mud-palette-divider);
}

.shift-overview__icon-vertical-align {
    vertical-align: middle;
}

/* End Planning & Shift Components */

/* ==========================================================================
   Recruitment Components
   ========================================================================== */

/* Recruitment Task Dialog */
.recruitment-task__icon-small {
    height: 2rem;
    width: 2rem;
}

/* End Recruitment Components */

/* ==========================================================================
   Scheduler Components
   ========================================================================== */

/* Availability Component */
.availability__container {
    min-height: 80vh;
}

.availability__delete-button {
    position: absolute;
    z-index: 5;
    color: white;
    right: 0.5vh;
    height: 1.5vh;
}

.availability__block--disabled {
    background-color: var(--mud-palette-gray-dark);
    cursor: not-allowed;
}

.availability__text--disabled {
    color: var(--mud-palette-gray-light);
}

/* Planning Component Selects */
.planning-select__min-width {
    min-width: 200px;
}

/* End Scheduler Components */

/* ==========================================================================
   Container & Grid Utilities
   ========================================================================== */

.container-max-width-full {
    max-width: 100%;
}

.grid-col-width-50 {
    width: 50px;
}

.grid-col-width-80 {
    width: 80px;
}

.grid-col-width-100 {
    width: 100px;
}

.grid-col-width-120 {
    width: 120px;
}

.grid-col-width-150 {
    width: 150px;
}

.grid-col-width-200 {
    width: 200px;
}

/* End Container & Grid Utilities */

/* ==========================================================================
   Platform Components
   ========================================================================== */

/* Function Editor */
.function-editor__row-full-width {
    width: 100%;
}

.function-editor__text-flex {
    flex: 1;
}

.function-editor__select-width {
    min-width: 200px;
    max-width: 300px;
}

/* Company Details */
.company-details__supplier-text {
    color: gray;
    font-size: 0.875rem;
}

/* End Platform Components */

/* ==========================================================================
   Common Component Utilities
   ========================================================================== */

/* Sales Dashboard */
.dashboard__select-min-width {
    min-width: 200px;
}

.dashboard__loading-container {
    min-height: 200px;
}

/* End Common Component Utilities */