/* =============================================
   App Table — shared table styles
   Used by: guild-simulations, guild-sets, guild-boosts,
            guild-members, guild-rosters, calendar-event,
            simulation-roster-detail
   ============================================= */

.app-table-container {
    background: linear-gradient(
        145deg,
        color-mix(in srgb, var(--bg-surface-2) 82%, #000 18%),
        color-mix(in srgb, #000 24%, var(--bg-surface-1))
    );
    border-radius: 12px;
    border: 1px solid var(--border-primary);
    overflow: hidden;
}

.app-table {
    width: 100%;
    border-collapse: collapse;
}

.app-table thead {
    background: var(--bg-primary-faint);
}

.app-table th {
    padding: 0.80rem 1.25rem;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--border-primary-strong);
}

.app-table th.center {
    text-align: center;
}

.app-table th.right {
    text-align: right;
}

.app-table th.sortable {
    cursor: pointer;
    user-select: none;
}

.app-table tbody tr {
    border-bottom: 1px solid var(--border-faint);
    transition: all 0.3s ease;
}

.app-table tbody tr:hover {
    background: var(--bg-primary-ghost);
}

.app-table tbody tr:last-child {
    border-bottom: none;
}

.app-table td {
    padding: 0.62rem 1.25rem;
    color: var(--text-primary);
}

.app-table td.center {
    text-align: center;
}

.app-table td.right {
    text-align: right;
}

.app-table tbody tr.current-user {
    background: var(--bg-primary-faint);
    border-left: 2px solid var(--color-primary);
}

.boss-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 2px solid var(--border-primary-strong);
    object-fit: cover;
    display: block;
    margin: 0 auto;
}
