/* ═══════════════════════════════════════════════════
   Team Collaboration Page — component styles
═══════════════════════════════════════════════════ */

/* ── Hero: Members panel mock ───────────────────── */
.tc-panel {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,.12);
    width: 100%;
    max-width: 400px;
    font-family: 'gordita', 'Roboto', sans-serif;
    overflow: hidden;
}
.tc-panel-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-bottom: 1px solid #e5e7eb;
    background: #fafafa;
}
.tc-panel-title {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    flex: 1;
}
.tc-member-count {
    font-size: 11px;
    color: #6b7280;
    background: #f3f4f6;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}
.tc-invite-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #0B0D0F;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 7px;
    cursor: default;
}
.tc-members-list {
    padding: 8px 0;
}
.tc-member-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
}
.tc-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    letter-spacing: -.3px;
}
.tc-member-info { flex: 1; min-width: 0; }
.tc-member-name {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tc-member-email {
    font-size: 10px;
    color: #9ca3af;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tc-role-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}
.tc-badge-owner    { background: #fef3c7; color: #92400e; }
.tc-badge-admin    { background: #dbeafe; color: #1e40af; }
.tc-badge-standard { background: #d1fae5; color: #065F46; }
.tc-badge-view     { background: #f3f4f6; color: #6b7280; }
.tc-badge-pending  { background: #fce7f3; color: #9d174d; }
.tc-divider { height: 1px; background: #f3f4f6; margin: 0 18px; }
.tc-panel-footer {
    padding: 10px 18px;
    border-top: 1px solid #e5e7eb;
    background: #fafafa;
    display: flex;
    align-items: center;
    gap: 6px;
}
.tc-workspace-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
}
.tc-workspace-label { font-size: 11px; color: #6b7280; flex: 1; }
.tc-workspace-name  { font-size: 11px; font-weight: 700; color: #111827; }

/* ── Role permission table ──────────────────────── */
.tc-roles-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    overflow: hidden;
    font-size: 13px;
}
.tc-roles-table thead tr th {
    background: #0B0D0F;
    color: #fff;
    padding: 13px 14px;
    font-weight: 700;
    font-size: 12px;
    text-align: center;
    white-space: nowrap;
}
.tc-roles-table thead tr th:first-child {
    text-align: left;
    background: #111827;
}
.tc-roles-table tbody tr td {
    padding: 11px 14px;
    border-bottom: 1px solid #f3f4f6;
    text-align: center;
    color: #374151;
}
.tc-roles-table tbody tr td:first-child {
    text-align: left;
    font-weight: 600;
    color: #0B0D0F;
    font-size: 13px;
}
.tc-roles-table tbody tr:last-child td { border-bottom: none; }
.tc-roles-table tbody tr:hover td { background: #fafafa; }
.tc-check   { color: #059669; font-size: 16px; font-weight: 700; }
.tc-cross   { color: #d1d5db; font-size: 15px; }

/* ── Step number ────────────────────────────────── */
.tc-step-num {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: #0B0D0F;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

/* ── Workspace switcher mockup ──────────────────── */
.tc-ws-switcher {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,.07);
}
.tc-ws-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid #f3f4f6;
    cursor: default;
}
.tc-ws-row:last-child { border-bottom: none; }
.tc-ws-row.active { background: #f0fdf4; }
.tc-ws-icon {
    width: 30px; height: 30px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}
.tc-ws-info { flex: 1; }
.tc-ws-name    { font-size: 12px; font-weight: 700; color: #111827; }
.tc-ws-members { font-size: 10px; color: #9ca3af; }
.tc-ws-active-tag {
    font-size: 9px; font-weight: 700;
    background: #d1fae5; color: #065F46;
    padding: 2px 7px; border-radius: 4px;
}

/* ── Use-case cards ─────────────────────────────── */
.tc-usecase-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e9ecef;
    overflow: hidden;
    height: 100%;
    transition: box-shadow .2s;
}
.tc-usecase-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.tc-uc-icon-row {
    padding: 26px 26px 0;
    display: flex;
    align-items: center;
    gap: 14px;
}
.tc-uc-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.tc-uc-title { font-size: 17px; font-weight: 700; color: #0B0D0F; }
.tc-uc-body  { padding: 14px 26px 26px; }
.tc-uc-body p { font-size: 15px; color: #555; line-height: 1.65; margin: 0; }

@media (max-width: 991px) {
    .tc-panel { max-width: 100%; }
    .tc-roles-table { font-size: 11px; }
    .tc-roles-table thead tr th,
    .tc-roles-table tbody tr td { padding: 9px 8px; }
}
