/* GM Dashboard */

.gm-header-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gm-role-badge {
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gm-role-support {
    background: linear-gradient(135deg, #00b894, #55efc4);
    color: #2d3436;
}

.gm-role-moderator {
    background: linear-gradient(135deg, #f39c12, #f1c40f);
    color: #2d3436;
}

.gm-role-admin {
    background: linear-gradient(135deg, #e74c3c, #fd79a8);
    color: #fff;
}

/* Search mode toggle */
.gm-search-mode-toggle {
    display: flex;
    gap: 0;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    overflow: hidden;
    width: fit-content;
}

.gm-search-mode {
    padding: 6px 16px;
    background: transparent;
    border: none;
    color: #888;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.gm-search-mode:hover {
    color: #ccc;
    background: rgba(255, 255, 255, 0.05);
}

.gm-search-mode.active {
    background: #6c5ce7;
    color: #fff;
}

.gm-search-bar {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 12px;
}

.gm-search-input {
    flex: 1;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    padding: 10px 12px;
    color: #e0e0e0;
    font-size: 15px;
}

.gm-search-input:focus {
    outline: none;
    border-color: #6c5ce7;
    box-shadow: 0 0 0 2px rgba(108, 92, 231, 0.25);
}

.gm-result-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.gm-online-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gm-online {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.gm-offline {
    background: rgba(149, 165, 166, 0.2);
    color: #95a5a6;
    border: 1px solid rgba(149, 165, 166, 0.3);
}

.gm-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 8px;
}

.gm-info-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.gm-info-label {
    color: #888;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gm-info-value {
    color: #e0e0e0;
    font-size: 14px;
    font-weight: 500;
}

.gm-access-denied {
    color: #e74c3c;
    text-align: center;
    font-size: 16px;
}

/* Tables (for future inventory/equipment views) */
.gm-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.gm-table th {
    text-align: left;
    padding: 8px 12px;
    color: #888;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gm-table td {
    padding: 8px 12px;
    color: #e0e0e0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.gm-table tr:hover td {
    background: rgba(108, 92, 231, 0.05);
}

/* Tabs (for future detail views) */
.gm-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gm-tab {
    padding: 10px 20px;
    cursor: pointer;
    color: #888;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.gm-tab:hover {
    color: #ccc;
}

.gm-tab.active {
    color: #6c5ce7;
    border-bottom-color: #6c5ce7;
}

.gm-tab-content {
    display: none;
}

/* Rarity colors */
.gm-rarity {
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gm-rarity-common { color: #95a5a6; }
.gm-rarity-uncommon { color: #2ecc71; }
.gm-rarity-rare { color: #3498db; }
.gm-rarity-epic { color: #9b59b6; }
.gm-rarity-legendary { color: #f39c12; }

/* Quest states */
.gm-quest-active { color: #f39c12; font-weight: 600; }
.gm-quest-complete { color: #2ecc71; font-weight: 600; }

/* Action cards */
.gm-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.gm-action-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 16px;
}

.gm-action-card h4 {
    margin: 0 0 6px 0;
    color: #e0e0e0;
    font-size: 15px;
}

.gm-action-desc {
    color: #888;
    font-size: 13px;
    margin: 0 0 12px 0;
}

.gm-action-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.gm-select {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    padding: 8px 10px;
    color: #e0e0e0;
    font-size: 13px;
    flex: 1;
}

.gm-input-small {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    padding: 8px 10px;
    color: #e0e0e0;
    font-size: 13px;
    width: 80px;
}

.gm-input-small:focus {
    outline: none;
    border-color: #6c5ce7;
    box-shadow: 0 0 0 2px rgba(108, 92, 231, 0.25);
}

.gm-select:focus {
    outline: none;
    border-color: #6c5ce7;
}

.gm-muted-info {
    color: #f39c12;
    font-size: 12px;
    margin: 8px 0;
}

.sam-btn-danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
}

.sam-btn-danger:hover { opacity: 0.9; }
.sam-btn-danger:disabled { opacity: 0.5; cursor: not-allowed; }

.sam-btn-warning {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
}

.sam-btn-warning:hover { opacity: 0.9; }

.sam-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    margin-top: 4px;
}

.sam-btn-secondary:hover { background: rgba(255, 255, 255, 0.15); }

/* Ban status */
.gm-ban-status {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
    border-radius: 6px;
    padding: 12px;
}

.gm-ban-status-badge {
    display: inline-block;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.gm-ban-details p {
    margin: 4px 0;
    color: #ccc;
    font-size: 13px;
}

.gm-ban-details strong {
    color: #e0e0e0;
}

/* Empty state */
.gm-empty {
    color: #666;
    font-style: italic;
    text-align: center;
    padding: 20px;
}

.gm-tab-content.active {
    display: block;
}
