﻿body {
    margin: 0;
    padding: 0;
}

.mud-main-content {
    padding-bottom: 2rem !important;
}

#dm-auth-header {
    padding: .5rem 1rem;
    margin: 0;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

#dm-auth-container {
    height: calc(100vh - 48px);
    display: flex;
    align-items: center;
    justify-content: center;
}

#dm-auth-box {
    min-width: 320px;
    max-width: 360px;
    padding: 1.5rem 2rem;
}

.dm-auth-input {
    padding: .325rem;
}

.dm-auth-button {
    padding: .375rem .75rem;
    font-weight: bold;
}

.dm-calendar-week {
    display: grid;
    grid-template-columns: repeat(7,1fr);
    gap: 4px;
}

.dm-calendar-day {
    min-height: 8rem;
}

.dm-column-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dm-form-tabs-container {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.dm-form-tab {
    width: 48px;
    height: 192px;
    cursor: pointer;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    border-left: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 8px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

    .dm-form-tab:hover {
        width: 56px;
        box-shadow: 6px 0 12px rgba(0, 0, 0, 0.3);
    }

.dm-form-tab-active {
    width: 80px;
    box-shadow: 8px 0 16px rgba(0, 0, 0, 0.4);
}

.dm-form-tab::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: rgba(255, 255, 255, 0.3);
}

.dm-form-tab-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    color: white;
}

.dm-form-tab-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: white;
    line-height: 1;
    margin: 2px 0;
}

.dm-scrollable-tabs .mud-tabs-panels {
    height: 40vh;
    overflow: auto;
}

.dm-tab-panel-height {
    height: calc(100% - 48px) !important;
    overflow-y: auto;
}

.dm-grid-icon {
    text-align: center;
    max-width: 224px !important;
}

.dm-labeled-switch .mud-input-control-input-container .mud-switch {
    margin-right: 4px !important;
}

.mud-input-max-512 {
    max-width: 512px;
    width: 50%;
}

.mud-tab-slider-horizontal {
    height: 8px !important;
}

.mud-tab-slider-vertical {
    width: 8px !important;
}

.dm-pp-tab-panel {
    height: calc(100% - 48px);
}

.dm-small-numeric {
    max-width: 96px !important;
    flex: 0 0 auto !important;
}

.dm-nested-tab-panel {
    height: calc(100% - 48px);
    overflow-y: clip;
}

.filter-header-cell {
    text-align: center;
    /*top: 43.75px !important;*/
}

.mud-chart-line {
    overflow: visible;
}

.mud-snackbar-content-message {
    font-size: 2rem !important;
}

.mud-table-head {
    position: sticky;
    top: 0;
    z-index: 2;
}

.diagram-container {
    width: 100%;
    height: 100%;
}

@media (min-width: 960px) {
    .dm-pp-id-btn-item {
        padding-right: 12px !important;
    }

    .dm-pp-id-duedate-item, .dm-pp-radio-item {
        justify-content: center;
    }
}

@media (width: 960px) {
    .dm-pp-id-btn-item {
        padding-right: 12px !important;
    }

    .dm-pp-id-duedate-item {
        justify-content: center;
    }
}

@media (max-width: 959px) {
    .dm-pp-id-btn-item {
        padding-right: 6px !important;
    }

    .dm-pp-id-duedate-item {
        justify-content: flex-start;
    }
}