/* =============================================
   Guild Members page
   ============================================= */

/* Table — base styles in app-table.css */

.member-username {
    color: var(--text-primary);
    font-weight: 600;
}

.member-battletag {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.member-battletag--hidden {
    font-style: italic;
    opacity: 0.6;
}

.member-roles {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.member-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    align-items: center;
}


/* Highlight flash on the current-user row */
tr.current-user--highlight td,
.current-user--highlight td {
    animation: highlight-flash 1.5s ease;
}

@keyframes highlight-flash {
    0%   { background: var(--bg-primary-subtle); }
    50%  { background: var(--bg-primary-hover); }
    100% { background: transparent; }
}

/* Modals */
.members-modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.members-modal__content {
    background: linear-gradient(135deg, var(--bg-surface-1) 0%, var(--bg-surface-2) 100%);
    padding: 2rem;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.members-modal__content--danger {
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.members-modal__content--purple {
    border: 1px solid var(--border-primary);
}

.members-modal__title {
    color: var(--text-primary);
    margin: 0 0 1.5rem 0;
    font-size: 1.5rem;
}

.members-modal__body {
    margin-bottom: 1.5rem;
}

.members-modal__message {
    color: var(--text-primary);
    margin: 0 0 1rem 0;
    line-height: 1.6;
}

.members-modal__footer {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.members-modal__label {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.members-modal__input {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    box-sizing: border-box;
}

