/* admin css */

:root {
    --TabearNotCurrent: #579170;
    --TabearCurrent: #2b6644;
}

body {
    font-family: var(--Fonts);
    font-size: 16px;
    overflow-x: hidden;
}

#HamburgerMenu>[data-mz-buttontype="Signout"] {
    margin-top: 0px;
    border-top: none;
}

/* #region | Signin */

#SigninError:not(.hidden) {
    margin-top: 8px;
}

.PromptAbove {
    height: 0px;
    overflow: hidden;
    margin-bottom: -18px;
    padding-left: 2px;
    color: var(--yfColorCreamLight);
    font-size: 14px;
    transition: height 300ms;
}

.PromptAbove.show {
    height: 22px;
}

#Signin {
    position: relative;
    width: 100vw;
    opacity: 0;
    transform: translateY(-30px);
    transition: transform 1500ms var(--easeOutQuint), opacity 2500ms;
    padding-top: clamp(75px, 7vw, 90px);
}

#SigninHeading {
    font-family: Caudex;
    font-size: clamp(40px, 20vw, 100px);
    color: var(--yfColorGreen);
    text-align: center;
}

#SigninSubHeading {
    font-size: clamp(20px, 20vw, 30px);
    color: var(--yfColorGreen);
    text-align: center;
    font-family: Caudex;
}

.SigninMainPanel {
    width: 100vw;
    display: flex;
    flex-direction: row;
    justify-content: center;
    opacity: 0;
    transform: translateX(30px);
    transition: transform 1500ms var(--easeOutQuint), opacity 2500ms;
}

.SigninMainPanelInner {
    width: 100%;
    max-width: clamp(300px, 80vw, 400px);
    margin-top: clamp(20px, 2vh, 40px);
    background-color: rgba(255, 255, 255, .9);
    background-color: rgba(248, 242, 222, .9);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 6px 6px 20px rgb(127 104 104 / 69%);
}

@media screen and (max-height: 600px) {

    #SigninHeading {
        font-size: clamp(30px, 20vw, 60px);
        margin-top: clamp(10px, 3vh, 40px);
    }

    #SigninSubHeading {
        font-size: clamp(20px, 20vw, 30px);
    }

    .SigninMainPanelInner {
        margin-top: clamp(0px, 2vh, 40px);
    }
}

#SigninButton,
#StartResetButton,
#ResetButton {
    height: 60px;
    width: 100%;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 3px 3px 6px rgba(140, 140, 140, 0.96);
}

#NoSigninButton,
#ForgottenButton,
#ResendResetButton {
    height: 36px;
    width: 220px;
    border-radius: 8px;
    font-size: 14px;
}

#NoSigninButton,
#ResendResetButton {
    margin-top: 30px;
    box-shadow: 3px 3px 6px rgba(189, 179, 138, 0.96);
}

#ForgottenButton {
    margin-top: 10px;
    margin-bottom: 12px;
    box-shadow: 3px 3px 6px rgba(189, 179, 138, 0.96);
    margin-top: 30px;
}

#SigninMainPanelInner .mzButton.mzDarken:focus-visible {
    border: 2px solid #222;
}

#ResetHeading,
#ResetEntryHeading {
    color: var(--yfColorRed);
    font-size: 22px;
    position: relative;
    margin-bottom: 12px;
    text-align: center;
}

.ResetCancelButton {
    height: 36px;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 30px;
    margin-bottom: 30px;
    box-shadow: 3px 3px 6px rgba(189, 179, 138, 0.96);
}

.SigninTextBlock {
    /* background-color: rgba(255, 252, 243, 0.8); */
    padding: 4px 8px 8px 10px;
    border-radius: 8px;
    line-height: 22px;
}

/* #endregion | Signin */

.ParaGap {
    margin-top: 16px;
}

/* #region | Popup modals */

#PopupModalContainer {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100dvh;
    background-color: var(--themeBaseBackground);
    opacity: 0;
    transition: opacity 600ms;
    z-index: 6;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.PopupModal {
    position: relative;
    width: 100vw;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    place-items: center;
}

.PopupModalHeaderId {
    font-size: 20px;
    color: #fff;
    margin: 8px 6px 0px 6px;
    display: flex;
    flex-direction: column;
    place-items: center;
    background-color: var(--SecondaryBackgroundColor);
    padding: 6px;
    border-radius: 4px;
    width: -webkit-fill-available;
}

.PopupModalHeading {
    font-size: 20px;
    color: #fff;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    place-items: center;
}

.PopupModalSubHeading {
    font-size: 18px;
    color: var(--yfColorGold);
    margin-top: 10px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.PopupModalBody {
    flex: 1 1;
    display: flex;
    flex-direction: column;
    width: clamp(320px, calc(100vw - 12px), 900px);
}

.PopupModelTopButtons {
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

/* #endregion | Popup modals */

.mzCentered {
    text-align: center;
}

#MainContent {
    position: relative;
    top: 50px;
    height: calc(100dvh - 50px);
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateX(-50px);
    transition: transform 1500ms var(--easeOutQuint), opacity 2500ms;
}

#main_tabears {
    flex: auto;
    display: flex;
    flex-direction: row;
    max-height: fit-content;
    margin: 4px 2px 0px 2px;
    padding-bottom: 1px;
    border-bottom: 1px solid #eee;
}

.main_tabear,
.side_tabear {
    padding: 8px;
    height: fit-content;
    font-size: var(--mz-fontsize-base);
    font-family: var(--mz-fonts);
    color: #333;
}

.main_tabear {
    margin-right: 4px;
    background-color: #ccc;
    border: none;
}

.main_tabear.selected {
    color: blue;
    background-color: #e9e9e9;
}

.side_tabear {
    margin-bottom: 4px;
    background-color: #ccc;
    border: none;
}

.side_tabear.selected {
    color: green;
    background-color: #e9e9e9;
}

.main_tab {
    flex: 1 1;
    display: flex;
    flex-direction: column;
    margin: 10px;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-50px);
    transition: transform 0.6s cubic-bezier(0.250, 0.460, 0.450, 0.940), opacity 600ms !important;
}

.tab_title {
    flex: 0 0 auto;
    font-size: var(--mz-fontsize-verylarge);
    font-family: var(--mz-fonts);
    color: var(--mz-color-mono-verylight);
    margin-bottom: 8px;
    text-align: center;
}

.tab_content {
    flex: 1 1;
    display: flex;
    flex-direction: row;
    overflow: hidden;
}

.tab_content_tabears {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    margin-right: 8px;
}

.tab_content_tabpanels {
    flex: 1 1;
    display: flex;
    flex-direction: column;
}

.tab_content_tabpanel {
    height: 100%;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.6);
    flex: 1 1;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateX(20px);
    transition: transform 0.6s cubic-bezier(0.250, 0.460, 0.450, 0.940), opacity 600ms !important;
}

.main_title {
    flex: 0 0 auto;
    font-size: var(--mz-fontsize-large);
    font-weight: var(--mz-fontweightbold);
    font-family: var(--mz-fonts);
    color: var(--mz-color-mono-verydark);
    margin-top: 10px;
    text-align: center;
    text-decoration: underline;
}

.MainContent {
    flex: 1 1;
    display: flex;
    flex-direction: column;
    margin: 8px 16px 16px 16px;
    overflow: hidden;
}

.MainContentSection {
    margin-top: 8px;
    display: flex;
    flex-direction: row;
}

.MainContentRows {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}

.content_prompt {
    font-size: var(--mz-fontsize-base);
    font-family: var(--mz-fonts);
    color: var(--mz-color-mono-verydark);
    display: inline-block;
    margin-right: 4px;
    text-wrap-mode: nowrap;
}

.content_input {
    border: none;
    padding: 4px;
    font-size: var(--mz-fontsize-base);
    font-family: monospace;
    font-size: 17px;
    max-width: 600px;
    width: 100%;
}

.content_button {
    height: 100%;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 1px;
    margin-left: 4px;
    font-size: var(--mz-fontsize-base);
    font-family: var(--mz-fonts);
    text-wrap-mode: nowrap;
}

#database_tool_encryption .content_prompt {
    width: 180px;
}

#server_error {
    padding: 8px
}

.mzCheckBoxLabel {
    margin-left: 0px !important;
}

.mzCheckBoxLabel>label {
    padding-left: 8px;
}

.ReportChoices {
    display: flex;
    flex-direction: row;
}

.ReportChoices>.mzCheckBox {
    margin-right: 20px;
    align-items: center;
}

.ReportChoices>.mzCheckBox:last-child {
    margin-right: 0px;
}

#AccountRoleFilter {
    width: 190px;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: -8px;
    margin-right: 20px;
}

#AccountRoleFilter>.mzEditBox {
    flex: 1 1;
}

.mzEditBox:has(.mzEditBoxInput:focus),
.mzEditBox:has(.mzEditBoxClear:hover),
.FormTextArea:has(.mzEditBoxInput:focus) {
    background-color: var(--mzColorPrimaryDark);
}

.mzEditBoxClear {
    background-color: #82aa94;
}

.mzPasswordHideShow {
    background-color: #558669;
}

.mzEditBox,
.FormTextArea {
    background-color: #81a18f;
}

::placeholder {
    color: #cad3cf !important;
}

.ReportRunButton {
    background-color: var(--mzColorGreen);
    color: white;
    border-radius: 8px;
    height: 35px;
}

.ReportRunButton>.mzButtonText {
    margin: 1px 12px 3px 12px;
}

.ReportSummary {
    padding: 0px 0px 6px 0px;
    color: #555;
}

.ReportHeadings {
    flex: 0 0 auto;
    display: flex;
    flex-direction: row;
    background-color: rgb(98 145 117);
    color: white;
    padding: 4px;
}

.ReportRecords {
    flex: 1 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.ReportRecords>.ReportRow:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.2);
}

.ReportRow {
    display: flex;
    flex-direction: row;
    padding: 6px 4px 6px 4px;
}

.ReportColumn {
    flex: 1 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#ClearFields {
    height: fit-content;
    padding: 2px;
    width: fit-content;
    margin: 0px;
    margin-bottom: 6px;
}

[data-mz-tabid="Browse"] .ReportRow {
    transition: background-color 300ms;
}

[data-mz-tabid="Browse"] .ReportRow:hover {
    cursor: pointer;
    background-color: rgba(0, 0, 0, .1);
}

[data-mz-tabid="Browse"] .ReportRow:hover {
    cursor: pointer;
    background-color: rgba(0, 0, 0, .1);
    transition: background-color 100ms;
}

[data-mz-tabid="Browse"] .ReportRow:active {
    background-color: rgba(0, 0, 0, .2);
}