
/* Scrollbar Color - Modern Standard Method (Firefox & Modern Browsers) */
html {
  scrollbar-color: var(--veon-primary-darker) var(--veon-surface); /* thumb color, track color */
  scrollbar-width: thin; /* or auto, thin, none */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--veon-bg);
  color: var(--veon-text);
  transition: background-color 0.3s, color 0.3s;
  line-height: 1.6;
  min-height: 100vh;
}

h1,
h2,
h3,
h4 {
  color: var(--veon-text);
}

h1 {
  color: var(--veon-primary);
}

.primary-color {
  background-color: var(--veon-primary);
}

.primary-dark-color {
  background-color: var(--veon-primary-dark);
}

.primary-light-color {
  background-color: var(--veon-primary-light);
}

.primary-extra-light-color {
  background-color: var(--veon-primary-extra-light);
  color: #333;
}

p.para {
  margin: 0 0 1.25rem 0;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--veon-text);
  text-align: justify;
  text-justify: inter-word;
}

  p.para.l2 {
    font-size: 0.85rem;
    line-height: 1.15;
  }

/* Optional: slightly larger intro paragraph */
p.lead {
  font-size: 1.1rem;
  line-height: 1.8;
  font-weight: 500;
  color: var(--veon-text);
}

.container {
  width: 100%;
  /* max-width: 1200px; */
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  padding: 10px;
  background-color: var(--veon-surface);
  border-bottom: 1px solid var(--veon-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  padding: 5px 0;
}

  .header-container.has-menu {
    padding-top: 5px;
    padding-bottom: 5px;
  }

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  flex-wrap: nowrap;
  min-width: 0;
}

.--align-start {
  margin-inline-start: 10px;
  margin-inline-end: auto;
}


.logo 
{
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  white-space: nowrap;
}

.logo-icon-img {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.logo-bg 
{
  background: #ccc;
  padding: 4px;
  border-radius: var(--veon-border-radius-md);
}
.logo-text 
{
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--veon-text);
}
.logo-text.--small 
{
  font-size: 1.25rem;
}
.logo-text span {
  color: var(--veon-primary);
}

/* Regions Section */
.regions {
  display: flex;
  gap: 8px;
  margin: 10px 0;
}

/* Navigation */
.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 15px;
}

a {
  font-weight: 500;
  font-size: 1rem;
}

a,
nav a {
  /*  display: flex;
  justify-content: center;
  justify-items: center;
  gap: 5px;*/
  text-decoration: none;
  color: var(--veon-text);
  transition: color 0.2s;
  padding: 5px 0;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
}

  a.l2 {
    font-size: 0.85rem;
  }

  a:hover,
  nav a:hover {
    color: var(--veon-primary);
  }

  a.active,
  nav a.active {
    color: var(--veon-primary);
  }

  nav a .nav-link-icon {
    padding-inline-end: 5px;
  }

  nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--veon-primary);
    border-radius: 3px;
  }

.switch,
.switch-sm {
  position: relative;
  display: inline-block;
}

.switch {
  width: 60px;
  height: 30px;
}

.switch-sm {
  width: 42px;
  min-width: 42px;
  height: 24px;
}

  .switch input,
  .switch-sm input {
    opacity: 0;
    width: 0;
    height: 0;
  }

.slider,
.slider-sm {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--veon-surface-alt);
  transition: .4s;
  border: 1px solid var(--veon-border);
  border-radius: 34px;
}

  .slider:before,
  .slider-sm:before {
    position: absolute;
    content: "";
    left: 4px;
    bottom: 3px;
    background-color: var(--veon-primary);
    transition: .4s;
    border-radius: var(--veon-border-radius-circle);
  }

  .slider:before {
    height: 22px;
    width: 22px;
  }

  .slider-sm:before {
    height: 16px;
    width: 16px;
  }

input:checked + .slider:before {
  transform: translateX(30px);
}

input:checked + .slider-sm {
  /* background-color: var(--veon-primary-light); */
  background-color: color-mix(in oklab, var(--veon-surface-alt), var(--veon-primary) 30%);
}

  input:checked + .slider-sm:before {
    transform: translateX(16px);
  }

/*
  ===========================================
    Forms
  ===========================================
*/
.form-group {
  margin-bottom: 15px;
}

/*
  ===========================================
    Input Controls
  ===========================================
*/
label {
  display: block;
  margin-bottom: 5px;
  color: var(--veon-text-secondary);
  font-weight: 500;
}

.input-control {
  width: 100%;
  /* padding: 10px 12px; */
  padding: 5px 12px;
  border: 1px solid var(--veon-border);
  border-radius: 6px;
  background-color: var(--veon-bg);
  color: var(--veon-text);
  font-size: 1rem;
  transition: border-color 0.2s;
}

  .input-control:focus {
    outline: none;
    border-color: var(--veon-primary);
    /* box-shadow: 0 0 0 2px var(--veon-primary-extra-light); */
  }

/* Remove Dropdown arrow from Select control */
select {
  -webkit-appearance: none;
  /* Chrome, Safari */
  -moz-appearance: none;
  /* Firefox */
  appearance: none;
  /* Standard */
}

.select-wrapper {
  position: relative;
}

  .select-wrapper::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--veon-text-secondary);
  }

.checkbox-group,
.radio-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--veon-primary);
}

/*
  ========================================
                  Buttons
  ========================================
*/
.btn {
  /* padding: 10px 20px; */
  padding: 8px 20px;
  border: none;
  border-radius: var(--veon-border-radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  /*    margin-left: 10px;
    margin-right: 10px;*/
}

  .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .btn:active {
    transform: translateY(0);
  }

.btn-primary {
  background-color: var(--veon-primary);
  color: white;
}

  .btn-primary:hover {
    background-color: var(--veon-primary-dark);
    color: white;
  }

.btn-secondary {
  background-color: var(--veon-secondary);
  color: white;
}

  .btn-secondary:hover {
    background-color: var(--veon-secondary-dark);
    color: white;
  }

.btn-success {
  background-color: var(--veon-success);
  color: white;
}

  .btn-success:hover {
    background-color: var(--veon-success-dark);
    color: white;
  }

.btn-danger,
.btn-error {
  background-color: var(--veon-error);
  color: white;
}

  .btn-danger:hover,
  .btn-error:hover {
    background-color: var(--veon-error-dark);
    color: white;
  }

.btn-info {
  background-color: var(--veon-info);
  color: white;
}

  .btn-info:hover {
    background-color: var(--veon-info-dark);
    color: white;
  }

.btn-confirm {
  background-color: var(--veon-confirm);
  color: white;
}

  .btn-confirm:hover {
    background-color: var(--veon-confirm-dark);
    color: white;
  }

.btn-table-action {
  background-color: var(--veon-table-action);
  color: white;
}

  .btn-table-action:hover {
    background-color: var(--veon-table-action-dark);
    color: white;
  }

.btn-small {
  padding: 4px 10px;
  font-size: 0.85rem;
  font-weight: 500;
}

.btn-msmall {
  padding: 6px 10px;
  font-size: 0.85rem;
  font-weight: 500;
}

.btn-xsmall {
  padding-left: 2px;
  padding-right: 2px;
  font-size: 0.75rem;
  font-weight: 500;
}

.btn-container {
  display: flex;
  float: inline-end;
  gap: 10px;
  margin: 20px 0;
}

.--table-icon {
  margin: 2px;
  padding: 2px;
}

.--m-2 {
  margin: 2px;
}

/*
  ==========================================
                Tab Contol
  ==========================================
*/
.tab-container {
  border: 1px solid var(--veon-border);
  border-radius: 8px;
  overflow: hidden;
}

.tab-header {
  display: flex;
  background-color: var(--veon-surface-alt);
  border-bottom: 1px solid var(--veon-border);
}

.tab {
  padding: 12px 20px;
  cursor: pointer;
  font-weight: 600;
  color: var(--veon-text-secondary);
  transition: all 0.2s;
  border-bottom: 3px solid transparent;
}

  .tab:hover {
    color: var(--veon-text);
    background-color: var(--veon-surface);
  }

  .tab.active {
    color: var(--veon-primary);
    border-bottom: 3px solid var(--veon-primary);
    background-color: var(--veon-surface);
  }

.tab-content {
  padding: 20px;
  background-color: var(--veon-surface);
}

/*
  ======================================
            Menus + Submenus
  ======================================
*/
/* Menu Styles */
.menu-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.menu {
  background-color: var(--veon-surface);
  border: 1px solid var(--veon-border);
  border-radius: 8px;
  min-width: 200px;
  /*overflow: hidden;*/
  overflow: visible;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.menu-item {
  padding: 12px 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--veon-text);
  transition: background-color 0.2s;
  border-bottom: 1px solid var(--veon-border);
}

  .menu-item:last-child {
    border-bottom: none;
  }

  .menu-item:hover {
    background-color: var(--veon-surface-alt);
  }

  .menu-item.has-submenu {
    position: relative;
  }

    .menu-item.has-submenu::after {
      content: "\f054";
      font-family: "Font Awesome 6 Free";
      font-weight: 900;
      font-size: 0.8rem;
      color: var(--veon-text-secondary);
    }

.submenu {
  position: absolute;
  left: 100%;
  top: 0;
  background-color: var(--veon-surface);
  border: 1px solid var(--veon-border);
  border-radius: 8px;
  min-width: 180px;
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 10;
  /* Animation setup */
  opacity: 0;
  transform: translateX(-8px);
  pointer-events: none;
  transition: opacity 0.18s ease-out, transform 0.18s ease-out;
}

.menu-item:hover > .submenu {
  display: block;
}

.menu-item.has-submenu:hover > .submenu,
.menu-item.has-submenu > .submenu:hover {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.menu-level-2 {
  position: relative;
}

/* Accordion Menu */
.menu.accordion .submenu {
  position: relative;
  left: 0;
  top: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-4px);
  transition: max-height 0.25s ease, opacity 0.2s ease, transform 0.2s ease;
}

.menu.accordion .menu-item.has-submenu {
  position: relative;
}

  .menu.accordion .menu-item.has-submenu::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.75rem;
    transition: transform 0.2s ease;
  }

  /* Expanded state */
  .menu.accordion .menu-item.has-submenu.open > .submenu {
    max-height: 1000px;
    /* sufficiently large */
    opacity: 1;
    transform: translateY(0);
  }

  .menu.accordion .menu-item.has-submenu.open::after {
    transform: rotate(180deg);
  }

/* Optional indentation for nested levels */
.menu.accordion .submenu .menu-item {
  padding-left: 28px;
}

/*
  ============================================
              Models & Dialogs
  ============================================
*/
/* Modal Styles */
.modal-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.modal {
  border: 1px solid var(--veon-border);
  border-radius: 8px;
  overflow: hidden;
  width: 280px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.modal-header {
  padding: 16px 20px;
  background-color: var(--veon-surface-alt);
  border-bottom: 1px solid var(--veon-border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-body {
  padding: 20px;
  background-color: var(--veon-surface);
}

.modal-footer {
  padding: 16px 20px;
  background-color: var(--veon-surface-alt);
  border-top: 1px solid var(--veon-border);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.modal-success .modal-header {
  background-color: var(--veon-success-light);
  color: var(--veon-success-dark);
  border-bottom-color: var(--veon-success);
}

.modal-error .modal-header {
  background-color: var(--veon-error-light);
  color: var(--veon-error-dark);
  border-bottom-color: var(--veon-error);
}

.modal-confirm .modal-header {
  background-color: var(--veon-confirm-light);
  color: var(--veon-confirm-dark);
  border-bottom-color: var(--veon-confirm);
}

.modal-info .modal-header {
  background-color: var(--veon-info-light);
  color: var(--veon-info-dark);
  border-bottom-color: var(--veon-info);
}

/* ==========================================================
    Main Contents
   ==========================================================*/
/* Main Content */
main {
  flex: 1;
  padding: 60px 0;
}

.hero {
  text-align: center;
  padding: 60px 0;
  margin-bottom: 60px;
  background: linear-gradient(135deg, var(--veon-primary-extra-light) 0%, var(--veon-bg) 100%);
  border-radius: var(--veon-border-radius-xl);
}
.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--veon-text);
}
.hero h1 span {
  color: var(--veon-primary);
}

.hero p {
  font-size: 1.3rem;
  color: var(--veon-text-secondary-alt);
  max-width: 700px;
  margin: 0 auto 30px;
}

.hero .btn {
  margin-left: 10px !important;
  margin-right: 10px !important;
}

.features {
  margin-bottom: 80px;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

  .section-title h2 {
    font-size: 2.5rem;
    color: var(--veon-text);
    margin-bottom: 15px;
  }

  .section-title p {
    font-size: 1.2rem;
    color: var(--veon-text-secondary);
    max-width: 600px;
    margin: 0 auto;
  }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: var(--veon-surface);
  border: 1px solid var(--veon-border);
  border-radius: 12px;
  /*  padding: 30px;*/
  padding: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
  width: 325px;
  max-width: 325px;
}

  .feature-card:hover {
    /*    transform: translateY(-10px);*/
    /*    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);*/
    transform: translateY(-5px);
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.25);
  }

.feature-icon {
  width: 70px;
  height: 70px;
  background-color: var(--veon-primary-extra-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  color: var(--veon-primary);
  font-size: 1.8rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--veon-text);
}

.feature-card p {
  color: var(--veon-text-secondary);
  margin-bottom: 20px;
}

.cta-section {
  text-align: center;
  padding: 70px 0;
  background-color: var(--veon-surface);
  border-radius: 16px;
  border: 1px solid var(--veon-border);
}

  .cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--veon-text);
  }

  .cta-section p {
    font-size: 1.2rem;
    color: var(--veon-text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
  }

.btn-large {
  padding: 16px 40px;
  font-size: 1.2rem;
}

/* Footer */
footer {
  background-color: var(--veon-surface-alt);
  border-top: 1px solid var(--veon-border);
  padding: 60px 0 30px;
  margin-top: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-column h3 {
  font-size: 1.4rem;
  margin-bottom: 25px;
  color: var(--veon-text);
}

.footer-column ul {
  list-style: none;
}

  .footer-column ul li {
    margin-bottom: 12px;
  }

    .footer-column ul li a {
      text-decoration: none;
      color: var(--veon-text-secondary);
      transition: color 0.2s;
    }

      .footer-column ul li a:hover {
        color: var(--veon-primary);
      }

.footer-column p {
  color: var(--veon-text-secondary);
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--veon-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--veon-text);
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid var(--veon-border);
}

  .social-link:hover {
    background-color: var(--veon-primary);
    color: white;
    transform: translateY(-3px);
  }

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--veon-border);
  color: var(--veon-text-secondary);
  font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .header-container {
    flex-direction: column;
    /* gap: 20px; */
  }

  nav ul {
    gap: 15px;
  }

  .hero h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.veon-data-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  /* border: 1px solid red; */
}

.veon-html-block {
  max-width: 1024px;
  padding: clamp(5rem, 12vw, 10rem) 5%;
  /*  margin: 0 0 1.25rem 0;*/
  margin: 0 auto 1.25rem auto;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--veon-text);
  text-align: justify;
  text-justify: inter-word;
}
