html,
body,
#content {
    width: 100%;
    height: 100%;
    margin: 0;
    background: #f5f7fa;
}

.ui5RootView {
    display: block;
    width: 100%;
    height: 100%;
}

.startupMessage {
    position: fixed;
    z-index: 10;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 2rem;
    color: #15334b;
    background: #f5f7fa;
    font: 600 1rem/1.5 Arial, sans-serif;
    text-align: center;
}

.startupMessageError {
    color: #a32121;
}

.budgetPage,
.budgetPage .sapMPageEnableScrolling {
    background: #f5f7fa;
}

.budgetShell {
    background: var(--sapBackgroundColor);
}

.pageContent {
    width: 100%;
    padding: 1.5rem 2rem 2rem;
    box-sizing: border-box;
}

.sectionContent {
    overflow: hidden;
    border-radius: 1rem;
    background: var(--sapGroup_ContentBackground, #fff);
    box-shadow: var(--sapContent_Shadow0);
}

.currentUserLabel {
    margin-right: 0.5rem;
    color: #52677a;
    font-weight: 600;
}

.loginView {
    overflow-y: auto;
}

.loginLayout {
    display: flex;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    box-sizing: border-box;
    background: radial-gradient(circle at 20% 10%, #e5f0f8 0, #f5f7fa 48%, #edf2f6 100%);
}

.loginCard {
    width: 100%;
    max-width: 28rem;
    box-sizing: border-box;
    flex-shrink: 0;
    gap: 0.65rem;
    padding: 2.2rem;
    border: 1px solid #e4ebf1;
    border-radius: 1.2rem;
    background: #fff;
    box-shadow: 0 1rem 3rem rgba(23, 43, 77, 0.12);
}

.loginEyebrow {
    color: #527b96;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.loginTitle {
    margin-top: 0.2rem;
    color: #15334b;
}

.loginIntro,
.loginFootnote {
    color: #65798b;
}

.loginCard .sapMLabel {
    margin-top: 0.65rem;
    color: #52677a;
    font-weight: 600;
}

.loginButton {
    width: 100%;
    margin-top: 0.6rem;
}

.loginError {
    color: #a32121;
    white-space: pre-line;
}

.loginFootnote {
    margin-top: 0.6rem;
    font-size: 0.8rem;
}

.summaryRow {
    align-items: stretch;
    gap: 0.8rem;
    margin: 0.5rem 0 1rem;
}

.summaryCard {
    min-width: 9.5rem;
    padding: 0.9rem 1.1rem;
    border: 1px solid #e7edf3;
    border-radius: 0.8rem;
    background: #fff;
}

.summaryLabel {
    margin-bottom: 0.3rem;
    color: #65798b;
    font-size: 0.8rem;
}

.summaryCard .sapMObjectNumberText {
    color: #15334b;
    font-size: 1.4rem;
    font-weight: 700;
}

.tablePanel {
    padding: 0 1rem 1rem;
}

.tablePanel > .sapMTB {
    min-height: 4rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #edf1f5;
    background: #fff;
}

.tablePanel .sapMTitle {
    color: #15334b;
    font-weight: 700;
}

.formFields {
    gap: 0.4rem;
    padding: 0.75rem 0.25rem;
}

.formFields .sapMLabel {
    margin-top: 0.45rem;
    color: #52677a;
    font-weight: 600;
}

.reportPanel {
    padding-top: 0.25rem;
}

.reportFilters {
    gap: 1rem;
    padding: 1rem 0;
}

.reportFilter {
    gap: 0.3rem;
}

.reportSummary {
    gap: 0.8rem;
    margin: 0.25rem 0 1rem;
}

.reportTotalCard,
.reportInfoCard {
    min-width: 14rem;
    padding: 1rem 1.2rem;
    border: 1px solid #e7edf3;
    border-radius: 0.8rem;
    background: #f9fbfd;
}

.reportTotalCard .sapMObjectNumberText {
    color: #15334b;
    font-size: 1.6rem;
    font-weight: 700;
}

.reportSectionTitle {
    margin: 1.25rem 0 0.65rem;
    color: #15334b;
}

.chartList {
    gap: 0.6rem;
    padding: 0.5rem 0;
}

.chartRow {
    gap: 0.8rem;
}

.chartLabel {
    flex: 0 0 16rem;
    color: #52677a;
}

@media (max-width: 800px) {
    .pageContent {
        padding: 1rem 0.75rem 1.25rem;
    }

    .summaryRow {
        gap: 0.5rem;
    }

    .summaryCard {
        flex: 1 1 38%;
        min-width: 7rem;
    }

    .chartLabel {
        flex-basis: 8rem;
        font-size: 0.75rem;
    }
}

.transactionSection {
    overflow: visible;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.transactionWorkspace {
    gap: 1rem;
}

.transactionWorkspace .transactionFilterBar {
    padding: 0.25rem 1rem 1rem;
    background: var(--sapGroup_ContentBackground, #fff);
}

.transactionWorkspace .transactionFilterBar > .sapMTB,
.transactionWorkspace .transactionGridPanel > .sapMTB {
    border: none;
}

.transactionVariant .sapMBtnInner {
    font-weight: bold;
}

.transactionFilterFields {
    gap: 0.75rem 1.25rem;
}

.transactionFilterField {
    flex: 0 1 12rem;
    max-width: 16rem;
}

.transactionWorkspace .transactionGridPanel {
    padding: 0 1rem 1rem;
    border-radius: 1rem;
    background: var(--sapGroup_ContentBackground, #fff);
}

@media (max-width: 600px) {
    .transactionFilterField {
        flex-basis: 100%;
        max-width: none;
    }
}
