.activity-rewards-banner {
	position: relative;
	width: 100%;
	background-color: #FBAB7E;
	background-image: linear-gradient(62deg, #FBAB7E 0%, #F7CE68 100%);

	border-radius: 3px;
	margin-bottom: 30px;
}

.activity-rewards-banner a {
	padding: 40px 30px 40px 30px;
	display: block;
	width: 100%;
	height: 100%;
	white-space: normal;
}

.activity-rewards-banner h3 {
	text-align: center;
	font-size: 25px;
	margin-bottom: 30px;
	color: rgb(255, 255, 255);
	font-weight: bold;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.21);
}

.activity-rewards-banner p {
	color: white;
	font-size: 20px;
	text-align: center;
	font-weight: bold;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.21);
}

.activity-rewards-banner img {
	width: 100%;
	max-width: 270px;
	display: block;
	margin: 0 auto 20px;
}


.day-in-a-row {
	color: #FBAB7E !important;
	font-weight: bold !important;
	border-bottom: 2px solid #FBAB7E;
	background-color: #FBAB7E;
	background-image: linear-gradient(62deg, #FBAB7E 0%, #F7CE68 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.reward {
	padding: 15px;
	border-radius: 4px;
	display: flex;
	align-items: flex-start;
	position: relative;
	margin-bottom: 20px;
	border: 1px solid #dddddd;
	overflow: hidden;
}

.reward .received {
	display: none;
}

.reward.active .received {
	display: flex;
	position: absolute;
	width: 100%;
	height: 100%;
	align-items: center;
	margin: -15px;
	justify-content: center;
	font-size: 30px;
	color: #ffffff;
	background: rgba(51, 51, 51, 0.74);
	font-weight: bold;
	text-transform: uppercase;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.62);
}


.reward:last-child {
	margin-bottom: 0;
}

.reward .reward-day {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 80px;
	height: 80px;
	background-color: #FBAB7E;
	background-image: linear-gradient(62deg, #FBAB7E 0%, #F7CE68 100%);
	border-radius: 5px;
}

.reward .reward-day span {
	font-size: 40px;
	text-align: center;
	color: #ffffff;
	font-weight: bold;
	line-height: 40px;
	margin-top: 10px;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.reward .reward-day i {
	font-size: 12px;
	font-style: normal;
	color: #ffffff;
}

.reward .reward-content {
	flex: 1;
	align-self: center;
	display: flex;
	flex-direction: column;
	padding-left: 15px;
}

.reward .reward-content span:nth-child(1) {
	line-height: 46px;
	font-size: 22px;
}

.reward .reward-content span:nth-child(2) {
	font-size: 14px;
}

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

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

.rbm-activity_rewards {
  --rb-accent: #b55cff;
  --rb-accent-2: #dc8cff;
  --rb-accent-rgb: 181,92,255;
  --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-activity_rewards,
.rbm-activity_rewards *,
.rbm-activity_rewards *::before,
.rbm-activity_rewards *::after {
  box-sizing: border-box;
}

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

/* Премиальная панель */
.rbm-activity_rewards .block,
.rbm-activity_rewards .box,
.rbm-activity_rewards .panel,
.rbm-activity_rewards .card,
.rbm-activity_rewards .module-block,
.rbm-activity_rewards .module-card,
.rbm-activity_rewards .shop-block,
.rbm-activity_rewards .inventory-block,
.rbm-activity_rewards [class*="block"],
.rbm-activity_rewards [class*="panel"],
.rbm-activity_rewards [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-activity_rewards .block::before,
.rbm-activity_rewards .box::before,
.rbm-activity_rewards .panel::before,
.rbm-activity_rewards .card::before,
.rbm-activity_rewards [class*="block"]::before,
.rbm-activity_rewards [class*="panel"]::before,
.rbm-activity_rewards [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-activity_rewards h1,
.rbm-activity_rewards h2,
.rbm-activity_rewards h3,
.rbm-activity_rewards h4,
.rbm-activity_rewards h5,
.rbm-activity_rewards .title,
.rbm-activity_rewards .module-title,
.rbm-activity_rewards .block_head,
.rbm-activity_rewards .block-title,
.rbm-activity_rewards [class*="title"],
.rbm-activity_rewards [class*="head"] {
  color: #fff !important;
  font-weight: 1000 !important;
  letter-spacing: -.035em;
  text-shadow: 0 0 22px rgba(var(--rb-accent-rgb), .22);
}

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

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

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

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

/* Карточки товаров/кейсов/инвентаря */
.rbm-activity_rewards .item,
.rbm-activity_rewards .product,
.rbm-activity_rewards .product-item,
.rbm-activity_rewards .shop_item,
.rbm-activity_rewards .shop-item,
.rbm-activity_rewards .market_item,
.rbm-activity_rewards .inventory_item,
.rbm-activity_rewards .inventory-item,
.rbm-activity_rewards .case,
.rbm-activity_rewards .case-item,
.rbm-activity_rewards .skin,
.rbm-activity_rewards .skin-item,
.rbm-activity_rewards [class*="item"],
.rbm-activity_rewards [class*="product"],
.rbm-activity_rewards [class*="case"],
.rbm-activity_rewards [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-activity_rewards .item:hover,
.rbm-activity_rewards .product:hover,
.rbm-activity_rewards .product-item:hover,
.rbm-activity_rewards .shop_item:hover,
.rbm-activity_rewards .inventory_item:hover,
.rbm-activity_rewards .case:hover,
.rbm-activity_rewards .skin:hover,
.rbm-activity_rewards [class*="item"]:hover,
.rbm-activity_rewards [class*="product"]:hover,
.rbm-activity_rewards [class*="case"]:hover,
.rbm-activity_rewards [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-activity_rewards .item::after,
.rbm-activity_rewards .product::after,
.rbm-activity_rewards .product-item::after,
.rbm-activity_rewards .case::after,
.rbm-activity_rewards [class*="item"]::after,
.rbm-activity_rewards [class*="product"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.06), transparent 36%);
  pointer-events: none;
}

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

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

/* Цена / валюта / баланс */
.rbm-activity_rewards .price,
.rbm-activity_rewards .cost,
.rbm-activity_rewards .money,
.rbm-activity_rewards .balance,
.rbm-activity_rewards .rub,
.rbm-activity_rewards .coins,
.rbm-activity_rewards [class*="price"],
.rbm-activity_rewards [class*="cost"],
.rbm-activity_rewards [class*="money"],
.rbm-activity_rewards [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-activity_rewards .badge,
.rbm-activity_rewards .label,
.rbm-activity_rewards [class*="badge"],
.rbm-activity_rewards [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-activity_rewards .btn,
.rbm-activity_rewards button,
.rbm-activity_rewards input[type="button"],
.rbm-activity_rewards 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-activity_rewards .btn:hover,
.rbm-activity_rewards button:hover,
.rbm-activity_rewards input[type="button"]:hover,
.rbm-activity_rewards 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-activity_rewards .btn-primary,
.rbm-activity_rewards .btn-info,
.rbm-activity_rewards .btn-success,
.rbm-activity_rewards button.btn-primary,
.rbm-activity_rewards 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-activity_rewards .btn-danger,
.rbm-activity_rewards .btn-warning {
  background: linear-gradient(180deg, #ff5b75, #b91834) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.14) !important;
}

/* Поля */
.rbm-activity_rewards input,
.rbm-activity_rewards select,
.rbm-activity_rewards 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-activity_rewards input:focus,
.rbm-activity_rewards select:focus,
.rbm-activity_rewards 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-activity_rewards table {
  width: 100%;
  color: var(--rb-text) !important;
  border-collapse: separate !important;
  border-spacing: 0 8px !important;
}

.rbm-activity_rewards table th,
.rbm-activity_rewards 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-activity_rewards table tbody tr {
  background: rgba(11,20,36,.72) !important;
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}

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

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

.rbm-activity_rewards .nav-tabs a,
.rbm-activity_rewards .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-activity_rewards .nav-tabs .active,
.rbm-activity_rewards .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-activity_rewards .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-activity_rewards .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-activity_rewards .modal-title {
  color: #fff !important;
  font-weight: 1000 !important;
}

/* Dropdown */
.rbm-activity_rewards .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-activity_rewards .dropdown-menu a {
  color: #dce8fb !important;
}

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

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

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

.rbm-activity_rewards .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-activity_rewards {
    overflow-x: auto;
  }

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