:root {
    --primary-green: #00BCD4;
    --primary-green-dark: #0097A7;
    --light-green-bg: #E0F7FA;
    --danger-color: #E53935;
    --hamyan-text: #333;
    --hamyan-muted: #666;
    --bs-success: #00BCD4;
    --bs-success-rgb: 0, 188, 212;
    --app-bottom-nav-height: 4.25rem;

    --app-page-padding: 1rem;
}

.app-page-inset {
    padding-inline: var(--app-page-padding);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    --app-visual-height: 100dvh;
    --app-visual-offset-top: 0px;
    --app-visual-bottom-gap: 0px;
    --app-bottom-chrome-height: calc(var(--app-bottom-nav-height) + env(safe-area-inset-bottom, 0px));
    --app-chrome-bottom-inset: var(--app-bottom-chrome-height);
}

.border-success {
    border-color: var(--primary-green) !important;
}
.text-success {
    color: var(--primary-green) !important;
}
.btn-success {
    background-color: #00BCD4 !important;
    border-color: #00BCD4 !important;
}
.btn-success:hover {
    background-color: #0097A7 !important;
    border-color: #0097A7 !important;
}
.btn-outline-success {
    color: #00BCD4 !important;
    border-color: #00BCD4 !important;
}
.btn-outline-success:hover {
    background-color: #00BCD4 !important;
    border-color: #00BCD4 !important;
    color: #fff !important;
}
.bg-success { background-color: #00BCD4 !important; }

html {
    height: 100%;
}

body.app-body:has(.app-shell) {
    height: 100%;
    overflow: hidden;
    overscroll-behavior: none;
}

body.app-body-guest {
    min-height: 100%;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
}

.app-guest-scroll {
    min-height: 100dvh;
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: #5a6a7d;
}

.app-shell {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    background-color: #f8f9fa;
    height: 100vh;
    height: 100svh;
    max-height: 100vh;
    max-height: 100svh;
    height: var(--app-visual-height, 100dvh);
    max-height: var(--app-visual-height, 100dvh);
    margin-top: var(--app-visual-offset-top, 0px);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.app-shell:has(.app-bottom-nav) {
    --app-scroll-inset-bottom: 0.5rem;
}

.app-shell:has(.app-footer-actions) {
    --app-scroll-inset-bottom: 0.5rem;
}

.app-hamyan-header {
    background-color: var(--light-green-bg);
    z-index: 1030;
    flex-shrink: 0;
    flex-grow: 0;
}

.app-toast-wrap,
.app-chrome-footer,
.app-footer-actions {
    flex-shrink: 0;
    flex-grow: 0;
}

.app-header-start > a[aria-label="بازگشت"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green) !important;
    font-size: 1.85rem;
    line-height: 1;
    text-decoration: none;
    min-width: 1.75rem;
}

.app-header-start > a[aria-label="بازگشت"] i {
    -webkit-text-stroke: 1px currentColor;
    paint-order: stroke fill;
}

.app-hamyan-header.header-green .app-header-start > a[aria-label="بازگشت"] {
    color: #fff !important;
}

.app-header-start .app-menu-btn {
    color: var(--primary-green) !important;
    font-size: 1.5rem;
    line-height: 1;
}

.app-hamyan-header.header-green .app-header-start .app-menu-btn {
    color: #fff !important;
}

.app-shell > main.app-main-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    padding-bottom: var(--app-scroll-inset-bottom, 0.75rem);
    scroll-padding-bottom: var(--app-scroll-inset-bottom, 0.75rem);
}

.app-ptr-indicator {
    --app-ptr-pull: 0px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    height: var(--app-ptr-pull);
    overflow: hidden;
    color: var(--primary-green);
    transition: height 0.2s ease;
    pointer-events: none;
}

.app-ptr-indicator.is-ready .app-ptr-label {
    font-weight: 600;
}

.app-ptr-indicator.is-refreshing {
    height: 3rem;
}

.app-ptr-spinner {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid rgba(0, 188, 212, 0.25);
    border-top-color: var(--primary-green);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.app-ptr-indicator.is-ready .app-ptr-spinner,
.app-ptr-indicator.is-refreshing .app-ptr-spinner {
    opacity: 1;
    transform: scale(1);
}

.app-ptr-indicator.is-refreshing .app-ptr-spinner {
    animation: app-ptr-spin 0.8s linear infinite;
}

.app-ptr-label {
    font-size: 0.75rem;
    line-height: 1.2;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.app-ptr-indicator.is-ready .app-ptr-label,
.app-ptr-indicator.is-refreshing .app-ptr-label {
    opacity: 1;
}

@keyframes app-ptr-spin {
    to { transform: rotate(360deg); }
}

.app-chrome-footer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.25s ease;
}

.app-chrome-footer.is-visible {
    max-height: 8rem;
}

.app-fixed-chrome {
    position: fixed;
    bottom: var(--app-visual-bottom-gap, 0px);
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    z-index: 1030;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(15, 23, 42, 0.06);
}

.app-fixed-chrome-spacer {
    flex-shrink: 0;
    height: var(--app-chrome-bottom-inset, var(--app-bottom-chrome-height));
    pointer-events: none;
}

.app-fixed-chrome .app-footer-actions {
    position: static;
    left: auto;
    transform: none;
    bottom: auto;
    width: 100%;
    max-width: none;
    z-index: auto;
    background: #fff;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.app-footer-bar {
    padding: 0.75rem var(--app-page-padding) calc(0.75rem + env(safe-area-inset-bottom, 0px));
}

.app-fixed-chrome .app-bottom-nav {
    position: static;
    left: auto;
    transform: none;
    bottom: auto;
    width: 100%;
    max-width: none;
    flex-shrink: 0;
    flex-grow: 0;
    z-index: auto;
    background: #fff;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: none;
}

.app-bottom-nav nav {
    min-height: var(--app-bottom-nav-height);
}

.app-hamyan-header.header-green {
    background-color: var(--primary-green);
}
.app-hamyan-header.header-green .header-title {
    color: #fff;
}
.app-hamyan-header.header-green .btn-link {
    color: #fff !important;
}

.app-hamyan-toolbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.5rem;
    padding-block: 0.75rem;
    padding-inline: var(--app-page-padding);
}

.app-hamyan-toolbar .app-header-start {
    justify-self: start;
}

.app-hamyan-toolbar .header-title {
    justify-self: center;
    text-align: center;
}

.app-hamyan-toolbar .app-header-end {
    justify-self: end;
}

.app-hamyan-toolbar .btn-link {
    color: var(--primary-green) !important;
    font-size: 1.5rem;
    padding: 0;
}

.app-hamyan-header .header-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: var(--primary-green);
}

/* ============================================
   Bottom Navigation (uses inline Bootstrap classes in partial)
   ============================================ */

/* ============================================
   Sidebar
   ============================================ */
.app-sidebar-offcanvas {
    max-width: min(360px, 92vw);
}

.app-sidebar-avatar {
    width: 48px;
    height: 48px;
    background: var(--light-green-bg);
    border: 1px solid rgba(0, 188, 212, 0.25);
    border-radius: 50%;
}

.app-sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 1rem;
    color: var(--hamyan-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.app-sidebar-link:hover {
    background: rgba(0, 188, 212, 0.06);
    color: var(--primary-green);
}

.app-sidebar-icon {
    width: 1.75rem;
    text-align: center;
    flex-shrink: 0;
    font-size: 1.1rem;
    line-height: 1;
    color: var(--primary-green);
}

/* ============================================
   Cards & Sections
   ============================================ */
.hamyan-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.hamyan-stat {
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.section-white {
    background-color: #fff;
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.section-title {
    text-align: center;
    color: #999;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

/* ============================================
   Buttons
   ============================================ */
.btn-hamyan-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--primary-green);
    --bs-btn-border-color: var(--primary-green);
    --bs-btn-hover-bg: var(--primary-green-dark);
    --bs-btn-hover-border-color: var(--primary-green-dark);
    --bs-btn-focus-shadow-rgb: 0, 188, 212;
    --bs-btn-active-bg: var(--primary-green-dark);
    --bs-btn-active-border-color: var(--primary-green-dark);
}

.btn-outline-hamyan-primary,
.btn-hamyan-secondary {
    --bs-btn-color: var(--primary-green);
    --bs-btn-bg: #ffffff;
    --bs-btn-border-color: var(--primary-green);
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: var(--primary-green);
    --bs-btn-hover-border-color: var(--primary-green);
    --bs-btn-focus-shadow-rgb: 0, 188, 212;
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: var(--primary-green-dark);
    --bs-btn-active-border-color: var(--primary-green-dark);
    --bs-btn-disabled-color: var(--primary-green);
    --bs-btn-disabled-bg: #ffffff;
    --bs-btn-disabled-border-color: var(--primary-green);
    border-width: 1.5px;
}

.btn-cta-green {
    background-color: var(--primary-green);
    border: none;
    color: #fff;
    border-radius: 1rem;
    padding: 15px;
    font-weight: 500;
    font-size: 1rem;
    width: 100%;
}

.btn-cta-green:hover {
    background-color: var(--primary-green-dark);
    color: #fff;
}


/* ============================================
   Custom Dropdown Component
   ============================================ */
.dropdown-custom {
    position: relative;
    width: 100%;
}

.dropdown-custom__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 20px;
    border: 2px solid var(--primary-green);
    border-radius: 15px;
    background-color: #fff;
    font-family: inherit;
    font-size: 1rem;
    color: #666;
    cursor: pointer;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.dropdown-custom__trigger:hover {
    border-color: var(--primary-green-dark);
}

.dropdown-custom__trigger:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(0, 188, 212, 0.25);
}

.dropdown-custom__trigger--active {
    border-color: var(--primary-green);
    border-radius: 15px 15px 0 0;
}

.dropdown-custom__trigger--error,
.dropdown-custom__trigger--error:focus {
    border-color: var(--danger-color);
    box-shadow: 0 0 0 0.2rem rgba(229, 57, 53, 0.25);
}

.dropdown-custom__trigger-text {
    flex: 1;
    text-align: center;
}

.dropdown-custom__trigger-text--selected {
    color: #333;
}

.dropdown-custom__arrow {
    font-size: 1rem;
    color: #333;
    transition: transform 0.2s ease;
}

.dropdown-custom__arrow--up {
    transform: rotate(180deg);
}

.dropdown-custom__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    border: 2px solid var(--primary-green);
    border-top: none;
    border-radius: 0 0 15px 15px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.dropdown-custom__menu--open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-custom__item {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.95rem;
    text-align: center;
    color: #333;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.dropdown-custom__item:hover,
.dropdown-custom__item:focus {
    background-color: var(--light-green-bg);
    outline: none;
}

.dropdown-custom__item--selected {
    background-color: var(--light-green-bg);
    color: var(--primary-green);
    font-weight: 500;
}

.dropdown-custom--disabled .dropdown-custom__trigger {
    background-color: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.6;
}

/* ============================================
   Image Options (Fund Selection)
   ============================================ */
.image-options-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.image-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.image-option {
    width: 50px;
    height: 50px;
    border-radius: 20px;
    border: 1px solid rgb(116 125 138);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: #fff;
    transition: all 0.3s ease;
    padding: 0;
    overflow: hidden;
}

.image-option:hover {
    border-color: #bbb;
}

.image-option.selected {
    border-color: #333;
    border-width: 2.5px;
}

.image-option img,
.image-option svg {
    width: 32px;
    height: 32px;
    pointer-events: none;
}

.image-option.upload {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid var(--primary-green);
    background-color: var(--light-green-bg);
    position: relative;
}

.image-option.upload:hover {
    border-color: var(--primary-green-dark);
    background-color: #dcedc8;
}

.image-option.upload .upload-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.image-option.upload .upload-icon[hidden] {
    display: none;
}

.image-option.upload i {
    color: var(--primary-green);
    font-size: 1.5rem;
}

.image-option.upload .upload-preview {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45px;
    height: 45px;
    object-fit: contain;
    border-radius: 8px;
}

.image-option.upload .upload-preview:not([hidden]) + .upload-icon {
    display: none;
}

/* ============================================
   Bootstrap Switch Override (Green)
   ============================================ */
.form-switch .form-check-input {
    width: 50px;
    height: 28px;
    background-color: #ccc;
    border: none;
    cursor: pointer;
}

.form-switch .form-check-input:checked {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

.form-switch .form-check-input:focus {
    box-shadow: none;
}

/* ============================================
   Form Styles
   ============================================ */
.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: none;
}

.form-control.border-success {
    border-color: var(--primary-green) !important;
}

.form-select:focus {
    border-color: var(--primary-green);
    box-shadow: none;
}

#membershipFee::placeholder {
    color: #676767;
}

/* ============================================
   Fund Wizard
   ============================================ */
.fund-wizard-body {
    max-width: 480px;
    margin: 0 auto;
    padding-top: 0;
}

.fund-wizard-body .hamyan-card {
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.fund-wizard-disclosure-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    padding: 0.9rem 1rem;
    border: 0;
    background: transparent;
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: right;
}

.fund-wizard-disclosure-btn:hover,
.fund-wizard-disclosure-btn:focus-visible {
    background: rgba(0, 188, 212, 0.06);
    color: var(--primary-green);
}

.fund-wizard-disclosure-chevron {
    color: #9aa0a6;
    transition: transform 0.2s ease;
}

.fund-wizard-disclosure-btn[aria-expanded="true"] .fund-wizard-disclosure-chevron {
    transform: rotate(-90deg);
}

.fund-wizard-disclosure-body {
    padding: 0 1rem 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.prefund-migration-page {
    padding-bottom: calc(var(--app-bottom-chrome-height, 4.25rem) + 1rem);
}
    width: 3rem;
    height: 3rem;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 188, 212, 0.12);
    color: var(--primary-green);
    font-size: 1.35rem;
}

.prefund-migration-page .prefund-section-title {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
}

.prefund-migration-page .prefund-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.prefund-migration-page .prefund-repeat-row,
.prefund-migration-page .prefund-misc-row {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0.85rem;
    padding: 0.75rem;
    margin-bottom: 0.65rem;
    background: #fafcfd;
}

.prefund-migration-page .prefund-repeat-row-head,
.prefund-migration-page .prefund-misc-row-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.prefund-migration-page .prefund-misc-row-title {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.prefund-migration-page .prefund-empty {
    text-align: center;
    color: var(--hamyan-muted);
    font-size: 0.85rem;
    padding: 0.75rem 0.25rem;
}

.prefund-migration-page .prefund-balance-preview {
    border: 1px dashed rgba(0, 188, 212, 0.35);
}

.prefund-migration-page .text-hamyan-primary {
    color: var(--primary-green) !important;
}

.prefund-step-nav {
    display: flex;
    gap: 0.35rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.prefund-step-item {
    flex: 1 0 auto;
    min-width: 4.5rem;
    text-align: center;
    opacity: 0.45;
}

.prefund-step-item.is-done,
.prefund-step-item.is-current {
    opacity: 1;
}

.prefund-step-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: #e8e8e8;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.prefund-step-item.is-current .prefund-step-dot {
    background: var(--primary-green);
    color: #fff;
}

.prefund-step-item.is-done .prefund-step-dot {
    background: rgba(0, 188, 212, 0.2);
    color: var(--primary-green);
}

.prefund-step-label {
    display: block;
    font-size: 0.65rem;
    line-height: 1.3;
    color: var(--hamyan-muted);
}

.prefund-review-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.prefund-installment-row:last-child {
    border-bottom: 0 !important;
}

/* ============================================
   Fund Segments & Tabs
   ============================================ */
.fund-segment {
    display: inline-flex;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(0, 188, 212, 0.35);
}

.fund-segment .btn-check:checked + .fund-segment-btn {
    background: var(--primary-green);
    color: #fff;
}

.fund-segment-btn {
    border-radius: 0 !important;
    border: 0 !important;
    color: var(--primary-green);
    background: rgba(255, 255, 255, 0.92);
    padding-inline: 1.25rem;
}

#fundTabs .nav-link {
    border: 0;
    color: var(--hamyan-muted);
}

#fundTabs .nav-link.active {
    color: var(--primary-green);
    border-bottom: 3px solid var(--primary-green) !important;
    background: transparent;
}

.group-fund-strip {
    background: linear-gradient(135deg, var(--primary-green) 0%, #00838f 100%);
    color: #fff;
    border-radius: 0 0 1rem 1rem;
}

.group-fund-page .group-fund-desc {
    background: #f0fafa;
    text-align: right;
}

.group-fund-tabs .nav-link {
    border: 0;
    color: var(--hamyan-muted);
    font-size: 0.85rem;
    padding-bottom: 0.65rem;
}

.group-fund-tabs .nav-link.active {
    color: var(--primary-green);
    border-bottom: 3px solid var(--primary-green) !important;
    background: transparent;
}

.group-board-seat {
    background: #f8fafa;
    border: 1px solid #e8f4f4;
}

.group-board-seat--filled {
    border-color: rgba(0, 188, 212, 0.35);
    background: #f0fafa;
}

.group-board-seat-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--primary-green);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.group-board-seat-num--sm {
    width: 1.65rem;
    height: 1.65rem;
    font-size: 0.75rem;
}

.group-vote-track {
    height: 6px;
    background: #e9ecef;
    overflow: hidden;
}

.group-vote-track-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffc107, #28a745);
    border-radius: inherit;
    transition: width 0.3s ease;
}

.group-fund-empty {
    background: #fff;
    border: 1px dashed #dee2e6;
}

.group-join-card {
    border: 1px solid rgba(0, 188, 212, 0.2);
}

.fund-summary-strip {
    background: var(--primary-green);
    color: #fff;
    border-radius: 0 0 1rem 1rem;
}

.fund-icon-img {
    display: block;
    border-radius: 50%;
    object-fit: cover;
    background: #f0fafa;
}

.fund-icon-img--sm {
    width: 2.5rem;
    height: 2.5rem;
}

.fund-icon-img--md {
    width: 3rem;
    height: 3rem;
}

.fund-icon-img--lg {
    width: 4.5rem;
    height: 4.5rem;
}

.fund-icon-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.fund-icon-fallback.fund-icon-img--sm { font-size: 1.75rem; }
.fund-icon-fallback.fund-icon-img--md { font-size: 2rem; }
.fund-icon-fallback.fund-icon-img--lg { font-size: 3rem; }

.fund-upload-circle.active {
    border-color: var(--primary-green) !important;
    border-style: solid !important;
}

.fund-icon-circle {
    width: 4.5rem;
    height: 4.5rem;
}

.fund-icon-pick:has(.fund-preset-inp:checked) .fund-icon-circle {
    border-color: var(--primary-green) !important;
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.18);
}

.fund-icon-pick:focus-within .fund-icon-circle {
    outline: 2px solid rgba(0, 188, 212, 0.35);
    outline-offset: 2px;
}

/* ============================================
   Wallet
   ============================================ */
.wallet-home {
    padding-bottom: 0;
}

.wallet-balance-card {
    background-color: var(--light-green-bg);
    border: none;
}

.wallet-balance-amount {
    font-size: 1.6rem;
    color: var(--primary-green);
}

.wallet-sticky-footer {
    /* deprecated: use @section('footer_actions') + .app-footer-bar */
}

.app-footer-actions .app-footer-bar,
.app-chrome-footer .form-sticky-save {
    position: static;
    left: auto;
    transform: none;
    width: 100%;
    max-width: none;
    bottom: auto;
    z-index: auto;
}

.funds-create-fab {
    flex-shrink: 0;
}

.funds-index-page {
    background: #eef2f5;
    min-height: auto;
}

.funds-index-body {
    padding-block: 0.75rem 0.5rem;
}

.fund-section-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #6c757d;
    margin-bottom: 0.65rem;
}

.fund-list-link {
    display: block;
    width: 100%;
    margin-bottom: 0.85rem;
    color: inherit;
    text-decoration: none;
}

.fund-list-link:last-child {
    margin-bottom: 0;
}

.fund-list-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.06),
        0 6px 18px rgba(15, 23, 42, 0.08);
    width: 100%;
    box-sizing: border-box;
}

.fund-list-card-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.fund-list-card-icon {
    flex: 0 0 auto;
}

.fund-list-card-head-text {
    flex: 1 1 auto;
    min-width: 0;
    text-align: start;
}

a:hover .fund-list-card,
a:focus-visible .fund-list-card {
    box-shadow:
        0 2px 4px rgba(15, 23, 42, 0.08),
        0 10px 24px rgba(15, 23, 42, 0.12);
}

.fund-list-card-title {
    font-weight: 700;
    font-size: 1rem;
    color: #1a1a1a;
    line-height: 1.4;
}

.fund-list-card-subtitle {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.15rem;
}

.fund-list-card-rows {
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    padding-top: 0.75rem;
}

.fund-list-card-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.35rem 0;
    color: #495057;
}

.fund-list-card-label {
    text-align: start;
    flex: 1 1 auto;
    min-width: 0;
}

.fund-list-card-value {
    text-align: end;
    font-weight: 600;
    color: #212529;
    flex: 0 1 auto;
    min-width: 0;
}

.fund-list-card-footer {
    display: flex;
    justify-content: flex-start;
}

.fund-status-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    line-height: 1.2;
}

.fund-status-draft {
    background: #eceff1;
    color: #546e7a;
}

.fund-status-active {
    background: #e0f7fa;
    color: #00838f;
}

.fund-status-pending {
    background: #fff3cd;
    color: #856404;
}

.fund-status-paused {
    background: #f8f9fa;
    color: #6c757d;
}

.fund-status-closed {
    background: #f8d7da;
    color: #842029;
}

.fund-status-overdue {
    background: #f8d7da;
    color: #842029;
}

.fund-list-card--overdue,
.fund-list-link--overdue .fund-list-card {
    background: #fff5f5;
    border-color: rgba(220, 53, 69, 0.55);
    box-shadow: 0 0 0 1px rgba(220, 53, 69, 0.2);
}

.fund-list-card--group {
    border-color: #26a69a;
    background: linear-gradient(180deg, #e0f2f1 0%, #ffffff 42%);
}

.fund-list-card--group .fund-list-card-icon {
    color: #00897b;
}

.fund-show--group,
.group-identity[data-entity="group"] {
    border: 1px solid #26a69a;
    background: linear-gradient(180deg, #e0f2f1 0%, #ffffff 48%);
    box-shadow: 0 1px 0 rgba(38, 166, 154, 0.12);
}

.fund-show--group .group-identity__icon .fund-icon-fallback,
.group-identity .group-identity__icon .fund-icon-fallback {
    background: #00897b;
    color: #fff;
}

.fund-show-balance.fund-show-balance--group {
    background: #e0f2f1;
    border-radius: 1rem;
    padding: 0.75rem 1rem;
}

.fund-list-card--group {
    border-inline-start: 4px solid #00897b;
}

.fund-list-empty {
    background: #fff;
    border: 2px dashed rgba(0, 188, 212, 0.35);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.group-board-seat .member-mobile-wrap {
    border-radius: 0.65rem;
}

.group-board-seat .member-mobile-label {
    margin-bottom: 0.35rem;
}

.wallet-banks-page {
    padding-bottom: 0;
}

.wallet-request-card {
    scroll-margin-bottom: 6rem;
}

.wallet-request-section + .wallet-request-section {
    border-top: 1px dashed rgba(15, 23, 42, 0.12);
    padding-top: 1rem;
}

.wallet-topup-input {
    border-width: 2px !important;
    border-color: var(--primary-green) !important;
    border-radius: 12px;
    min-height: 3.25rem;
}

.wallet-topup-input:focus {
    border-color: var(--primary-green) !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 188, 212, 0.22);
}

/* ============================================
   Loans
   ============================================ */
.loans-status-tabs {
    background: linear-gradient(180deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
}

.loans-status-tabs .nav-link {
    color: rgba(255, 255, 255, 0.78);
    border: 0;
    border-radius: 0;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}

.loans-status-tabs .nav-link.active {
    color: #ffffff;
    background: transparent;
}

.loans-status-tabs .nav-link.active::after {
    content: "";
    position: absolute;
    inset-inline: 18%;
    bottom: 6px;
    height: 3px;
    background: #ffffff;
    border-radius: 999px;
}

/* ============================================
   Help / Consultant Link
   ============================================ */
.help-section {
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
    color: #000;
}

.help-section a {
    color: #6c757d;
    text-decoration: underline;
}

/* ============================================
   Misc: Ledger, Receipts, Financial
   ============================================ */
.member-fin-summary {
    background: linear-gradient(180deg, rgba(0, 188, 212, 0.08), rgba(224, 247, 250, 0.5));
    border: 1px solid rgba(0, 188, 212, 0.15);
    border-radius: 16px;
}

.member-fin-summary-title,
.member-fin-section-title {
    text-align: center;
    font-weight: 700;
    color: var(--primary-green);
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px dashed rgba(0, 188, 212, 0.25);
    font-size: 0.9rem;
}

.member-fin-section-title {
    color: #333;
}

.member-fin-card {
    background: #ffffff;
    border: 1px solid rgba(2, 6, 23, 0.06);
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(2, 6, 23, 0.04);
}

.member-fin-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px dashed rgba(2, 6, 23, 0.06);
    font-size: 0.875rem;
}

.member-fin-row:last-child {
    border-bottom: 0;
}

.member-fin-label {
    color: var(--hamyan-muted);
}

.member-fin-value {
    font-weight: 600;
    color: #333;
}

.fund-ledger-card {
    background: #fff;
    border: 1px dashed rgba(0, 188, 212, 0.35);
    border-radius: 12px;
    overflow: hidden;
}

.fund-receipt-wrap {
    max-width: 420px;
    margin-inline: auto;
}

.fund-receipt-zigzag {
    height: 10px;
    margin-top: -1px;
    background:
        linear-gradient(135deg, #fff 25%, transparent 25%) -8px 0 / 16px 16px repeat-x,
        linear-gradient(225deg, #fff 25%, transparent 25%) -8px 0 / 16px 16px repeat-x;
}

.online-pay-card-head {
    background: linear-gradient(180deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
}

.easy-pay-footer {
    flex-shrink: 0;
}

.easy-pay-check,
.easy-pay-item-check {
    width: 1.15rem;
    height: 1.15rem;
    border-color: var(--primary-green);
}

.easy-pay-check:checked,
.easy-pay-item-check:checked {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

.amount-fa {
    display: inline-block;
    white-space: nowrap;
}

.bulletin-textarea {
    border-radius: 12px;
    border-color: rgba(0, 188, 212, 0.25);
    background: #f8fafc;
    resize: none;
}

.bulletin-textarea:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(0, 188, 212, 0.15);
}

.fund-bulletin-fab {
    width: 3rem;
    height: 3rem;
    font-size: 1.35rem;
    line-height: 1;
    background: linear-gradient(145deg, #8bc34a, var(--primary-green));
    box-shadow: 0 4px 14px rgba(0, 188, 212, 0.35);
}

.fund-bulletin-trigger-inner {
    background: #f1f3f5;
    border: 1px solid rgba(15, 23, 42, 0.06);
    transition: background 0.15s ease;
}

.fund-bulletin-trigger:hover .fund-bulletin-trigger-inner,
.fund-bulletin-trigger:focus-visible .fund-bulletin-trigger-inner {
    background: #e9ecef;
}

/* Fund show page — overview card */
.fund-show-balance {
    text-align: center;
    padding: 0.5rem 0 0.25rem;
}

.fund-show-balance-label {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.fund-show-balance-value {
    font-size: 1.65rem;
    font-weight: 700;
    color: #e65100;
    line-height: 1.3;
}

.fund-show-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.15rem 1rem 1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.06),
        0 6px 18px rgba(15, 23, 42, 0.08);
}

.fund-icon-img--circle {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e0f7fa;
}

.fund-show-profile-header {
    padding-bottom: 0.25rem;
}

.fund-show-profile-name {
    font-size: 1.1rem;
}

.fund-show-profile-avatar .fund-icon-fallback {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e0f7fa;
    font-size: 1.75rem;
}

.fund-show-name {
    text-align: center;
    font-weight: 700;
    font-size: 1.15rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.fund-show-overview {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.fund-show-metrics {
    flex: 1 1 auto;
    min-width: 0;
}

.fund-show-metric-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.3rem 0;
    font-size: 0.82rem;
}

.fund-show-metric-label {
    color: #6c757d;
    text-align: start;
    flex: 1 1 auto;
}

.fund-show-metric-value {
    font-weight: 600;
    color: #212529;
    text-align: end;
    flex: 0 1 auto;
    white-space: nowrap;
}

.fund-show-icon {
    flex: 0 0 auto;
    padding-top: 0.15rem;
}

.fund-show-more-panel {
    background: #f1f3f5;
    border-radius: 0.75rem;
    padding: 0.85rem 1rem;
    margin-bottom: 0.85rem;
}

.fund-show-more-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.35rem 0;
    font-size: 0.82rem;
}

.fund-show-more-label {
    color: #6c757d;
    text-align: start;
    flex: 1 1 auto;
}

.fund-show-more-value {
    font-weight: 600;
    color: #212529;
    text-align: end;
    flex: 0 1 auto;
}

.fund-show-toggle-wrap {
    text-align: center;
}

.fund-show-toggle-btn {
    display: inline-block;
    width: 100%;
    max-width: 14rem;
    padding: 0.55rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-green);
    background: #fff;
    border: 1.5px solid rgba(0, 188, 212, 0.45);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.fund-show-toggle-btn:hover,
.fund-show-toggle-btn:focus-visible {
    background: var(--light-green-bg);
    border-color: var(--primary-green);
}

/* Fund report downloads & receipt */
.fund-report-panel {
    background: linear-gradient(135deg, #f8feff 0%, #fff 100%);
    border: 1px solid rgba(0, 188, 212, 0.18);
    border-radius: 1rem;
    padding: 0.85rem 0.9rem;
}

.fund-report-panel__head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed rgba(0, 188, 212, 0.2);
}

.fund-report-panel__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.5rem;
    background: var(--light-green-bg);
    color: var(--primary-green);
    font-size: 0.95rem;
}

.fund-report-panel__title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--hamyan-text);
}

.fund-report-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

@media (max-width: 380px) {
    .fund-report-grid {
        grid-template-columns: 1fr;
    }
}

.fund-report-btn {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.65rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0.75rem;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.fund-report-btn:hover,
.fund-report-btn:focus-visible {
    color: inherit;
    border-color: rgba(0, 188, 212, 0.35);
    box-shadow: 0 4px 12px rgba(0, 188, 212, 0.12);
    transform: translateY(-1px);
}

.fund-report-btn__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.55rem;
    font-size: 1rem;
}

.fund-report-btn--xlsx .fund-report-btn__icon {
    background: #e8f5e9;
    color: #2e7d32;
}

.fund-report-btn--pdf .fund-report-btn__icon {
    background: #ffebee;
    color: #c62828;
}

.fund-report-btn__text {
    flex: 1 1 auto;
    min-width: 0;
    text-align: right;
    line-height: 1.25;
}

.fund-report-btn__label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--hamyan-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fund-report-btn__format {
    display: block;
    font-size: 0.68rem;
    color: var(--hamyan-muted);
    margin-top: 0.1rem;
}

.fund-report-btn__chevron {
    flex-shrink: 0;
    color: #bbb;
    font-size: 0.75rem;
}

.fund-receipt-download {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 0.85rem;
    background: linear-gradient(135deg, #e0f7fa 0%, #f1fcfe 100%);
    border: 1.5px solid rgba(0, 188, 212, 0.35);
    border-radius: 0.85rem;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.fund-receipt-download:hover,
.fund-receipt-download:focus-visible {
    color: inherit;
    background: linear-gradient(135deg, #b2ebf2 0%, #e0f7fa 100%);
    border-color: var(--primary-green);
    box-shadow: 0 4px 14px rgba(0, 188, 212, 0.18);
}

.fund-receipt-download__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #fff;
    color: var(--primary-green);
    font-size: 1.15rem;
    box-shadow: 0 2px 8px rgba(0, 188, 212, 0.15);
}

.fund-receipt-download__body {
    flex: 1 1 auto;
    text-align: right;
    min-width: 0;
}

.fund-receipt-download__title {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-green-dark);
}

.fund-receipt-download__hint {
    display: block;
    font-size: 0.72rem;
    color: var(--hamyan-muted);
    margin-top: 0.15rem;
}

.fund-receipt-download__arrow {
    flex-shrink: 0;
    color: var(--primary-green);
    font-size: 0.9rem;
    opacity: 0.85;
}

.fund-loan-card__header {
    margin-bottom: 0.75rem;
}

.fund-loan-detail-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    margin-top: 0.15rem;
    padding: 0.65rem 0.75rem;
    background: #f8fafb;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0.85rem;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}

.fund-loan-detail-link:hover,
.fund-loan-detail-link:focus-visible {
    color: inherit;
    background: #fff;
    border-color: rgba(0, 188, 212, 0.28);
    box-shadow: 0 3px 10px rgba(0, 188, 212, 0.1);
    transform: translateY(-1px);
}

.fund-loan-detail-link--action {
    background: linear-gradient(135deg, #e0f7fa 0%, #f4fdfe 100%);
    border-color: rgba(0, 188, 212, 0.3);
}

.fund-loan-detail-link--action:hover,
.fund-loan-detail-link--action:focus-visible {
    background: linear-gradient(135deg, #b2ebf2 0%, #e0f7fa 100%);
    border-color: var(--primary-green);
    box-shadow: 0 4px 14px rgba(0, 188, 212, 0.16);
}

.fund-loan-detail-link__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 0.65rem;
    background: #fff;
    color: var(--hamyan-muted);
    font-size: 1rem;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}

.fund-loan-detail-link--action .fund-loan-detail-link__icon {
    color: var(--primary-green);
    box-shadow: 0 2px 8px rgba(0, 188, 212, 0.12);
}

.fund-loan-detail-link__body {
    flex: 1 1 auto;
    min-width: 0;
    text-align: right;
    line-height: 1.3;
}

.fund-loan-detail-link__title {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--hamyan-text);
}

.fund-loan-detail-link--action .fund-loan-detail-link__title {
    color: var(--primary-green-dark);
}

.fund-loan-detail-link__hint {
    display: block;
    font-size: 0.68rem;
    color: var(--hamyan-muted);
    margin-top: 0.12rem;
}

.fund-loan-detail-link--action .fund-loan-detail-link__hint {
    color: var(--primary-green);
    font-weight: 600;
}

.fund-loan-detail-link__chevron {
    flex-shrink: 0;
    color: #c5c5c5;
    font-size: 0.8rem;
    transition: color 0.15s ease, transform 0.12s ease;
}

.fund-loan-detail-link:hover .fund-loan-detail-link__chevron,
.fund-loan-detail-link:focus-visible .fund-loan-detail-link__chevron {
    color: var(--primary-green);
    transform: translateX(-2px);
}

/* ============================================
   Profile, Banks, National ID
   ============================================ */
.auth-profile-avatar {
    width: 88px;
    height: 88px;
}

.auth-profile-check {
    width: 26px;
    height: 26px;
    background: var(--primary-green);
    color: #fff;
    border: 3px solid #fff;
}

.national-id-page .national-id-input {
    border: 2px solid var(--primary-green);
    border-radius: 12px;
    min-height: 3.5rem;
}

.bank-tabs .nav-link.active {
    background: var(--primary-green);
    color: #fff;
    box-shadow: 0 2px 6px rgba(0, 188, 212, 0.25);
}

.bank-add-input {
    border: 2px solid var(--primary-green) !important;
    border-radius: 12px;
}

.bank-add-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 188, 212, 0.22) !important;
}

.bank-logo-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    max-width: 100%;
    padding: 0.35rem 0.55rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    background: #fff;
    color: #333;
    font-size: 0.75rem;
    white-space: nowrap;
}

.bank-logo-chip-sm {
    padding: 0.25rem;
}

.bank-logo-circle,
.bank-logo-tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.bank-logo-tile {
    border-radius: 0.75rem;
}

.bank-logo-img {
    display: block;
    width: 1.55rem;
    height: 1.55rem;
    object-fit: contain;
}

.bank-logo-name {
    max-width: 5.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================
   Toast Animation
   ============================================ */
@keyframes slideDown {
    from { transform: translate(-50%, -100%); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}

@keyframes slideUp {
    from { transform: translate(-50%, 0); opacity: 1; }
    to { transform: translate(-50%, -100%); opacity: 0; }
}

.app-toast {
    border-radius: 12px;
}

/* ============================================
   Admin Panel Green Theme Override
   ============================================ */
.admin-sidebar-brand {
    background: linear-gradient(180deg, rgba(0,188,212,0.06) 0%, transparent 100%);
}

.admin-sidebar-brand:hover {
    color: var(--primary-green);
}

.admin-nav-link:hover {
    background: rgba(0, 188, 212, 0.1);
    color: var(--primary-green);
}

.admin-nav-link.active {
    background: rgba(0, 188, 212, 0.14);
    color: var(--primary-green);
}

.admin-submenu-link:hover {
    color: var(--primary-green);
}

.admin-submenu-link.active {
    background: var(--primary-green);
    color: #fff;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 576px) {
    .container {
        --bs-gutter-x: 1rem;
    }
}

/* Fund due date picker */
.fund-due-picker .fund-segment {
    display: flex;
    width: 100%;
}

.fund-due-picker .fund-segment-item {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
}

.fund-due-picker .fund-segment-item .fund-segment-btn {
    flex: 1 1 auto;
    width: 100%;
    text-align: center;
    padding: 12px 10px;
    font-weight: 600;
}

.fund-due-day-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    border: 2px solid var(--primary-green);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: #333;
    background: #fff;
    text-align: right;
    cursor: pointer;
}

.fund-due-day-trigger:focus-visible {
    outline: none;
    box-shadow: 0 0 0 0.15rem rgba(0, 188, 212, 0.2);
}

.fund-due-day-trigger-icon {
    color: var(--primary-green);
    font-size: 0.85rem;
    transition: transform 0.15s ease;
}

.fund-due-day-trigger.is-open .fund-due-day-trigger-icon {
    transform: rotate(180deg);
}

.fund-due-day-panel {
    margin-top: 0.5rem;
    padding: 0.65rem;
    border: 1px solid rgba(0, 188, 212, 0.2);
    border-radius: 12px;
    background: #f8fbfc;
}

.fund-due-day-panel-title {
    margin-bottom: 0.5rem;
    text-align: center;
}

.fund-due-day-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.35rem;
    max-height: 9.5rem;
    overflow-y: auto;
    padding: 0.1rem;
}

.fund-due-day-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    border: 1px solid #dde5e8;
    border-radius: 8px;
    background: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    color: #444;
    padding: 0.15rem;
    cursor: pointer;
}

.fund-due-day-chip.is-selected {
    border-color: var(--primary-green);
    background: rgba(0, 188, 212, 0.14);
    color: var(--primary-green);
}

.fund-due-week-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
}

.fund-due-week-chip {
    border: 1px solid #dde5e8;
    border-radius: 10px;
    background: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    color: #444;
    padding: 0.55rem 0.4rem;
    text-align: center;
    cursor: pointer;
}

.fund-due-week-chip.is-selected {
    border-color: var(--primary-green);
    background: rgba(0, 188, 212, 0.14);
    color: var(--primary-green);
}

/* Fund wizard — choose type (Hamyan-style radio cards) */
.fund-type-choose-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.fund-type-choose-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: #fff;
    border: 2px solid rgba(15, 23, 42, 0.08);
    border-radius: 1rem;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.fund-type-choose-card.is-selected {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 1px rgba(0, 188, 212, 0.15);
}

.fund-type-choose-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.fund-type-choose-radio {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.15rem;
    border: 2px solid #ccc;
    border-radius: 50%;
    background: #fff;
    position: relative;
}

.fund-type-choose-card.is-selected .fund-type-choose-radio {
    border-color: var(--primary-green);
}

.fund-type-choose-card.is-selected .fund-type-choose-radio::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--primary-green);
}

.fund-type-choose-body {
    flex: 1 1 auto;
    min-width: 0;
}

.fund-type-choose-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.fund-type-choose-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background: var(--light-green-bg);
    color: var(--primary-green);
    font-size: 1.1rem;
}

.fund-type-choose-title {
    font-weight: 700;
    color: var(--hamyan-text);
    font-size: 0.95rem;
}

.fund-type-choose-desc {
    display: block;
    font-size: 0.82rem;
    color: var(--hamyan-muted);
    line-height: 1.75;
}

/* Fund type description card */
.fund-type-desc {
    background: var(--light-green-bg);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.7;
    min-height: 3rem;
}

/* Sticky form save bar — lives in .app-chrome-footer (flex slot, not fixed overlay) */
.form-sticky-save {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
}

.form-sticky-save:not(.is-visible) {
    display: none;
}

/* Member add modal — scrollable body + visible errors */
#memberAddModal .modal-content {
    max-height: calc(100dvh - 1rem);
    display: flex;
    flex-direction: column;
}

#memberAddModal .member-add-form {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

#memberAddModal .modal-body {
    overflow-y: auto;
    flex: 1 1 auto;
    -webkit-overflow-scrolling: touch;
}

#memberAddModal .modal-footer {
    flex-shrink: 0;
}

@media (max-width: 575.98px) {
    #memberAddModal .modal-content {
        max-height: 100dvh;
    }
}

/* Lottery manual winner picker modal */
#winnerPickModal .modal-content {
    max-height: calc(100dvh - 1rem);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#winnerPickModal .lottery-winner-modal-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

#winnerPickModal .lottery-winner-modal-search {
    flex-shrink: 0;
}

#winnerPickModal .lottery-winner-modal-list {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

#winnerPickModal .modal-footer {
    flex-shrink: 0;
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
}

#winnerPickModal #winnerPickSearch {
    border-radius: 999px;
    background: #f8f9fa;
    border-color: #e9ecef;
    padding-block: 0.65rem;
    font-size: 0.95rem;
}

.lottery-winner-slot-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #e8ecef;
    border-radius: 1rem;
    background: #fff;
    text-align: right;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.lottery-winner-slot-btn:hover,
.lottery-winner-slot-btn:focus {
    border-color: #b2dfdb;
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.12);
}

.lottery-winner-slot-btn.is-filled {
    border-color: #c8e6c9;
    background: #f9fdf9;
}

.lottery-winner-slot-btn .slot-placeholder {
    color: #adb5bd;
    font-size: 0.95rem;
}

.lottery-winner-slot-btn .slot-picked-name {
    font-weight: 600;
    color: #212529;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lottery-winner-slot-btn .slot-picked-meta {
    color: #6c757d;
    font-size: 0.8rem;
}

.lottery-winner-slot-btn .slot-add-icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 0.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #00bcd4;
    background: #e0f7fa;
    font-size: 1.1rem;
}

.lottery-member-pick {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    min-height: 3.35rem;
    padding: 0.75rem 0.35rem;
    border: 0;
    border-bottom: 1px solid #f1f3f5;
    background: transparent;
    text-align: right;
}

.lottery-member-pick:last-child {
    border-bottom: 0;
}

.lottery-member-pick.is-selected .lottery-member-check {
    background: #00bcd4;
    border-color: #00bcd4;
    color: #fff;
}

.lottery-member-pick.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

.lottery-member-check {
    flex-shrink: 0;
    width: 1.35rem;
    height: 1.35rem;
    border: 2px solid #ced4da;
    border-radius: 0.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: transparent;
}

.lottery-member-pick.is-selected .lottery-member-check {
    color: #fff;
}

.lottery-member-pick-body {
    flex: 1 1 auto;
    min-width: 0;
    text-align: right;
}

.lottery-member-pick-top {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.lottery-member-pick-name {
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.lottery-member-shares {
    display: inline-block;
    flex-shrink: 0;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background: #f1f3f5;
    color: #495057;
    font-size: 0.75rem;
    font-weight: 600;
}

.lottery-member-pick-sub {
    display: block;
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.15rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    #winnerPickModal .modal-dialog {
        margin: 0;
        max-width: 100%;
        height: 100%;
    }

    #winnerPickModal .modal-content {
        max-height: 100dvh;
        height: 100%;
        border-radius: 0;
    }

    #winnerPickModal .modal-header {
        flex-shrink: 0;
    }

    .lottery-member-pick {
        padding-inline: 0.15rem;
    }
}

@media (min-width: 576px) {
    #winnerPickModal .modal-dialog {
        max-width: min(100%, 26rem);
    }

    #winnerPickModal .modal-content {
        border-radius: 1rem;
    }
}

/* Membership fee status badges on fund member list */
.member-fee-badge--paid {
    background-color: #2e7d32 !important;
    color: #fff !important;
}

.member-fee-badge--overdue {
    background-color: #c62828 !important;
    color: #fff !important;
}

.member-fee-badge--pending {
    background-color: #f9a825 !important;
    color: #212529 !important;
}

/* Member list — call & pay actions */
.member-row-actions {
    min-width: 2.5rem;
}

.member-call-btn {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.65rem;
    color: #333;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #fff;
    text-decoration: none;
}

.member-call-btn:hover {
    background: rgba(0, 188, 212, 0.08);
    color: var(--primary-green);
}

.member-pay-btn {
    background-color: #2e7d32 !important;
    border-color: #2e7d32 !important;
    color: #fff !important;
    white-space: nowrap;
    font-size: 0.8rem;
    padding: 0.35rem 0.65rem;
    border-radius: 0.65rem;
}

.member-pending-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: flex-end;
}

.member-pending-btn {
    font-size: 0.75rem;
    padding: 0.2rem 0.85rem;
    border-radius: 2rem;
    line-height: 1.5;
    min-width: 3.5rem;
}

.member-pay-btn:hover {
    background-color: #1b5e20 !important;
    border-color: #1b5e20 !important;
    color: #fff !important;
}

.member-mobile-label {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.35rem;
}

.member-mobile-wrap {
    display: flex;
    align-items: stretch;
    border: 1px solid #ced4da;
    border-radius: 0.5rem;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.member-mobile-wrap:focus-within {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.18);
}

.member-mobile-wrap.is-invalid {
    border-color: #dc3545;
}

.member-contacts-btn {
    border: none;
    border-inline-end: 1px solid #dee2e6;
    background: transparent;
    color: var(--primary-green);
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 0.75rem 0.55rem;
    flex-shrink: 0;
}

.member-contacts-btn:hover {
    background: rgba(0, 188, 212, 0.06);
}

.member-contacts-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.member-name-locked {
    background-color: #f1f3f5 !important;
}

.member-mobile-wrap input {
    border: none;
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.75rem 0.85rem;
    font-size: 1rem;
    background: transparent;
    outline: none;
    box-shadow: none;
}

.member-mobile-wrap input:focus {
    box-shadow: none;
}

.member-field-error {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 0.35rem;
}

#memberAddSummaryError {
    border-radius: 0.65rem;
}

/* Settings menu list */
.settings-menu-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-weight: 500;
    font-size: 0.9rem;
}

.settings-menu-link:hover {
    background: rgba(0, 188, 212, 0.06);
    color: var(--primary-green);
}

.settings-menu-link i {
    color: var(--primary-green);
    width: 1.5rem;
    text-align: center;
}

/* Wallet — bank card actions (modal sheet) */
.bank-actions-list .list-group-item {
    font-weight: 500;
}

.bank-actions-list .list-group-item:active {
    background: var(--light-green-bg);
}

.text-hamyan-primary {
    color: var(--primary-green) !important;
}

.text-hamyan-primary-emphasis {
    color: #333 !important;
}

.jalali-ltr {
    unicode-bidi: isolate;
}

/* ============================================
   Home page (Hamiyan-style)
   ============================================ */
.app-main-scroll:has(.home-page) {
    background: #fff;
}

.app-home-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    max-width: 100%;
    line-height: 1.2;
    text-decoration: none;
    color: inherit;
}

.app-home-brand-icon {
    display: block;
    flex-shrink: 0;
    border-radius: 0.45rem;
    font-size: 1.5rem;
    color: #00BCD4;
}

.app-home-brand-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #00BCD4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 5.5rem;
}

.home-page {
    padding-top: 0.75rem;
}

.home-hero-carousel {
    border-radius: 1rem;
    overflow: hidden;
}

.home-hero-indicators {
    margin-bottom: 0.35rem;
}

.home-hero-indicators [data-bs-target] {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.55);
    border: none;
    margin-inline: 0.15rem;
}

.home-hero-indicators .active {
    background-color: #fff;
}

.home-hero-slide {
    position: relative;
    background: var(--primary-green);
    min-height: 9.5rem;
}

.home-hero-slide__img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 11rem;
    object-fit: cover;
}

.home-hero-slide__caption {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    padding: 0.75rem 1rem;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.45));
}

.home-hero-default {
    background: var(--primary-green);
    border-radius: 1rem;
    padding: 1rem 1.1rem 1.15rem;
    color: #fff;
    min-height: 9.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.home-hero-default__art {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.35rem;
}

.home-hero-default__art svg {
    width: min(9rem, 55vw);
    height: auto;
}

.home-hero-default__text {
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
}

.home-calendar-strip {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    direction: rtl;
}

.home-calendar-icon-btn {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.85rem;
    background: var(--light-green-bg);
    color: var(--primary-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.25rem;
}

.home-calendar-days {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: stretch;
    gap: 0.35rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.home-calendar-days::-webkit-scrollbar {
    display: none;
}

.home-calendar-day {
    flex: 1 0 auto;
    min-width: 3.1rem;
    text-align: center;
    text-decoration: none;
    color: var(--hamyan-muted);
    padding: 0.2rem 0.15rem;
}

.home-calendar-day__num {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.2;
}

.home-calendar-day__name {
    display: block;
    font-size: 0.68rem;
    line-height: 1.3;
    margin-top: 0.1rem;
}

.home-calendar-day.is-today {
    color: var(--primary-green);
}

.home-calendar-day.is-today .home-calendar-day__num {
    font-size: 1.15rem;
}

.home-cta-card {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: var(--light-green-bg);
    border-radius: 1rem;
    padding: 0.85rem 0.9rem;
}

.home-cta-card__art {
    flex-shrink: 0;
    width: 4.5rem;
    color: var(--primary-green);
}

.home-cta-card__art svg {
    width: 100%;
    height: auto;
    display: block;
}

.home-cta-card__body {
    flex: 1;
    min-width: 0;
}

.home-cta-card__title {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--hamyan-text);
    line-height: 1.45;
}

.home-cta-card__subtitle {
    font-size: 0.72rem;
    color: var(--hamyan-muted);
    margin-top: 0.15rem;
}

.home-cta-card__btn {
    display: inline-block;
    margin-top: 0.55rem;
    padding: 0.3rem 1.35rem;
    background: #fff;
    color: var(--hamyan-text);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.home-shortcuts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem 0.5rem;
}

.home-shortcut {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
    color: var(--hamyan-text);
}

.home-shortcut__icon {
    width: 3.35rem;
    height: 3.35rem;
    border-radius: 0.95rem;
    background: var(--light-green-bg);
    color: var(--primary-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
}

.home-shortcut__label {
    font-size: 0.72rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.35;
}

.home-learn__title {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--hamyan-text);
    margin-bottom: 0.35rem;
}

.home-learn-list {
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.home-learn-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    text-decoration: none;
    color: var(--hamyan-text);
}

.home-learn-item__chevron {
    color: #bbb;
    font-size: 0.85rem;
    line-height: 1;
}

.home-learn-item__text {
    font-size: 0.86rem;
    font-weight: 600;
}

.home-learn-item__illus {
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home-learn-item__illus svg {
    width: 100%;
    height: 100%;
}

/* Calendar page */
.calendar-page {
    padding-top: 0.75rem;
}

.calendar-month-card {
    background: #fff;
    border-radius: 1rem;
    padding: 0.85rem 0.75rem 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}

.calendar-month-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
}

.calendar-month-nav__label {
    font-weight: 700;
    color: var(--hamyan-text);
}

.calendar-month-nav__btn {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.75rem;
    background: var(--light-green-bg);
    color: var(--primary-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
    margin-bottom: 0.35rem;
    text-align: center;
    font-size: 0.72rem;
    color: var(--hamyan-muted);
    font-weight: 600;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
}

.calendar-cell {
    aspect-ratio: 1;
    border-radius: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--hamyan-text);
    position: relative;
    font-weight: 600;
    font-size: 0.82rem;
}

.calendar-cell--empty {
    visibility: hidden;
}

.calendar-cell.is-today {
    color: var(--primary-green);
}

.calendar-cell.is-selected {
    background: var(--light-green-bg);
    color: var(--primary-green);
}

.calendar-cell.has-events .calendar-cell__dot {
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 50%;
    background: var(--primary-green);
    position: absolute;
    bottom: 0.35rem;
}

.calendar-events__title {
    font-weight: 700;
    font-size: 0.92rem;
    margin-bottom: 0.65rem;
    color: var(--hamyan-text);
}

.calendar-event-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    background: #fff;
    border-radius: 1rem;
    padding: 0.85rem 0.9rem;
    margin-bottom: 0.55rem;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}

.calendar-event-item__meta {
    font-size: 0.68rem;
    color: var(--hamyan-muted);
    margin-bottom: 0.15rem;
}

.calendar-event-item__title {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--hamyan-text);
}

.calendar-event-item__amount {
    font-weight: 700;
    color: var(--primary-green);
    white-space: nowrap;
    font-size: 0.82rem;
}

.calendar-events__empty {
    background: #fff;
    border-radius: 1rem;
    padding: 1.25rem 1rem;
    text-align: center;
    color: var(--hamyan-muted);
    font-size: 0.85rem;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}
