svg {
	font-size: 14px;
	font-weight: 600;
}

.shop {
	display: flex;
	justify-content: center;
	cursor: pointer;
}

.shop .bg {
	border-radius: 8px;
	height: 200px;
	width: 100%;
	background-size: cover;
	background-position: 50%;
}

.shop .bg .price {
	padding: 12px;
	position: absolute;
	background-color: #0044c182;
	border-top-left-radius: 8px;
}

.shop span {
	position: absolute;
	bottom: 0;
	margin-bottom: 8px !important;
	color: #fbff00;
	text-shadow: 1px 1px #506a00;
}

ul.applications,
ul.players,
ul.info,
ul.clans {
	margin-left: 0;
	padding-left: 0;
	margin-bottom: 0;
}

ul.applications li,
ul.players li,
ul.info li,
ul.clans li {
	display: flex;
	align-items: center;
	width: 100%;
	list-style-type: none;
	height: 32px;
	font-size: 12px;
	margin-bottom: 32px;
}

ul.applications li:last-child,
ul.players li:last-child,
ul.info li:last-child,
ul.clans li:last-child {
	margin-bottom: 0;
}

ul.applications li {
	width: 100%;
	height: 40px;
}

ul.applications .btn-sm {
	margin-bottom: 0;
}

ul.applications li .name {
	font-size: 16px;
	width: 40%;
}

ul.applications li .buttons {
	display: flex;
	justify-content: end;
	width: 60%;
}

.clans.more .details img,
ul.players li img,
ul.info li img,
ul.clans li img {
	width: 32px;
	height: 32px;
	margin-right: 8px;
	border-radius: 8px;
}

.clans.more .details p,
ul.players li p,
ul.info li p,
ul.clans li .content p {
	margin-bottom: 0;
}

.clans.more .details span,
ul.players li span,
ul.info li span,
ul.clans li .content span {
	color: #7c7c7c;
	margin-bottom: 0;
}

ul.players li .nickname,
ul.players li .info,
ul.players li .player,
ul.players li .rating,
ul.players li .date-enter {
	display: flex;
	align-items: center;
	width: 25%;
}

ul.clans li .name,
ul.clans li .creator,
ul.clans li .users, 
ul.clans li .rating,
ul.clans li .date-create {
	display: flex;
	align-items: center;
	width: 20%;
}

svg {
	margin-right: 8px;
}

button svg {
	margin-right: 0;
}

.clans.more .cover {
	min-height: 20rem;
	background-position: center;
	margin-bottom: 0;
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
}

.clans.more .details {
	display: inline-grid;
	align-items: center;
	width: 100%;
	height: 60px;
	background-color: #222127;
	margin-bottom: 30px;
	border-radius: 0 0 8px 8px;
	padding: 16px;
}

.clans.more .details img {
	width: 32px;
	height: 32px;
	border-radius: 50%;
}

.bi.bi-star:hover {
	cursor: pointer;
}

.bi.bi-star.active {
	color: #a04cd5;
}

#list_role .input-group input.form-control {
	border-top-left-radius: 8px;
	border-bottom-left-radius: 8px;
}

#list_role .input-group select.form-control {
	border-radius: 0;
}

.input-group-btn button {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

.input-group input.form-control[readonly] {
	background-color: #36353e !important;
}

/* REAL BOYS compatibility: full styling is loaded from templates/standart/css/realboys-modules-extra.css */

/* =========================================================
   REAL BOYS PREMIUM MODULE SKIN — clans
   Категория: Комьюнити / сервис
   Красивое оформление под шаблон Real Boys.
   Логика модуля не изменена.
   ========================================================= */

.rbm-clans {
  --rb-accent: #32d987;
  --rb-accent-2: #6df2b0;
  --rb-accent-rgb: 50,217,135;
  --rb-bg: #07111d;
  --rb-card: #0b1424;
  --rb-card-2: #0e1a2f;
  --rb-line: rgba(126,153,194,.18);
  --rb-line-strong: rgba(126,153,194,.30);
  --rb-text: #edf4ff;
  --rb-muted: #9fb1ca;
  --rb-danger: #ff5b75;
  --rb-green: #32d987;
  --rb-gold: #f4d85c;
  color: var(--rb-text);
}

.rbm-clans,
.rbm-clans *,
.rbm-clans *::before,
.rbm-clans *::after {
  box-sizing: border-box;
}

/* Главная оболочка модуля */
.rbm-clans.realboys-module-scope,
.realboys-module-scope.rbm-clans,
.rbm-clans .module,
.rbm-clans .module_content,
.rbm-clans .content,
.rbm-clans .main-content {
  position: relative;
}

/* Премиальная панель */
.rbm-clans .block,
.rbm-clans .box,
.rbm-clans .panel,
.rbm-clans .card,
.rbm-clans .module-block,
.rbm-clans .module-card,
.rbm-clans .shop-block,
.rbm-clans .inventory-block,
.rbm-clans [class*="block"],
.rbm-clans [class*="panel"],
.rbm-clans [class*="card"] {
  position: relative;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(var(--rb-accent-rgb), .18), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(87,198,255,.08), transparent 34%),
    linear-gradient(180deg, rgba(12,23,41,.98), rgba(6,15,27,.98)) !important;
  border: 1px solid var(--rb-line) !important;
  box-shadow:
    0 22px 60px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.045) !important;
  color: var(--rb-text) !important;
  overflow: hidden;
}

.rbm-clans .block::before,
.rbm-clans .box::before,
.rbm-clans .panel::before,
.rbm-clans .card::before,
.rbm-clans [class*="block"]::before,
.rbm-clans [class*="panel"]::before,
.rbm-clans [class*="card"]::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--rb-accent-rgb), .65), transparent);
  pointer-events: none;
}

/* Заголовки */
.rbm-clans h1,
.rbm-clans h2,
.rbm-clans h3,
.rbm-clans h4,
.rbm-clans h5,
.rbm-clans .title,
.rbm-clans .module-title,
.rbm-clans .block_head,
.rbm-clans .block-title,
.rbm-clans [class*="title"],
.rbm-clans [class*="head"] {
  color: #fff !important;
  font-weight: 1000 !important;
  letter-spacing: -.035em;
  text-shadow: 0 0 22px rgba(var(--rb-accent-rgb), .22);
}

.rbm-clans .title::first-letter,
.rbm-clans .module-title::first-letter,
.rbm-clans h1::first-letter,
.rbm-clans h2::first-letter,
.rbm-clans h3::first-letter {
  color: var(--rb-accent);
}

/* Описание */
.rbm-clans p,
.rbm-clans small,
.rbm-clans .desc,
.rbm-clans .description,
.rbm-clans .text-muted,
.rbm-clans .muted,
.rbm-clans [class*="desc"] {
  color: var(--rb-muted) !important;
}

/* Ссылки */
.rbm-clans a {
  color: var(--rb-accent-2) !important;
  text-decoration: none !important;
  transition: .18s ease;
}

.rbm-clans a:hover {
  color: #fff !important;
  text-shadow: 0 0 18px rgba(var(--rb-accent-rgb), .32);
}

/* Карточки товаров/кейсов/инвентаря */
.rbm-clans .item,
.rbm-clans .product,
.rbm-clans .product-item,
.rbm-clans .shop_item,
.rbm-clans .shop-item,
.rbm-clans .market_item,
.rbm-clans .inventory_item,
.rbm-clans .inventory-item,
.rbm-clans .case,
.rbm-clans .case-item,
.rbm-clans .skin,
.rbm-clans .skin-item,
.rbm-clans [class*="item"],
.rbm-clans [class*="product"],
.rbm-clans [class*="case"],
.rbm-clans [class*="skin"] {
  position: relative;
  border-radius: 20px !important;
  background:
    linear-gradient(180deg, rgba(15,29,52,.96), rgba(9,18,32,.96)) !important;
  border: 1px solid rgba(126,153,194,.18) !important;
  box-shadow:
    0 14px 32px rgba(0,0,0,.24),
    inset 0 1px 0 rgba(255,255,255,.035) !important;
  color: var(--rb-text) !important;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.rbm-clans .item:hover,
.rbm-clans .product:hover,
.rbm-clans .product-item:hover,
.rbm-clans .shop_item:hover,
.rbm-clans .inventory_item:hover,
.rbm-clans .case:hover,
.rbm-clans .skin:hover,
.rbm-clans [class*="item"]:hover,
.rbm-clans [class*="product"]:hover,
.rbm-clans [class*="case"]:hover,
.rbm-clans [class*="skin"]:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--rb-accent-rgb), .48) !important;
  box-shadow:
    0 22px 48px rgba(0,0,0,.32),
    0 0 0 1px rgba(var(--rb-accent-rgb), .10),
    0 0 28px rgba(var(--rb-accent-rgb), .12) !important;
}

/* Глянец карточки */
.rbm-clans .item::after,
.rbm-clans .product::after,
.rbm-clans .product-item::after,
.rbm-clans .case::after,
.rbm-clans [class*="item"]::after,
.rbm-clans [class*="product"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.06), transparent 36%);
  pointer-events: none;
}

/* Картинки */
.rbm-clans img {
  max-width: 100%;
  object-fit: cover;
}

.rbm-clans .item img,
.rbm-clans .product img,
.rbm-clans .product-item img,
.rbm-clans .shop_item img,
.rbm-clans .inventory_item img,
.rbm-clans .case img,
.rbm-clans [class*="item"] img,
.rbm-clans [class*="product"] img,
.rbm-clans [class*="case"] img {
  border-radius: 16px !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.20);
}

/* Цена / валюта / баланс */
.rbm-clans .price,
.rbm-clans .cost,
.rbm-clans .money,
.rbm-clans .balance,
.rbm-clans .rub,
.rbm-clans .coins,
.rbm-clans [class*="price"],
.rbm-clans [class*="cost"],
.rbm-clans [class*="money"],
.rbm-clans [class*="balance"] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--rb-gold) !important;
  font-weight: 1000 !important;
  text-shadow: 0 0 14px rgba(244,216,92,.18);
}

/* Badges */
.rbm-clans .badge,
.rbm-clans .label,
.rbm-clans [class*="badge"],
.rbm-clans [class*="label"] {
  border-radius: 999px !important;
  padding: 4px 9px !important;
  background: rgba(var(--rb-accent-rgb), .14) !important;
  border: 1px solid rgba(var(--rb-accent-rgb), .24) !important;
  color: #fff !important;
  font-weight: 900 !important;
}

/* Кнопки */
.rbm-clans .btn,
.rbm-clans button,
.rbm-clans input[type="button"],
.rbm-clans input[type="submit"] {
  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  font-weight: 950 !important;
  box-shadow: none !important;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.rbm-clans .btn:hover,
.rbm-clans button:hover,
.rbm-clans input[type="button"]:hover,
.rbm-clans input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0,0,0,.24), 0 0 18px rgba(var(--rb-accent-rgb), .14) !important;
}

.rbm-clans .btn-primary,
.rbm-clans .btn-info,
.rbm-clans .btn-success,
.rbm-clans button.btn-primary,
.rbm-clans button.btn-success {
  background: linear-gradient(180deg, var(--rb-accent-2), var(--rb-accent)) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.14) !important;
}

.rbm-clans .btn-danger,
.rbm-clans .btn-warning {
  background: linear-gradient(180deg, #ff5b75, #b91834) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.14) !important;
}

/* Поля */
.rbm-clans input,
.rbm-clans select,
.rbm-clans textarea {
  border-radius: 14px !important;
  background: rgba(8,15,27,.92) !important;
  border: 1px solid rgba(126,153,194,.22) !important;
  color: var(--rb-text) !important;
}

.rbm-clans input:focus,
.rbm-clans select:focus,
.rbm-clans textarea:focus {
  border-color: rgba(var(--rb-accent-rgb), .52) !important;
  box-shadow: 0 0 0 3px rgba(var(--rb-accent-rgb), .12) !important;
  outline: none !important;
}

/* Таблицы */
.rbm-clans table {
  width: 100%;
  color: var(--rb-text) !important;
  border-collapse: separate !important;
  border-spacing: 0 8px !important;
}

.rbm-clans table th,
.rbm-clans table thead td {
  background: rgba(13,24,43,.98) !important;
  color: var(--rb-accent-2) !important;
  border-color: rgba(126,153,194,.16) !important;
  font-weight: 1000 !important;
}

.rbm-clans table tbody tr {
  background: rgba(11,20,36,.72) !important;
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}

.rbm-clans table td {
  background: rgba(11,20,36,.72) !important;
  border-color: rgba(126,153,194,.10) !important;
  color: #dce8fb !important;
}

/* Tabs */
.rbm-clans .nav-tabs {
  border-color: rgba(126,153,194,.16) !important;
}

.rbm-clans .nav-tabs a,
.rbm-clans .nav-tabs .nav-link {
  border-radius: 14px 14px 0 0 !important;
  color: var(--rb-muted) !important;
  background: rgba(11,20,36,.60) !important;
  border-color: rgba(126,153,194,.14) !important;
}

.rbm-clans .nav-tabs .active,
.rbm-clans .nav-tabs a.active {
  color: #fff !important;
  background: rgba(var(--rb-accent-rgb), .14) !important;
  border-color: rgba(var(--rb-accent-rgb), .32) !important;
}

/* Модалки */
.rbm-clans .modal-content {
  border-radius: 26px !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(var(--rb-accent-rgb), .16), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(87,198,255,.08), transparent 34%),
    linear-gradient(180deg, #0b1424, #07111d) !important;
  border: 1px solid rgba(126,153,194,.22) !important;
  box-shadow: 0 30px 86px rgba(0,0,0,.62), inset 0 1px 0 rgba(255,255,255,.045) !important;
  color: var(--rb-text) !important;
}

.rbm-clans .modal-header {
  border-bottom: 1px solid rgba(126,153,194,.16) !important;
  background: linear-gradient(90deg, rgba(var(--rb-accent-rgb), .16), rgba(87,198,255,.06)) !important;
}

.rbm-clans .modal-title {
  color: #fff !important;
  font-weight: 1000 !important;
}

/* Dropdown */
.rbm-clans .dropdown-menu {
  z-index: 9999 !important;
  border-radius: 18px !important;
  background:
    linear-gradient(180deg, rgba(12,23,41,.98), rgba(7,17,29,.98)) !important;
  border: 1px solid rgba(126,153,194,.22) !important;
  box-shadow: 0 20px 48px rgba(0,0,0,.36) !important;
}

.rbm-clans .dropdown-menu a {
  color: #dce8fb !important;
}

.rbm-clans .dropdown-menu a:hover {
  background: rgba(var(--rb-accent-rgb), .12) !important;
  color: #fff !important;
}

/* Alerts */
.rbm-clans .alert {
  border-radius: 18px !important;
  border-color: rgba(126,153,194,.18) !important;
  background: rgba(11,20,36,.90) !important;
  color: #dce8fb !important;
}

/* Прогресс */
.rbm-clans .progress {
  border-radius: 999px !important;
  background: rgba(8,15,27,.9) !important;
  overflow: hidden;
}

.rbm-clans .progress-bar {
  background: linear-gradient(90deg, var(--rb-accent), var(--rb-accent-2)) !important;
  box-shadow: 0 0 18px rgba(var(--rb-accent-rgb), .25);
}

/* Мобильная защита */
@media(max-width: 767px) {
  .rbm-clans {
    overflow-x: auto;
  }

  .rbm-clans .item,
  .rbm-clans .product,
  .rbm-clans .product-item,
  .rbm-clans [class*="item"] {
    border-radius: 16px !important;
  }
}
