.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 16px;
  border-bottom: 1px solid #2a2a40;
  padding-bottom: 8px;
}

.admin-tab {
  padding: 6px 14px;
  background: transparent;
  border: none;
  color: #b0b0c0;
  cursor: pointer;
  font-size: 13px;
  border-radius: 6px;
  transition: all 0.2s;
}
.admin-tab:hover { background: rgba(255,255,255,0.06); color: #fff; }
.admin-tab.active { background: #4a6cf7; color: #fff; }

.admin-panel { display: none; }
.admin-panel.active { display: block; }

.login-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(25px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card {
  background: linear-gradient(145deg, #1a1a2e, #16213e);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid #2a2a40;
  width: 90%;
  max-width: 380px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.login-card h2 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 24px;
  text-align: center;
}

.login-card input {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid #4a4a4a;
  background: #2a2a40;
  color: #fff;
  font-size: 14px;
  outline: none;
}

.login-card .login-btn {
  width: 100%;
  padding: 10px;
  margin-top: 8px;
}

.group-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid #2a2a40;
  border-radius: 8px;
  margin-bottom: 8px;
}

.group-info { flex: 1; }
.group-name { color: #fff; font-weight: 500; }
.group-meta { color: #888; font-size: 11px; margin-top: 2px; }
.group-actions { display: flex; gap: 6px; }

.group-actions button {
  padding: 4px 10px;
  font-size: 11px;
  border-radius: 6px;
  border: 1px solid #3a3a50;
  background: transparent;
  color: #b0b0c0;
  cursor: pointer;
}
.group-actions button:hover { background: rgba(255,255,255,0.08); color: #fff; }
.group-actions .btn-danger { border-color: #ef4444; color: #ef4444; }
.group-actions .btn-danger:hover { background: #ef4444; color: #fff; }

.slot-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(255,255,255,0.03);
  border-radius: 6px;
  margin-bottom: 6px;
  font-size: 13px;
}

.slot-item span { color: #b0b0c0; }
.slot-item button {
  padding: 3px 8px;
  font-size: 11px;
  border-radius: 4px;
  border: 1px solid #ef4444;
  background: transparent;
  color: #ef4444;
  cursor: pointer;
}
.slot-item button:hover { background: #ef4444; color: #fff; }

.import-result {
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px;
  font-size: 13px;
}
.import-result.success { background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.3); color: #10b981; }
.import-result.error { background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); color: #ef4444; }

.announcement-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid #2a2a40;
  border-radius: 8px;
  margin-bottom: 8px;
}

.announcement-content { flex: 1; color: #e0e0e0; font-size: 13px; }
.announcement-active { color: #10b981; font-size: 11px; margin-left: 12px; }
.announcement-inactive { color: #666; font-size: 11px; margin-left: 12px; }
