/* Sticky Footer Styles */
body {
    display: flex !important;;
    flex-direction: column!important;;
    min-height: 100vh !important;
    margin: 0;

  padding-top: 57px;
  font-family: 'Nunito', sans-serif;
  background-color: #121212;
  color: #e0e0e0;
  transition: background-color 0.3s ease, color 0.3s ease;
}
main {flex: 1 0 auto !important;}
footer {flex-shrink: 0 !important;}

.login-form a {color: #fff!important;text-decoration: underline;}
.login-form a:hover {color: #fff;}
/* Контейнер для страницы */
.tg-bot-container {display: flex;align-items: center;justify-content: center;}
/* Стиль для блока с ботом */
.tg-bot-card {background: white;padding: 20px;border-radius: 10px;box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);text-align: center;}
/* Стиль для аватарки */
.tg-bot-avatar {width: 95px;height: 95px;border-radius: 50%;}
/* Заголовок */
.tg-bot-title {margin: 2px 0;}
/* Стиль для кнопки */
.tg-bot-button {background-color: #0088cc;color: white;padding: 10px 10px;border: none;border-radius: 5px;text-decoration: none;font-size: 16px;transition: background-color 0.3s;}
/* Стиль для кнопки при наведении */
.tg-bot-button:hover {background-color: #005f99;}

body.light-theme {
  background-color: #ffffff;
  color: #333;
}

a {
  text-decoration: none !important;
}

/* РЁР°РїРєР° СЃР°Р№С‚Р° */
.navbar {
  background-color: #1e1e1e;
  border-bottom: 1px solid #333;
}

body.light-theme .navbar {
  background-color: #ffffff;
  border-bottom: 1px solid #ddd;
}

.navbar-brand,
.nav-link {
  color: #ffffff !important;
  transition: color 0.3s ease;
}

body.light-theme .navbar-brand,
body.light-theme .nav-link {
  color: #333 !important;
}

.navbar-brand:hover,
.nav-link:hover {
  color: #bbdefb !important;
}

body.light-theme .navbar-brand:hover,
body.light-theme .nav-link:hover {
  color: #007bff !important;
}

/* Р¤РёРєСЃРёСЂРѕРІР°РЅРЅР°СЏ С€Р°РїРєР° СЃР°Р№С‚Р° */
.fixed-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
}

body.dark-theme .fixed-top {
  background-color: #343a40;
}

body.light-theme .fixed-top {
  background-color: #ffffff;
}

/* РћСЃРЅРѕРІРЅР°СЏ С‡Р°СЃС‚СЊ СЃР°Р№С‚Р° */
.feature-box {
  background-color: #1e1e1e;
  border: 1px solid #333;
  padding: 20px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.light-theme .feature-box {
  background-color: #ffffff;
  border: 1px solid #ddd;
  color: #333;
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* РљР°СЂСѓСЃРµР»СЊ */
.carousel-inner {
  overflow: visible;
}

.carousel-item {
  padding: 10px 0;
}

.carousel-item.active {
  overflow-x: hidden;
}

body.no-scroll {
  overflow-x: hidden;
}

.carousel.sliding {
  overflow-x: hidden;
}

/* РРєРѕРЅРєРё Рё РјРµРґРёР° */
.feature-icon {
  font-size: 3rem;
  color: #2196f3;
  margin-bottom: 15px;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #1e1e1e, #2c3e50);
  color: white;
  padding: 100px 20px;
  text-align: center;
}

body.light-theme .hero-section {
  background: linear-gradient(135deg, #ffffff, #f0f8ff);
  color: #333;
}

.hero-section h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.5);
}

.hero-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* РљРЅРѕРїРєРё */
.btn-primary {
  background-color: #2196f3;
  border-color: #2196f3;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  background-color: #1976d2;
  border-color: #1976d2;
}

.btn-warning {
  color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* Р¤СѓС‚РµСЂ */
footer {
  background-color: #121212;
  color: #e0e0e0;
  padding: 20px 0;
  text-align: center;
}

body.light-theme footer {
  background-color: #f8f9fa;
  color: #333;
}

footer a {
  color: #bbdefb;
  text-decoration: none;
}

footer a:hover {
  color: #ffffff;
}

body.light-theme footer a {
  color: #007bff;
}

/* Р¤РѕСЂРјС‹ */
.registration-form, .contact-form, .login-form {
  max-width: 500px;
  margin: 50px auto;
  padding: 30px;
  background-color: #1e1e1e;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

body.light-theme .registration-form,
body.light-theme .contact-form,
body.light-theme .login-form {
  background-color: #ffffff;
  color: #333;
}

.registration-form h2, .contact-form h3, .login-form h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #ffffff;
  transition: color 0.3s ease;
}

body.light-theme .registration-form h2,
body.light-theme .contact-form h3,
body.light-theme .login-form h2 {
  color: #333;
}

.form-control::placeholder {
  color: #ddd;
  opacity: 1;
  transition: color 0.3s ease;
}

body.light-theme .form-control::placeholder {
  color: #6c757d;
}

.registration-form label, .contact-form label, .login-form label {
  color: #bbdefb;
  transition: color 0.3s ease;
}

body.light-theme .registration-form label,
body.light-theme .contact-form label,
body.light-theme .login-form label {
  color: #333;
}

.registration-form .form-control, .contact-form .form-control, .login-form .form-control {
  background-color: #333;
  border: 1px solid #444;
  color: #ffffff;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

body.light-theme .registration-form .form-control,
body.light-theme .contact-form .form-control,
body.light-theme .login-form .form-control {
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  color: #333;
}

.registration-form .form-control:focus, .contact-form .form-control:focus, .login-form .form-control:focus {
  background-color: #333;
  border-color: #2196f3;
  box-shadow: 0 0 5px rgba(33, 150, 243, 0.5);
}

body.light-theme .registration-form .form-control:focus,
body.light-theme .contact-form .form-control:focus,
body.light-theme .login-form .form-control:focus {
  background-color: #f8f9fa;
  border-color: #2196f3;
  box-shadow: 0 0 5px rgba(33, 150, 243, 0.5);
}

.registration-form .btn-primary, .contact-form .btn-primary, .login-form .btn-primary {
  width: 100%;
  background-color: #2196f3;
  border-color: #2196f3;
}

.registration-form .btn-primary:hover, .contact-form .btn-primary:hover, .login-form .btn-primary:hover {
  background-color: #1976d2;
  border-color: #1976d2;
}

/* РљРѕРЅС‚Р°РєС‚РЅР°СЏ С„РѕСЂРјР° */
.contact-form {
  max-width: 600px;
}

/* Р Р°Р·РґРµР» РїРѕРґРґРµСЂР¶РєРё */
.support-section {
  background-color: #1e1e1e;
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

body.light-theme .support-section {
  background-color: #ffffff;
  color: #333;
}

.support-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.support-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.support-section .btn-outline-light {
  border-color: #ffffff;
  color: #ffffff;
}

.support-section .btn-outline-light:hover {
  background-color: #ffffff;
  color: #1e1e1e;
}

/* Р Р°Р·РґРµР» РґР»СЏ РїСЂР°РІРѕРѕР±Р»Р°РґР°С‚РµР»РµР№ */
.rights-section {
  padding: 40px 20px;
  text-align: left;
}

.rights-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #ffffff;
  transition: color 0.3s ease;
}

body.light-theme .rights-section h2 {
  color: #333;
}

.rights-section p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #e0e0e0;
  transition: color 0.3s ease;
}

body.light-theme .rights-section p {
  color: #333;
}

/* РљРѕРЅС‚РµРЅС‚ СЃС‚СЂР°РЅРёС†С‹ */
.contact-section {
  padding: 60px 20px;
  text-align: center;
}

.contact-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #ffffff;
  transition: color 0.3s ease;
}

body.light-theme .contact-section h2 {
  color: #333;
}

.contact-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #e0e0e0;
  transition: color 0.3s ease;
}

body.light-theme .contact-section p {
  color: #333;
}

.contact-info {
  margin-bottom: 40px;
}

.contact-info i {
  font-size: 2rem;
  color: #2196f3;
  margin-right: 10px;
}

#contactForm {
  text-align: left;
}

/* Р Р°Р·РґРµР» СЃ РїР°РєРµС‚Р°РјРё */
.packages-section {
  padding: 60px 20px;
  text-align: center;
}

.packages-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #ffffff;
  transition: color 0.3s ease;
}

body.light-theme .packages-section h2 {
  color: #333;
}

.packages-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #e0e0e0;
  transition: color 0.3s ease;
}

body.light-theme .packages-section p {
  color: #333;
}

/* РљР°СЂС‚РѕС‡РєРё С‚Р°СЂРёС„РѕРІ */
.package-card {
  background-color: #1e1e1e;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.light-theme .package-card {
  background-color: #ffffff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.package-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.package-card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #ffffff;
  transition: color 0.3s ease;
}

body.light-theme .package-card h3 {
  color: #333;
}

.package-card .price {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #2196f3;
}

.package-card .channels {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #bbdefb;
}

.package-card .features {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.package-card .features li {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #e0e0e0;
  transition: color 0.3s ease;
}

body.light-theme .package-card .channels,
body.light-theme .package-card .features li {
  color: #333;
}

/* Р‘Р»РѕРє СЃС‚Р°С‚СѓСЃР° РїРѕРґРїРёСЃРєРё */
.subscription-status {
  background-color: #1e1e1e;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  margin-top: 30px;
  margin-bottom: 30px;
}

body.light-theme .subscription-status {
  background-color: #ffffff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.subscription-status h4 {
  margin-bottom: 15px;
  color: #ffffff;
  transition: color 0.3s ease;
}

body.light-theme .subscription-status h4 {
  color: #333;
}

.subscription-status .status-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.subscription-status .status-list li {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #bbdefb;
  transition: color 0.3s ease;
}

body.light-theme .subscription-status .status-list li {
  color: #333;
}

/* РЎС‚РёР»Рё РґР»СЏ Р±Р»РѕРєРѕРІ РєР°С‚РµРіРѕСЂРёР№ */
.channel-categories,
.additional-categories {
  background-color: #1e1e1e;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

body.light-theme .channel-categories,
body.light-theme .additional-categories {
  background-color: #ffffff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.channel-categories h4,
.additional-categories h4 {
  margin-bottom: 15px;
  color: #ffffff;
  transition: color 0.3s ease;
}

body.light-theme .channel-categories h4,
body.light-theme .additional-categories h4 {
  color: #333;
}

.channel-categories .category,
.additional-categories .category {
  margin-bottom: 15px;
}

.channel-categories .form-check-label,
.additional-categories .form-check-label {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #bbdefb;
  transition: color 0.3s ease;
}

body.light-theme .channel-categories .form-check-label,
body.light-theme .additional-categories .form-check-label {
  color: #333;
}

/* РЎРµРєС†РёСЏ Р»РёС‡РЅРѕРіРѕ РєР°Р±РёРЅРµС‚Р° */
.user-profile-section {
  padding: 60px 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1e1e1e, #2c3e50);
  color: #ffffff;
  transition: background 0.3s ease, color 0.3s ease;
}

body.light-theme .user-profile-section {
  background: linear-gradient(135deg, #ffffff, #f0f8ff);
  color: #333;
}

.user-profile-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  transition: color 0.3s ease;
}

body.light-theme .user-profile-section h2 {
  color: #333;
}

/* РРЅС„РѕСЂРјР°С†РёСЏ Рѕ РїРѕР»СЊР·РѕРІР°С‚РµР»Рµ */
.user-info {
  background-color: #1e1e1e;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 30px;
}

body.light-theme .user-info {
  background-color: #ffffff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.user-info h4 {
  margin-bottom: 15px;
  color: #ffffff;
  transition: color 0.3s ease;
}

body.light-theme .user-info h4 {
  color: #333;
}

.user-info h6 {
  font-size: 1.1rem !important;
}

.user-info .info-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.user-info .info-list li {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #bbdefb;
  transition: color 0.3s ease;
}

body.light-theme .user-info .info-list li {
  color: #333;
}

/* Р›РёС‡РЅС‹Р№ РїР»РµР№Р»РёСЃС‚ */
.personal-playlist {
  background-color: #1e1e1e;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
}

body.light-theme .personal-playlist {
  background-color: #ffffff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.personal-playlist h4 {
  margin-bottom: 15px;
  color: #ffffff;
  transition: color 0.3s ease;
}

body.light-theme .personal-playlist h4 {
  color: #333;
}

.personal-playlist .playlist-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.personal-playlist .playlist-list li {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #bbdefb;
  transition: color 0.3s ease;
}

body.light-theme .personal-playlist .playlist-list li {
  color: #333;
}

/* РўРµРєСЃС‚РѕРІРѕРµ РїРѕР»Рµ РґР»СЏ Р»РёС‡РЅРѕРіРѕ РїР»РµР№Р»РёСЃС‚Р° */
.personal-playlist textarea {
  background-color: #333;
  border: 1px solid #444;
  color: #ffffff;
  font-family: monospace;
  resize: none;
  margin-bottom: 15px;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

body.light-theme .personal-playlist textarea {
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  color: #333;
}

body.light-theme .personal-playlist textarea:focus {
  background-color: #f8f9fa;
  border-color: #2196f3;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Р Р°Р·РґРµР» РїРѕР»РёС‚РёРєРё */
.policy-section {
  padding: 60px 20px;
}

.policy-section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
  color: #ffffff;
  transition: color 0.3s ease;
}

body.light-theme .policy-section h2 {
  color: #333;
}

.policy-section h3 {
  font-size: 1.8rem;
  margin-top: 30px;
  margin-bottom: 20px;
  color: #ffffff;
  transition: color 0.3s ease;
}

body.light-theme .policy-section h3 {
  color: #333;
}

.policy-section p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #e0e0e0;
  transition: color 0.3s ease;
}

body.light-theme .policy-section p {
  color: #333;
}

/* Р¤РѕСЂРјР° Р°РІС‚РѕСЂРёР·Р°С†РёРё */
.login-form a {
  color: #2196f3;
  text-decoration: underline;
}

.login-form a:hover {
  color: #1976d2;
}

/* РЎРµРєС†РёСЏ РїРѕРјРѕС‰Рё */
.help-section {
  padding: 60px 20px;
}

.help-section h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
  transition: color 0.3s ease;
}

body.light-theme .help-section h2 {
  color: #333;
}

/* РђРєРєРѕСЂРґРµРѕРЅ */
.accordion-item {
  border: none;
  border-radius: 0px;
  overflow: hidden;
  margin-bottom: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body.light-theme .accordion-item {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.accordion-button {
  background-color: #1e1e1e;
  color: #ffffff;
  border: none;
  border-radius: 0;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.light-theme .accordion-button {
  background-color: #ffffff;
  color: #333;
  border: 1px solid #ddd;
}

.accordion-button:hover {
  background-color: #333;
}

body.light-theme .accordion-button:hover {
  background-color: #f8f9fa;
  border-color: #ccc;
}

.accordion-button:not(.collapsed) {
  background-color: #2a5298;
  color: #ffffff;
  border-radius: 0;
}

body.light-theme .accordion-button:not(.collapsed) {
  background-color: #b3e5fc;
  color: #333;
  border-color: #b3e5fc;
}

.accordion-body {
  background-color: #2a2a2a;
  color: #bbdefb;
  padding: 20px;
  border: 1px solid #333;
  border-top: none;
  border-radius: 0;
}

body.light-theme .accordion-body {
  background-color: #ffffff;
  color: #333;
  border: 1px solid #ddd;
  border-top: none;
}

/* Toast-СѓРІРµРґРѕРјР»РµРЅРёСЏ */
.toast {
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.toast .toast-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.toast .toast-body {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.btn-close-white {
  filter: invert(1) grayscale(100%) brightness(200%);
}

/* РЎС‚РёР»Рё РґР»СЏ РєР°С‚РµРіРѕСЂРёР№ */
.categories-container {
  max-height: 600px;
  overflow-y: auto;
  padding: 15px;
  border: 1px solid #dee2e6;
  border-radius: 4px;
}

.category-item {
  margin-bottom: 10px;
  padding: 5px;
  border-bottom: 1px solid #f0f0f0;
}

.category-item:last-child {
  border-bottom: none;
}

.badge {
  font-size: 0.8em;
  padding: 5px 10px;
}

.discount {
  font-size: 0.8em;
  color: #e74c3c;
  font-weight: bold;
}

/* РљРЅРѕРїРєР° РїРµСЂРµРєР»СЋС‡РµРЅРёСЏ С‚РµРјС‹ */
#theme-toggle {
  font-size: 1.5rem;
  color: #ffffff;
  cursor: pointer;
  margin-left: 15px;
  transition: color 0.3s ease;
}

body.light-theme #theme-toggle {
  color: #333;
}

/* Р’С‹СЂР°РІРЅРёРІР°РЅРёРµ РєРЅРѕРїРєРё РІРЅСѓС‚СЂРё РЅР°РІРёРіР°С†РёРё */
.navbar-nav {
  align-items: center;
}

.nav-item:last-child {
  display: flex;
  align-items: center;
}

/* РњРµРЅСЋ-Р±СѓСЂРіРµСЂ */
.navbar-toggler {
  border: 1px solid transparent;
  transition: border-color 0.3s ease;
}

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

.navbar-toggler:focus {
  border-color: #fff;
}

body.light-theme .navbar-toggler:focus {
  border-color: #000;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  transition: background-image 0.3s ease;
}

body.light-theme .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23333333' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* РђРґР°РїС‚Р°С†РёСЏ РјРµРЅСЋ РґР»СЏ РјРѕР±РёР»СЊРЅРѕР№ РІРµСЂСЃРёРё */
@media (max-width: 991.98px) {
  .navbar-collapse {
    text-align: left;
  }

  .navbar-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar-nav .nav-item {
    margin-bottom: 10px;
  }

  .navbar-nav .nav-link {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    color: #ffffff;
    transition: color 0.3s ease;
  }

  .navbar-nav .nav-link:hover {
    color: #bbdefb;
  }

  .navbar-nav .nav-link i {
    margin-right: 8px;
  }

  body.light-theme .navbar-nav .nav-link {
    color: #333;
  }

  body.light-theme .navbar-nav .nav-link:hover {
    color: #007bff;
  }
}

/* РЎС‚РёР»Рё РґР»СЏ Р°РєС‚РёРІРЅРѕРіРѕ РїСѓРЅРєС‚Р° РјРµРЅСЋ */
.nav-link.active {
  color: #2196f3 !important;
  font-weight: 600;
  position: relative;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #2196f3;
  transition: all 0.3s ease;
}

body.light-theme .nav-link.active {
  color: #1976d2 !important;
}

body.light-theme .nav-link.active::after {
  background-color: #1976d2;
}

/* РЎС‚РёР»Рё РґР»СЏ РјРѕР±РёР»СЊРЅРѕР№ РІРµСЂСЃРёРё Р°РєС‚РёРІРЅРѕРіРѕ РїСѓРЅРєС‚Р° РјРµРЅСЋ */
@media (max-width: 991.98px) {
  .nav-link.active::after {
    bottom: 0;
    height: 100%;
    width: 3px;
    left: -1rem;
  }
}

/* РЎС‚РёР»Рё РґР»СЏ СЃС‚СЂР°РЅРёС†С‹ РїРѕРїРѕР»РЅРµРЅРёСЏ */
.payment-section {
  padding: 3rem 0;
}

.payment-section .card {
  background-color: #1e1e1e;
  border: 1px solid #333;
  color: #e0e0e0;
}

body.light-theme .payment-section .card {
  background-color: #ffffff;
  border: 1px solid #ddd;
  color: #333;
}

.payment-section .card-header {
  background-color: #2a2a2a;
  border-bottom: 1px solid #333;
  color: #ffffff;
}

body.light-theme .payment-section .card-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #ddd;
  color: #333;
}

.payment-section .form-control {
  background-color: #333;
  border: 1px solid #444;
  color: #ffffff;
}

body.light-theme .payment-section .form-control {
  background-color: #ffffff;
  border: 1px solid #ddd;
  color: #333;
}

.payment-section .form-control:focus {
  background-color: #333;
  border-color: #2196f3;
  color: #ffffff;
  box-shadow: 0 0 0 0.2rem rgba(33, 150, 243, 0.25);
}

body.light-theme .payment-section .form-control:focus {
  background-color: #ffffff;
  border-color: #2196f3;
  color: #333;
}

/* РЎС‚РёР»Рё РґР»СЏ РґРёР»РµСЂСЃРєРѕРіРѕ РєР°Р±РёРЅРµС‚Р° */
.dealer-profile-section {
  padding: 3rem 0;
}

.dealer-profile-section .card {
  background-color: #1e1e1e;
  border: 1px solid #333;
  color: #e0e0e0;
  margin-bottom: 1.5rem;
}

body.light-theme .dealer-profile-section .card {
  background-color: #ffffff;
  border: 1px solid #ddd;
  color: #333;
}

.dealer-profile-section .card-header {
  background-color: #2a2a2a;
  border-bottom: 1px solid #333;
  color: #ffffff;
}

body.light-theme .dealer-profile-section .card-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #ddd;
  color: #333;
}

.dealer-profile-section .card-title {
  color: #ffffff;
  margin-bottom: 1rem;
}

body.light-theme .dealer-profile-section .card-title {
  color: #333;
}

.dealer-profile-section .form-control {
  background-color: #333;
  border: 1px solid #444;
  color: #ffffff;
}

body.light-theme .dealer-profile-section .form-control {
  background-color: #ffffff;
  border: 1px solid #ddd;
  color: #333;
}

.dealer-profile-section .form-control:focus {
  background-color: #333;
  border-color: #2196f3;
  color: #ffffff;
  box-shadow: 0 0 0 0.2rem rgba(33, 150, 243, 0.25);
}

body.light-theme .dealer-profile-section .form-control:focus {
  background-color: #ffffff;
  border-color: #2196f3;
  color: #333;
}

.dealer-profile-section .table {
  color: #e0e0e0;
}

body.light-theme .dealer-profile-section .table {
  color: #333;
}

.dealer-profile-section .table th {
  border-color: #444;
}

body.light-theme .dealer-profile-section .table th {
  border-color: #ddd;
}

.dealer-profile-section .table td {
  border-color: #444;
}

body.light-theme .dealer-profile-section .table td {
  border-color: #ddd;
}

.dealer-profile-section .btn-outline-secondary {
  color: #e0e0e0;
  border-color: #444;
}

.dealer-profile-section .btn-outline-secondary:hover {
  background-color: #444;
  color: #ffffff;
}

body.light-theme .dealer-profile-section .btn-outline-secondary {
  color: #333;
  border-color: #ddd;
}

body.light-theme .dealer-profile-section .btn-outline-secondary:hover {
  background-color: #ddd;
  color: #333;
}

.dealer-profile-section .badge {
  background-color: #2a2a2a;
  color: #e0e0e0;
}

body.light-theme .dealer-profile-section .badge {
  background-color: #f8f9fa;
  color: #333;
}

.dealer-profile-section .alert {
  background-color: #2a2a2a;
  border-color: #444;
  color: #e0e0e0;
}

body.light-theme .dealer-profile-section .alert {
  background-color: #f8f9fa;
  border-color: #ddd;
  color: #333;
}

.dealer-profile-section .alert-success {
  background-color: #1e3a2a;
  border-color: #28a745;
  color: #28a745;
}

body.light-theme .dealer-profile-section .alert-success {
  background-color: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
}

.dealer-profile-section .alert-danger {
  background-color: #3a1e1e;
  border-color: #dc3545;
  color: #dc3545;
}

body.light-theme .dealer-profile-section .alert-danger {
  background-color: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
}

/* РЎС‚РёР»Рё РґР»СЏ РІРєР»Р°РґРѕРє */
.nav-tabs {
  border-bottom: 1px solid #333;
  margin-bottom: 1.5rem;
}

.nav-tabs .nav-link {
  color: #e0e0e0;
  border: 1px solid transparent;
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
  border-color: #444;
  color: #2196f3;
}

.nav-tabs .nav-link.active {
  color: #2196f3;
  background-color: #1e1e1e;
  border-color: #333 #333 #1e1e1e;
}

.nav-tabs .nav-link.active::after {
  display: none;
}

body.light-theme .nav-tabs {
  border-bottom: 1px solid #ddd;
}

body.light-theme .nav-tabs .nav-link {
  color: #333;
}

body.light-theme .nav-tabs .nav-link:hover {
  border-color: #ddd;
  color: #1976d2;
}

body.light-theme .nav-tabs .nav-link.active {
  color: #1976d2;
  background-color: #ffffff;
  border-color: #ddd #ddd #ffffff;
}

/* РЎС‚РёР»Рё РґР»СЏ input РІ Р»РёС‡РЅРѕРј РєР°Р±РёРЅРµС‚Рµ */
.personal-playlist input[type="text"],
.personal-playlist input[type="url"] {
  background-color: #333;
  border: 1px solid #444;
  color: #ffffff;
  padding: 0.5rem;
  border-radius: 0.25rem;
  width: 100%;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.personal-playlist input[type="text"]:focus,
.personal-playlist input[type="url"]:focus {
  background-color: #333;
  border-color: #2196f3;
  color: #ffffff;
  box-shadow: 0 0 0 0.2rem rgba(33, 150, 243, 0.25);
}

body.light-theme .personal-playlist input[type="text"],
body.light-theme .personal-playlist input[type="url"] {
  background-color: #ffffff;
  border: 1px solid #ddd;
  color: #333;
}

body.light-theme .personal-playlist input[type="text"]:focus,
body.light-theme .personal-playlist input[type="url"]:focus {
  background-color: #ffffff;
  border-color: #2196f3;
  color: #333;
  box-shadow: 0 0 0 0.2rem rgba(33, 150, 243, 0.25);
}

/* РЎС‚РёР»Рё РґР»СЏ РІРєР»Р°РґРѕРє СѓСЃС‚СЂРѕР№СЃС‚РІ */
.devices-section .nav-tabs {
  margin-bottom: 2rem;
}

.devices-section .tab-content {
  background-color: #1e1e1e;
  border: 1px solid #333;
  border-top: none;
  padding: 1.5rem;
  border-radius: 0 0 0.25rem 0.25rem;
}

body.light-theme .devices-section .tab-content {
  background-color: #ffffff;
  border: 1px solid #ddd;
}

/* РЎС‚РёР»Рё РґР»СЏ РІРєР»Р°РґРѕРє РїРѕРїРѕР»РЅРµРЅРёСЏ */
.payment-section .nav-tabs {
  margin-bottom: 2rem;
}

.payment-section .tab-content {
  background-color: #1e1e1e;
  border: 1px solid #333;
  border-top: none;
  padding: 1.5rem;
  border-radius: 0 0 0.25rem 0.25rem;
}

body.light-theme .payment-section .tab-content {
  background-color: #ffffff;
  border: 1px solid #ddd;
}

/* РЎС‚РёР»Рё РґР»СЏ СЃРїРёСЃРєРѕРІ РІ Р»РёС‡РЅРѕРј РєР°Р±РёРЅРµС‚Рµ */
.personal-playlist .playlist-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.personal-playlist .playlist-list li {
  background-color: #2a2a2a;
  border: 1px solid #333;
  padding: 1rem;
  margin-bottom: 0.5rem;
  border-radius: 0.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

body.light-theme .personal-playlist .playlist-list li {
  background-color: #f8f9fa;
  border: 1px solid #ddd;
}

.personal-playlist .playlist-list li:last-child {
  margin-bottom: 0;
}

.personal-playlist .playlist-list .btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
}

.personal-playlist .btn-group {
  display: flex;
  gap: 0.5rem;
}

.personal-playlist .btn-group .btn {
  flex: 1;
}

.personal-playlist .btn-success {
  background-color: #28a745;
  border-color: #28a745;
}

.personal-playlist .btn-success:hover {
  background-color: #218838;
  border-color: #1e7e34;
}

.personal-playlist .btn-danger {
  background-color: #dc3545;
  border-color: #dc3545;
}

.personal-playlist .btn-danger:hover {
  background-color: #c82333;
  border-color: #bd2130;
}