/* ORVO Staff -- portal stylesheet
 * Inherits the full my.orvopos.com design system via @import so tokens,
 * buttons, forms, modals, cards, badges all match across subdomains.
 *
 * Only page-local tokens that the shared sheet doesn't already cover
 * live below.
 *
 * (c) 2026 ORVO Software -- orvopos.com
 */

@import url('https://my.orvopos.com/css/my.css?v=89');

/* ---- Shared splash / greeting cards ------------------------------------ */

.staff-title {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 18px 0 10px;
    text-align: center;
}

.staff-note {
    color: #73D1DE;
    font-size: 13px;
    line-height: 1.6;
    margin: 20px 0 0;
    padding: 12px 14px;
    background: rgba(115, 209, 222, 0.08);
    border: 1px solid rgba(115, 209, 222, 0.22);
    border-radius: 8px;
    text-align: center;
}

/* .card-logo + .card-subtitle inherit unchanged from my.css via @import --
 * width: 180px; filter: brightness(0) invert(1) opacity(0.9); on the logo,
 * card-subtitle 14px #888 centre. Do NOT override here -- login, module-off,
 * onboarding, and my-roster all need the same sizing as my/login.html. */

/* ---- Manager dashboard (Sprint 1b.2) ----------------------------------- */

.dash-main {
    max-width: 720px;
    margin: 0 auto;
    padding: 32px 20px 60px;
    box-sizing: border-box;
}

.dash-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 18px;
}

.dash-title {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
}

.dash-counts {
    font-size: 13px;
    color: #888;
    margin: 0;
}

.dash-card {
    background: #141414;
    border: 1px solid #252525;
    border-radius: 12px;
    overflow: hidden;
}

.dash-loading,
.dash-empty {
    text-align: center;
    padding: 48px 20px;
}

.dash-loading {
    color: #555;
    font-size: 13px;
}

.dash-empty-title {
    color: #fff;
    font-size: 16px;
    margin: 0 0 8px;
}

.dash-empty-sub {
    color: #888;
    font-size: 13px;
    margin: 0;
}

.staff-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-bottom: 1px solid #1f1f1f;
    transition: background 0.15s;
}

.staff-row:last-child { border-bottom: none; }
.staff-row:hover { background: #1a1a1a; cursor: pointer; }

.staff-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #222;
    color: #fff;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: 0.3px;
}

.staff-info {
    flex: 1;
    min-width: 0;
}

.staff-name {
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    margin: 0 0 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.staff-sub {
    font-size: 12px;
    color: #888;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shop-more { color: #555; }

.staff-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.staff-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
    flex-shrink: 0;
}

/* Inline row action -- e.g. "Send invite" next to a needs-info badge. */
.btn-mini {
    background: #171717;
    color: #fff;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    white-space: nowrap;
}

.btn-mini:hover {
    background: #2a2a2a;
    border-color: #666;
}

.btn-mini:active {
    background: #3a3a3a;
}

.btn-mini:disabled {
    opacity: 0.6;
    cursor: default;
}

.btn-mini-success {
    background: rgba(12,171,65,0.15);
    border-color: rgba(12,171,65,0.35);
    color: #0CAB41;
}
.btn-mini-success:hover {
    background: rgba(12,171,65,0.20);
    border-color: rgba(12,171,65,0.45);
    color: #0CAB41;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    line-height: 1.3;
}

.badge-active     { background: rgba(12,171,65,0.12);   color: #0CAB41; border: 1px solid rgba(12,171,65,0.28); }
.badge-inactive   { background: rgba(136,136,136,0.12); color: #aaa;    border: 1px solid rgba(136,136,136,0.28); }
.badge-terminated { background: rgba(181,43,43,0.12);   color: #B52B2B; border: 1px solid rgba(181,43,43,0.32); }
.badge-needs-info { background: rgba(115,209,222,0.10); color: #73D1DE; border: 1px solid rgba(115,209,222,0.30); }

.dash-footer-links {
    text-align: center;
    margin: 28px 0 0;
}

/* Tighter row layout on narrow viewports: avatar stays, badges + invite
 * button wrap under the name. */
@media (max-width: 520px) {
    .staff-row { padding: 12px 14px; }
    .staff-actions {
        width: 100%;
        margin-left: 52px;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .staff-badges { width: auto; }
}
