

.brand {
    font-size: 18px;
}

.brand small {
    font-size: 11px;
}

.global-search input {
    font-size: 14px;
}

.account-copy strong {
    font-size: 14px;
}

.account-copy small {
    font-size: 12px;
}

.account-menu a {
    font-size: 14px;
}

.notification-wrapper {
    position: relative;
}

.notification-badge {
    position: absolute;
    top: 2px;
    right: 0;
    min-width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    padding: 0 4px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
}

.notification-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: min(370px, calc(100vw - 24px));
    display: none;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
    z-index: 60;
}

.notification-menu.open {
    display: block;
}

@media (max-width: 600px) {
    .notification-menu {
        position: fixed;
        top: calc(var(--topbar, 70px) + 8px);
        left: 12px;
        right: 12px;
        width: auto;
    }
}

.notification-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border-bottom: 1px solid #eef2f7;
}

.notification-header strong,
.notification-header small {
    display: block;
}

.notification-header strong {
    font-size: 15px;
}

.notification-header small {
    margin-top: 3px;
    color: #94a3b8;
    font-size: 11px;
}

.notification-header > span {
    flex: 0 0 auto;
    padding: 5px 8px;
    border-radius: 999px;
    background: #fff7ed;
    color: #c2410c;
    font-size: 10px;
    font-weight: 700;
}

.notification-list {
    max-height: min(420px, calc(100vh - 160px));
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.notification-list::-webkit-scrollbar {
    width: 5px;
}

.notification-list::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #cbd5e1;
}

.notification-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 4px 6px;
  border-bottom: 1px solid #f1f5f9;
}

.notification-item:last-child {
    border-bottom: 0;
}

.notification-item:hover {
    background: #f8fafc;
}

.notification-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 14px;
}

.notification-icon.birthday {
    background: #fef3c7;
    color: #b45309;
}

.notification-copy {
    flex: 1;
    min-width: 0;
}

.notification-item strong {
    display: block;
    margin-bottom: 3px;
    color: #1e293b;
    font-size: 12px;
}

.notification-item p {
    margin: 0 0 5px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.4;
}

.notification-item time {
    color: #94a3b8;
    font-size: 10px;
}

.notification-empty {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 34px 20px;
    color: #94a3b8;
    text-align: center;
}

.notification-empty i {
    margin-bottom: 10px;
    font-size: 24px;
}

.notification-empty strong {
    color: #475569;
    font-size: 13px;
}

.notification-empty span {
    margin-top: 4px;
    font-size: 11px;
}

.sidebar-label {
  font-size: 12px;
  letter-spacing: 0;
  color: #1f2937;
}

.nav-link {
    padding: 13px 12px;
    font-size: 14px;
}

.nav-link i {
    font-size: 17px;
}

.nav-submenu a {
    padding: 9px 10px;
    font-size: 14px;
}

.sidebar-footer strong,
.sidebar-footer small {
    font-size: 12px;
}

.page-heading h1 {
    font-size: 28px;
}

.eyebrow {
    font-size: 11px;
}

.date-chip {
    font-size: 13px;
}

.stat-card {
    padding: 24px;
}

.stat-label {
    font-size: 14px;
}

.stat-value {
    font-size: 30px;
}

.stat-note {
    font-size: 12px;
}

.stat-icon {
    width: 56px;
    height: 56px;
    font-size: 32px;
}

.stat-icon .lucide {
    width: 32px;
    height: 32px;
}

.panel {
    padding: 24px;
}

.panel-header h2 {
    font-size: 16px;
}

.panel-header a {
    font-size: 12px;
}

.quick-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    gap: 10px;
}

.quick-link {
    padding: 12px 14px;
    font-size: 12px;
    gap: 10px;
    min-width: 0;
}

.quick-link i {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    font-size: 14px;
}

.quick-link .lucide {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.quick-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

@media (max-width: 600px) {
    .quick-grid {
        grid-template-columns: 1fr;
    }
}

.activity-list li {
    font-size: 13px;
}

.activity-list strong {
    font-size: 14px;
}

.activity-panel .activity-list {
    max-height: 250px;
    padding-right: 8px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.activity-panel .activity-list::-webkit-scrollbar {
    width: 5px;
}

.activity-panel .activity-list::-webkit-scrollbar-track {
    background: transparent;
}

.activity-panel .activity-list::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #cbd5e1;
}

.activity-panel .activity-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.activity-dot {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
}

.alert {
    font-size: 14px;
}

.btn {
    padding: 11px 15px;
    font-size: 14px;
}

.data-table {
    font-size: 0.85em;
}

.data-table th {
    font-size: 11px;
}

.badge {
    font-size: 11px;
}

.field label,
.field small {
    font-size: 12px !important;
}

.field input,
.field select,
.field textarea {
    padding: 11px 12px;
    font-size: 14px;
}

.field textarea {
    width: 100%;
    resize: vertical;
    min-height: 120px;
}

.footer {
    font-size: 11px;
}

.login-message h1 {
    font-size: 42px;
}

.login-message p {
    font-size: 15px;
}

.login-foot {
    font-size: 12px;
}

.login-form {
    width: min(420px, 100%);
    padding:20px;
    margin-top:-100px;
}

.login-form h2 {
    font-size: 20px;
    text-align: center;
}

.login-form > p {
    font-size: 14px;
}

.login-form .btn {
    padding: 14px;
}

.login-note {
    font-size: 12px;
}

.directory-pagination {
    font-size: 12px;
}

.member-summary p,
.member-detail-row {
    font-size: 13px;
}

/* Church logo replaces the letter mark system-wide. */
.brand-logo {
    display: block;
    height: 60px;
    width: auto;
}

.login-logo-img {
    display: block;
    height: 48px;
    width: auto;
    padding: 8px 12px;
    background: #fff;
    border-radius: 10px;
}

.preloader-logo {
    display: block;
    height: 44px;
    width: auto;
    margin-bottom: 20px;
}

/* Announcements */
.announcement-detail h3 {
    margin: 0 0 8px;
    font-size: 20px;
    color: #1e293b;
}

.announcement-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.announcement-meta {
    margin: 0 0 14px;
    color: #64748b;
    font-size: 12px;
}

.announcement-body {
    padding: 16px;
    border: 1px solid #eef2f7;
    border-radius: 8px;
    background: #f8fafc;
    color: #334155;
    font-size: 14px;
    line-height: 1.6;
    white-space: pre-wrap;
    margin-bottom: 16px;
}

.stat-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.stat-chip {
    flex: 1;
    min-width: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 12px;
    border: 1px solid #eef2f7;
    border-radius: 10px;
    background: #fff;
}

.stat-chip strong {
    font-size: 22px;
    color: #1e293b;
}

.stat-chip small {
    margin-top: 4px;
    color: #94a3b8;
    font-size: 11px;
}

.checkbox-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 6px 0;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #334155;
    cursor: pointer;
}

/* Simple rich-text editor */
.rich-editor {
    border: 1px solid #dce1e8;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
}

.editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
    padding: 6px 8px;
    border-bottom: 1px solid #eef2f7;
    background: #f8fafc;
}

.editor-toolbar button {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #475569;
    cursor: pointer;
    font-size: 13px;
}

.editor-toolbar button:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.toolbar-sep {
    width: 1px;
    height: 20px;
    margin: 0 4px;
    background: #e2e8f0;
}

.editor-content {
    min-height: 140px;
    max-height: 420px;
    overflow-y: auto;
    padding: 12px;
    font-size: 14px;
    line-height: 1.6;
    color: #263142;
    outline: none;
}

.editor-content:empty::before {
    content: attr(data-placeholder);
    color: #9ca3af;
}

/* Attendance */
.attendance-stats {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.attendance-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 16px;
}

.attendance-toolbar input[type="search"] {
    flex: 1;
    min-width: 200px;
    padding: 10px 12px;
    border: 1px solid #dce1e8;
    border-radius: 6px;
    font-size: 13px;
}

.attendance-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    max-height: 62vh;
    overflow-y: auto;
    padding: 4px;
}

@media (max-width: 600px) {
    .attendance-list {
        grid-template-columns: 1fr;
    }
}

.member-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border: 1px solid #eef2f7;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}

.member-chip:hover {
    border-color: #cbd5e1;
}

.member-chip:has(input:checked) {
    border-color: #16a34a;
    background: #f0fdf4;
}

.member-chip input {
    width: 16px;
    height: 16px;
    accent-color: #16a34a;
    flex: 0 0 auto;
}

.member-chip .member-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    color: #1e293b;
}

.member-avatar {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    color: #475569;
    font-size: 11px;
    font-weight: 600;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Landing page login-type tabs */
.login-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.login-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    padding: 12px 6px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    color: #64748b;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    line-height: 1.25;
    transition: border-color .2s ease, background .2s ease, color .2s ease, transform .15s ease;
}

.login-tab:hover {
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.login-tab i {
    font-size: 20px;
}

.login-tab.active {
    border-color: #1e40af;
    background: #eef2ff;
    color: #1e40af;
}

.login-heading p {
    margin: 0 0 20px;
    color: #7b8494;
    font-size: 10px;
    text-align: center;
}

.login-heading.swap-anim {
    animation: loginSwapIn .35s ease;
}

@keyframes loginSwapIn {
    from { opacity: 0; transform: translateX(14px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Mobile: show the logo above the login form (brand section is hidden). */
.login-mobile-logo {
    display: none;
}

@media (max-width: 900px) {
    .login-form-wrap {
        padding: 14px 14px;
    }

    .login-mobile-logo {
        display: block;
        text-align: center;
        margin-bottom: 12px;
    }

    .login-mobile-logo img {
        width: 200px;
        height: auto;
    }

    .login-tabs {
        gap: 6px;
        margin-bottom: 12px;
    }

    .login-tab {
        padding: 10px 4px;
    }

    .login-heading p {
        margin-bottom: 12px;
    }

    .login-form .field {
        margin-bottom: 10px;
    }
}

/* Forgot / reset password */
.login-page--centered {
    grid-template-columns: 1fr;
}

.login-forgot {
    display: block;
    margin-top: 14px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #2563eb;
}

.login-forgot:hover {
    text-decoration: underline;
}

.reset-link-box {
    margin-bottom: 16px;
    padding: 12px;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
    font-size: 12px;
    color: #334155;
    word-break: break-all;
    line-height: 1.6;
}

.reset-link-box a {
    color: #2563eb;
    font-weight: 600;
}

.reset-link-box small {
    color: #94a3b8;
}

/* Membership Card */
.member-card-page {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.profile-card {
    flex: 0 0 32%;
    min-width: 250px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.profile-card-header {
    background: #fff;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    color: #1e293b;
    padding: 16px;
    border-bottom: 1px solid #eef2f7;
    border-radius: 11px 11px 0 0;
}

.profile-card-body {
    background: #f8fafc;
    padding: 28px 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 0 0 11px 11px;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 40px;
    font-weight: 600;
    border: 4px solid #fff;
    box-shadow: 0 0 0 1px #e2e8f0;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-photo--clickable {
    cursor: pointer;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
}

/* Photo modal */
.photo-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.photo-modal[hidden] {
    display: none;
}

.photo-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
}

.photo-modal-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    max-height: 90vh;
}

.photo-modal-content img {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.photo-modal-close {
    position: absolute;
    top: -46px;
    right: 0;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #334155;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-name {
    margin: 16px 0 8px;
    font-size: 20px;
    font-weight: 400;
    color: #1e293b;
}

.profile-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 999px;
    background: #eef2ff;
    color: #1e40af;
    font-size: 11px;
    font-weight: 600;
}

.profile-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.action-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #d0d7e2;
    border-radius: 8px;
    color: #475569;
    font-size: 16px;
    background: #fff;
    transition: border-color .15s, color .15s;
}

.action-btn:hover {
    border-color: #1e40af;
    color: #1e40af;
}

.profile-phone {
    margin: 14px 0 0;
    color: #64748b;
    font-size: 1.2em;
}

.member-actions-wrap {
    position: relative;
    margin-top: 18px;
    width: 100%;
}

.member-actions-btn {
    /*width: 100%;*/
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 14px;
    border: 0;
    border-radius: 8px;
    background: #16a34a;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.member-actions-btn:hover {
    background: #15803d;
}

.member-actions-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    z-index: 20;
    overflow: hidden;
}

.member-actions-menu a,
.member-actions-menu button {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 14px;
    border: 0;
    background: #fff;
    color: #334155;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
}

.member-actions-menu a:hover,
.member-actions-menu button:hover {
    background: #f8fafc;
}

.info-panel {
    flex: 1;
    min-width: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.info-tabs {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #eef2f7;
    padding: 0 12px;
}

.info-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 15px 12px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.info-tab i {
    font-size: 14px;
}

.info-tab.active {
    color: #1e40af;
    border-bottom-color: #1e40af;
    font-weight: 600;
}

.info-panel-body {
    padding: 24px;
}

.info-heading {
    margin: 0 0 18px;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
}

.info-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.info-table tr + tr td {
    border-top: 1px solid #eef2f7;
}

.info-table .label {
    width: 42%;
    background: transparent;
    font-weight: 600;
    color: #334155;
    padding: 14px 16px;
    font-size: 13px;
    vertical-align: top;
    white-space: nowrap;
}

.info-table .value {
    background: #fff;
    color: #475569;
    padding: 14px 16px;
    font-size: 13px;
}

.info-table tr:hover td {
    background: #f5f6f5;
}

.children-list-simple {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
}

.children-list-simple li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    color: #475569;
    font-size: 13px;
    border-bottom: 1px solid #f1f5f9;
}

.children-list-simple i {
    color: #94a3b8;
}

.empty-note {
    color: #94a3b8;
    font-size: 13px;
    padding: 8px 0;
}

.attendance-summary {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.attendance-chip {
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.attendance-chip.present {
    background: #dcfce7;
    color: #15803d;
}

.attendance-chip.absent {
    background: #fee2e2;
    color: #b91c1c;
}

.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
}

.status-present {
    background: #dcfce7;
    color: #15803d;
}

.status-absent {
    background: #fee2e2;
    color: #b91c1c;
}

.status-late {
    background: #fef3c7;
    color: #b45309;
}

.attendance-stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}

.attendance-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 12px;
    border-radius: 10px;
    border: 1px solid #eef2f7;
    background: #fff;
}

.attendance-stat strong {
    font-size: 22px;
    color: #1e293b;
}

.attendance-stat span {
    margin-top: 4px;
    font-size: 11px;
    color: #94a3b8;
}

.attendance-stat.present strong {
    color: #15803d;
}

.attendance-stat.late strong {
    color: #b45309;
}

.attendance-stat.absent strong {
    color: #b91c1c;
}

/* FirstFruit */
.ff-summary {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ff-stat {
    flex: 1;
    min-width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 12px;
    border: 1px solid #eef2f7;
    border-radius: 10px;
    background: #fff;
}

.ff-stat strong {
    font-size: 22px;
    color: #1e293b;
}

.ff-stat span {
    margin-top: 4px;
    font-size: 11px;
    color: #94a3b8;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
}

.gallery-item {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.gallery-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.gallery-item-meta {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.gallery-item-meta .caption {
    font-size: 13px;
    color: #334155;
    font-weight: 500;
}

.gallery-item-meta .meta {
    font-size: 11px;
    color: #94a3b8;
}

.gallery-item-meta .actions {
    margin-top: 6px;
}

.nav-group-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding-bottom: 10px;
    font-size: 14px;
    letter-spacing: normal;
    color: #556070;
    font-weight: 600;
}

.nav-group-icon {
    font-size: 15px;
    width: 18px;
    text-align: center;
    flex: 0 0 auto;
}

.nav-group .nav-link {
    padding-left: 32px;
    font-size: 12px;
    transition: transform .18s ease, background .18s ease, color .18s ease;
}

.nav-group .nav-link i {
    font-size: 14px;
}

.nav-group .nav-link:hover {
    transform: translateX(4px);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

@media (max-width: 900px) {
    .member-card-page {
        flex-direction: column;
    }
    .profile-card {
        flex: 1 1 auto;
        width: 100%;
        min-width: 0;
    }
}

.member-chip small {
    color: #94a3b8;
    font-size: 10px;
    flex: 0 0 auto;
}
