/* ========================================================================== APP PEOPLE — Employee Directory Stylesheet ========================================================================== */ .dir-shell { display: flex; flex-direction: column; background: #f8fafc; /* Very light clean grey background */ border-radius: 24px; overflow: hidden; border: 1px solid rgba(15, 13, 10, 0.06); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02); min-height: 85vh; font-family: 'Outfit', 'Inter', system-ui, sans-serif; } /* ── TIMI PEOPLE NAVBAR ── */ .dir-topbar { background: #0f172a; /* Slate 900 */ display: flex; justify-content: space-between; align-items: center; padding: 14px 28px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); } .dir-topbar__left, .dir-topbar__right { display: flex; align-items: center; } .dir-topbar__left { gap: 36px; } .dir-topbar__logo { display: flex; align-items: center; gap: 8px; color: #ffffff; font-size: 14px; letter-spacing: 0.02em; } .dir-topbar__logo-icon { font-size: 18px; } .dir-topbar__logo-text strong { color: #facc15; /* Warning yellow */ } .dir-topbar__menu { display: flex; list-style: none; margin: 0; padding: 0; gap: 24px; font-size: 13px; color: #94a3b8; } .dir-topbar__menu-item { cursor: pointer; font-weight: 500; transition: color 0.15s ease; padding: 4px 0; } .dir-topbar__menu-item:hover { color: #ffffff; } .dir-topbar__menu-item--active { color: #ffffff; border-bottom: 2px solid #facc15; font-weight: 600; } .dir-topbar__right { gap: 16px; } .dir-topbar__btn-add { background: #facc15; border: none; color: #0f172a; font-size: 18px; font-weight: 800; width: 30px; height: 30px; border-radius: 8px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.15s ease; } .dir-topbar__btn-add:hover { background: #eab308; } .dir-topbar__btn-icon { background: transparent; border: none; color: #94a3b8; cursor: pointer; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; transition: color 0.15s ease, background-color 0.15s ease; } .dir-topbar__btn-icon:hover { color: #ffffff; background-color: rgba(255, 255, 255, 0.05); } .dir-topbar__user-avatar { width: 32px; height: 32px; border-radius: 50%; background: #4f46e5; color: #ffffff; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; cursor: pointer; } /* ── MAIN CONTENT ── */ .dir-main { padding: 32px; display: flex; flex-direction: column; gap: 24px; flex-grow: 1; } /* Header block */ .dir-content-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; } .dir-content-header__left { display: flex; align-items: baseline; gap: 16px; } .dir-content-header__title { font-size: 24px; font-weight: 800; color: #0f172a; margin: 0; letter-spacing: -0.01em; } .dir-content-header__stats { display: flex; gap: 12px; font-size: 11px; font-weight: 600; } .dir-content-header__stat-active { color: #059669; } .dir-content-header__stat-inactive { color: #64748b; } .dir-content-header__right { display: flex; gap: 8px; } .dir-btn-secondary { background: #ffffff; border: 1px solid #e2e8f0; color: #334155; font-size: 12px; font-weight: 600; padding: 8px 16px; border-radius: 10px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background 0.15s ease, border-color 0.15s ease; } .dir-btn-secondary:hover { background: #f8fafc; border-color: #cbd5e1; } .dir-btn-secondary svg { color: #64748b; } .dir-btn-primary { background: #0f5132; /* Rich dark forest green */ border: none; color: #ffffff; font-size: 12px; font-weight: 600; padding: 8px 16px; border-radius: 10px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: background 0.15s ease; } .dir-btn-primary:hover { background: #0b3d26; } .dir-btn-primary__icon { font-size: 14px; font-weight: 700; } /* Filters bar */ .dir-filters-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; background: #ffffff; padding: 12px 20px; border-radius: 16px; border: 1px solid #f1f5f9; } .dir-filters-bar__left, .dir-filters-bar__right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .dir-search-input { position: relative; width: 220px; } .dir-search-input__icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #94a3b8; pointer-events: none; } .dir-search-input__field { width: 100%; padding: 8px 12px 8px 36px; border-radius: 10px; border: 1px solid #e2e8f0; font-size: 12px; outline: none; background: #f8fafc; color: #334155; transition: border-color 0.15s ease, background-color 0.15s ease; } .dir-search-input__field::placeholder { color: #94a3b8; } .dir-search-input__field:focus { border-color: #94a3b8; background: #ffffff; } .dir-filter-dropdown__trigger { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; font-size: 12px; font-weight: 500; color: #475569; padding: 8px 14px; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: background 0.15s ease, border-color 0.15s ease; } .dir-filter-dropdown__trigger:hover { background: #f1f5f9; border-color: #cbd5e1; } .dir-filter-dropdown__arrow { font-size: 8px; color: #94a3b8; } .dir-btn-advanced, .dir-btn-transfer { background: transparent; border: none; color: #475569; font-size: 12px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: color 0.15s ease; } .dir-btn-advanced:hover, .dir-btn-transfer:hover { color: #0f172a; } .dir-btn-advanced svg, .dir-btn-transfer svg { color: #64748b; } .dir-view-toggle { display: flex; background: #f1f5f9; border-radius: 8px; padding: 2px; } .dir-view-toggle__btn { background: transparent; border: none; color: #64748b; padding: 6px; border-radius: 6px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: color 0.15s ease, background-color 0.15s ease; } .dir-view-toggle__btn--active { background: #ffffff; color: #0f172a; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); } /* Grid layout */ .dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; } /* Card details */ .dir-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.01); transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; } .dir-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04); border-color: #cbd5e1; } .dir-card__top { display: flex; justify-content: space-between; align-items: center; } .dir-card__status-badge { font-size: 10px; font-weight: 600; padding: 3px 10px; border-radius: 9999px; } .dir-card__status-badge--active { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; } .dir-card__status-badge--invited { background: #f3f4f6; color: #4b5563; border: 1px solid #e5e7eb; } .dir-card__options { background: transparent; border: none; color: #94a3b8; font-size: 16px; cursor: pointer; transition: color 0.15s ease; } .dir-card__options:hover { color: #475569; } .dir-card__body { display: flex; flex-direction: column; align-items: center; text-align: center; } .dir-card__avatar-container { width: 76px; height: 76px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 4px solid #f8fafc; margin-bottom: 8px; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03); } .dir-card__avatar { width: 100%; height: 100%; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; } .dir-card__name { font-size: 15px; font-weight: 800; color: #0f172a; margin: 0 0 2px; letter-spacing: -0.01em; } .dir-card__role { font-size: 12px; font-weight: 500; color: #64748b; } .dir-card__divider { height: 1px; background: #f1f5f9; margin: 0 -20px; } .dir-card__details { display: flex; flex-direction: column; gap: 8px; font-size: 11.5px; color: #475569; } .dir-card__detail-item { display: flex; align-items: center; gap: 8px; } .dir-card__detail-label { font-family: 'SF Mono', 'Fira Code', monospace; font-weight: 700; color: #64748b; background: #f1f5f9; padding: 2px 6px; border-radius: 4px; font-size: 9.5px; letter-spacing: 0.02em; } .dir-card__detail-icon { color: #94a3b8; flex-shrink: 0; } .dir-card__detail-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .dir-card__footer { display: flex; justify-content: space-between; align-items: center; font-size: 11px; } .dir-card__joined { color: #94a3b8; } .dir-card__btn-details { background: transparent; border: none; color: #0284c7; font-weight: 700; cursor: pointer; transition: color 0.15s ease; } .dir-card__btn-details:hover { color: #0369a1; text-decoration: underline; } /* Toast alert */ .dir-toast { position: fixed; bottom: 28px; right: 28px; background: #0f172a; color: #ffffff; border-radius: 12px; padding: 12px 20px; font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 8px; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15); z-index: 1000; animation: slideUp 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; } @keyframes slideUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } } /* Empty search state */ .dir-empty { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 60px 20px; text-align: center; color: #64748b; background: #ffffff; border-radius: 16px; border: 1px solid #e2e8f0; } .dir-empty svg { color: #94a3b8; } .dir-empty__text { font-size: 14px; margin: 0; } .dir-empty__btn { background: #ffffff; border: 1px solid #cbd5e1; color: #475569; font-size: 12px; font-weight: 600; padding: 8px 16px; border-radius: 10px; cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease; } .dir-empty__btn:hover { background: #f8fafc; border-color: #94a3b8; } /* Responsiveness adjustments */ @media (max-width: 900px) { .dir-topbar__menu { display: none; } .dir-main { padding: 20px; } } @media (max-width: 600px) { .dir-content-header { flex-direction: column; align-items: flex-start; } .dir-filters-bar { padding: 12px; } .dir-search-input { width: 100%; } .dir-grid { grid-template-columns: 1fr; } }