/** * 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/. */ .preview-wrapper { display: flex; flex-direction: column; gap: 1.25rem; padding: 0.5rem 0; } .preview-section { border: 1px solid #e0e0e0; border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / 6%); &__header { background: #f5f5f5; border-bottom: 1px solid #e0e0e0; padding: 0.6rem 1rem; } &__title { font-size: 0.95rem; font-weight: 600; color: #333; text-transform: uppercase; letter-spacing: 0.04em; } } .preview-body { padding: 1rem 1.25rem; } .preview-grid { display: grid; gap: 0.75rem 1.5rem; &--three { grid-template-columns: repeat(3, 1fr); @media (width <= 768px) { grid-template-columns: repeat(2, 1fr); } @media (width <= 480px) { grid-template-columns: 1fr; } } } .preview-field { display: flex; flex-direction: column; gap: 0.15rem; } .preview-label { font-size: 0.72rem; color: #888; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; } .preview-value { font-size: 0.92rem; color: #222; font-weight: 500; } .preview-badge { display: inline-block; padding: 0.1rem 0.55rem; border-radius: 12px; font-size: 0.78rem; font-weight: 600; background: #ffebee; color: #c62828; width: fit-content; &--yes { background: #e8f5e9; color: #2e7d32; } } .preview-table { width: 100%; margin-top: 1rem; } .margin-t { margin-top: 1em; }