/** * 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/. */ .pan-decl { max-width: 720px; } .pan-decl__header { display: flex; align-items: center; gap: 12px; padding: 16px 24px 12px; border-bottom: 1px solid #fde68a; background: #fffbeb; } .pan-decl__header-icon { color: #d97706; flex: 0 0 auto; } .pan-decl__title { font-size: 16px; font-weight: 600; color: #92400e; } .pan-decl__subtitle { font-size: 12px; color: #b45309; letter-spacing: 0.03em; } .pan-decl__body { padding: 18px 24px !important; font-size: 14px; color: #475569; } .pan-decl__reason { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; margin-bottom: 14px; border-radius: 6px; background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; font-size: 13px; line-height: 1.5; mat-icon { font-size: 18px; width: 18px; height: 18px; flex: 0 0 auto; } } .pan-decl__intro { margin: 0 0 16px; font-size: 13px; line-height: 1.6; } // ── Submitted vs PAN-card comparison ─────────────────────────────────────── .pan-decl__compare { border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden; } .pan-decl__compare-head, .pan-decl__compare-row { display: grid; grid-template-columns: 110px 1fr 1fr 36px; gap: 12px; align-items: center; padding: 8px 14px; } .pan-decl__compare-head { background: #f8fafc; border-bottom: 1px solid #e2e8f0; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: #64748b; } .pan-decl__compare-row { border-bottom: 1px solid #f1f5f9; &:last-child { border-bottom: none; } // A row the declaration will name — tinted so the officer can see the finding at a glance. &.mismatch { background: #fff7ed; } .lbl { font-size: 13px; font-weight: 500; color: #334155; } .submitted { font-size: 13px; color: #0f172a; word-break: break-word; } } .pan-decl__field { width: 100%; ::ng-deep .mat-mdc-form-field-subscript-wrapper { display: none; } } .res { display: flex; justify-content: center; } .res-icon { font-size: 20px; width: 20px; height: 20px; } .res-icon--ok { color: #16a34a; } .res-icon--bad { color: #dc2626; } // ── Verdict ──────────────────────────────────────────────────────────────── .pan-decl__verdict { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; padding: 10px 14px; border-radius: 6px; background: #fef2f2; border: 1px solid #fecaca; &--pending { background: #f8fafc; border-color: #e2e8f0; } &--clean { background: #f0fdf4; border-color: #bbf7d0; } } .pan-decl__verdict-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: #64748b; } .pan-decl__verdict-value { font-size: 14px; font-weight: 600; color: #0f172a; } .pan-decl__note { margin: 8px 0 0; font-size: 12px; color: #64748b; } .pan-decl__warn { display: flex; align-items: flex-start; gap: 8px; margin: 10px 0 0; font-size: 12.5px; line-height: 1.5; color: #b45309; mat-icon { font-size: 18px; width: 18px; height: 18px; flex: 0 0 auto; } } // ── Signed declaration upload ────────────────────────────────────────────── .pan-decl__upload { margin-top: 18px; } .pan-decl__upload-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: #64748b; } .pan-decl__upload-help { margin: 4px 0 10px; font-size: 12.5px; line-height: 1.5; color: #64748b; } .pan-decl__dropzone { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 18px 24px; background: #fff; border: 2px dashed #cbd5e1; border-radius: 10px; cursor: pointer; text-align: center; transition: all 0.2s; &:hover { background: #f8fafc; border-color: #93c5fd; } } .pan-decl__dropzone-icon { font-size: 28px; width: 28px; height: 28px; color: #94a3b8; } .pan-decl__dropzone-text { font-size: 13px; font-weight: 600; color: #475569; } .pan-decl__dropzone-hint { font-size: 11px; color: #94a3b8; } .pan-decl__file { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: #f0fdf4; border: 1px solid #bbf7d0; } .pan-decl__file-icon { color: #16a34a; flex: 0 0 auto; } .pan-decl__file-meta { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; } .pan-decl__file-name { font-size: 13px; font-weight: 600; color: #166534; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pan-decl__file-sub { font-size: 11px; color: #4d7c69; } .pan-decl__file-replace { flex: 0 0 auto; padding: 4px 10px; border: 1px solid #86efac; border-radius: 6px; background: #fff; font-size: 12px; font-weight: 600; color: #166534; cursor: pointer; &:hover { background: #ecfdf5; } } .pan-decl__file-remove { flex: 0 0 auto; display: flex; align-items: center; padding: 4px; border: none; background: transparent; color: #64748b; cursor: pointer; mat-icon { font-size: 18px; width: 18px; height: 18px; } &:hover { color: #dc2626; } } .pan-decl__file-error { display: flex; align-items: flex-start; gap: 6px; margin: 8px 0 0; font-size: 12.5px; line-height: 1.5; color: #b91c1c; mat-icon { font-size: 18px; width: 18px; height: 18px; flex: 0 0 auto; } } .pan-decl__actions { padding: 10px 24px 16px !important; margin: 0 !important; gap: 8px; }