/** * 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/. */ $border: #e2e8f0; $text-muted: #64748b; .pce-tab-content { padding: 16px 0; } .pce-client-link { color: #1e40af; font-weight: 600; text-decoration: none; &:hover { text-decoration: underline; } } .pce-action-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #f8fafc; border: 1px solid $border; border-radius: 10px; margin-bottom: 16px; flex-wrap: wrap; } .pce-search-box { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; border: 1px solid $border; border-radius: 8px; background: #fff; min-width: 200px; max-width: 280px; transition: border-color 0.15s; &:focus-within { border-color: #1353a0; } mat-icon { font-size: 18px; width: 18px; height: 18px; line-height: 18px; color: #94a3b8; flex-shrink: 0; } input { border: none; outline: none; font-size: 13px; width: 100%; color: #0d1b2a; font-family: inherit; background: transparent; &::placeholder { color: #94a3b8; } } } .pce-filter-select { height: 34px; min-width: 120px; padding: 0 10px; border: 1px solid $border; border-radius: 8px; font-size: 13px; color: #0d1b2a; font-family: inherit; background: #fff; cursor: pointer; &:focus { outline: none; border-color: #1353a0; } } .pce-fb-sep { width: 1px; height: 22px; background: $border; flex-shrink: 0; margin: 0 4px; } .pce-presets { display: inline-flex; gap: 4px; align-items: center; } .pce-preset-chip { height: 28px; padding: 0 12px; border-radius: 14px; border: 1px solid $border; background: #fff; font-size: 12px; font-weight: 600; font-family: inherit; color: #475569; cursor: pointer; transition: all 0.15s; white-space: nowrap; &:hover { border-color: #1353a0; color: #1353a0; background: #eff6ff; } &--active { background: #1353a0; border-color: #1353a0; color: #fff; &:hover { background: #0f3f7a; } } } .pce-date-range { display: inline-flex; align-items: center; gap: 4px; &__sep { color: #94a3b8; font-size: 16px; font-weight: 300; padding: 0 2px; user-select: none; } } .pce-date-box { display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 6px 0 10px; border: 1px solid $border; border-radius: 8px; background: #fff; transition: border-color 0.15s; &:hover { border-color: #cbd5e1; } &:focus-within { border-color: #1353a0; } &__lbl { font-size: 11px; font-weight: 600; color: #94a3b8; white-space: nowrap; user-select: none; letter-spacing: 0.03em; } &__input { border: none; outline: none; font-size: 13px; width: 76px; color: #0d1b2a; font-family: inherit; background: transparent; cursor: pointer; } &__btn { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border: none; background: none; cursor: pointer; color: #94a3b8; padding: 0; border-radius: 4px; mat-icon { font-size: 16px; width: 16px; height: 16px; line-height: 16px; } &:hover { color: #1353a0; background: #eff6ff; } } } .pce-btn { font-size: 11.5px; font-weight: 600; border-radius: 8px !important; height: 32px; padding: 0 10px; margin-right: 6px; fa-icon { margin-right: 4px; font-size: 11px; } } .pce-btn-view { border-color: #2563eb; color: #2563eb; &:hover { background: #eff6ff; } } .pce-btn-refresh { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid $border; border-radius: 8px; background: #fff; cursor: pointer; color: #475569; margin-left: auto; fa-icon { font-size: 15px; } &:hover:not(:disabled) { border-color: #1353a0; color: #1353a0; background: #eff6ff; } &:disabled { opacity: 0.5; cursor: default; } } .pce-btn-approve { border-color: #16a34a; color: #16a34a; &:hover { background: #f0fdf4; } } .pce-btn-reject { border-color: #dc2626; color: #dc2626; &:hover { background: #fef2f2; } } .status-badge { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; &--pending { background: #fef9c3; color: #854d0e; } &--approved { background: #dcfce7; color: #166534; } &--rejected { background: #fee2e2; color: #991b1b; } } .empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 24px; background: #fff; border: 1px dashed $border; border-radius: 14px; text-align: center; margin: 16px 0; .empty-icon { font-size: 42px; color: #cbd5e1; margin-bottom: 14px; } .empty-title { margin: 0 0 4px; font-size: 15px; font-weight: 700; color: #0d1b2a; } .empty-text { margin: 0; font-size: 12.5px; color: $text-muted; max-width: 380px; line-height: 1.5; } } /* ── Email badges ───────────────────────────────────────────────────────── */ .pce-email-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 6px; border-radius: 4px; font-size: 0.72rem; font-weight: 600; margin-right: 6px; white-space: nowrap; vertical-align: middle; fa-icon { font-size: 0.7rem; } &--sent { background: #e8f5e9; color: #1b5e20; border: 1px solid #c8e6c9; } &--nosent { background: #f5f5f5; color: #9e9e9e; border: 1px solid #e0e0e0; } &--seen { background: #e3f2fd; color: #0d47a1; border: 1px solid #bbdefb; } &--notseen { background: #fff3e0; color: #e65100; border: 1px solid #ffe0b2; } }