/* NoquSema — Main Stylesheet */

:root {
    --ns-primary:       #1B4F8E;
    --ns-primary-dark:  #133A6B;
    --ns-primary-light: #D8E8F7;
    --ns-secondary:     #A87815;
    --ns-secondary-dark:#8A6210;
    --ns-accent:        #2D6929;
    --ns-accent-light:  #D5EFCA;
    --ns-brown:         #4A2000;
    --ns-brown-light:   #F5EDE5;
    --ns-sky:           #1A8EC4;
    --ns-bg:            #FAF8F4;
    --ns-card:          #ffffff;
    --ns-text:          #2C1A0E;
    --ns-muted:         #6B6059;
    --ns-border:        #E4DDD5;
    --ns-success:       #2D6929;
    --ns-danger:        #B02A2A;
    --ns-warning:       #A87815;
    --ns-shadow:        0 2px 14px rgba(74,32,0,.1);
    --ns-radius:        10px;
}

/* ============================================================
   GLOBAL
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Nunito', 'Segoe UI', sans-serif;
    background-color: var(--ns-bg);
    color: var(--ns-text);
    font-size: 1rem;
    line-height: 1.6;
}

a { color: var(--ns-primary); text-decoration: none; }
a:hover { color: var(--ns-primary-dark); text-decoration: underline; }

h1, h2, h3, h4, h5, h6 { font-weight: 700; color: var(--ns-text); }

.page-container { min-height: calc(100vh - 140px); }

/* ============================================================
   NAVBAR
   ============================================================ */

.ns-navbar {
    background: #fff;
    border-bottom: 3px solid var(--ns-primary);
    box-shadow: 0 2px 10px rgba(27,79,142,.1);
    padding: .5rem 0;
}

.ns-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    line-height: 1;
}

.ns-navbar .navbar-brand img {
    height: 64px;
    width: 64px;
    object-fit: contain;
}

.ns-navbar .navbar-brand .brand-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--ns-brown);
    letter-spacing: 0;
    line-height: 1.1;
}

.ns-navbar .navbar-brand .brand-name span {
    color: var(--ns-primary);
}

.ns-navbar .nav-link {
    color: var(--ns-brown) !important;
    font-weight: 600;
    padding: .45rem .85rem !important;
    border-radius: 6px;
    transition: background .15s, color .15s;
}

.ns-navbar .nav-link:hover,
.ns-navbar .nav-link.active {
    background: var(--ns-primary-light);
    color: var(--ns-primary) !important;
}

.ns-navbar .nav-link .fa-fw { margin-right: 4px; }

.ns-navbar .navbar-toggler {
    border-color: var(--ns-border);
}

.ns-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2874,32,0,.8%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.ns-navbar .dropdown-menu {
    border: 1px solid var(--ns-border);
    box-shadow: var(--ns-shadow);
    border-radius: var(--ns-radius);
    margin-top: 6px;
}

.ns-navbar .dropdown-item:hover { background: var(--ns-primary-light); color: var(--ns-primary-dark); }

.ns-navbar .form-control {
    border-color: var(--ns-border);
    background: var(--ns-bg);
    color: var(--ns-text);
}
.ns-navbar .form-control:focus { border-color: var(--ns-primary); }

#notif-bell { position: relative; }
#notif-badge {
    position: absolute;
    top: -4px; right: -6px;
    background: var(--ns-secondary);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    border-radius: 10px;
    padding: 1px 5px;
    min-width: 18px;
    text-align: center;
    line-height: 16px;
}

/* ============================================================
   HOMEPAGE HERO
   ============================================================ */

.ns-hero-home {
    background: #fff;
    padding: 4rem 0 3.5rem;
}

.hero-home-logo {
    max-width: 460px;
    width: 92%;
    display: block;
    margin: 0 auto;
}

.hero-home-headline {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 900;
    color: var(--ns-brown);
    line-height: 1.15;
    margin-bottom: .5rem;
}

.hero-home-tagline {
    font-size: 1.05rem;
    color: var(--ns-muted);
    font-style: italic;
    letter-spacing: .2px;
    margin-bottom: .25rem;
}

.hero-home-lead {
    font-size: 1rem;
    color: var(--ns-muted);
    margin-top: .75rem;
}

.btn-hero {
    font-weight: 700;
    padding: .7rem 2.2rem;
    border-radius: 50px;
    font-size: 1rem;
    transition: all .2s;
}

.btn-hero-gold {
    background: var(--ns-secondary);
    color: #fff;
    border: 2px solid var(--ns-secondary);
}
.btn-hero-gold:hover { background: var(--ns-secondary-dark); border-color: var(--ns-secondary-dark); color: #fff; }

.btn-hero-brown-outline {
    background: transparent;
    color: var(--ns-brown);
    border: 2px solid var(--ns-brown);
}
.btn-hero-brown-outline:hover { background: var(--ns-brown); color: #fff; }

.btn-hero-outline-white {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.65);
}
.btn-hero-outline-white:hover { background: rgba(255,255,255,.15); border-color: #fff; color: #fff; }

/* ============================================================
   FEATURES STRIP
   ============================================================ */

/* Section ornamental divider */
.ns-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 2rem;
    margin: 0;
}
.ns-divider::before,
.ns-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--ns-border);
}
.ns-divider-icon {
    color: var(--ns-secondary);
    font-size: .85rem;
    opacity: .7;
}

.ns-features {
    background: #fff;
    padding: 3.5rem 0;
}

.ns-feature-item {
    padding: 1rem .5rem;
}

.ns-feature-icon {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.ns-feature-item h5 {
    font-weight: 700;
    color: var(--ns-text);
    margin-bottom: .5rem;
}

.ns-feature-item p {
    color: var(--ns-muted);
    font-size: .95rem;
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   STATS STRIP (Homepage)
   ============================================================ */

.ns-stats-section {
    background: #fff;
    padding: 2rem 0;
}

.ns-stats-section .ns-stats-inner {
    display: inline-flex;
    gap: 0;
    border: 1px solid var(--ns-border);
    border-radius: var(--ns-radius);
    overflow: hidden;
    box-shadow: var(--ns-shadow);
}

.ns-stats-section .ns-stat-item {
    padding: .75rem 1rem;
}

.ns-stats-section .ns-stat-number {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--ns-brown);
    line-height: 1;
}

.ns-stats-section .ns-stat-label {
    font-size: .82rem;
    color: var(--ns-muted);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-top: .25rem;
}

/* ============================================================
   CTA SECTION (Homepage)
   ============================================================ */

.ns-cta-section {
    background: linear-gradient(150deg, var(--ns-brown) 0%, var(--ns-primary) 60%, var(--ns-sky) 100%);
    color: #fff;
    padding: 4rem 0;
}

.ns-cta-section h2 {
    color: #fff;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    margin-bottom: .5rem;
}

.ns-cta-section p {
    color: rgba(255,255,255,.85);
    font-size: 1.1rem;
    margin: 0;
}

/* ============================================================
   HERO (Other pages)
   ============================================================ */

.ns-hero {
    background: linear-gradient(150deg, var(--ns-brown) 0%, var(--ns-primary) 55%, var(--ns-sky) 100%);
    color: #fff;
    padding: 5rem 0 4rem;
    clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
    margin-bottom: -2rem;
}

.ns-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,.3);
}

.ns-hero .lead {
    font-size: 1.15rem;
    opacity: .92;
}

.ns-hero .hero-tagline {
    font-size: .95rem;
    opacity: .75;
    font-style: italic;
    letter-spacing: .3px;
    margin-top: .5rem;
}

.ns-hero .btn-hero-primary {
    background: var(--ns-secondary);
    color: #fff;
    font-weight: 700;
    padding: .75rem 2rem;
    border-radius: 50px;
    font-size: 1.05rem;
    border: none;
    transition: background .2s, transform .15s;
}
.ns-hero .btn-hero-primary:hover { background: var(--ns-secondary-dark); transform: translateY(-2px); color: #fff; }

.ns-hero .btn-hero-outline {
    background: transparent;
    color: #fff;
    font-weight: 700;
    padding: .75rem 2rem;
    border-radius: 50px;
    font-size: 1.05rem;
    border: 2px solid rgba(255,255,255,.6);
    transition: background .2s, border-color .2s;
}
.ns-hero .btn-hero-outline:hover { background: rgba(255,255,255,.15); border-color: #fff; color: #fff; }

.hero-logo-circle {
    display: inline-block;
    border-radius: 50%;
    overflow: hidden;
    width: 280px;
    height: 280px;
    border: 5px solid rgba(255,255,255,.25);
    box-shadow: 0 8px 40px rgba(0,0,0,.35);
}
.hero-logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================================
   STATS BAR
   ============================================================ */

.ns-stats-bar {
    background: var(--ns-card);
    box-shadow: var(--ns-shadow);
    border-radius: var(--ns-radius);
    padding: 1.5rem;
    border-bottom: 3px solid var(--ns-secondary);
}

.ns-stat-item { text-align: center; padding: 1rem; }
.ns-stat-item .ns-stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--ns-primary);
    line-height: 1;
}
.ns-stat-item .ns-stat-label {
    font-size: .85rem;
    color: var(--ns-muted);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-top: .25rem;
}

/* ============================================================
   CARDS
   ============================================================ */

.ns-card {
    background: var(--ns-card);
    border-radius: var(--ns-radius);
    box-shadow: var(--ns-shadow);
    border: 1px solid var(--ns-border);
    transition: box-shadow .2s, transform .2s;
}
.ns-card:hover { box-shadow: 0 6px 24px rgba(27,79,142,.15); }

.ns-card .card-header {
    background: var(--ns-primary);
    color: #fff;
    border-radius: var(--ns-radius) var(--ns-radius) 0 0;
    font-weight: 700;
    padding: .85rem 1.25rem;
    border-bottom: none;
}

.ns-card-link:hover { transform: translateY(-3px); text-decoration: none; }

/* ============================================================
   SECTION HEADINGS
   ============================================================ */

.ns-section-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--ns-brown);
    position: relative;
    padding-bottom: .5rem;
    margin-bottom: 1.5rem;
}
.ns-section-title::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 50px; height: 3px;
    background: var(--ns-secondary);
    border-radius: 2px;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn-ns-primary {
    background: var(--ns-primary);
    color: #fff;
    border: none;
    font-weight: 700;
    border-radius: 6px;
    padding: .5rem 1.25rem;
    transition: background .15s;
}
.btn-ns-primary:hover { background: var(--ns-primary-dark); color: #fff; }

.btn-ns-secondary {
    background: var(--ns-secondary);
    color: #fff;
    border: none;
    font-weight: 700;
    border-radius: 6px;
    padding: .5rem 1.25rem;
    transition: background .15s;
}
.btn-ns-secondary:hover { background: var(--ns-secondary-dark); color: #fff; }

.btn-ns-outline {
    background: transparent;
    color: var(--ns-primary);
    border: 2px solid var(--ns-primary);
    font-weight: 700;
    border-radius: 6px;
    padding: .45rem 1.25rem;
    transition: all .15s;
}
.btn-ns-outline:hover { background: var(--ns-primary); color: #fff; }

/* ============================================================
   AVATAR
   ============================================================ */

.ns-avatar {
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--ns-border);
}
.ns-avatar-sm  { width: 36px;  height: 36px;  }
.ns-avatar-md  { width: 60px;  height: 60px;  }
.ns-avatar-lg  { width: 100px; height: 100px; }
.ns-avatar-xl  { width: 140px; height: 140px; }

/* ============================================================
   PROFILE
   ============================================================ */

.profile-header {
    background: linear-gradient(135deg, var(--ns-brown) 0%, var(--ns-primary) 100%);
    padding: 2.5rem 0 1.5rem;
    color: #fff;
}

.privacy-badge {
    font-size: .7rem;
    background: rgba(255,255,255,.2);
    border-radius: 4px;
    padding: 2px 6px;
    margin-left: 4px;
    vertical-align: middle;
}

/* ============================================================
   FAMILY TREE
   ============================================================ */

.family-tree-wrap {
    overflow-x: auto;
    padding: 1rem 0;
}

.ftree-level {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    position: relative;
}

.ftree-connector {
    position: absolute;
    left: 0; right: 0;
    top: -1rem;
    height: 1rem;
    pointer-events: none;
}

.ftree-person {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 110px;
    cursor: pointer;
    transition: transform .15s;
}
.ftree-person:hover { transform: scale(1.05); }

.ftree-person-photo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--ns-primary);
    margin-bottom: .4rem;
}

.ftree-person.subject .ftree-person-photo {
    border-color: var(--ns-secondary);
    width: 88px;
    height: 88px;
}

.ftree-person-name {
    font-size: .75rem;
    font-weight: 700;
    color: var(--ns-text);
    line-height: 1.2;
    word-break: break-word;
}

.ftree-role-badge {
    font-size: .6rem;
    color: var(--ns-muted);
    margin-top: 2px;
}

.ftree-line {
    width: 2px;
    background: var(--ns-border);
    height: 30px;
    margin: 0 auto;
}

.ftree-h-line {
    height: 2px;
    background: var(--ns-border);
    flex: 1;
    align-self: flex-start;
    margin-top: 35px;
}

/* ============================================================
   VILLAGE TABS
   ============================================================ */

.village-tab-content .person-card {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem;
    border-bottom: 1px solid var(--ns-border);
    transition: background .15s;
}
.village-tab-content .person-card:hover { background: var(--ns-bg); }

.role-badge-member   { background: var(--ns-primary-light); color: var(--ns-primary-dark); }
.role-badge-vasu     { background: #F5EAC8; color: #7A5A10; }
.role-badge-vakawati { background: var(--ns-accent-light); color: var(--ns-accent); }

/* ============================================================
   EVENTS CALENDAR
   ============================================================ */

.event-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    font-size: .8rem;
}

.cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: default;
    font-weight: 600;
    font-size: .82rem;
    color: var(--ns-text);
}

.cal-day.has-event {
    background: var(--ns-primary);
    color: #fff;
    cursor: pointer;
}

.cal-day.has-event:hover { background: var(--ns-secondary); }
.cal-day.today { outline: 2px solid var(--ns-secondary); }
.cal-day.today.has-event { outline: 2px solid #fff; }

.event-card {
    border-left: 4px solid var(--ns-primary);
    padding: .75rem 1rem;
    background: var(--ns-card);
    border-radius: 0 var(--ns-radius) var(--ns-radius) 0;
    margin-bottom: .75rem;
    box-shadow: var(--ns-shadow);
}

/* ============================================================
   CHAT
   ============================================================ */

.chat-container {
    height: calc(100vh - 200px);
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.chat-messages-wrap {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    background: var(--ns-bg);
    border-radius: var(--ns-radius);
}

.chat-bubble {
    max-width: 72%;
    padding: .6rem .85rem;
    border-radius: 18px;
    font-size: .92rem;
    line-height: 1.45;
    word-break: break-word;
}

.chat-bubble.mine {
    background: var(--ns-primary);
    color: #fff;
    border-bottom-right-radius: 4px;
    margin-left: auto;
}

.chat-bubble.theirs {
    background: var(--ns-card);
    color: var(--ns-text);
    border: 1px solid var(--ns-border);
    border-bottom-left-radius: 4px;
}

.chat-meta { font-size: .7rem; color: var(--ns-muted); margin-top: 2px; }
.chat-mine-wrap  { display: flex; justify-content: flex-end; align-items: flex-end; gap: .4rem; }
.chat-their-wrap { display: flex; align-items: flex-end; gap: .4rem; }

.chat-send-form {
    padding: .75rem;
    background: var(--ns-card);
    border-top: 1px solid var(--ns-border);
    border-radius: 0 0 var(--ns-radius) var(--ns-radius);
}

/* ============================================================
   FUNDRAISING
   ============================================================ */

.progress-bar-ns {
    background: linear-gradient(90deg, var(--ns-primary) 0%, var(--ns-sky) 100%);
    border-radius: 50px;
    transition: width .6s ease;
}

.fundraiser-card .goal-progress {
    height: 8px;
    border-radius: 50px;
    background: var(--ns-border);
    overflow: hidden;
}

/* ============================================================
   FORMS
   ============================================================ */

.ns-form-label { font-weight: 600; color: var(--ns-text); margin-bottom: .3rem; }

.form-control:focus, .form-select:focus {
    border-color: var(--ns-primary);
    box-shadow: 0 0 0 .2rem rgba(27,79,142,.2);
}

/* ============================================================
   BADGES DISPLAY
   ============================================================ */

.badge-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto .5rem;
}

.badge-earned { border: 3px solid var(--ns-secondary); }

/* ============================================================
   FOOTER
   ============================================================ */

.ns-footer {
    background: var(--ns-brown);
    color: rgba(255,255,255,.82);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.ns-footer h5 { color: #fff; font-weight: 700; margin-bottom: 1rem; }
.ns-footer a { color: rgba(255,255,255,.7); transition: color .15s; }
.ns-footer a:hover { color: #fff; text-decoration: none; }
.ns-footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,.15);
    padding-top: 1rem;
    margin-top: 2rem;
    font-size: .85rem;
}

.footer-logo-wrap {
    background: rgba(255,255,255,.12);
    border-radius: 10px;
    padding: 8px 14px;
    display: inline-block;
    margin-bottom: .75rem;
}
.footer-logo-wrap img { height: 54px; width: auto; }

/* ============================================================
   SEARCH
   ============================================================ */

.search-result-item {
    padding: .75rem 1rem;
    border-bottom: 1px solid var(--ns-border);
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    transition: background .15s;
}
.search-result-item:hover { background: var(--ns-bg); }

.search-type-badge {
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
}

/* ============================================================
   ALERTS & FLASH
   ============================================================ */

.flash-messages { position: sticky; top: 70px; z-index: 1000; }

/* ============================================================
   PAGE HEADER BAND
   ============================================================ */

.ns-page-header {
    background: linear-gradient(135deg, var(--ns-primary) 0%, var(--ns-primary-dark) 100%);
    color: #fff;
    padding: 1.8rem 0 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 3px solid var(--ns-secondary);
}
.ns-page-header h1 { color: #fff; font-size: 1.8rem; margin-bottom: .25rem; }
.ns-page-header .breadcrumb-item, .ns-page-header .breadcrumb-item.active { color: rgba(255,255,255,.75); }
.ns-page-header .breadcrumb-item a { color: rgba(255,255,255,.85); }
.ns-page-header .breadcrumb-divider { color: rgba(255,255,255,.5); }

/* ============================================================
   RESPONSIVE UTILITIES
   ============================================================ */

@media (max-width: 991.98px) {
    .hero-home-logo { max-width: 320px; }
    .hero-home-headline { font-size: 2.4rem; text-align: center; }
    .hero-home-tagline, .hero-home-lead { text-align: center; }
}

@media (max-width: 767.98px) {
    .ns-hero { clip-path: none; padding: 3rem 0 2.5rem; }
    .hero-home-logo { max-width: 260px; }
    .ftree-level { gap: .5rem; }
    .ftree-person { width: 80px; }
    .ftree-person-photo { width: 54px; height: 54px; }
    .chat-container { height: calc(100vh - 160px); }
    .chat-bubble { max-width: 85%; }
}

@media (max-width: 575.98px) {
    .ns-stat-item .ns-stat-number { font-size: 1.8rem; }
}

/* ============================================================
   PHOTO GALLERY
   ============================================================ */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: .5rem;
}

.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}

.gallery-item:hover img { transform: scale(1.05); }

/* ============================================================
   LIGHTBOX OVERLAY
   ============================================================ */

#lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
#lightbox-overlay.active { display: flex; }
#lightbox-overlay img { max-width: 90vw; max-height: 90vh; border-radius: 6px; }
#lightbox-close {
    position: absolute;
    top: 1rem; right: 1.5rem;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

/* ============================================================
   TOGGLE SWITCH (Privacy)
   ============================================================ */

.ns-toggle .form-check-input {
    width: 2.5em;
    height: 1.3em;
}
.ns-toggle .form-check-input:checked { background-color: var(--ns-primary); border-color: var(--ns-primary); }

/* ============================================================
   NOTIFICATION ITEM
   ============================================================ */

.notif-item {
    display: flex;
    gap: .75rem;
    padding: .75rem 1rem;
    border-bottom: 1px solid var(--ns-border);
    transition: background .15s;
}
.notif-item:hover { background: var(--ns-bg); }
.notif-item.unread { background: var(--ns-primary-light); }
.notif-item.unread:hover { background: #C6DAEF; }

/* ============================================================
   EMPTY STATE
   ============================================================ */

.ns-empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--ns-muted);
}

.ns-empty-state i {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    color: var(--ns-border);
}

/* ============================================================
   PAYMENT OPTION SELECTOR
   ============================================================ */

.payment-option {
    display: block;
    border: 2px solid var(--ns-border);
    border-radius: var(--ns-radius);
    cursor: pointer;
    transition: border-color .2s, background .2s;
}
.payment-option:hover { border-color: var(--ns-primary); }
.payment-option.selected { border-color: var(--ns-primary); background: var(--ns-primary-light); }

/* ============================================================
   BUBBLE SENDER NAME (chatrooms)
   ============================================================ */

.bubble-sender {
    font-size: .7rem;
    font-weight: 700;
    color: var(--ns-primary);
    margin-bottom: 2px;
}

/* ============================================================
   CALENDAR DAY CELL
   ============================================================ */

.cal-day.today { background: var(--ns-primary-light); font-weight: 700; color: var(--ns-primary); }
.cal-day.has-event { background: var(--ns-secondary); color: #fff; cursor: pointer; font-weight: 700; }
.cal-day.has-event:hover { background: var(--ns-primary); }
