/** * Copyright since 2025 Mifos Initiative * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /* What is being paid and to whom. Read against the customer standing there, so it comes first. */ .po-summary { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; margin-bottom: 18px; background: rgb(0 0 0 / 3%); border-radius: 6px; &__row { display: flex; justify-content: space-between; gap: 16px; font-size: 0.85rem; /* The figure the officer is about to hand over - given the weight that deserves. */ &--amount { padding-top: 6px; border-top: 1px solid rgb(0 0 0 / 8%); font-size: 1rem; } } &__label { color: rgb(0 0 0 / 55%); } &__value { font-weight: 500; font-variant-numeric: tabular-nums; } &__note { display: block; margin: 0; font-size: 0.75rem; color: rgb(0 0 0 / 45%); } } /* How the amount payable is made up - one line per source, adding up to the total below. */ .po-breakdown { display: flex; flex-direction: column; gap: 6px; padding-top: 6px; border-top: 1px dashed rgb(0 0 0 / 10%); } .po-question { margin: 0 0 10px; font-size: 0.9rem; font-weight: 500; } .po-choices { display: flex; flex-direction: column; gap: 4px; } /* * Each choice carries its own consequence underneath it. Two radio labels alone would not tell an * officer that one keeps the money inside the bank and the other starts it on its way out. */ .po-choice { display: block; padding: 4px 0; &__title { display: block; font-size: 0.88rem; } &__note { display: block; font-size: 0.75rem; color: rgb(0 0 0 / 55%); line-height: 1.4; } } .po-account { width: 100%; margin: 8px 0 4px 32px; max-width: calc(100% - 32px); } /* What will actually happen, in the words the customer will ask about. */ .po-callout { margin-top: 12px; padding: 10px 12px; background: rgb(180 83 9 / 8%); border: 1px solid rgb(180 83 9 / 22%); border-radius: 6px; color: #92400e; font-size: 0.78rem; line-height: 1.5; } .po-hint-warn { color: #c62828; }