/* Admin Organizations Page */

.org-list-header,
.org-row {
    display: grid;
    grid-template-columns: 50px 1fr 200px 120px 60px 100px 110px;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
}

.org-list-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
}

.org-row {
    border-bottom: 1px solid var(--border);
    transition: background .15s;
}

.org-row:last-child { border-bottom: none; }
.org-row:hover { background: var(--surface); }

.org-row-id {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.org-row-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.org-tax {
    font-size: 11px;
    color: var(--text-muted);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1px 6px;
    margin-top: 2px;
    display: inline-block;
}

.org-owner-email {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.org-row-camp  { text-align: center; }
.org-row-count { text-align: center; font-size: 13px; font-weight: 600; }
.org-row-date  { font-size: 12px; color: var(--text-muted); }

.badge.bg-indigo { background: #4f46e5 !important; }

.org-row-actions {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
}

/* Member list inside modal */
.member-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 8px;
}

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

.member-email {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.member-id {
    font-size: 11px;
    color: var(--text-muted);
}

/* Stat icon colors */
.stat-total  { background: rgba(99,102,241,.15); color: #818cf8; }
.stat-creator { background: rgba(34,197,94,.15); color: #4ade80; }
.stat-brand  { background: rgba(239,68,68,.15); color: #f87171; }

@media (max-width: 900px) {
    .org-list-header,
    .org-row {
        grid-template-columns: 40px 1fr 90px 80px;
    }
    .org-row-owner,
    .org-row-count,
    .org-row-date { display: none; }
}
