/** * 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/. */ :host { display: block; } .identity-check { margin-bottom: 16px; padding: 16px 20px; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 12px; &--blocking { border-color: #fecaca; background: #fffafa; } &__header { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; } &__icon { flex: none; color: var(--md-sys-color-primary, #1074b9); } &__title { margin: 0; font-size: 15px; font-weight: 600; } &__hint { margin: 2px 0 0; font-size: 13px; color: #6b7280; } // PAN and GSTIN read in capitals even before the value is rewritten. &__upper { text-transform: uppercase; } &__fields { display: flex; flex-wrap: wrap; gap: 0 16px; } &__field { flex: 1 1 220px; min-width: 200px; } &__status { display: flex; gap: 10px; align-items: center; padding: 10px 12px; font-size: 13px; border-radius: 8px; &--info { background: #eff6ff; color: #1e40af; } &--ok { background: #ecfdf5; color: #047857; } &--warn { background: #fffbeb; color: #92400e; } &--error { background: #fef2f2; color: #991b1b; } } &__card { margin-top: 10px; padding: 12px 14px; background: #fff; border: 1px solid #fecaca; border-radius: 10px; } &__card-head { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; } &__meta { margin-left: 8px; font-size: 13px; color: #6b7280; } &__chips { display: inline-flex; flex-wrap: wrap; gap: 6px; } &__chip { padding: 2px 8px; font-size: 12px; color: #991b1b; background: #fee2e2; border-radius: 999px; } &__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px 16px; margin: 10px 0 0; dt { font-size: 12px; color: #6b7280; } dd { margin: 0; font-size: 14px; font-weight: 500; } } &__action { margin-top: 12px; } &__note { margin: 12px 0 0; font-size: 13px; color: #374151; } }