Files
cbsnexora/src/app/deposits/recurring-deposits/recurring-deposits-account-stepper/recurring-deposits-account-details-step/recurring-deposits-account-details-step.component.scss
T

1527 lines
26 KiB
SCSS

/**
* 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/.
*/
$accent: #0ea5e9;
$border: #e2e8f0;
$gray-50: #f8f9fa;
$gray-200: #e8eaed;
$gray-900: #202124;
// ── Section card ───────────────────────────────────────────────
.rad-section {
border: 1px solid $border;
border-radius: 10px;
overflow: visible;
background: #fff;
&--mt {
margin-top: 16px;
}
&__header {
display: flex;
align-items: center;
gap: 10px;
padding: 12px 24px;
background: $gray-50;
border-bottom: 1px solid $gray-200;
i {
font-size: 14px;
color: $accent;
}
h3 {
margin: 0;
font-size: 14px;
font-weight: 600;
color: $gray-900;
flex: 1;
}
}
}
// ── 2-col grid (Account Details inputs) ───────────────────────
.rad-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 4px 16px;
padding: 16px 24px;
@media (width <= 600px) {
grid-template-columns: 1fr;
}
}
// ── 3-col grid (Product Classification) ───────────────────────
.rad-grid--classification {
grid-template-columns: repeat(3, 1fr);
@media (width <= 900px) {
grid-template-columns: repeat(2, 1fr);
}
@media (width <= 600px) {
grid-template-columns: 1fr;
}
}
.rad-field {
width: 100%;
}
// ── Share Linking badge row ────────────────────────────────────
.rad-info-row {
display: flex;
align-items: center;
gap: 12px;
min-height: 56px;
}
.rad-info-label {
font-size: 14px;
color: $gray-900;
font-weight: 500;
}
.rad-badge {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 3px 12px;
border-radius: 999px;
font-size: 11px;
font-weight: 700;
background: #dbeafe;
color: #1d4ed8;
border: 1px solid #bfdbfe;
&--yes {
background: #dcfce7;
color: #15803d;
border-color: #bbf7d0;
}
}
// ── Currency section body ──────────────────────────────────────
.rad-body {
background: #fff;
}
// ── Yes / No alert rows (same as rdpc-alert) ──────────────────
.rad-alert {
display: flex;
align-items: center;
justify-content: space-between;
gap: 24px;
padding: 18px 24px 24px;
border-top: 1px solid $border;
background: #f8fafc;
@media (width <= 760px) {
flex-direction: column;
align-items: flex-start;
}
&__content {
h4 {
margin: 0 0 6px;
font-size: 14px;
font-weight: 600;
color: $gray-900;
}
p {
margin: 0;
font-size: 12px;
line-height: 1.5;
color: #64748b;
max-width: 540px;
}
}
&__choices {
display: flex;
align-items: center;
gap: 18px;
flex-wrap: wrap;
}
}
// ── yes / no indicator pills ───────────────────────────────────
.rad-yn {
display: inline-flex;
align-items: center;
gap: 6px;
font-size: 14px;
color: #94a3b8;
cursor: default;
&::before {
content: '';
display: inline-block;
width: 18px;
height: 18px;
border-radius: 50%;
border: 2px solid #cbd5e1;
background: #fff;
flex-shrink: 0;
}
&--active {
color: $gray-900;
font-weight: 500;
&::before {
border-color: #22c55e;
background: radial-gradient(circle, #22c55e 45%, #fff 46%);
}
}
}
// ── Deposit Account Link ──────────────────────────────────────────────────
.dal-card {
margin-top: 16px;
border: 1px solid #e2e8f0;
border-radius: 12px;
background: #fff;
overflow: hidden;
&__header {
display: flex;
align-items: center;
gap: 14px;
padding: 16px 24px;
border-bottom: 1px solid #f1f5f9;
background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}
&__header-left {
display: flex;
align-items: center;
gap: 14px;
}
&__icon {
width: 44px;
height: 44px;
border-radius: 10px;
background: #0ea5e9;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
}
&__title {
margin: 0;
font-size: 15px;
font-weight: 700;
color: #0c4a6e;
}
&__sub {
display: block;
font-size: 12px;
color: #64748b;
margin-top: 2px;
}
&__body {
padding: 20px 24px;
}
}
// ── Loading ───────────────────────────────────────────────────────────────
.dal-loading {
display: flex;
align-items: center;
gap: 10px;
padding: 28px;
color: #64748b;
font-size: 14px;
justify-content: center;
&__icon {
animation: dal-spin 1.2s linear infinite;
color: #0ea5e9;
}
}
@keyframes dal-spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
// ── Step 1 — Type selection ───────────────────────────────────────────────
.dal-type-step {
&__label {
font-size: 13px;
color: #64748b;
margin: 0 0 14px;
}
}
.dal-type-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 14px;
}
.dal-type-btn {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 8px;
padding: 24px 16px;
border-radius: 12px;
border: 2px solid #e2e8f0;
background: #f8fafc;
cursor: pointer;
transition: all 0.18s;
mat-icon {
font-size: 32px;
width: 32px;
height: 32px;
}
&__name {
font-size: 14px;
font-weight: 700;
color: #0f172a;
}
&__count {
font-size: 11px;
color: #94a3b8;
}
&--savings {
&:hover {
border-color: #3b82f6;
background: #eff6ff;
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
mat-icon { color: #2563eb; }
.dal-type-btn__name { color: #1d4ed8; }
}
}
&--current {
&:hover {
border-color: #16a34a;
background: #f0fdf4;
box-shadow: 0 4px 12px rgba(22, 163, 74, 0.15);
mat-icon { color: #15803d; }
.dal-type-btn__name { color: #15803d; }
}
}
}
// ── Step 2 — Picker ───────────────────────────────────────────────────────
.dal-picker {
&__topbar {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 14px;
}
&__title {
display: flex;
align-items: center;
gap: 6px;
font-size: 14px;
font-weight: 700;
color: #0f172a;
mat-icon { font-size: 18px; width: 18px; height: 18px; color: #64748b; }
}
}
.dal-back-btn {
color: #64748b;
}
.dal-search-field {
width: 100%;
margin-bottom: 8px;
}
.dal-empty {
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
padding: 32px 16px;
color: #94a3b8;
font-size: 13px;
text-align: center;
mat-icon { font-size: 36px; width: 36px; height: 36px; }
}
.dal-list {
display: flex;
flex-direction: column;
gap: 8px;
max-height: 300px;
overflow-y: auto;
}
.dal-item {
display: flex;
align-items: center;
gap: 12px;
padding: 12px 16px;
border: 1px solid #e2e8f0;
border-radius: 10px;
cursor: pointer;
transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
&:hover {
border-color: #0ea5e9;
background: #f0f9ff;
box-shadow: 0 2px 8px rgba(14, 165, 233, 0.12);
}
&__details {
flex: 1;
display: flex;
flex-direction: column;
gap: 2px;
}
&__accno {
font-size: 14px;
font-weight: 600;
color: #0f172a;
font-family: monospace;
}
&__product {
font-size: 12px;
color: #64748b;
}
&__right {
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 3px;
}
&__status {
font-size: 11px;
font-weight: 600;
color: #94a3b8;
&--active { color: #16a34a; }
}
&__balance {
font-size: 13px;
font-weight: 600;
color: #0f172a;
}
&__arrow {
color: #cbd5e1;
font-size: 20px;
width: 20px;
height: 20px;
}
}
// ── Selected Account ──────────────────────────────────────────────────────
.dal-selected {
display: flex;
align-items: center;
gap: 16px;
padding: 16px 20px;
border: 2px solid #0ea5e9;
border-radius: 12px;
background: #f0f9ff;
&__info {
display: flex;
align-items: center;
gap: 14px;
flex: 1;
flex-wrap: wrap;
}
&__details {
display: flex;
flex-direction: column;
gap: 2px;
flex: 1;
}
&__accno {
font-size: 15px;
font-weight: 700;
color: #0c4a6e;
font-family: monospace;
}
&__product {
font-size: 12px;
color: #64748b;
}
&__balance {
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 2px;
}
&__bal-label {
font-size: 10px;
color: #94a3b8;
text-transform: uppercase;
letter-spacing: 0.5px;
}
&__bal-amount {
font-size: 15px;
font-weight: 700;
color: #0c4a6e;
}
}
.dal-change-btn {
white-space: nowrap;
}
.dal-type-badge {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 4px 12px;
border-radius: 999px;
font-size: 12px;
font-weight: 700;
white-space: nowrap;
background: #f1f5f9;
color: #475569;
border: 1px solid #e2e8f0;
mat-icon { font-size: 14px; width: 14px; height: 14px; }
&--savings {
background: #eff6ff;
color: #1d4ed8;
border-color: #bfdbfe;
mat-icon { color: #2563eb; }
}
&--current {
background: #f0fdf4;
color: #15803d;
border-color: #bbf7d0;
mat-icon { color: #16a34a; }
}
}
// ── Status of Account (RBI) ───────────────────────────────────────────────
.soa-card {
margin-top: 16px;
border: 1px solid #e2e8f0;
border-radius: 10px;
background: #fff;
overflow: visible;
&__header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 24px;
background: #f8f9fa;
border-bottom: 1px solid #e8eaed;
border-radius: 10px 10px 0 0;
}
&__header-left {
display: flex;
align-items: center;
gap: 12px;
}
&__icon {
width: 36px;
height: 36px;
border-radius: 8px;
background: #ede9fe;
display: flex;
align-items: center;
justify-content: center;
i {
font-size: 16px;
color: #7c3aed;
}
}
&__title {
margin: 0;
font-size: 14px;
font-weight: 600;
color: #202124;
}
&__sub {
font-size: 11px;
color: #6b7280;
display: block;
}
}
.soa-pill {
display: inline-flex;
align-items: center;
padding: 3px 12px;
border-radius: 999px;
font-size: 11px;
font-weight: 700;
background: #ede9fe;
color: #7c3aed;
border: 1px solid #ddd6fe;
&--minor {
background: #fef3c7;
color: #b45309;
border-color: #fde68a;
}
&--senior {
background: #d1fae5;
color: #065f46;
border-color: #a7f3d0;
}
&--ok {
background: #dcfce7;
color: #15803d;
border-color: #bbf7d0;
}
}
.soa-client-info-bar {
display: flex;
align-items: center;
gap: 20px;
padding: 10px 24px;
background: #f0f9ff;
border-bottom: 1px solid #bae6fd;
flex-wrap: wrap;
&__item {
display: flex;
align-items: center;
gap: 6px;
font-size: 13px;
color: #0369a1;
mat-icon {
font-size: 16px;
height: 16px;
width: 16px;
}
strong {
font-weight: 700;
}
}
}
.soa-auto-pill {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 3px 10px;
border-radius: 999px;
font-size: 11px;
font-weight: 700;
margin-left: auto;
mat-icon {
font-size: 13px;
height: 13px;
width: 13px;
}
&--minor {
background: #fef3c7;
color: #b45309;
border: 1px solid #fde68a;
}
&--senior {
background: #d1fae5;
color: #065f46;
border: 1px solid #a7f3d0;
}
&--ok {
background: #dcfce7;
color: #15803d;
border: 1px solid #bbf7d0;
}
}
.soa-tiles {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 12px;
padding: 16px 24px;
border-bottom: 1px solid #f1f5f9;
@media (width <= 900px) {
grid-template-columns: repeat(3, 1fr);
}
@media (width <= 600px) {
grid-template-columns: repeat(2, 1fr);
}
}
.soa-tile {
display: flex;
flex-direction: column;
align-items: center;
gap: 6px;
padding: 14px 10px;
border: 2px solid #e2e8f0;
border-radius: 10px;
background: #fff;
cursor: pointer;
transition:
border-color 0.15s,
box-shadow 0.15s;
position: relative;
&:hover {
border-color: #a5b4fc;
box-shadow: 0 2px 8px rgb(99 102 241 / 12%);
}
&--selected {
border-color: #6366f1;
background: #eef2ff;
box-shadow: 0 2px 12px rgb(99 102 241 / 20%);
}
&__icon {
font-size: 28px;
height: 28px;
width: 28px;
}
&__label {
font-size: 12px;
font-weight: 600;
color: #374151;
text-align: center;
}
&__check {
position: absolute;
top: 6px;
right: 6px;
font-size: 16px;
height: 16px;
width: 16px;
color: #6366f1;
}
&__lock {
position: absolute;
top: 4px;
right: 4px;
display: flex;
align-items: center;
mat-icon {
font-size: 13px;
height: 13px;
width: 13px;
color: #94a3b8;
}
}
&--disabled {
opacity: 0.45;
cursor: not-allowed;
background: #f8fafc;
border-color: #e2e8f0;
box-shadow: none;
&:hover {
border-color: #e2e8f0;
box-shadow: none;
}
}
}
.soa-block {
padding: 16px 24px;
&--sep {
border-top: 1px dashed #e2e8f0;
}
&__head {
display: flex;
align-items: flex-start;
justify-content: space-between;
margin-bottom: 14px;
}
&__head-left {
display: flex;
align-items: flex-start;
gap: 12px;
}
&__letter {
width: 28px;
height: 28px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 13px;
font-weight: 700;
color: #fff;
flex-shrink: 0;
margin-top: 2px;
}
&__title {
font-size: 13px;
font-weight: 600;
color: #1f2937;
display: block;
}
&__hint {
font-size: 11px;
color: #6b7280;
display: block;
}
}
.soa-table-wrap {
overflow-x: auto;
border-radius: 8px;
border: 1px solid #e2e8f0;
}
.soa-tbl {
width: 100%;
border-collapse: collapse;
font-size: 13px;
}
.soa-th {
padding: 10px 14px;
background: #f8fafc;
text-align: left;
font-weight: 600;
font-size: 11px;
color: #64748b;
text-transform: uppercase;
letter-spacing: 0.04em;
border-bottom: 1px solid #e2e8f0;
&--sr {
width: 44px;
}
&--center {
text-align: center;
}
}
.soa-td {
padding: 10px 14px;
border-bottom: 1px solid #f1f5f9;
vertical-align: middle;
&--sr {
text-align: center;
font-size: 12px;
color: #94a3b8;
font-weight: 600;
}
&--center {
text-align: center;
}
&--total-label {
font-size: 12px;
font-weight: 600;
color: #475569;
text-align: right;
}
}
.soa-tr {
transition: background 0.1s;
&:hover {
background: #f8fafc;
}
&--mandatory {
background: #fdf4ff;
}
&--primary {
background: #f0f9ff;
border-left: 3px solid #0891b2;
}
}
.soa-avatar--primary {
background: #cffafe;
color: #0e7490;
}
.soa-primary-tag {
font-size: 10px;
color: #0e7490;
font-weight: 600;
background: #cffafe;
padding: 1px 7px;
border-radius: 999px;
display: inline-block;
}
.soa-pct-input {
width: 56px;
padding: 4px 6px;
border: 1px solid #cbd5e1;
border-radius: 6px;
font-size: 13px;
font-weight: 600;
text-align: center;
color: #1f2937;
&:focus {
outline: none;
border-color: #0891b2;
box-shadow: 0 0 0 2px rgb(8 145 178 / 15%);
}
&::-webkit-inner-spin-button,
&::-webkit-outer-spin-button {
opacity: 1;
}
}
.soa-pct-unit {
font-size: 13px;
font-weight: 600;
color: #64748b;
margin-left: 2px;
}
.soa-no-action {
color: #cbd5e1;
font-size: 16px;
}
.soa-tr-total {
background: #f8fafc;
}
.soa-client-cell {
display: flex;
align-items: center;
gap: 10px;
}
.soa-avatar {
width: 32px;
height: 32px;
border-radius: 50%;
background: #dbeafe;
color: #1d4ed8;
font-weight: 700;
font-size: 14px;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
&--mandatory {
background: #ede9fe;
color: #7c3aed;
}
}
.soa-client-name {
font-weight: 600;
font-size: 13px;
color: #1f2937;
display: block;
}
.soa-mandatory-tag {
font-size: 10px;
color: #7c3aed;
font-weight: 600;
background: #ede9fe;
padding: 1px 7px;
border-radius: 999px;
}
.soa-mono {
font-family: 'Roboto Mono', monospace;
font-size: 12px;
color: #64748b;
}
.soa-pct-badge {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 2px 10px;
border-radius: 999px;
font-size: 12px;
font-weight: 700;
background: #f1f5f9;
color: #475569;
&--full,
&--ok {
background: #dcfce7;
color: #15803d;
}
&--warn {
background: #fef3c7;
color: #b45309;
}
}
.soa-sign-toggle {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 4px 10px;
border-radius: 6px;
font-size: 12px;
font-weight: 600;
border: 1px solid #e2e8f0;
cursor: pointer;
transition: all 0.15s;
mat-icon {
font-size: 14px;
height: 14px;
width: 14px;
}
&--mandatory {
background: #ede9fe;
color: #7c3aed;
border-color: #ddd6fe;
}
&--optional {
background: #f8fafc;
color: #94a3b8;
}
}
.soa-mandatory-count {
display: inline-flex;
align-items: center;
gap: 4px;
font-size: 12px;
font-weight: 600;
color: #7c3aed;
mat-icon {
font-size: 14px;
height: 14px;
width: 14px;
}
}
.soa-alert {
display: flex;
align-items: center;
gap: 8px;
margin-top: 10px;
padding: 8px 14px;
border-radius: 8px;
font-size: 13px;
font-weight: 500;
mat-icon {
font-size: 18px;
height: 18px;
width: 18px;
}
&--warn {
background: #fef3c7;
color: #b45309;
}
&--ok {
background: #dcfce7;
color: #15803d;
}
}
.soa-empty {
display: flex;
align-items: center;
gap: 10px;
padding: 20px;
background: #f8fafc;
border-radius: 8px;
font-size: 13px;
color: #64748b;
mat-icon {
color: #94a3b8;
font-size: 22px;
height: 22px;
width: 22px;
}
}
.soa-add-btn {
display: flex;
align-items: center;
gap: 6px;
font-size: 13px;
}
.soa-mode-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 10px;
@media (width <= 700px) {
grid-template-columns: repeat(2, 1fr);
}
}
.soa-mode-card {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
gap: 4px;
padding: 12px 8px;
border: 2px solid #e2e8f0;
border-radius: 10px;
background: #fff;
cursor: pointer;
transition: all 0.15s;
&:hover {
border-color: #a5b4fc;
}
&--selected {
border-color: #7c3aed;
background: #faf5ff;
}
&__icon {
font-size: 24px;
height: 24px;
width: 24px;
color: #7c3aed;
}
&__code {
font-size: 13px;
font-weight: 700;
color: #1f2937;
}
&__desc {
font-size: 11px;
color: #6b7280;
text-align: center;
}
&__check {
position: absolute;
top: 6px;
right: 6px;
font-size: 16px;
height: 16px;
width: 16px;
color: #7c3aed;
}
}
.soa-mode-summary {
display: flex;
align-items: center;
gap: 8px;
margin-top: 12px;
padding: 8px 14px;
border-radius: 8px;
font-size: 13px;
background: #f8fafc;
color: #64748b;
mat-icon {
font-size: 18px;
height: 18px;
width: 18px;
}
&--set {
background: #faf5ff;
color: #7c3aed;
}
&__from {
font-size: 11px;
color: #94a3b8;
}
}
.soa-auto-badge {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 3px 10px;
border-radius: 999px;
font-size: 11px;
font-weight: 700;
background: #fef9c3;
color: #854d0e;
border: 1px solid #fde68a;
mat-icon {
font-size: 13px;
height: 13px;
width: 13px;
}
}
.soa-minor-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 4px 16px;
margin-bottom: 16px;
@media (width <= 700px) {
grid-template-columns: 1fr;
}
}
.soa-field {
width: 100%;
}
.soa-guardian-search {
margin-bottom: 12px;
&__label {
display: flex;
align-items: center;
gap: 6px;
font-size: 13px;
font-weight: 600;
color: #374151;
margin-bottom: 8px;
mat-icon {
font-size: 18px;
height: 18px;
width: 18px;
color: #7c3aed;
}
}
}
.soa-guardian-selected {
display: flex;
align-items: center;
gap: 12px;
padding: 10px 14px;
background: #f0fdf4;
border: 1px solid #bbf7d0;
border-radius: 8px;
margin-top: 10px;
&__icon {
font-size: 24px;
height: 24px;
width: 24px;
color: #16a34a;
}
&__name {
font-size: 13px;
font-weight: 600;
color: #1f2937;
}
&__cif {
font-size: 11px;
color: #6b7280;
}
}
.soa-sc-benefits {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 10px;
margin-bottom: 14px;
@media (width <= 600px) {
grid-template-columns: 1fr;
}
}
.soa-sc-benefit {
display: flex;
align-items: flex-start;
gap: 10px;
padding: 12px;
background: #f0fdf4;
border: 1px solid #bbf7d0;
border-radius: 8px;
mat-icon {
color: #16a34a;
font-size: 20px;
height: 20px;
width: 20px;
flex-shrink: 0;
margin-top: 2px;
}
strong {
display: block;
font-size: 13px;
color: #1f2937;
font-weight: 600;
}
span {
font-size: 11px;
color: #6b7280;
}
}
.soa-category-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 10px;
margin-bottom: 16px;
@media (width <= 700px) {
grid-template-columns: repeat(2, 1fr);
}
}
.soa-cat-tile {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
gap: 6px;
padding: 14px 10px;
border: 2px solid #e2e8f0;
border-radius: 10px;
background: #fff;
cursor: pointer;
transition: all 0.15s;
&:hover {
border-color: #a5b4fc;
box-shadow: 0 2px 8px rgb(99 102 241 / 12%);
}
&--selected {
&.soa-cat-tile--male {
border-color: #3b82f6;
background: #eff6ff;
box-shadow: 0 2px 12px rgb(59 130 246 / 20%);
}
&.soa-cat-tile--female {
border-color: #ec4899;
background: #fdf2f8;
box-shadow: 0 2px 12px rgb(236 72 153 / 20%);
}
}
&__icon {
font-size: 26px;
height: 26px;
width: 26px;
color: #64748b;
}
&--selected.soa-cat-tile--male &__icon {
color: #3b82f6;
}
&--selected.soa-cat-tile--female &__icon {
color: #ec4899;
}
&__label {
font-size: 11px;
font-weight: 600;
color: #374151;
text-align: center;
line-height: 1.3;
}
&__check {
position: absolute;
top: 6px;
right: 6px;
font-size: 16px;
height: 16px;
width: 16px;
.soa-cat-tile--male & {
color: #3b82f6;
}
.soa-cat-tile--female & {
color: #ec4899;
}
}
}
.soa-info-banner {
display: flex;
align-items: flex-start;
gap: 10px;
padding: 12px 14px;
border-radius: 8px;
font-size: 12px;
background: #eff6ff;
border: 1px solid #bfdbfe;
color: #1e40af;
mat-icon {
font-size: 18px;
height: 18px;
width: 18px;
flex-shrink: 0;
margin-top: 2px;
}
ul {
margin: 4px 0 0;
padding-left: 18px;
li {
margin-bottom: 3px;
}
}
&--minor {
background: #fefce8;
border-color: #fde68a;
color: #92400e;
}
&--senior {
background: #f0fdf4;
border-color: #bbf7d0;
color: #065f46;
}
&--male {
background: #eff6ff;
border-color: #bfdbfe;
color: #1e40af;
}
&--female {
background: #fdf2f8;
border-color: #f9a8d4;
color: #9d174d;
}
}
// ── Account Feature Toggles ────────────────────────────────────────────────
.rad-toggles {
display: flex;
flex-direction: column;
gap: 10px;
padding: 4px 0;
}
.rad-toggle-card {
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 18px;
border: 1.5px solid #e2e8f0;
border-radius: 10px;
background: #fff;
transition:
border-color 0.2s,
box-shadow 0.2s;
&:hover {
border-color: #93c5fd;
box-shadow: 0 1px 6px rgb(59 130 246 / 10%);
}
&__left {
display: flex;
align-items: center;
gap: 12px;
> i {
width: 36px;
height: 36px;
border-radius: 8px;
background: #f0f9ff;
border: 1px solid #bae6fd;
color: #0284c7;
display: flex;
align-items: center;
justify-content: center;
font-size: 15px;
flex: 0 0 auto;
}
}
&__label {
font-size: 13.5px;
font-weight: 600;
color: #1e293b;
}
&__hint {
font-size: 11.5px;
color: #64748b;
margin-top: 2px;
}
}