/* Extracted from main.html (global) */
/* Prevent horizontal page scroll */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

/* ==========================================================================
   THEME CSS VARIABLES (LIGHT / DARK)
   ========================================================================== */
:root,
[data-theme="light"] {
  /* Backgrounds */
  --bg-main: #ffffff;
  --bg-body: #f7f9fb;
  --bg-card: #ffffff;
  --bg-secondary: #f1f1f1;
  --bg-secondary-hover: #f0f0f0;
  --bg-input: #ffffff;
  --bg-footer: #182137;
  --bg-table-header: #F3F3F6;
  --bg-mobile-menu: #ffffff;
  --header-bg: rgba(255, 255, 255, 0.85);
  --logo-img: url('/images/logos/logo2_prem.svg');
  --logo-img-free: url('/images/logos/logo2.svg');

  /* Text */
  --text-main: #080B16;
  --text-body: #212529;
  --text-heading: #273036;
  --text-subtle: #4e5567;
  --text-muted: #7e879d;

  /* Borders */
  --border-color: #C9CED5;
  --border-light: #c8cdd4;
  --border-strong: #cfcfcf;
  --border-translucent: rgba(39, 48, 54, 0.1);
  --border-plan: rgba(146, 174, 187, 0.53);

  /* Accent colors */
  --primary: #e8792e;
  --primary-hover: #d16a24;
  --primary-light: rgba(232, 121, 46, 0.1);
  --primary-light-hover: rgba(232, 121, 46, 0.15);
  --primary-orange: #e8792e;
  --primary-orange-hover: #d16a24;
  --primary-orange-border: #dd6801;
  --accent-red: #e32c3c;
  --accent-green: #00D084;

  /* Buttons */
  --btn-default-bg: #ffffff;
  --btn-default-color: #273036;
  --btn-white-bg: rgba(255, 255, 255, 0.51);
  --btn-white-border: #2a2a2a;

  /* Gradients / misc */
  --plan-gradient-start: rgba(255, 255, 255, 0);
  --plan-gradient-end: rgba(239, 239, 239, 0.61);
  --plan-price: #54707b;
  --plan-sale-price: #0E1D31;

  /* Shadows */
  --shadow-sm: 0px 1px 2px 0px rgba(24, 33, 55, 0.04);
  --shadow-md: 0px 12px 40px 0px rgba(7, 39, 120, 0.11);
  --shadow-lg: 0px 4px 24px 0px rgba(210, 105, 35, 0.23);

  /* Scrollbar */
  --scrollbar-thumb: #4e5567;
  --scrollbar-track: #101625;
}

[data-theme="dark"] {
  /* Backgrounds */
  --bg-main: #0d1117;
  --bg-body: #0d1117;
  --bg-card: #161b22;
  --bg-secondary: #21262d;
  --bg-secondary-hover: #1a1e24;
  --bg-input: #0d1117;
  --bg-footer: #121826;
  --bg-table-header: #1f293d;
  --bg-mobile-menu: #161b22;
  --header-bg: rgb(24 33 55 / 0%);
  --logo-img: url('/images/logos/logo2_b_prem.svg');
  --logo-img-free: url('/images/logos/logo2_b.svg');

  /* Text */
  --text-main: #f0f6fc;
  --text-body: #c9d1d9;
  --text-heading: #c9d1d9;
  --text-subtle: #a3b3cc;
  --text-muted: #8b949e;

  /* Borders */
  --border-color: #30363d;
  --border-light: #30363d;
  --border-strong: #30363d;
  --border-translucent: rgba(240, 246, 252, 0.1);
  --border-plan: rgba(88, 166, 255, 0.2);

  /* Accent colors */
  --primary: #e8792e;
  --primary-hover: #f08a44;
  --primary-light: rgba(232, 121, 46, 0.2);
  --primary-light-hover: rgba(232, 121, 46, 0.3);
  --primary-orange: #e8792e;
  --primary-orange-hover: #f08a44;
  --primary-orange-border: #e66c00;
  --accent-red: #ff4d5e;
  --accent-green: #00D084;

  /* Buttons */
  --btn-default-bg: #21262d;
  --btn-default-color: #c9d1d9;
  --btn-white-bg: rgba(255, 255, 255, 0.08);
  --btn-white-border: #8b949e;

  /* Gradients / misc */
  --plan-gradient-start: rgba(22, 27, 34, 0.4);
  --plan-gradient-end: rgba(33, 38, 45, 0.8);
  --plan-price: #8b949e;
  --plan-sale-price: #58a6ff;

  /* Shadows */
  --shadow-sm: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
  --shadow-md: 0px 12px 40px 0px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0px 4px 24px 0px rgba(210, 105, 35, 0.35);

  /* Scrollbar */
  --scrollbar-thumb: #30363d;
  --scrollbar-track: #0d1117;
}


body {
  color: var(--text-main);
  background-color: var(--bg-body);
  font-family: 'Montserrat', sans-serif;
  position: relative;
  min-height: 100vh;
}


/* Logo */
.logo-img, .logo-img-free {
  display: inline-block;
  width: 245px;
  height: 39px;
  background-image: var(--logo-img);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center left;
}

.container {max-width: 1920px;}

@media all and (max-width: 1600px) {
  .container {
    padding: 0 20px;
  }
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#content {min-height: calc(100vh - 450px);}

#content > .container,
.page {
  position: relative;
  display: block;
}

.page {z-index: 100;}

.page .the_box {
  padding: 15px;
  background: var(--bg-card);
  position: relative;
  z-index: 1000;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  color: var(--text-main);
}

/* Form elements and buttons */
.form-control {
  border-radius: 6px;
  height: auto;
  font-weight: 400;
  background-color: var(--bg-input);
  color: var(--text-main);
  border-color: var(--border-color);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.1rem rgba(232, 121, 46, 0.28);
}

.form-control:focus::placeholder {opacity: 0;}

/* Custom Scrollbar */
.custom-scrollbar {
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
  scrollbar-width: thin;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 4px;
  background-color: var(--scrollbar-track);
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background-color: var(--scrollbar-thumb);
}

textarea {resize: none;}

.mw-0 {min-width: 0;}
.fw-500 {font-weight: 500;}
.fw-600 {font-weight: 600;}
.form-select-sm {background-position: right 0.75rem center;}
.nav-link:focus-visible {box-shadow: none !important;}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.submit-btn {
  padding-left: 2rem;
  padding-right: 2rem;
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
  font-size: 1.125rem;
  height: 52px;
}
.big-btn {
  padding-left: 2rem;
  padding-right: 2rem;
  border-radius: 6px;
  font-size: 1.125rem;
  height: 52px;
}
.icon-btn {
  width: 2rem;
  height: 2rem;
  border: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-outline-light {
  color: var(--text-muted);
  border-color: var(--border-color);
}

.btn-outline-light:hover,
.btn-outline-light:focus,
.btn-outline-light:active,
.btn-outline-light.active {
  color: var(--text-subtle);
  border-color: var(--border-light);
}

.table-fixed {table-layout: fixed;}
.break-all {word-break: break-all;}
.text-content blockquote,
.text-content p,
.text-content ul,
.text-content h1,
.text-content h2,
.text-content h3,
.text-content h4,
.text-content h5,
.text-content h6,
.text-content table {
  margin-bottom: 1.5rem;
}
.text-content .text-list {padding-left: 0;}
.text-list {
  list-style: none;
  padding-left: 0;
}

.text-list li {
  padding-left: 2rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none'%3E%3Cpath fill='%231E9754' d='M9 0C4 0 0 4 0 9s4 9 9 9 9-4 9-9-4-9-9-9ZM7.6 13.2 3.5 9l1.6-1.6L7.6 10 13 4.6l1.6 1.6-7 7Z'/%3E%3C/svg%3E") no-repeat 0 50%;
  margin-bottom: 0.5rem;
}

.text-list li:last-child {margin-bottom: 0;}
.accordion-item {
  position: relative;
  border-radius: 0 !important;
  border-left: 0;
  border-top: 0;
  border-right: 0;
  border-color: var(--border-color) !important;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  background-color: transparent;
}

.accordion-item button {
  border: none !important;
  box-shadow: none !important;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-main);
  background: transparent;
}

.accordion-item button::after {background-position: center;}
.paging {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.paging-centered .paging {
  justify-content: center;
}

.paging-centered .paging small {
  display: block;
  width: 100%;
  text-align: center;
  padding-top: 1rem;
}

.paging a,
.paging span {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding-left: 0.85rem;
  padding-right: 0.85rem;
  background-color: var(--primary-light);
  border-radius: 6px;
  font-size: 14px;
  margin: 0.25rem;
  font-weight: 500;
  color: var(--primary);
}

.paging a:hover {background-color: var(--primary-light-hover);}

.paging span {
  background-color: var(--primary);
  font-weight: 500;
  color: #fff;
}

.paging small {
  color: var(--text-muted);
  margin-left: auto;
  font-size: 0.8em;
}

.block {
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
  border-radius: 6px;
  text-align: left;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

@media (max-width: 575px) {
  .block {margin-bottom: 1rem;}
}

.block-tabs {
  box-shadow: inset 0 -1px 0 var(--border-color);
  white-space: nowrap;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.block-tabs .nav-link {
  font-weight: 600;
  font-size: 0.875rem;
  border-bottom: 3px solid transparent;
  color: var(--text-subtle);
  padding: 13px 2rem;
}

@media (max-width: 1200px) {
  .block-tabs .nav-link {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.block-tabs .nav-link:hover {color: var(--primary);}

.block-tabs .nav-link.active {
  border-color: var(--primary);
  color: var(--primary);
}

.alert .btn-close {
  top: 50%;
  transform: translate(0, -50%);
}

.codes-input {position: relative;}

.codes-input .form-control {
  padding-right: 3rem;
  padding-left: 1.5rem;
}

.codes-input .icon-btn {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  padding: 0;
  margin-top: -16px;
}

.codes-textarea {position: relative;}

.codes-textarea .form-control {
  border-radius: 0 0 8px 8px;
  border: 0 !important;
  background-color: var(--bg-secondary);
  color: var(--text-main);
}

.codes-textarea .btn {
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
}

.tab-buttons {
  display: inline-flex;
  padding: 0.25rem;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  white-space: nowrap;
  flex-wrap: nowrap;
  background-color: var(--bg-card);
}

.tab-buttons .nav-link {
  color: var(--text-muted);
  border-radius: 6px;
  font-size: 0.875rem;
  padding-top: 0.425rem;
  padding-bottom: 0.425rem;
  font-weight: 600;
}

@media (max-width: 575px) {
  .tab-buttons .nav-link {
    width: 100%;
  }
}

.tab-buttons .nav-link.active {
  background-color: var(--primary);
  color: #fff;
}

.dropdown-menu {
  box-shadow: var(--shadow-md);
  background-color: var(--bg-card);
  border-color: var(--border-color);
  color: var(--text-main);
  background-clip: padding-box;
  font-size: 14px;
}

.dropdown-menu .dropdown-item {
  font-weight: 500;
  color: var(--text-main);
}

.dropdown-menu .dropdown-item:hover {
  background-color: var(--bg-secondary);
}

.table thead th {
  background-color: var(--bg-table-header);
  color: var(--text-muted);
  vertical-align: middle;
}

.table thead th a {color: inherit;}
.search {position: relative;}
@media (min-width: 768px) {
  .search {width: 380px;}
}

.search-field {
  padding-left: 2.5rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='17' viewBox='0 0 16 17' fill='none'%3E%3Cpath d='M12.6 12L16 15.4L14.9 16.5L11.5 13.1C10.2 14.1 8.7 14.7 7.1 14.7C3.2 14.7 0 11.5 0 7.6C0 3.7 3.2 0.5 7.1 0.5C11 0.5 14.2 3.7 14.2 7.6C14.2 9.2 13.6 10.8 12.6 12ZM11 11.4C12 10.4 12.6 9 12.6 7.6C12.6 4.6 10.1 2.1 7.1 2.1C4 2.1 1.6 4.5 1.6 7.6C1.6 10.6 4.1 13.1 7.1 13.1C8.5 13.1 9.9 12.5 10.9 11.5L11 11.4Z' fill='%237E879D'/%3E%3C/svg%3E") no-repeat 0.75rem 50%;
  border-radius: 8px;
  height: 38px;
  background-color: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.search-submit {
  position: absolute;
  right: 0.25rem;
  top: 50%;
  padding: 0 0.75rem;
  height: 30px;
  margin-top: -15px;
}

.search-field ~ .search-submit {padding-right: 80px;}
.tabs {
  padding: 0.5rem 0.5rem 0;
  background-color: var(--bg-secondary);
  border-radius: 8px 8px 0 0;
  margin-bottom: 0.5rem;
  box-shadow: inset 0 -1px 0 var(--border-color);
  white-space: nowrap;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tabs .nav-link {
  border-radius: 5px 5px 0px 0px;
  border: 1px solid transparent;
  border-bottom-color: var(--border-color);
  background: var(--primary-light);
  color: var(--text-main);
  margin-right: 0.25rem;
  font-weight: 600;
}

.tabs .nav-link.active {
  background-color: var(--bg-card);
  color: var(--text-subtle);
  border-color: var(--border-color);
  border-bottom-color: var(--bg-card);
}

.bottom-space {height: 72px;}

.control-buttons {
  position: fixed;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-md);
  background-color: var(--bg-card);
}

@media (min-width: 1200px) {
  .control-buttons {
    left: 300px;
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

.control-buttons .btn-more {
  padding: 0;
  width: 36px;
  height: 36px;
}

.divider-text {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  position: relative;
}

.divider-text span {
  margin-bottom: 0;
  padding: 0 0.5rem;
  line-height: 1;
  font-size: 14px;
  background-color: var(--bg-card);
  color: var(--text-muted);
  position: absolute;
  left: 50%;
  top: -9px;
  transform: translate(-50%, 0);
}

.table thead a img {
  opacity: 0.25;
  width: 12px;
  vertical-align: middle;
}

.table-rounded {
  border-radius: 6px;
  border: 1px solid var(--border-color);
  border-spacing: 0;
  border-collapse: separate;
  overflow: hidden;
}

.table-rounded th + th,
.table-rounded td + td {
  border-left: 1px solid var(--border-color) !important;
}

.table-rounded > *:last-child > tr:last-child th,
.table-rounded > *:last-child > tr:last-child td {
  border-bottom: 0 !important;
}

.btn-glass-secondary {
  background: var(--hero-card-bg);
  border: 1px solid var(--hero-card-border);
  color: var(--hero-text-main) !important;
  font-weight: 600;
  padding: 18px 28px;
  border-radius: 15px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 15px rgb(0 93 255 / 12%);
}

.btn-glass-secondary {
  background: var(--hero-card-bg, #131822);
  border: 1px solid rgb(63 67 76);
}

[data-theme="light"] .btn-glass-secondary,
.light-theme .btn-glass-secondary {
  background: var(--hero-card-bg, #ffffff);
  border: 1px solid var(--hero-card-border, rgba(0, 0, 0, 0.08));
}

.btn-glass-secondary:hover {
  border-color: #e8792e;
  box-shadow: 0 8px 28px rgb(0 93 255 / 12%), 0 0 12px 4px rgba(232, 121, 46, 0.15);
}

.btn-glass-secondary:active {
  box-shadow: 0 2px 8px rgb(0 93 255 / 10%), 0 0 0 3px rgba(232, 121, 46, 0.22);
}

[data-theme="light"] .btn-glass-secondary:hover,
.light-theme .btn-glass-secondary:hover {
  border-color: #d16a24;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07), 0 0 12px 4px rgba(209, 106, 36, 0.12);
}

html {height: 100%;}

@media (max-width: 991px) {
  html {font-size: 14px;}
}

.small {font-size: 0.875em !important;}
.xsmall {font-size: 0.75em !important;}
.large {font-size: 1.125em !important;}
.xlarge {font-size: 1.25em !important;}
main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.header {
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(8px);
}

.header .nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-main);
}
.header-row {height: 74px;}
.header .dropdown-menu {min-width: 210px;}
.header-lang .dropdown-menu {min-width: 150px;}
.header-lang .dropdown-item {
  font-size: 0.8125rem;
  padding: 0.5rem 1rem;
}

.header-lang .dropdown-item img {
  width: 18px;
  height: 18px;
  margin-right: 6px;
}

@media (max-width: 575px) {
  .header .logo img {
    height: 34px;
  }
}

.footer {
  background: var(--bg-footer);
  color: #7e879d;
  font-size: 0.875rem;
}
.footer-main {padding: 3rem 0;}
@media (max-width: 575px) {
  .footer-main {padding: 2rem 0;}
}

.footer .nav-link {
  padding-left: 0;
  padding-right: 0;
  color: inherit;
}

.footer .nav-link:hover {color: #f8f9fa;}

.footer-bottom {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid rgba(248, 249, 250, 0.1);
}

.login-btn,
.reg-btn {
  font-size: 15px;
  height: 40px;
}

.login-btn {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: transparent !important;
}

.login-btn:hover,
.login-btn:focus,
.login-btn:active {
  background-color: rgba(255, 255, 255, 0.25);
  border-color: transparent !important;
}

.section {
  margin-bottom: 4rem;
}

.page {margin-bottom: 3em;}

.notfound {
  padding: 1rem;
  text-align: center;
  margin: auto;
  width: 700px;
  max-width: 100%;
}
body.admin {padding-top: 34px;}
.admin-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  background-color: #182137;
  z-index: 1000;
  white-space: nowrap;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-menu .nav-link {
  font-size: 12px;
  padding: 8px 0.5rem;
  font-weight: 500;
  color: #C9CED5;
}

.admin-menu .nav-link:hover {
  font-size: 12px;
  font-weight: 500;
  color: #fff;
}

.slide {
  margin-top: calc(-2rem - 1px);
  position: relative;
  background: var(--primary);
  color: #fff;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

@media (min-width: 1400px) {
  .slide-h1 {
    font-size: 4.5rem;
    font-weight: bold;
  }
}

.slide-button {
  background-color: #fff;
  color: var(--primary);
}

.slide-button:hover,
.slide-button:focus,
.slide-button:active {
  background-color: #fff;
  color: var(--primary-hover);
}

.slide-text {
  font-size: 1.25rem;
  opacity: 0.75;
}

.advantages {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  background: var(--bg-secondary);
}

.advantages-item {
  min-height: 100%;
  padding: 2rem;
  border-radius: 10px;
  background-color: var(--bg-card);
  box-shadow: var(--shadow-md);
  color: var(--text-main);
}

@media (max-width: 767px) {
  .advantages-item {
    text-align: center;
  }
}

.advantages-icon {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: 0.25s;
}

@media (max-width: 767px) {
  .advantages-icon {
    margin-left: auto;
    margin-right: auto;
  }
}

.advantages-item:hover .advantages-icon {
  transform: scale(1.1);
  background-color: var(--primary);
  color: #fff;
}

.advantages p {
  margin-bottom: 0;
  font-size: 0.9em;
  color: var(--text-muted);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.75);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.slide-image {
  display: inline-block;
  position: relative;
}

.slide-image .img {
  width: 100%;
  max-width: 694px;
  display: block;
  opacity: 0;
}

.slide-image .img2,
.slide-image .img3,
.slide-image .img4 {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.slide-image.animated .img {animation: 2.5s fadeIn forwards;}
.slide-image.animated .img2 {animation: 2s fadeIn forwards;}
.slide-image.animated .img3 {animation: 2s fadeIn 0.5s forwards;}
.slide-image.animated .img4 {animation: 2s fadeIn 1s forwards;}

.counters {
  padding-top: 3rem;
  padding-bottom: 3rem;
  text-align: center;
  font-size: 1.125rem;
}

@media (max-width: 767px) {
  .counters {font-size: 0.875rem;}
}

.counters .number {
  font-size: 48px;
  font-weight: 800;
  color: var(--text-main);
}

@media (max-width: 767px) {
  .counters .number {font-size: 2rem;}
}

@media (min-width: 992px) {
  .counters .col {background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1' height='56' fill='none'%3E%3Cpath stroke='%237E879D' d='M.5.5v55' opacity='.5'/%3E%3C/svg%3E") no-repeat 0 50%;}
  .counters .col:first-child {background: none;}
}

.login {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 12px;
  width: 540px;
  max-width: 100%;
  margin: auto;
  margin-bottom: 3rem;
  color: var(--text-main);
}

@media (min-width: 992px) {
  .login {padding: 3rem;}
}

.login-social {position: relative;}

.fileItem {
  border: 1px solid var(--border-color);
  transition: border-color 0.15s;
  padding: 0.375rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  background-color: var(--bg-card);
}

.fileItem:hover {border-color: var(--text-muted);}
@media (max-width: 575px) {
  .fileItem {margin-bottom: 1rem;}
}

.fileItem-date {
  font-size: 0.6875em;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.fileItem-title {
  font-size: 0.875em;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  color: var(--text-main);
}

.fileItem-info {
  font-size: 0.75em;
  color: var(--text-muted);
  font-weight: 500;
}

.fileItem-info span {
  display: inline-flex;
  align-items: center;
}

.fileItem-cover {
  height: 108px;
  position: relative;
}

.fileItem-cover a {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
}

.fileItem-cover .thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.fileItem-cover .icon {height: 56px;}

.fileItem-addto,
.fileItem-added {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.fileItem-added {
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-title {
  font-weight: 600;
  color: var(--text-main);
  font-size: 1rem;
}

.download-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.download-meta span {
  display: flex;
  align-items: center;
  margin-right: 1.5rem;
  font-weight: 500;
}

.download-controls {
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-controls .btn {
  padding: 0;
  width: 32px;
  height: 32px;
}

.download-btn {
  width: 280px;
  box-shadow: var(--shadow-lg);
  text-align: left;
  line-height: 1.4;
  height: 64px;
}

.download-btn:not([disabled]) [data-status="disabled"] {display: none !important;}
.download-btn[disabled] [data-status="active"] {display: none !important;}
.download-btn[disabled] {
  background-color: var(--primary-light) !important;
  color: var(--primary) !important;
  box-shadow: none !important;
  border-color: transparent !important;
  cursor: default;
  opacity: 0.6 !important;
}

.download-btn[disabled] .spinner-border {
  border-left-color: transparent;
  width: 20px;
  height: 20px;
}

.relatedFile {
  padding-left: 2rem;
  font-size: 0.8125rem;
  font-weight: 500;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='21' viewBox='0 0 18 21' fill='none'%3E%3Cpath d='M0 6.5L6 0.5H17C17.6 0.5 18 1 18 1.5V19.5C18 20 17.6 20.5 17 20.5H1C0.4 20.5 0 20 0 19.5V6.5ZM7 2L1.5 7.5H7V2Z' fill='%233586FF'/%3E%3C/svg%3E") no-repeat 0 50%;
}

.relatedFile-link {display: block;}

.preview-image {
  border: 1px solid var(--border-color);
  border-radius: 6px;
}

.preview-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 7px;
}

.preview-image .btn-expand {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  padding: 0;
  box-shadow: var(--shadow-sm);
}

.premiumPlan {
  padding: 1.5rem 2rem;
  border-radius: 6px;
  box-shadow: var(--shadow-md);
  background-color: var(--bg-card);
  color: var(--text-main);
}

@media (max-width: 767px) {
  .premiumPlan {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.premiumPlan .btn {
  font-size: 1rem;
  padding: 0.5rem 2rem;
}

.premiumTable {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-main);
}

.premiumTable .col {
  padding: 1rem;
  border-left: 2px solid var(--bg-card);
  background-color: var(--bg-secondary);
}

.premiumTable .col.premium {
  background-color: var(--primary-light);
}

.premiumTable .col:first-child {
  max-width: 440px;
  flex-basis: 440px;
  background-color: var(--bg-card);
  border-left: 0;
  color: var(--text-subtle);
}

@media (max-width: 1399px) {
  .premiumTable .col:first-child {
    max-width: 300px;
    flex-basis: 300px;
  }
}

@media (max-width: 991px) {
  .premiumTable .col:first-child {
    max-width: 100%;
    flex-basis: 100%;
    text-align: center !important;
  }
}

@media (max-width: 991px) {
  .premiumTable .col:nth-child(2) {
    border-left: 0;
  }
}

.premiumTable .premiumTable-heading {
  font-size: 1rem;
}

@media (max-width: 991px) {
  .premiumTable .premiumTable-heading {
    font-size: 0.75rem;
  }
}

.header,
.main_menu,
.navbar {
  position: relative;
  z-index: 9999 !important;
  overflow: visible !important;
}

.header *,
.main_menu *,
.navbar-collapse,
.dropdown {
  overflow: visible !important;
}

.dropdown-menu {
  position: absolute !important;
  z-index: 100000 !important;
}


.has-mesh-bg {
  --hero-bg: #0b0e14;
  --hero-card-border: rgba(255, 255, 255, 0.1);
  position: relative;
  background-color: var(--hero-bg);
  overflow: hidden;
  transition: background-color 0.4s ease;
}

[data-theme="light"] .has-mesh-bg,
.light-theme .has-mesh-bg {
  --hero-bg: #f8fafc;
  --hero-card-border: rgba(0, 0, 0, 0.08);
}


main.hero-premium-section {
  position: relative;
  background-color: var(--hero-bg, #0b0e14);
  color: var(--hero-text-main, #ffffff);
  overflow: hidden;
  min-height: calc(100vh - 74px); 
  transition: background-color 0.4s ease, color 0.4s ease;
  
}

[data-theme="light"] main.hero-premium-section,
.light-theme main.hero-premium-section {
  --hero-bg: #f8fafc;
  --hero-text-main: #0f172a;
}


main.hero-premium-section .hero-mesh-gradient {
  position: absolute;
  top: -20%;
  right: 0;
  width: 100%;
  max-width: 60%;
  height: 140%;
  background: radial-gradient(circle at 50% 50%, rgba(39, 67, 113, 0.22), rgba(58, 97, 156, 0.12), transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}


main.hero-premium-section .hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  opacity: 0.4;
  pointer-events: none;
  z-index: 1;
}

[data-theme="light"] main.hero-premium-section .hero-grid-pattern,
.light-theme main.hero-premium-section .hero-grid-pattern {
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.06) 1px, transparent 1px);
}
[data-theme="light"] .hero-premium-section,
.light-theme .hero-premium-section {
  --hero-bg: #f8fafc;
  --hero-card-bg: #ffffff;
  --hero-card-border: rgba(0, 0, 0, 0.08);
  --hero-text-main: #0f172a;
  --hero-text-muted: #64748b;
  --hero-sub-card-bg: #f8fafc;
}

/* Extracted from splash.html (homepage hero) */
.light-img {
  display: none !important;
}
.dark-img {
  display: block !important;
}

[data-theme="light"] .light-img,
.light-theme .light-img {
  display: block !important;
}
[data-theme="light"] .dark-img,
.light-theme .dark-img {
  display: none !important;
}


.hero-display-title {
padding: 80px 0;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--hero-text-main);
}

.text-gradient {
  background: linear-gradient(135deg, #f08a44 0%, #e8792e 50%, #b55716 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead-text {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--hero-text-muted);
}


.orb-btn-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}


.orb-lightning-left,
.orb-lightning-right {
  position: absolute;
  top: 50%;
  width: 90px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #e8792e, #f2a468, transparent);
  filter: drop-shadow(0 0 8px rgba(232, 121, 46, 0.8));
  z-index: 4;
  pointer-events: none;
}

.orb-lightning-left {
  right: 100%;
  transform: translateY(-50%);
  animation: lightningPulseLeft 2s infinite ease-in-out;
}

.orb-lightning-right {
  left: 100%;
  transform: translateY(-50%);
  animation: lightningPulseRight 2s infinite ease-in-out;
}

.orb-btn-wrapper {
  position: relative;
  width: 175px;
  height: 175px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  color: #ffffff !important;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.orb-btn-wrapper:hover {
  transform: scale(1.08) rotate(5deg);
}

.orb-btn-inner {
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f08a44 0%, #d16a24 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 3;
  box-shadow: 0 12px 35px rgba(181, 87, 22, 0.5), inset 0 3px 6px rgba(255, 255, 255, 0.3);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.orb-btn-wrapper:hover .orb-btn-inner {
  background: linear-gradient(135deg, #d16a24 0%, #a3521a 100%);
  box-shadow: 0 18px 45px rgba(181, 87, 22, 0.7), inset 0 3px 8px rgba(255, 255, 255, 0.4);
}

.orb-icon {
  font-size: 2.3rem;
  line-height: 1;
  margin-bottom: 4px;
  animation: orbCrown 2s ease-in-out infinite;
}

.orb-text-main {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.1;
  padding: 0 12px;
}

.orb-text-sub {
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.95;
  color: #fff;
  margin-top: 3px;
  letter-spacing: 0.05em;
}

.orb-ring-1 {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px dashed rgba(209, 106, 36, 0.6);
  animation: rotateOrb 12s linear infinite;
  z-index: 2;
}

.orb-ring-2 {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1.5px solid rgba(240, 138, 68, 0.4);
  border-top-color: transparent;
  border-bottom-color: transparent;
  animation: rotateOrbReverse 8s linear infinite;
  z-index: 1;
}

.orb-glow {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(209, 106, 36, 0.55) 0%, transparent 70%);
  filter: blur(18px);
  z-index: 0;
  animation: orbGlowPulse 2.5s infinite alternate;
}



.border-top-glass {
  border-top: 1px solid var(--hero-card-border);
}


@keyframes rotateOrb { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes rotateOrbReverse { 0% { transform: rotate(360deg); } 100% { transform: rotate(0deg); } }
@keyframes orbCrown { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes orbGlowPulse { 0% { transform: scale(0.9); opacity: 0.5; } 100% { transform: scale(1.15); opacity: 0.9; } }

@keyframes lightningPulseLeft {
  0%, 100% { opacity: 0.3; transform: translateY(-50%) scaleX(0.8); }
  50% { opacity: 1; transform: translateY(-50%) scaleX(1.2); filter: drop-shadow(0 0 12px rgba(232, 121, 46, 1)); }
}

@keyframes lightningPulseRight {
  0%, 100% { opacity: 0.3; transform: translateY(-50%) scaleX(0.8); }
  50% { opacity: 1; transform: translateY(-50%) scaleX(1.2); filter: drop-shadow(0 0 12px rgba(232, 121, 46, 1)); }
}

@media (max-width: 768px) {
  .hero-stats-row { flex-wrap: wrap; }
}

/* Extracted from payment_buy_with.html (plans) */
/* Адаптивна сітка для тарифів */
.plans-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
    box-sizing: border-box;
}

/* Стиль окремої картки тарифу */
.plan-card-box {
    background: var(--hero-card-bg, #131822);
    border: 1px solid var(--hero-card-border, rgba(255, 255, 255, 0.08));
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    box-sizing: border-box;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: visible !important;
}

.plan-card-box:hover {
    transform: translateY(-6px);
    border-color: #274371;
    box-shadow: 0 20px 40px rgba(39, 67, 113, 0.2);
}

/* Виділений тариф (90 днів / BEST PRICE) */
.plan-card-box.plan_sale {
    border: 2px solid #274371;
    box-shadow: 0 15px 35px rgba(39, 67, 113, 0.25);
}

.plan-card-box.plan_sale:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(39, 67, 113, 0.4);
    border-color: #3a619c;
}

/* Збільшений бейдж, винесений у правий верхній кут за межі картки */
.plan-badge-floating {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, #f08a44 0%, #d16a24 100%);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 900;
    padding: 6px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 18px rgba(209, 106, 36, 0.5);
    z-index: 5;
    white-space: nowrap;
}

/* Стиль для перших двох блоків із розділювальною лінією знизу */
.plan-card-section {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--hero-card-border, rgba(255, 255, 255, 0.08));
}

[data-theme="light"] .plan-card-section,
.light-theme .plan-card-section {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

/* Третій блок (кнопки) */
.plan-card-footer {
    width: 100%;
}

.plan-month {
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #e8792e;
    line-height: 1.2;
}

.plan-month big {
    font-size: 1.5rem;
    font-weight: 900;
}

[data-theme="light"] .plan-month,
.light-theme .plan-month {
    color: #d16a24;
}

/* Ціна */
.plan-price-month {
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1;
    color: var(--hero-text-main, #ffffff);
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.plan-price-month sup {
    font-size: 1.2rem;
    font-weight: 700;
    top: -0.6em;
    margin-right: 2px;
    color: #3a619c;
}

[data-theme="light"] .plan-price-month,
.light-theme .plan-price-month {
    color: var(--hero-text-main, #0f172a);
}

.plan-price-regular {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--hero-text-muted, #94a3b8);
}

/* АДАПТИВНІСТЬ ДЛЯ ПЛАНШЕТІВ ТА ТЕЛЕФОНІВ */
@media (max-width: 1200px) {
    .plans-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .plans-wrapper {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

.comparison-title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--hero-text-main, #ffffff);
}

main.hero-premium-section .premiumTable {
  border-radius: 20px;
  border-color: var(--hero-card-border, rgba(255, 255, 255, 0.1));
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

.cmp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cmp-card {
  background: var(--hero-card-bg, #131822);
  border: 1px solid var(--hero-card-border, rgba(255, 255, 255, 0.1));
  border-radius: 20px;
  padding: 28px 32px;
  position: relative;
}

.cmp-card.cmp-premium {
  border: 1.5px solid #e8792e;
  box-shadow: 0 0 24px rgba(232, 121, 46, 0.12);
}

.cmp-badge {
  position: absolute;
  top: -11px;
  right: 20px;
  background: linear-gradient(135deg, #f08a44 0%, #d16a24 100%);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 900;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.08em;
}

.cmp-card-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--hero-text-main, #ffffff);
}

.cmp-premium .cmp-card-title {color: #e8792e;}

.cmp-list {list-style: none; padding: 0; margin: 0;}

.cmp-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--hero-card-border, rgba(255, 255, 255, 0.08));
  font-size: 0.95rem;
  color: var(--hero-text-main, #ffffff);
}

.cmp-row:last-child {border-bottom: 0;}
.cmp-label {color: var(--hero-text-muted, #94a3b8);}
.cmp-value {font-weight: 700; white-space: nowrap;}
.cmp-premium .cmp-value {color: #e8792e;}
.cmp-ico {vertical-align: middle;}

.payment-form-wrapper {
    max-width: 1550px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.payment-form-layout {
    display: grid;
    grid-template-columns: 320px 1fr 320px;
    gap: 24px;
    align-items: stretch;
}

.payment-tariff-box,
.payment-form-box,
.payment-bonuses-box {
    background: var(--hero-card-bg, #131822);
    border: 1px solid var(--hero-card-border, rgba(255, 255, 255, 0.08));
    border-radius: 20px;
    padding: 28px 24px;
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

[data-theme="light"] .payment-tariff-box,
[data-theme="light"] .payment-form-box,
[data-theme="light"] .payment-bonuses-box,
.light-theme .payment-tariff-box,
.light-theme .payment-form-box,
.light-theme .payment-bonuses-box {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}

.payment-form-box {
    padding: 32px;
    justify-content: flex-start;
}


.tariff-header {
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--hero-text-main, #ffffff);
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 1px solid var(--hero-card-border, rgba(255, 255, 255, 0.08));
    padding-bottom: 14px;
}

[data-theme="light"] .tariff-header,
.light-theme .tariff-header {
    color: var(--hero-text-main, #0f172a);
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

.tariff-price-display {
    text-align: center;
    margin-bottom: 20px;
}

.tariff-amount {
    font-size: 2.3rem;
    font-weight: 900;
    color: var(--hero-text-main, #ffffff);
    letter-spacing: -0.02em;
}

[data-theme="light"] .tariff-amount,
.light-theme .tariff-amount {
    color: var(--hero-text-main, #0f172a);
}

.tariff-period-label {
    font-size: 0.8rem;
    color: var(--hero-text-muted, #94a3b8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

.tariff-buttons-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.btn-glass-secondary.tariff-card-btn {
    border-radius: 14px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}



.tariff-card-btn.active {
    background: rgba(232, 121, 46, 0.12);
    border-color: #e8792e;
    box-shadow: 0 4px 15px rgba(232, 121, 46, 0.2);
}

.tariff-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tariff-days {
    font-size: 0.95rem;
    font-weight: 800;
}

.tariff-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--hero-text-muted, #94a3b8);
}

.tariff-card-btn.active .tariff-badge {
    background: #e8792e;
    color: #ffffff;
}

.tariff-conditions {
    font-size: 0.78rem;
    color: var(--hero-text-muted, #94a3b8);
    line-height: 1.5;
    border-top: 1px solid var(--hero-card-border, rgba(255, 255, 255, 0.08));
    padding-top: 14px;
    text-align: center;
}

[data-theme="light"] .tariff-conditions,
.light-theme .tariff-conditions {
    border-top-color: rgba(0, 0, 0, 0.08);
}


.payment-form-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--hero-text-main, #ffffff);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

[data-theme="light"] .payment-form-title,
.light-theme .payment-form-title {
    color: var(--hero-text-main, #0f172a);
}

.payment-form-subtitle {
    font-size: 0.9rem;
    color: var(--hero-text-muted, #94a3b8);
    margin-bottom: 24px;
}

.payment-form-section {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--hero-card-border, rgba(255, 255, 255, 0.08));
}

[data-theme="light"] .payment-form-section,
.light-theme .payment-form-section {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

.payment-form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.payment-form-category-title {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--hero-text-muted, #94a3b8);
    margin-bottom: 14px;
}

.payment-methods-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.btn-glass-secondary.payment-method-option {
    border-radius: 16px;
    padding: 16px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    text-align: center;
    gap: 10px;
}



.payment-method-option.active {
    background: rgba(232, 121, 46, 0.12);
    border-color: #e8792e;
    box-shadow: 0 4px 15px rgba(232, 121, 46, 0.2);
}

.payment-method-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease;
}

[data-theme="light"] .payment-method-icon-wrap,
.light-theme .payment-method-icon-wrap {
    background: rgba(0, 0, 0, 0.03);
}


.payment-method-icon {
    width: 22px;
    height: 22px;
    stroke: var(--hero-text-main, #ffffff);
    stroke-width: 2;
    fill: none;
}

[data-theme="light"] .payment-method-icon,
.light-theme .payment-method-icon {
    stroke: var(--hero-text-main, #0f172a);
}

.payment-method-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--hero-text-main, #ffffff);
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

[data-theme="light"] .payment-method-label,
.light-theme .payment-method-label {
    color: var(--hero-text-main, #0f172a);
}


.bonuses-header {
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--hero-text-main, #ffffff);
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 1px solid var(--hero-card-border, rgba(255, 255, 255, 0.08));
    padding-bottom: 14px;
}

[data-theme="light"] .bonuses-header,
.light-theme .bonuses-header {
    color: var(--hero-text-main, #0f172a);
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

.bonuses-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bonus-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.bonus-icon {
    width: 20px;
    height: 20px;
    stroke: #3a619c;
    stroke-width: 2.5;
    fill: none;
    flex-shrink: 0;
    margin-top: 2px;
}

.bonus-content {
    display: flex;
    flex-direction: column;
}

.bonus-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--hero-text-main, #ffffff);
    margin-bottom: 2px;
}

[data-theme="light"] .bonus-title,
.light-theme .bonus-title {
    color: var(--hero-text-main, #0f172a);
}

.bonus-desc {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--hero-text-muted, #94a3b8);
    line-height: 1.4;
}


@media (max-width: 1300px) {
    .payment-form-layout {
        grid-template-columns: 1fr 320px;
    }
    .payment-tariff-box {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .payment-form-layout {
        grid-template-columns: 1fr;
    }
    .payment-methods-grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .payment-methods-grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }
    .payment-tariff-box,
    .payment-form-box,
    .payment-bonuses-box {
        padding: 20px;
    }
}
