/** * 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/. */ .aad-rcpt { max-width: 560px; } .aad-rcpt__header { display: flex; align-items: center; gap: 12px; padding: 16px 24px 12px; border-bottom: 1px solid #bfdbfe; background: #eff6ff; } .aad-rcpt__header-icon { color: #2563eb; flex: 0 0 auto; } .aad-rcpt__title { font-size: 16px; font-weight: 600; color: #1e3a8a; } .aad-rcpt__subtitle { font-size: 12px; color: #2563eb; } .aad-rcpt__body { padding: 18px 24px !important; font-size: 14px; color: #475569; } .aad-rcpt__reason { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; margin-bottom: 14px; border-radius: 6px; background: #f8fafc; border: 1px solid #e2e8f0; color: #475569; font-size: 13px; line-height: 1.5; mat-icon { font-size: 18px; width: 18px; height: 18px; flex: 0 0 auto; color: #64748b; } } .aad-rcpt__intro { margin: 0 0 16px; font-size: 13px; line-height: 1.6; } .aad-rcpt__field, .aad-rcpt__remarks { width: 100%; } .aad-rcpt__prefix { display: inline-flex; align-items: center; margin-right: 8px; color: #94a3b8; } .aad-rcpt__hint--bad { color: #dc2626; } // Age of the slip — informational, so it reads as context rather than a blocking error. .aad-rcpt__age { display: flex; align-items: flex-start; gap: 8px; margin: 2px 0 14px; padding: 9px 12px; border-radius: 6px; background: #f8fafc; border: 1px solid #e2e8f0; font-size: 12.5px; line-height: 1.5; color: #475569; mat-icon { font-size: 18px; width: 18px; height: 18px; flex: 0 0 auto; color: #64748b; } &--stale { background: #fffbeb; border-color: #fde68a; color: #92400e; mat-icon { color: #d97706; } } } .aad-rcpt__sighted { display: block; margin-top: 4px; font-size: 13px; line-height: 1.5; ::ng-deep .mdc-form-field > label { white-space: normal; } } .aad-rcpt__actions { padding: 10px 24px 16px !important; margin: 0 !important; gap: 8px; }