/* ==============================================================================
 * K-MEDIA - GROW-METRIC
 * ------------------------------------------------------------------------------
 * @package    GrowMetric
 * @author     Andy KONZ
 * @url        https://k-media.lu/
 * ============================================================================== */

/* Inter-Font */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/inter-v20-latin-300.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/inter-v20-latin-regular.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/inter-v20-latin-500.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/inter-v20-latin-600.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/inter-v20-latin-700.woff2") format("woff2");
}

:root {
  --cb-bg-dark: #0c110e;
  --cb-bg-card: #141c18;
  --cb-primary: #2ecc71;
  --cb-primary-dim: #27ae60;
  --cb-primary-glow: rgba(46, 204, 113, 0.12);
  --cb-accent: #00f2fe;
  --cb-text-muted: #8e9a93;
  --cb-border: #1f2c25;
  --cb-border-bright: #2d3f35;
  --cb-bloom: #e67e22;
  --cb-bloom-glow: rgba(230, 126, 34, 0.15);
  --cb-danger: #e74c3c;
  --cb-danger-glow: rgba(231, 76, 60, 1);
}

body {
  background-color: var(--cb-bg-dark);
  color: #f3f4f6;
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

/* Glassmorphism Navbar */
.navbar {
  background: rgba(12, 17, 14, 0.8) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--cb-border);
  padding: 1rem 0;
  transition: all 0.3s ease;
  z-index: 1050;
}

.navbar-nav .nav-link {
  color: var(--cb-text-muted) !important;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  padding: 0.5rem 1.2rem !important;
  position: relative;
  transition: color 0.2s ease;
}

/* Active-States */
.navbar-nav .nav-link.active,
.navbar-nav .show > .nav-link,
.navbar-nav .nav-link[aria-expanded="true"] {
  color: #fff !important;
}

/* Desktop hover-effect */
@media (hover: hover) {
  .navbar-nav .nav-link:hover {
    color: #fff !important;
  }
}

/* Remove the default Bootstrap arrow globally */
.dropdown-toggle::after {
  display: none !important;
}

/* Drop-down arrow */
.dropdown-chevron {
  display: inline-block;
  font-size: 0.75rem;
  transition:
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.25s ease,
    opacity 0.25s ease;
  opacity: 1 !important;
  color: var(--cb-primary) !important;
}

.nav-link:hover .dropdown-chevron,
.dropdown.show .dropdown-chevron,
.nav-link[aria-expanded="true"] .dropdown-chevron {
  opacity: 1;
  color: var(--cb-primary) !important;
}

/* Underline effect */
@media (min-width: 1150px) and (hover: hover) {
  .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--cb-primary);
    transition: all 0.25s ease;
    transform: translateX(-50%);
  }

  .navbar-nav .nav-link:hover::after,
  .navbar-nav .nav-link.active::after,
  .navbar-nav .show > .nav-link::after {
    width: 30px;
  }
}

@media (min-width: 1150px) {
  .navbar-nav .nav-link {
    position: relative;
    padding-bottom: 1.25rem !important;
  }

  .navbar-nav .dropdown-chevron {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 0 !important;
  }

  .dropdown.show .dropdown-chevron,
  .nav-link[aria-expanded="true"] .dropdown-chevron {
    transform: translateX(-50%) rotate(180deg);
  }
}

/* Dropdown-Menu (desktop) */
@media (min-width: 1150px) {
  .dropdown-menu {
    display: block !important;
    visibility: hidden;
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
    left: 50% !important;
    right: auto !important;
    background: rgba(20, 28, 24, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--cb-border);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    padding: 0.5rem;
    margin-top: 0.5rem !important;
    transition:
      opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
      transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
      visibility 0.25s;
    pointer-events: none;
    white-space: nowrap;
  }

  .dropdown-menu.show {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
  }

  .dropdown-item {
    color: var(--cb-text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    transition:
      background-color 0.4s ease,
      color 0.4s ease,
      transform 0.4s ease;
    background-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
  }

  .dropdown-item:hover {
    background-color: rgba(46, 204, 113, 0.08);
    color: #ffffff;
  }

  .dropdown-item i {
    color: var(--cb-primary);
    opacity: 0.8;
    transition:
      opacity 0.4s ease,
      color 0.4s ease;
  }

  .dropdown-item:hover i {
    opacity: 1;
  }

  .dropdown-item:hover,
  .dropdown-item:focus,
  .dropdown-item:active {
    background-color: rgba(46, 204, 113, 0.08) !important;
    color: #ffffff !important;
    outline: none !important;
  }
}

/* Button-Close */
.btn-close:focus {
  box-shadow: none !important;
  outline: none !important;
}

/* Mobile Dropdown */
@media (max-width: 1199.98px) {
  .navbar-toggler:focus,
  .navbar-toggler:active,
  .navbar-toggler:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
  }

  .navbar-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%232ecc71' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  }

  .navbar-collapse.collapsing {
    overflow: hidden !important;
    display: block !important;
    height: auto !important;
    opacity: 0;
    transform: scaleY(0.95);
    transition:
      opacity 0.15s ease-out,
      transform 0.15s ease-out !important;
  }

  .navbar-collapse.collapsing::-webkit-scrollbar {
    display: none !important;
  }

  .navbar-collapse.show::-webkit-scrollbar {
    width: 4px;
    display: block !important;
  }

  .navbar-collapse.show::-webkit-scrollbar-track {
    background: transparent;
  }

  .navbar-collapse.show::-webkit-scrollbar-thumb {
    background: rgba(46, 204, 113, 0.3);
    border-radius: 10px;
  }

  .navbar-collapse.show::-webkit-scrollbar-thumb:hover {
    background: rgba(46, 204, 113, 0.6);
  }

  /*
  .navbar-collapse {
    background: rgba(20, 28, 24, 1);
    border: 1px solid var(--cb-border);
    border-radius: 14px;
    padding: 1.25rem;
    margin-top: 0.75rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transform: scaleY(0.95);
    transform-origin: top center;
    transition:
      opacity 0.15s ease-out,
      transform 0.15s ease-out !important;
    position: fixed;
    top: var(--navbar-height, 75px);
    left: 10px;
    right: 10px;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(46, 204, 113, 0.3) transparent;
  }
  */

  .navbar-collapse {
    background: rgba(20, 28, 24, 1);
    border: 1px solid var(--cb-border);
    border-radius: 14px;
    padding: 1.25rem;
    padding-bottom: calc(3rem + env(safe-area-inset-bottom, 20px));
    margin-top: 0.75rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transform: scaleY(0.95);
    transform-origin: top center;
    transition:
      opacity 0.15s ease-out,
      transform 0.15s ease-out !important;
    position: fixed;
    top: var(--navbar-height, 75px);
    left: 10px;
    right: 10px;
    max-height: calc(100dvh - var(--navbar-height, 75px) - 40px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(46, 204, 113, 0.3) transparent;
  }

  .navbar-collapse.show {
    opacity: 1 !important;
    transform: scaleY(1) !important;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: #000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.2s ease,
      visibility 0.2s ease;
    z-index: 1040;
  }

  .nav-overlay.show {
    opacity: 0.85;
    visibility: visible;
    pointer-events: auto;
  }

  .navbar-nav {
    align-items: flex-start !important;
    width: 100%;
    margin-top: 1rem;
  }

  .navbar-nav .nav-item {
    width: 100%;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 0.5rem !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    width: 100%;
  }

  .navbar-collapse > div:last-child {
    padding-bottom: 1rem;
    width: 100%;
  }

  .dropdown-menu {
    display: block !important;
    position: relative;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    background: rgba(12, 17, 14, 0.6) !important;
    border: none !important;
    border-left: 2px solid var(--cb-primary) !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    height: 0;
    overflow: hidden;
    transition:
      opacity 0.2s ease-in-out,
      transform 0.2s ease-in-out,
      height 0.2s ease-in-out,
      padding 0.2s ease-in-out,
      margin 0.2s ease-in-out !important;
  }

  .dropdown-menu.show {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    height: auto;
    padding: 0.25rem 0 0.5rem 0.75rem !important;
    margin: 0.25rem 0 0.75rem 0.5rem !important;
  }

  .dropdown-item {
    color: var(--cb-text-muted) !important;
    padding: 0.5rem 0.5rem !important;
    font-size: 0.9rem;
  }

  .dropdown-item:active,
  .dropdown-item:hover {
    background: transparent !important;
    color: #fff !important;
  }

  .dropdown-item i {
    color: var(--cb-primary);
    margin-right: 0.5rem;
  }

  .navbar-nav .nav-link .bi-chevron-down {
    transition: transform 0.15s ease-in-out !important;
  }

  .nav-item.dropdown:has(.dropdown-menu.show) .bi-chevron-down {
    transform: rotate(180deg) !important;
  }

  .navbar-toggler-icon {
    transition: background-image 0.2s ease-in-out !important;
  }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23dc3545' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M9 9l12 12M9 21l12-12'/%3e%3c/svg%3e") !important;
  }

  .dropdown-item.active {
    background: rgba(12, 17, 14, 0.6) !important;
    color: #ffffff !important;
    font-weight: 500 !important;
  }
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler:hover,
.navbar-toggler:not(.collapsed) {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
  background-color: transparent !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.navbar-toggler:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.navbar-toggler-icon {
  outline: none !important;
}

.navbar.navbar-dark .navbar-toggler {
  width: 42px;
  height: 42px;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #212529 !important;
  border-color: var(--cb-border) !important;
  border-radius: 0.375rem !important;
  box-shadow: none !important;
}

/* Hero-Section */
@keyframes subtle-pan {
  0% {
    background-position:
      0px 0px,
      85% 35%,
      15% 65%,
      0% 0%;
  }

  50% {
    background-position:
      24px 24px,
      85% 35%,
      15% 65%,
      0% 0%;
  }

  100% {
    background-position:
      0px 0px,
      85% 35%,
      15% 65%,
      0% 0%;
  }
}

.hero-section {
  --hero-green-rgb: 46, 204, 113;

  position: relative;
  padding: 9rem 0 5rem 0;
  background-color: var(--cb-bg-dark);

  background-image:
    radial-gradient(rgba(var(--hero-green-rgb), 0.1) 1px, transparent 1px),
    radial-gradient(
      circle at 85% 35%,
      rgba(var(--hero-green-rgb), 0.14) 0%,
      transparent 45%
    ),
    radial-gradient(
      circle at 15% 65%,
      rgba(var(--hero-green-rgb), 0.05) 0%,
      transparent 40%
    ),
    linear-gradient(180deg, rgba(12, 17, 14, 0) 0%, var(--cb-bg-dark) 95%);

  background-size:
    24px 24px,
    100% 100%,
    100% 100%,
    100% 100%;
  background-position:
    0px 0px,
    85% 35%,
    15% 65%,
    0% 0%;
  background-repeat: repeat, no-repeat, no-repeat, no-repeat;

  animation: subtle-pan 24s infinite linear;
  border-bottom: 1px solid var(--cb-border);
}

@media (min-width: 992px) {
  .hero-section {
    padding: 11rem 0 7rem 0;
  }
}

/* Button Gradient Red */
.btn-gradient-danger {
  position: relative;
  background-image: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  background-size: 100% 100%;
  color: #ffffff !important;
  font-weight: 600;
  letter-spacing: -0.1px;
  border: 1px solid transparent;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(231, 76, 60, 0.15);
  z-index: 1;
  overflow: hidden;
  transition:
    color 0.4s ease,
    box-shadow 0.4s ease,
    background-color 0.4s ease;
}

.btn-gradient-danger::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(135deg, #ff5e62 0%, #e74c3c 100%);
  background-size: 100% 100%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.btn-gradient-danger:hover {
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(231, 76, 60, 0.35);
}

.btn-gradient-danger:hover::before {
  opacity: 1;
}

.btn-gradient-danger:focus,
.btn-gradient-danger:active {
  box-shadow: none !important;
  outline: none !important;
  border-color: transparent !important;
}

/* Button Gradient Blue */
.btn-gradient-info {
  position: relative;
  background-image: linear-gradient(135deg, #0dcaf0 0%, #08a0bf 100%);
  background-size: 100% 100%;
  color: #ffffff !important;
  font-weight: 600;
  letter-spacing: -0.1px;
  border: 1px solid transparent;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(13, 202, 240, 0.15);
  z-index: 1;
  overflow: hidden;
  transition:
    color 0.4s ease,
    box-shadow 0.4s ease,
    background-color 0.4s ease;
}

.btn-gradient-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(135deg, #37d5f2 0%, #0dcaf0 100%);
  background-size: 100% 100%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.btn-gradient-info:hover {
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(13, 202, 240, 0.35);
}

.btn-gradient-info:hover::before {
  opacity: 1;
}

.btn-gradient-info:focus,
.btn-gradient-info:active {
  box-shadow: none !important;
  outline: none !important;
  border-color: transparent !important;
}

/* Button Gradient Yellow */
.btn-gradient-warning {
  position: relative;
  background-image: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
  background-size: 100% 100%;
  color: #000000 !important;
  font-weight: 600;
  letter-spacing: -0.1px;
  border: 1px solid transparent;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(255, 193, 7, 0.15);
  z-index: 1;
  overflow: hidden;
  transition:
    color 0.4s ease,
    box-shadow 0.4s ease,
    background-color 0.4s ease;
}

.btn-gradient-warning::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(135deg, #ffca2c 0%, #ffc107 100%);
  background-size: 100% 100%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.btn-gradient-warning:hover {
  color: #000000 !important;
  box-shadow: 0 6px 16px rgba(255, 193, 7, 0.35);
}

.btn-gradient-warning:hover::before {
  opacity: 1;
}

.btn-gradient-warning:focus,
.btn-gradient-warning:active {
  box-shadow: none !important;
  outline: none !important;
  border-color: transparent !important;
}

/* Button Gradient Purple */
.btn-gradient-purple {
  position: relative;
  background-image: linear-gradient(135deg, #8e44ad 0%, #6c3483 100%);
  background-size: 100% 100%;
  color: #ffffff !important;
  font-weight: 600;
  letter-spacing: -0.1px;
  border: 1px solid transparent;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(142, 68, 173, 0.15);
  z-index: 1;
  overflow: hidden;
  transition:
    color 0.4s ease,
    box-shadow 0.4s ease,
    background-color 0.4s ease;
}

.btn-gradient-purple::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(135deg, #a569bd 0%, #8e44ad 100%);
  background-size: 100% 100%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.btn-gradient-purple:hover {
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(142, 68, 173, 0.35);
}

.btn-gradient-purple:hover::before {
  opacity: 1;
}

.btn-gradient-purple:focus,
.btn-gradient-purple:active {
  box-shadow: none !important;
  outline: none !important;
  border-color: transparent !important;
}

/* Button Gradient */
.btn-gradient {
  position: relative;
  background-image: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
  background-size: 100% 100%;
  color: #040605 !important;
  font-weight: 600;
  letter-spacing: -0.1px;
  border: 1px solid transparent;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(46, 204, 113, 0.04);
  z-index: 1;
  overflow: hidden;
  transition:
    color 0.4s ease,
    box-shadow 0.4s ease,
    background-color 0.4s ease;
}

.btn-gradient::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(135deg, #3ae374 0%, #2ecc71 100%);
  background-size: 100% 100%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.btn-gradient:hover {
  color: #000000 !important;
  box-shadow: 0 6px 16px rgba(46, 204, 113, 0.25);
}

.btn-gradient:hover::before {
  opacity: 1;
}

.btn-gradient:disabled,
.btn-gradient.disabled {
  position: relative;
  background-size: 100% 100%;
  color: #040605 !important;
  font-weight: 600;
  letter-spacing: -0.1px;
  border: 1px solid transparent;
  border-radius: 10px;
  box-shadow: none !important;
  z-index: 1;
  overflow: hidden;
  cursor: not-allowed !important;
  pointer-events: none !important;
  opacity: 1 !important;
}

.btn-gradient:disabled::before,
.btn-gradient.disabled::before {
  display: none !important;
}

/* Button Outline Custom */
.btn-outline-custom {
  position: relative;
  border: 1px solid var(--cb-border-bright);
  background: rgba(255, 255, 255, 0.02);
  color: #e2e8f0;
  font-weight: 500;
  border-radius: 10px;
  backdrop-filter: blur(4px);
  z-index: 1;
  overflow: hidden;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease;
}

.btn-outline-custom:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(46, 204, 113, 0.4);
  color: #fff;
}

.btn-outline-custom:focus,
.btn-outline-custom:active,
.btn-outline-custom.active {
  outline: none !important;
  box-shadow: none !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(46, 204, 113, 0.4) !important;
  color: #fff !important;
}

/* Language-Switcher */
.lang-switch-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--cb-border);
  border-radius: 20px;
}

.lang-link {
  color: var(--cb-text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.lang-link.active {
  color: var(--cb-primary) !important;
}

.lang-link:hover {
  color: #fff;
}

@media (max-width: 1199.98px) {
  .lang-switch-wrapper {
    margin: 1rem auto 0 auto;
    width: fit-content;
  }
}

/* Slider-Controls */
.btn-round-nav {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--cb-bg-card);
  border: 2px solid var(--cb-border);
  color: var(--cb-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease;
}

.btn-round-nav:hover {
  border-color: var(--cb-primary);
  color: #fff;
  /*background: rgba(46, 204, 113, 0.04);*/
}

/* Cards-Slider */
.swipe-wrapper {
  position: relative;
  width: 100%;
}

.swipe-container {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 1.5rem;
  padding: 1rem 0 2rem 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
}

.swipe-container:active {
  cursor: grabbing;
}

.swipe-container::-webkit-scrollbar {
  display: none;
}

/* Clickable link-map in the slider */
.swipe-card {
  flex: 0 0 290px;
  background: var(--cb-bg-card);
  border: 1px solid var(--cb-border);
  border-radius: 16px;
  overflow: hidden;
  display: block;
  text-decoration: none !important;
  color: #f3f4f6 !important;
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

@media (min-width: 768px) {
  .swipe-card {
    flex: 0 0 340px;
  }
}

.swipe-card:hover {
  transform: translateY(-4px);
  border-color: rgba(46, 204, 113, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  color: #f3f4f6 !important;
}

/* Placeholder “Show more” box-styling */
.swipe-card-dummy {
  background: var(--cb-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.swipe-card-dummy:hover {
  border-color: rgba(46, 204, 113, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(-5px);
}

.dummy-icon-box {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--cb-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.swipe-card-dummy:hover .dummy-icon-box {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--cb-primary);
  box-shadow: 0 0 15px rgba(var(--cb-primary-rgb), 0.3);
  transform: scale(1.1);
}

/* Image container for a true cover-effect */
.card-img-placeholder {
  position: relative;
  aspect-ratio: 3 / 2;
  height: auto;
  background: linear-gradient(135deg, #111613 0%, #17221c 100%);
  border-bottom: 1px solid var(--cb-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-img-placeholder img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.card-img-placeholder i {
  position: relative;
  z-index: 2;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.15);
}

.card-img-placeholder::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(12, 17, 14, 0) 50%,
    rgba(12, 17, 14, 0.6) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.badge-strain {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(12, 17, 14, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.3px;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Tool-Cards with hover transform */
.tool-card {
  background: var(--cb-bg-card);
  border: 1px solid var(--cb-border);
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
}

.tool-card:hover {
  background: linear-gradient(
    180deg,
    var(--cb-bg-card) 0%,
    rgba(46, 204, 113, 0.01) 100%
  );
  border-color: rgba(46, 204, 113, 0.3) !important;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.tool-link-hover {
  color: currentColor;
  transition: color 0.2s ease !important;
}

.tool-link-hover i {
  display: inline-block;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.tool-card:hover .tool-link-hover {
  color: #ffffff !important;
}

.tool-card:hover .tool-link-hover i {
  transform: translateX(4px);
}

.icon-box {
  width: 50px;
  height: 50px;
  background: rgba(46, 204, 113, 0.05);
  color: var(--cb-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(46, 204, 113, 0.08);
}

.text-muted-custom {
  color: var(--cb-text-muted);
}

.index-stat-card {
  background: rgba(46, 204, 113, 0.02);
  border: 1px solid rgba(46, 204, 113, 0.15);
  border-radius: 14px;
  padding: 0.75rem;
  height: 100%;
}

/* AnnouncementContainer Transitions */
@keyframes pulse-border {
  0% {
    border-left-color: rgba(255, 152, 0, 0.4);
  }

  50% {
    border-left-color: rgba(255, 152, 0, 0.9);
  }

  100% {
    border-left-color: rgba(255, 152, 0, 0.4);
  }
}

.system-message-box {
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(
      circle at 10% 10%,
      rgba(255, 152, 0, 0.04) 0%,
      transparent 80%
    ),
    rgba(10, 15, 12, 0.85);
  border: 1px solid rgba(46, 204, 113, 0.15);
  border-left: 3px solid #ff9800;
  padding: 1.1rem;
  border-radius: 14px;
  position: relative;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.4),
    inset 1px 1px 0 rgba(255, 255, 255, 0.02);
  animation: pulse-border 3s infinite ease-in-out;
  min-height: 175px;
  backdrop-filter: blur(8px);
}

.sys-content-fade {
  flex-grow: 1;
  display: flex;
  align-items: center;
  /*transition: opacity 0.4s ease-in-out;*/
  transition: none;
  opacity: 1;
}

.sys-footer {
  margin-top: auto;
}

@media (max-width: 576px) {
  .system-message-box {
    min-height: 175px;
  }
}

.sys-content-fade.fade-out {
  opacity: 0;
}

.system-message-box .sys-highlight {
  color: #fff;
  font-weight: 500;
  background: linear-gradient(90deg, rgba(255, 152, 0, 0.15), transparent);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

.sys-fade-transition {
  transition: opacity 0.4s ease-in-out;
}

#ticker-bar {
  will-change: width;
}

#sys-fade-wrapper,
#sys-timestamp {
  will-change: opacity;
}

/* Online-Indicator */
.online-box-premium {
  background: rgba(0, 0, 0, 0.5) !important;
  border: 1px solid rgba(46, 204, 113, 0.4) !important;
  box-shadow: 0 0 16px rgba(46, 204, 113, 0.12);
  padding: 0.35rem 0.8rem !important;
}

.pulse-dot-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 8px;
  height: 8px;
  margin-right: 4px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--cb-primary);
  border-radius: 50%;
  position: absolute;
  z-index: 2;
  box-shadow: 0 0 6px rgba(46, 204, 113, 0.6);
}

.pulse-dot-ring {
  position: absolute;
  width: 22px;
  height: 22px;
  background-color: rgba(46, 204, 113, 0.35);
  border-radius: 50%;
  animation: premium-pulse 2.2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  z-index: 1;
}

@keyframes premium-pulse {
  0% {
    transform: scale(0.3);
    opacity: 0.9;
  }

  50% {
    opacity: 0.4;
  }

  100% {
    transform: scale(1);
    opacity: 0;
  }
}

@keyframes heartbeat {
  0% {
    transform: scale(1);
  }

  14% {
    transform: scale(1.15);
  }

  28% {
    transform: scale(1);
  }

  42% {
    transform: scale(1.15);
  }

  70% {
    transform: scale(1);
  }
}

.heart-icon {
  display: inline-block;
  color: var(--cb-primary);
  animation: heartbeat 1.6s infinite ease-in-out;
  margin: 0 3px;
}

.footer-kmedia a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s ease-in-out;
}

.footer-kmedia a:hover {
  color: var(--cb-primary);
}

.footer-links a {
  color: var(--cb-text-muted);
  text-decoration: none;
  transition: color 0.25s ease-in-out;
}

.footer-links a:hover {
  color: #fff;
}

.footer-links a.active {
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid var(--cb-primary);
  padding-bottom: 2px;
}

/* Scroll-Shadows */
.swipe-wrapper::before,
.swipe-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 35px;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.1s ease-in-out;
  will-change: opacity;
}

@media (min-width: 768px) {
  .swipe-wrapper::before,
  .swipe-wrapper::after {
    width: 55px;
  }
}

@media (min-width: 1200px) {
  .swipe-wrapper::before,
  .swipe-wrapper::after {
    width: 80px;
  }
}

.swipe-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--cb-bg-dark) 0%, transparent 100%);
  opacity: var(--scroll-mask-left, 0);
}

.swipe-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--cb-bg-dark) 0%, transparent 100%);
  opacity: var(--scroll-mask-right, 1);
}

.swipe-container {
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
  scroll-padding: 1.25rem;
}

@media (min-width: 768px) {
  .swipe-container {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    scroll-padding: 1.5rem;
  }
}

/* Back-To-Top button */
.btn-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 48px;
  height: 48px;
  background-image: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
  background-size: 100% 100%;
  border: 1px solid transparent;
  color: #040605;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  overflow: hidden;
  box-shadow:
    0 4px 10px rgba(46, 204, 113, 0.04),
    0 8px 24px rgba(0, 0, 0, 0.5);
  transition:
    opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s ease,
    color 0.4s ease;
}

.btn-to-top::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(135deg, #3ae374 0%, #2ecc71 100%);
  background-size: 100% 100%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.btn-to-top i {
  position: relative;
  z-index: 1;
}

.btn-to-top:hover {
  color: #000000;
  transform: translateY(-2px);
  box-shadow:
    0 6px 16px rgba(46, 204, 113, 0.25),
    0 12px 24px rgba(0, 0, 0, 0.5);
}

.btn-to-top:hover::before {
  opacity: 1;
}

.btn-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn-to-top.show:hover {
  transform: translateY(-2px);
}

/* Bulletproof mobile scroll lock via CSS */
@media (max-width: 1199.98px) {
  html:has(#mainNav.show) {
    overflow: hidden !important;
  }
}

/* Force placeholder-color */
.premium-search-input::placeholder {
  color: var(--cb-text-muted) !important;
  opacity: 1 !important;
  -webkit-text-fill-color: var(--cb-text-muted) !important;
  font-weight: 500 !important;
}

.premium-search-input::-webkit-input-placeholder {
  color: var(--cb-text-muted) !important;
  opacity: 1 !important;
  -webkit-text-fill-color: var(--cb-text-muted) !important;
}

.premium-search-input::-moz-placeholder {
  color: var(--cb-text-muted) !important;
  opacity: 1 !important;
  -webkit-text-fill-color: var(--cb-text-muted) !important;
}

@media (max-width: 768px) {
  .premium-search-input::placeholder {
    font-size: 0.85rem !important;
  }

  .premium-search-input::-webkit-input-placeholder {
    font-size: 0.85rem !important;
  }

  .premium-search-input::-moz-placeholder {
    font-size: 0.85rem !important;
  }
}

/* Removes the default border when clicked */
.btn-gradient:focus,
.btn-gradient:active {
  outline: none !important;
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3) !important;
  border-color: transparent !important;
}

/* Auth-Modal */
#authModal .nav-pills .nav-link {
  color: rgba(255, 255, 255, 0.6);
  background: transparent;
  transition: all 0.2s ease;
}

#authModal .nav-pills .nav-link.active {
  background: var(--cb-primary) !important;
  color: var(--cb-bg-dark) !important;
}

#authModal .form-control:focus {
  border-color: var(--cb-primary) !important;
  box-shadow: 0 0 10px rgba(46, 204, 113, 0.25) !important;
}

#authModal .link-custom {
  color: var(--cb-primary);
  transition: color 0.2s ease-in-out;
}

#authModal .link-custom:hover {
  color: #a3ff7a !important;
}

#authModal .btn-close:focus {
  box-shadow: none !important;
  outline: none !important;
}

#authModal .btn-close {
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

#authModal .btn-close:hover {
  opacity: 1 !important;
}

.modal-backdrop.show {
  opacity: 0.85 !important;
  background-color: #000000 !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
}

#authModal .modal-content {
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.5),
    0 0 25px rgba(46, 204, 113, 0.15) !important;
}

#authModal .nav-pills .nav-link {
  background-color: transparent;
  color: rgba(255, 255, 255, 0.6);
  transition:
    background-color 0.25s ease-in-out,
    color 0.25s ease-in-out,
    box-shadow 0.25s ease-in-out;
}

#authModal .nav-pills .nav-link.active {
  background-color: var(--cb-primary);
  color: var(--cb-bg-dark);
}

.style-tabs-stack {
  display: grid;
  grid-template-columns: 1fr;
}

.style-tabs-stack .tab-pane {
  grid-column: 1;
  grid-row: 1;
  height: max-content;
  visibility: hidden;
}

.style-tabs-stack .tab-pane.show {
  visibility: visible;
}

#authModal .tab-pane.fade {
  opacity: 0;
  transform: scale(0.98) translateY(5px);
  transition:
    opacity 0.2s linear,
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

#authModal .tab-pane.fade.show {
  opacity: 1;
  transform: scale(1) translateY(0);
}

html {
  scrollbar-gutter: stable !important;
}

body.modal-open,
body[style*="padding-right"] {
  padding-right: 0px !important;
  overflow: hidden !important;
}

/* Toasts */
.toast .btn-close:focus {
  box-shadow: none;
  outline: none;
}

.toast-container .toast {
  width: 600px;
  max-width: 90vw;
}

/* Form-Validation */
@keyframes fadeInDown {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.form-control {
  background: var(--cb-bg-dark) !important;
  border: 1px solid var(--cb-border) !important;
  color: #fff !important;
  transition:
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

.was-validated .form-control:invalid ~ .invalid-feedback,
.form-control.is-invalid ~ .invalid-feedback {
  display: block !important;
  animation: fadeInDown 0.4s ease forwards;
}

.invalid-feedback {
  color: #e74c3c !important;
  font-size: 0.85rem;
  margin-top: 0.25rem;
  display: none;
  min-height: 1.25rem;
}

.form-control.is-valid {
  border-color: var(--cb-border) !important;
}

.form-control:focus:not(.is-invalid) {
  box-shadow: none !important;
  border-color: var(--cb-primary) !important;
}

.form-control.is-invalid {
  border-color: #e74c3c !important;
}

.form-control.is-invalid:focus {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.25) !important;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
}

.invalid-feedback:not(:empty) {
  display: block !important;
}

/* Register/Login checkbox */
.form-check {
  position: relative;
  padding-left: 2.5em;
  min-height: 1.8em;
}

#terms_accepted.form-check-input {
  position: absolute;
  left: 0;
  top: 0.1em;
  background-color: var(--cb-bg-dark) !important;
  border: 1px solid var(--cb-border) !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  box-shadow: none !important;
  transition: all 0.2s ease-in-out !important;
  width: 1.8em !important;
  height: 1.8em !important;
  cursor: pointer;
  margin-left: 0 !important;
}

label[for="terms_accepted"] {
  margin-left: 0 !important;
  padding-left: 0.5rem !important;
  display: block;
  cursor: pointer;
  padding-top: 0.2em;
}

#terms_accepted.form-check-input.is-invalid {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.25) !important;
}

.form-check .invalid-feedback {
  display: none;
  margin-top: 0.5rem !important;
  width: 100%;
}

.form-check-input.is-invalid ~ .invalid-feedback {
  display: block !important;
  animation: fadeInDown 0.4s ease forwards;
}

#terms_accepted.form-check-input:checked {
  background-color: var(--cb-primary) !important;
  border-color: var(--cb-primary) !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e") !important;
  background-size: 70% 70% !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

#terms_accepted.form-check-input:focus {
  box-shadow: none !important;
  outline: none !important;
  border-color: var(--cb-primary) !important;
}

/* Language Menu-Hint */
.navbar.fixed-top {
  transition: margin-top 0.2s ease;
  margin-top: 0;
}

html:not(.no-lang-notice) .navbar.fixed-top {
  margin-top: 40px;
}

.lang-notice-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: var(--cb-primary);
  color: #fff;
  display: flex;
  z-index: 1031;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
  opacity: 1;
  transform: translateY(0);
}

.no-lang-notice .lang-notice-bar {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

.lang-notice-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  position: relative;
  padding: 0 40px;
}

.lang-notice-bar small {
  line-height: 1.2;
  text-align: center;
}

.lang-notice-bar a {
  color: #fff !important;
  text-decoration: underline !important;
  font-weight: bold;
}

.lang-notice-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  padding: 5px;
  color: #fff;
  transition: opacity 0.2s;
}

.lang-notice-close:hover {
  opacity: 1;
}

@media (max-width: 576px) {
  html:not(.no-lang-notice) .navbar.fixed-top {
    margin-top: 50px;
  }

  .lang-notice-bar {
    height: 50px;
  }

  .lang-notice-close {
    right: 8px;
    font-size: 1.8rem;
  }

  .lang-notice-bar .container {
    padding: 0 35px 0 10px;
  }
}

/* Bell-Shake */
@keyframes bellShake {
  0% {
    transform: rotate(0);
  }

  20% {
    transform: rotate(12deg);
  }

  40% {
    transform: rotate(-10deg);
  }

  60% {
    transform: rotate(6deg);
  }

  80% {
    transform: rotate(-4deg);
  }

  100% {
    transform: rotate(0);
  }
}

.bell-shake {
  display: inline-block;
  transform-origin: top center;
  animation: bellShake 0.8s ease-in-out infinite;
}

/* Profile */
.profile-page-wrapper .profile-hero {
  height: 400px;
  position: relative;
}

.profile-page-wrapper .profile-avatar-wrapper {
  position: relative;
}

.profile-page-wrapper .avatar-glow {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: rgba(46, 125, 50, 0.4);
  filter: blur(24px);
}

.profile-page-wrapper .profile-avatar {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.12);
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
}

.profile-page-wrapper .profile-content {
  margin-top: 50px;
  position: relative;
  z-index: 10;
  padding-bottom: 50px;
}

.profile-page-wrapper .glass-panel,
.profile-page-wrapper .glass-card,
.profile-page-wrapper .swipe-card,
.profile-page-wrapper .achievement-card {
  background: rgba(20, 28, 24, 0.92);
  border: 1px solid rgba(46, 204, 113, 0.15);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
  border-radius: 14px;
}

.profile-page-wrapper .glass-panel,
.profile-page-wrapper .swipe-card {
  border-radius: 16px;
}

.profile-page-wrapper .glass-card,
.profile-page-wrapper .achievement-card {
  border-radius: 1.5rem;
}

.profile-page-wrapper .glass-card {
  padding: 1.4rem 1rem;
  transition: 0.25s ease;
}

.profile-page-wrapper .glass-card:hover,
.profile-page-wrapper .swipe-card:hover,
.profile-page-wrapper .achievement-card:hover {
  transform: translateY(-4px);
  border-color: rgba(46, 204, 113, 0.3);
}

.profile-page-wrapper .stat-icon {
  font-size: 1.2rem;
  color: #6ddf75;
}

.profile-page-wrapper .achievement-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: 1.5rem;
  background: rgba(46, 125, 50, 0.12);
  border: 1px solid rgba(46, 125, 50, 0.25);
}

.profile-page-wrapper .achievement-icon {
  width: 55px;
  height: 55px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 125, 50, 0.18);
  font-size: 1.5rem;
}

.profile-page-wrapper .swipe-card {
  overflow: hidden;
  transition: 0.25s ease;
}

.profile-page-wrapper .grow-banner {
  height: 140px;
}

.profile-page-wrapper .achievement-card {
  padding: 2rem;
  text-align: center;
  transition: 0.25s ease;
}

@media (max-width: 991px) {
  .profile-page-wrapper .profile-hero {
    height: auto;
    max-height: 575px;
    padding-top: 120px;
    padding-bottom: 40px;
  }

  .profile-page-wrapper .profile-avatar {
    width: 120px;
    height: 120px;
  }
}

.profile-page-wrapper .nav-link.active {
  position: relative;
  border-bottom: 3px solid white !important;
  color: white !important;
}

.profile-page-wrapper .nav-link {
  border-bottom: 3px solid transparent !important;
  transition: all 0.3s ease;
}

.profile-page-wrapper .achievement-card {
  background: rgba(255, 255, 255, 0.05) !important;
}

.profile-page-wrapper .achievement-card:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}

/* Language-Hint */
html:not(.no-lang-notice) body {
  padding-top: 40px !important;
}

@media (max-width: 1199.98px) {
  html:not(.no-lang-notice) body {
    padding-top: 55px !important;
  }
}

/* User-Settings */
.gm-settings-scope {
  --gm-primary: var(--cb-primary, #2ecc71);
}

.gm-settings-scope .settings-card-wrapper {
  background: rgba(20, 28, 24, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 2px solid var(--gm-primary);
  border-radius: 28px;
  padding: 40px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  margin-bottom: 100px;
}

.gm-settings-scope .settings-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gm-settings-scope .settings-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 140px;
  border-radius: 20px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(46, 204, 113, 0.15);
  color: #cbd5e1;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.gm-settings-scope .settings-tile i {
  font-size: 1.8rem;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.gm-settings-scope .settings-tile span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.gm-settings-scope .tile-profile:hover {
  border-color: #3498db;
  color: #3498db;
  background: rgba(52, 152, 219, 0.1) !important;
}

.gm-settings-scope .tile-password:hover {
  border-color: #e67e22;
  color: #e67e22;
  background: rgba(230, 126, 34, 0.1) !important;
}

.gm-settings-scope .tile-email:hover {
  border-color: #9b59b6;
  color: #9b59b6;
  background: rgba(155, 89, 182, 0.1) !important;
}

.gm-settings-scope .tile-privacy:hover {
  border-color: #2ecc71;
  color: #2ecc71;
  background: rgba(46, 204, 113, 0.1) !important;
}

.gm-settings-scope .settings-tile:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

@media (max-width: 992px) {
  .gm-settings-scope .settings-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .gm-settings-scope .settings-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .gm-settings-scope .settings-card-wrapper {
    padding: 1rem;
  }
}

/* Privacy-Switch */
.privacy-switch-wrapper .form-switch .form-check-input {
  width: 3.2em;
  height: 1.6em;
  cursor: pointer;
  border-radius: 50px;
  border-color: var(--cb-danger);
  transition: all 0.25s ease-in-out;
  box-shadow: none !important;
  background-color: rgba(255, 77, 77, 0.25);
  background-image: none !important;
}

.privacy-switch-wrapper .form-switch .form-check-input::before {
  content: "";
  width: calc(1.6em - 6px);
  height: calc(1.6em - 6px);
  display: block;
  background: #ff4d4d;
  border-radius: 50%;
  position: relative;
  top: 2px;
  left: 2px;
  transition: all 0.25s ease-in-out;
}

.privacy-switch-wrapper .form-switch .form-check-input:checked {
  background-color: rgba(46, 204, 113, 0.25);
  border-color: var(--cb-primary);
}

.privacy-switch-wrapper .form-switch .form-check-input:checked::before {
  background: var(--cb-primary);
  transform: translateX(1.6em);
}

/* Table */
.table-hover-custom tbody tr {
  transition: background-color 0.3s ease;
}

.table-hover-custom tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.05) !important;
}

.table-empty-row {
  border-bottom: none !important;
}

/* Pagination */
.pagination-container {
  padding: 1.5rem;
}

.custom-pagination-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  background: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  font-weight: 600;
  transition: all 0.3s ease;
}

.custom-pagination-btn:has(.bi-chevron-left),
.custom-pagination-btn:has(.bi-chevron-right) {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #000000 !important;
}

.custom-pagination-btn.active {
  background: var(--cb-primary) !important;
  border-color: var(--cb-primary) !important;
  color: #ffffff !important;
}

.custom-pagination-btn:hover {
  background: var(--cb-primary) !important;
  border-color: var(--cb-primary) !important;
  color: #ffffff !important;
  cursor: pointer;
}

.custom-pagination-btn:focus {
  box-shadow: none !important;
  outline: none !important;
}

.page-item.disabled .custom-pagination-btn {
  background: transparent !important;
  border-color: var(--cb-border) !important;
  color: var(--cb-border) !important;
  cursor: not-allowed;
  opacity: 0.5;
}

@media (max-width: 576px) {
  .pagination-container {
    padding: 1rem 0.5rem !important;
  }

  .custom-pagination-btn {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.85rem !important;
  }

  .pagination.gap-2 {
    gap: 0.25rem !important;
  }
}

/* Notifications */
.gm-notification-row {
  display: block;
  transition: all 0.2s ease-in-out;
  border-bottom: 1px solid var(--cb-border);
  text-decoration: none !important;
}

.gm-notification-row:hover {
  background-color: rgba(255, 255, 255, 0.08) !important;
}

/* Privacy-Policy */
.privacy-content a:not(.btn) {
  color: var(--cb-primary-dim) !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

.privacy-content a:not(.btn):hover {
  color: var(--cb-primary) !important;
}

.section-title {
  padding-bottom: 10px;
  border-bottom: 2px solid var(--cb-primary);
  width: auto;
}

/* No-Script */
.noscript-warning {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: var(--cb-bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.noscript-card {
  background: var(--cb-bg-card);
  border: 1px solid var(--cb-danger);
  border-radius: 20px;
  padding: 3rem;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.noscript-card i {
  font-size: 4rem;
  color: var(--cb-danger);
  margin-bottom: 1.5rem;
  display: block;
}

.noscript-card h2 {
  text-transform: uppercase;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1rem;
}

.noscript-card p {
  color: var(--cb-text-muted);
  line-height: 1.6;
}

/* Modals */
#followersModal .btn-close {
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

#followersModal .btn-close:focus {
  box-shadow: none !important;
  outline: none !important;
}

#followersModal .btn-close:hover {
  opacity: 1 !important;
}

#global-confirm-modal .btn-close {
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

#global-confirm-modal .btn-close:focus {
  box-shadow: none !important;
  outline: none !important;
}

#global-confirm-modal .btn-close:hover {
  opacity: 1 !important;
}

#followingModal .btn-close {
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

#followingModal .btn-close:focus {
  box-shadow: none !important;
  outline: none !important;
}

#followingModal .btn-close:hover {
  opacity: 1 !important;
}

#addSeedModal .btn-close {
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

#addSeedModal .btn-close:focus {
  box-shadow: none !important;
  outline: none !important;
}

#addSeedModal .btn-close:hover {
  opacity: 1 !important;
}

#addJournalModal .btn-close {
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

#addJournalModal .btn-close:focus {
  box-shadow: none !important;
  outline: none !important;
}

#addJournalModal .btn-close:hover {
  opacity: 1 !important;
}

#createReportModal .btn-close {
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

#createReportModal .btn-close:focus {
  box-shadow: none !important;
  outline: none !important;
}

#createReportModal .btn-close:hover {
  opacity: 1 !important;
}

#viewEntriesModal .btn-close {
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

#viewEntriesModal .btn-close:focus {
  box-shadow: none !important;
  outline: none !important;
}

#viewEntriesModal .btn-close:hover {
  opacity: 1 !important;
}

#viewChartsModal .btn-close {
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

#viewChartsModal .btn-close:focus {
  box-shadow: none !important;
  outline: none !important;
}

#viewChartsModal .btn-close:hover {
  opacity: 1 !important;
}

#addReportEntryModal .btn-close {
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

#addReportEntryModal .btn-close:focus {
  box-shadow: none !important;
  outline: none !important;
}

#addReportEntryModal .btn-close:hover {
  opacity: 1 !important;
}

#imageViewerModal .btn-close {
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

#imageViewerModal .btn-close:focus {
  box-shadow: none !important;
  outline: none !important;
}

#imageViewerModal .btn-close:hover {
  opacity: 1 !important;
}

#likesModal .btn-close {
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

#likesModal .btn-close:focus {
  box-shadow: none !important;
  outline: none !important;
}

#likesModal .btn-close:hover {
  opacity: 1 !important;
}

#changelogModal .btn-close {
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

#changelogModal .btn-close:focus {
  box-shadow: none !important;
  outline: none !important;
}

#changelogModal .btn-close:hover {
  opacity: 1 !important;
}

#errorDetailModal .btn-close {
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

#errorDetailModal .btn-close:focus {
  box-shadow: none !important;
  outline: none !important;
}

#errorDetailModal .btn-close:hover {
  opacity: 1 !important;
}

#messageDetailModal .btn-close {
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

#messageDetailModal .btn-close:focus {
  box-shadow: none !important;
  outline: none !important;
}

#messageDetailModal .btn-close:hover {
  opacity: 1 !important;
}

#createPhaseModal .btn-close {
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

#createPhaseModal .btn-close:focus {
  box-shadow: none !important;
  outline: none !important;
}

#createPhaseModal .btn-close:hover {
  opacity: 1 !important;
}

#createFertilizerModal .btn-close {
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

#createFertilizerModal .btn-close:focus {
  box-shadow: none !important;
  outline: none !important;
}

#createFertilizerModal .btn-close:hover {
  opacity: 1 !important;
}

#configFertilizerModal .btn-close {
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

#configFertilizerModal .btn-close:focus {
  box-shadow: none !important;
  outline: none !important;
}

#configFertilizerModal .btn-close:hover {
  opacity: 1 !important;
}

#manageFertilizerModal .btn-close {
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

#manageFertilizerModal .btn-close:focus {
  box-shadow: none !important;
  outline: none !important;
}

#manageFertilizerModal .btn-close:hover {
  opacity: 1 !important;
}

#global-confirm-modal .btn-close {
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

#global-confirm-modal .btn-close:focus {
  box-shadow: none !important;
  outline: none !important;
}

#global-confirm-modal .btn-close:hover {
  opacity: 1 !important;
}

/* Form-Select */
select.form-select {
  background-color: var(--cb-bg-dark) !important;
  border: 1px solid var(--cb-border) !important;
  color: #fff !important;
  border-radius: 8px !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 16px 12px !important;
  padding-right: 2.5rem !important;
  appearance: none;
}

select.form-select:hover {
  border-color: var(--cb-primary) !important;
  cursor: pointer;
}

select.form-select:focus {
  border-color: var(--cb-primary) !important;
  box-shadow: 0 0 0 0.2rem rgba(var(--cb-primary-rgb), 0.25) !important;
  outline: none !important;
}

select.form-select option {
  background-color: var(--cb-bg-card);
  color: #fff;
  padding: 10px;
}

select.form-select:invalid {
  color: #888 !important;
}

.ts-wrapper.form-control:not(.disabled) .ts-control,
.ts-wrapper.form-control:not(.disabled).single.input-active .ts-control,
.ts-wrapper.form-select:not(.disabled) .ts-control,
.ts-wrapper.form-select:not(.disabled).single.input-active .ts-control {
  background-color: var(--cb-bg-dark) !important;
  /*border: 1px solid var(--cb-border) !important;*/
  color: #ffffff !important;
  transition: all 0.2s ease-in-out !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 16px !important;
}

.ts-wrapper.form-control:not(.disabled).focus .ts-control,
.ts-wrapper.form-select:not(.disabled).focus .ts-control {
  border-color: var(--cb-primary) !important;
  box-shadow: 0 0 0 0.2rem rgba(var(--cb-primary-rgb), 0.25) !important;
}

.ts-wrapper .ts-control input::placeholder {
  color: #ffffff !important;
}

.ts-dropdown {
  background-color: var(--cb-bg-dark) !important;
  border: 1px solid var(--cb-border) !important;
  border-radius: 8px !important;
  margin-top: 5px !important;
  color: #fff !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3) !important;
  max-height: 300px !important;
  overflow-y: auto !important;
}

.ts-dropdown .option {
  padding: 8px 12px !important;
  transition:
    background-color 0.2s ease,
    color 0.2s ease !important;
  color: #fff !important;
}

.ts-dropdown .option:hover,
.ts-dropdown .option.active {
  background-color: var(--cb-primary) !important;
  color: #fff !important;
  cursor: pointer;
}

.ts-dropdown .highlight {
  background-color: rgba(var(--cb-primary-rgb), 0.6) !important;
  color: #fff !important;
  border-radius: 2px;
}

.ts-dropdown .dropdown-input {
  background-color: transparent !important;
  color: #fff !important;
  border: 1px solid var(--cb-border) !important;
  border-radius: 4px !important;
  margin: 5px !important;
  transition: border-color 0.2s ease !important;
}

.plugin-dropdown_input.focus .ts-dropdown .dropdown-input {
  border-color: var(--cb-primary) !important;
  outline: none !important;
  box-shadow: none !important;
}

.ts-dropdown .ts-dropdown-content::-webkit-scrollbar {
  width: 6px;
}
.ts-dropdown .ts-dropdown-content::-webkit-scrollbar-thumb {
  background-color: var(--cb-border);
  border-radius: 10px;
}
.ts-dropdown .ts-dropdown-content::-webkit-scrollbar-thumb:hover {
  background-color: var(--cb-primary);
}

.ts-hidden-accessible {
  display: none !important;
}

.form-select {
  background-color: #0d110e !important;
  border: 1px solid var(--cb-border) !important;
}

.ts-wrapper.single .ts-control,
.ts-wrapper.single .ts-control input {
  cursor: pointer !important;
}

.ts-control {
  cursor: pointer !important;
}

.ts-wrapper.form-select.focus .ts-control,
.ts-wrapper.form-select.input-active .ts-control,
.ts-control:focus {
  box-shadow: none !important;
  outline: none !important;
}

/* Button */
button.btn:active,
button.btn:focus,
button.btn:hover {
  box-shadow: none !important;
  transform: none !important;
  outline: none !important;
  border-color: transparent !important;
}

button.btn {
  transition: none !important;
}

.btn:not(.btn-gradient):disabled,
.btn:not(.btn-gradient).disabled,
fieldset:disabled .btn:not(.btn-gradient) {
  opacity: 1 !important;
  border-color: transparent !important;
  color: inherit !important;
}

/* Follower (added effect) */
@keyframes pulse-icon {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.btn-followed-success {
  background-color: #198754 !important;
  border-color: #198754 !important;
  color: #ffffff !important;
  pointer-events: none;
  opacity: 1 !important;
  cursor: default !important;
}

.btn-followed-success i {
  color: #ffffff !important;
  animation: pulse-icon 1.5s infinite ease-in-out;
  display: inline-block;
  padding: 0 4px;
}

/* Exhaust-Air-Calculator */
.exhaust-calculator .vent-btn {
  display: block;
  width: 100%;
  padding: 10px 8px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: 10px;
  border: 1px solid var(--cb-primary);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}

.exhaust-calculator .btn-check:not(:checked) + .vent-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: var(--cb-primary);
  transition: all 0.2s ease;
}

.exhaust-calculator .btn-check:checked + .vent-btn {
  background: var(--cb-primary);
  border-color: var(--cb-primary);
  color: #fff;
  font-weight: 700;
  transform: translateY(-1px);
  transition: all 0.2s ease;
}

.exhaust-calculator .vent-btn:active {
  transform: scale(0.98);
}

.exhaust-calculator .btn-check:focus + .vent-btn {
  outline: none;
}

.exhaust-calculator .btn-group.w-100 {
  gap: 8px;
}

.exhaust-calculator .btn-group.w-100 .vent-btn {
  flex: 1;
}

.exhaust-calculator input[type="range"].form-range {
  -webkit-appearance: none;
  width: 100%;
  background: transparent !important;
  cursor: pointer;
  height: 38px;
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

.exhaust-calculator
  input[type="range"].form-range::-webkit-slider-runnable-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  border: none !important;
  transition: background 0.2s ease;
}

.exhaust-calculator input[type="range"].form-range::-moz-range-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  border: none !important;
  transition: background 0.2s ease;
}

.exhaust-calculator input[type="range"].form-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -5px;
  background: var(--cb-primary) !important;
  border-radius: 50%;
  border: none !important;
  box-shadow: none !important;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.exhaust-calculator input[type="range"].form-range::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: var(--cb-primary) !important;
  border-radius: 50%;
  border: none !important;
  box-shadow: none !important;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.exhaust-calculator input[type="range"].form-range:active::-webkit-slider-thumb,
.exhaust-calculator input[type="range"].form-range:active::-moz-range-thumb {
  transform: scale(1.2);
}

.exhaust-calculator input[type="range"].form-range:focus,
.exhaust-calculator input[type="range"].form-range:active {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

.exhaust-calculator input[type="range"].form-range:focus::-webkit-slider-thumb,
.exhaust-calculator input[type="range"].form-range:active::-webkit-slider-thumb,
.exhaust-calculator input[type="range"].form-range:focus::-moz-range-thumb,
.exhaust-calculator input[type="range"].form-range:active::-moz-range-thumb {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

.exhaust-calculator input[type="range"],
.exhaust-calculator .form-control {
  height: 38px;
}

/* Harvest-Countdown-Calculator */
#harv-flush,
#harv-date {
  min-height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spinner-border-sm {
  width: 1rem;
  height: 1rem;
  border-width: 0.15em;
}

/* Tooltip */
.tooltip {
  --bs-tooltip-bg: var(--cb-primary);
  --bs-tooltip-color: #ffffff;
}

.tooltip-inner {
  background-color: var(--cb-primary) !important;
  color: #ffffff !important;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 500;
}

.bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow::before,
.bs-tooltip-top .tooltip-arrow::before {
  border-top-color: var(--cb-primary) !important;
}

.bs-tooltip-auto[data-popper-placement^="bottom"] .tooltip-arrow::before,
.bs-tooltip-bottom .tooltip-arrow::before {
  border-bottom-color: var(--cb-primary) !important;
}

.bs-tooltip-auto[data-popper-placement^="start"] .tooltip-arrow::before,
.bs-tooltip-start .tooltip-arrow::before {
  border-right-color: var(--cb-primary) !important;
}

.bs-tooltip-auto[data-popper-placement^="end"] .tooltip-arrow::before,
.bs-tooltip-end .tooltip-arrow::before {
  border-left-color: var(--cb-primary) !important;
}

/* Fix for vertical centering in button groups with multi-line text */
.btn-group .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Grow-Log (Charts) */
.chart-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1200 / 580;
}

.chart-placeholder,
#phStatsImage,
#ecStatsImage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.5s ease;
}

.chart-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cb-primary);
  font-size: 1.5rem;
  z-index: 2;
  pointer-events: none;
}

#phStatsImage,
#ecStatsImage {
  opacity: 0;
  z-index: 1;
  object-fit: contain;
}

/* Modal-Overlay */
#addReportEntryModal .modal-content {
  position: relative;
}

#addReportEntryModal .form-loader-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 28, 24, 0.85);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  border-radius: 16px;
  color: var(--cb-primary);
}

.modal-static .modal-dialog {
  transform: none !important;
  animation: none !important;
}

.modal.fade.modal-static .modal-dialog {
  transform: none !important;
}

/* My-Reports */
.breeder-item {
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  opacity: 0;
  transform: translateY(-5px);
}
.breeder-item.show {
  opacity: 1;
  transform: translateY(0);
}
.breeder-item.fade-out {
  opacity: 0;
  transform: translateY(-5px);
}

/* View-Report */
.grow-content-card,
.info-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.grow-content-card {
  transition: 0.3s ease;
  border: 1px solid var(--cb-border);
}

.grow-content-card:hover {
  border-color: rgba(46, 204, 113, 0.3);
}

.img-fluid {
  transition: 0.2s ease;
}

.img-fluid:hover {
  transform: scale(1.03);
}

.thumb-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  background: #111;
}

.thumb-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Responsive-Table optimized */
.dynamic-table-width {
  width: 100%;
  table-layout: auto;
  min-width: 0;
}

@media (min-width: 1201px) {
  .dynamic-table-width td,
  .dynamic-table-width th {
    white-space: nowrap;
  }
}

/* Responsive-Stacking for tables */
@media (max-width: 1200px) {
  .card:has(.dynamic-table-width) {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  .card:has(.dynamic-table-width) .card-body {
    padding: 0 !important;
  }

  .dynamic-table-width,
  .dynamic-table-width tbody,
  .dynamic-table-width thead,
  .dynamic-table-width tr,
  .dynamic-table-width td {
    background: transparent !important;
    background-color: transparent !important;
  }

  .dynamic-table-width thead {
    display: none !important;
  }

  .dynamic-table-width,
  .dynamic-table-width tbody,
  .dynamic-table-width tr,
  .dynamic-table-width td {
    display: block !important;
    width: 100% !important;
  }

  .dynamic-table-width {
    border-collapse: separate !important;
    border-spacing: 0 !important;
  }

  .dynamic-table-width tbody tr {
    margin-bottom: 16px !important;
    border: 1px solid var(--cb-border) !important;
    border-top: 4px solid var(--accent-color, var(--cb-primary)) !important;
    border-radius: 16px !important;
    padding: 14px !important;
    background-color: rgba(255, 255, 255, 0.04) !important;
    transition: background 0.2s ease;
    position: relative !important;
    overflow: hidden !important;
  }

  .dynamic-table-width tr:hover {
    background-color: rgba(255, 255, 255, 0.06) !important;
  }

  .dynamic-table-width td {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    padding: 10px 0 !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    gap: 4px;
  }

  .dynamic-table-width td::before {
    content: attr(data-label);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cb-text-muted);
    opacity: 0.85;
  }

  .dynamic-table-width td > * {
    font-size: 0.9rem;
    line-height: 1.35;
    color: var(--cb-text);
  }

  .dynamic-table-width td:last-child {
    border-bottom: none !important;
  }

  .dynamic-table-width td[colspan] {
    display: block !important;
    text-align: center !important;
    width: 100% !important;
    padding: 20px !important;
  }

  .dynamic-table-width td.action-cell {
    align-items: center !important;
    text-align: center !important;
    margin-top: 10px !important;
  }

  .dynamic-table-width td.action-cell > * {
    display: flex !important;
    justify-content: center !important;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 0.75rem !important;
    line-height: 1 !important;
    padding: 6px 10px !important;
    border-radius: 8px !important;
    align-items: center !important;
  }

  .dynamic-table-width td .fert-input {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .dynamic-table-width td .text-white-50 {
    color: var(--cb-text) !important;
  }
}

/* Hint-System */
.alert-wrapper {
  opacity: 1;
  transform: translateY(0);
  max-height: 500px;
  overflow: hidden;
  margin-bottom: 1rem;
  font-size: 0.875em;
  transition:
    max-height 0.35s ease,
    opacity 0.25s ease,
    transform 0.35s ease,
    margin 0.35s ease;
}

.alert-wrapper.is-hiding {
  opacity: 0;
  transform: translateY(-12px);
  max-height: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.alert-wrapper .alert {
  position: relative;
  display: flex !important;
  align-items: flex-start;
  padding-right: 2.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.alert-wrapper .btn-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  margin: 0 !important;
}

.alert-wrapper .alert > i {
  flex-shrink: 0;
  margin-right: 1rem;
  margin-top: 0.1rem;
}

.alert-wrapper .alert > div:not(.btn-close) {
  flex-grow: 1;
  line-height: 1.5;
  min-width: 0;
}

/* Changelog-Modal */
#changelogModalBody {
  position: relative;
}

#changelogLoadingSpinner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--cb-bg-card);
  z-index: 10;
}

/* Modal (global) */
.modal-dialog-scrollable .modal-content {
  max-height: 90vh !important;
  display: flex;
  flex-direction: column;
}

.modal-body {
  flex: 1 1 auto;
  overflow-y: auto;
  min-height: 0;
}

/* Comments */
button.reply-btn.btn-link {
  color: #2ecc71 !important;
  text-decoration: none !important;
  transition: color 0.25s ease-in-out !important;
  cursor: pointer;
  background: transparent !important;
  border: none !important;
}

button.reply-btn.btn-link:hover {
  color: #fff !important;
  text-decoration: none !important;
}

.reply-input-wrapper {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: all 0.15s ease-out;
}

.reply-input-wrapper.show {
  max-height: 500px;
  opacity: 1;
}

@keyframes smooth-blink {
  50% {
    background-color: rgba(255, 193, 7, 0.2);
  }
}

.comment-highlight-inner {
  border-radius: 8px;
  animation: smooth-blink 1.5s ease-in-out 2;
}

/* Scrollbar design for the list of answers */
.comment-replies::-webkit-scrollbar {
  width: 6px;
}
.comment-replies::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}
.comment-replies::-webkit-scrollbar-thumb {
  background-color: var(--cb-primary);
  border-radius: 5px;
}

/* My-Reports - Create-Report */
@media (min-width: 992px) {
  #createReportModal .modal-body::-webkit-scrollbar,
  #addReportEntryModal .modal-body::-webkit-scrollbar,
  #createFertilizerModal .modal-body::-webkit-scrollbar,
  #addSeedModal .modal-body::-webkit-scrollbar,
  #manageFertilizerModal .modal-body::-webkit-scrollbar,
  #configFertilizerModal .modal-body::-webkit-scrollbar {
    width: 4px;
  }

  #createReportModal .modal-body::-webkit-scrollbar-track,
  #addReportEntryModal .modal-body::-webkit-scrollbar-track,
  #createFertilizerModal .modal-body::-webkit-scrollbar-track,
  #addSeedModal .modal-body::-webkit-scrollbar-track,
  #manageFertilizerModal .modal-body::-webkit-scrollbar-track,
  #configFertilizerModal .modal-body::-webkit-scrollbar-track {
    background: transparent;
  }

  #createReportModal .modal-body::-webkit-scrollbar-thumb,
  #addReportEntryModal .modal-body::-webkit-scrollbar-thumb,
  #createFertilizerModal .modal-body::-webkit-scrollbar-thumb,
  #addSeedModal .modal-body::-webkit-scrollbar-thumb,
  #manageFertilizerModal .modal-body::-webkit-scrollbar-thumb,
  #configFertilizerModal .modal-body::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--cb-primary) 60%, transparent);
    border-radius: 4px;
  }

  #createReportModal .modal-body::-webkit-scrollbar-thumb:hover,
  #addReportEntryModal .modal-body::-webkit-scrollbar-thumb:hover,
  #createFertilizerModal .modal-body::-webkit-scrollbar-thumb:hover,
  #addSeedModal .modal-body::-webkit-scrollbar-thumb:hover,
  #manageFertilizerModal .modal-body::-webkit-scrollbar-thumb:hover,
  #configFertilizerModal .modal-body::-webkit-scrollbar-thumb:hover {
    background: color-mix(in srgb, var(--cb-primary) 80%, transparent);
  }
}

/* Custom-Link */
.custom-link {
  color: #2ecc71 !important;
  text-decoration: none !important;
  transition: color 0.25s ease-in-out !important;
  cursor: pointer;
  background: transparent !important;
  border: none !important;
}

.custom-link:hover {
  color: #38e07e !important;
  text-decoration: none !important;
}

/* Advertisment-Container */
.ad-container-header {
  width: 100%;
  box-sizing: border-box;
  border: 2px solid #ffc107;
  border-radius: 16px;
  position: relative;
}

.ad-container-header a {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  line-height: 0;
}

/* Advertisment-Label */
.ad-label {
  position: absolute;
  top: -10px;
  left: 15px;
  background: #ffc107;
  color: #000000;
  font-size: 9px;
  padding: 1px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  pointer-events: none;
  z-index: 10;
}

/* Footerlinks (Parnter) */
.tool-card--static:hover {
  transform: none !important;
  box-shadow: none !important;
  background: var(--cb-bg-card) !important;
  border-color: var(--cb-border) !important;
}

.tool-card--static a {
  color: var(--cb-text-muted);
  text-decoration: none;
  transition: color 0.25s ease-in-out;
}

.tool-card--static a:hover {
  color: #fff;
}

/* Card-Banner Fix (Profil) */
@media (max-width: 767px) {
  .ad-card-mobile-fix {
    min-height: 430px !important;
  }
}

/* Fertilizer-Calculator */
.fertilizer-row.row-disabled {
  background-color: rgba(220, 53, 69, 0.4) !important;
}

.fertilizer-row.row-disabled:hover {
  background-color: rgba(220, 53, 69, 0.4) !important;
}

.fertilizer-row.row-disabled td:not(.action-cell) {
  filter: blur(2px);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.fertilizer-row.row-disabled td.action-cell {
  filter: none !important;
  opacity: 1 !important;
}

.manage-row {
  transition: all 0.2s ease-in-out;
}
.manage-row:hover {
  background: #272e2a !important;
}

/* Admin-Settings */
.admin-settings-scope .stat-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.admin-settings-scope .stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.06);
}

.admin-settings-scope .stat-card i {
  font-size: 2rem;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.admin-settings-scope .stat-card:hover i {
  opacity: 1;
}

.admin-settings-scope .stat-info {
  display: flex;
  flex-direction: column;
}

.admin-settings-scope .stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.admin-settings-scope .stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
}
