body { background-color: #f5f6f8; font-family: "Segoe UI", Arial, sans-serif; }
.nav-flex { flex-direction: row-reverse; }
/* הלוגו הקבוע של נופך. בלי רקע לבן ובלי פינות מעוגלות: הקובץ
   שקוף מסביב לסמל, והוא יושב ישירות על הסרגל הכהה. */
.navbar-logo { height: 36px; width: auto; }
.navbar-project { color: #ffb300; font-weight: 700; font-size: 1.25rem; margin-inline: 3rem; white-space: nowrap; }
.hub-btn { display: block; padding: 1.5rem; text-align: center; border-radius: 10px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.08); text-decoration: none; color: #2c3e50; font-weight: 600; transition: box-shadow .15s; }
.hub-btn:hover { box-shadow: 0 3px 10px rgba(0,0,0,0.15); color: #2c3e50; }
.hub-btn .icon { font-size: 1.8rem; display: block; margin-bottom: .5rem; }
.milestone-toggle { cursor: pointer; }
.card { border: none; box-shadow: 0 1px 3px rgba(0,0,0,0.08); border-radius: 10px; margin-bottom: 1.25rem; }
.card-header { background-color: #fff; border-bottom: 1px solid #eee; font-weight: 600; }
.stat-card { text-align: center; padding: 1.5rem; }
.stat-card .num { font-size: 2.2rem; font-weight: 700; color: #2c3e50; }
.stat-card .label { color: #888; }
.section-anchor { scroll-margin-top: 80px; }
.badge-status-open { background-color: #ffc107; }
.badge-status-done { background-color: #198754; }
table.table td, table.table th { vertical-align: middle; }
/* שורה לבנה ושורה אפורה עדין, כדי להבדיל בעין בין שורות. גבי, 6.10.2026 */
table.table tr.row-alt { --bs-table-bg: #f1f3f5; }
.small-form input, .small-form select, .small-form textarea { font-size: 0.9rem; }
.navbar-nav .nav-link.active { background-color: rgba(255,255,255,0.18); color: #fff; border-radius: 6px; font-weight: 600; }
.project-row { cursor: pointer; }
/* עמודת "פעולה" במסך הפעולות הנדרשות מקבלת את רוב הרוחב, והטקסט בה מוצג
   במלואו על פני כמה שורות במקום להיחתך בשדה צר. */
.action-cell { width: 42%; }
.action-text { resize: vertical; overflow: hidden; white-space: pre-wrap; }
.action-nowrap { white-space: nowrap; }


/* --- ריבוע הסיכום במסך הגביה --------------------------------------------
   המספר הראשי הוא היתרה שטרם נגבתה, והוא צריך להיקרא מרחוק. השאר -
   סוכם, נגבה, אחוז - קטן ממנו במכוון: הם הקשר ולא הכותרת. */
.collect-hero {
    /* רוחב מרבי: בלי זה הריבוע נמתח לרוחב הטבלה שגולשת, והמספר
       הראשי - שהוא כל העניין - יוצא מחוץ למסך. */
    max-width: 900px;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, #1f2a37 0%, #2c3e50 100%);
    box-shadow: 0 6px 20px rgba(31, 42, 55, .18);
}
.collect-hero-main {
    flex: 1 1 320px;
    padding: 22px 28px;
    color: #fff;
}
.collect-hero-label {
    font-size: .95rem;
    letter-spacing: .04em;
    opacity: .75;
    margin-bottom: 2px;
}
.collect-hero-value {
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.1;
}
.collect-hero-currency { font-size: 1.5rem; font-weight: 500; opacity: .8; }
.collect-hero-sub { margin-top: 6px; font-size: .9rem; opacity: .8; }
.collect-overdue { color: #ffb4a2; font-weight: 600; }

.collect-hero-side {
    flex: 0 1 260px;
    padding: 18px 24px;
    background: rgba(255, 255, 255, .07);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    color: #fff;
}
.collect-stat { display: flex; justify-content: space-between; align-items: baseline; }
.collect-stat-label { font-size: .82rem; opacity: .7; }
.collect-stat-value { font-size: 1.05rem; font-weight: 600; }
.collect-progress {
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    overflow: hidden;
    margin-top: 4px;
}
.collect-progress-bar { height: 100%; background: #8fd694; border-radius: 999px; }
