html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* Custom Navbar Styles */
.navbar {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand .rounded-circle {
  transition: all 0.3s ease;
}

.navbar-brand .rounded-circle:hover {
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.3) !important;
}

.navbar-nav .nav-link {
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Language selector styling */
.navbar-text {
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.5px;
}

/* Language buttons styling */
.language-btn {
  position: relative;
  cursor: pointer;
}

.language-btn:hover {
  color: #8A8B91 !important;
}

.language-btn.active {
  color: #64656B !important;
}

.language-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #64656B;
  border-radius: 1px;
}

/* Flag icons */
.flag-icon {
  width: 16px;
  height: 12px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.flag-icon-kz {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect fill="%2300afca" width="900" height="600"/><rect fill="%23fec50c" y="200" width="900" height="200"/><circle fill="%23fec50c" cx="450" cy="300" r="60"/><circle fill="%2300afca" cx="450" cy="300" r="40"/></svg>');
}

.flag-icon-ru {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect fill="%23fff" width="900" height="600"/><rect fill="%23005baa" y="200" width="900" height="200"/><rect fill="%23d52b1e" y="400" width="900" height="200"/></svg>');
}

.flag-icon-gb {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect fill="%23012169" width="900" height="600"/><rect fill="%23fff" width="900" height="60" y="120"/><rect fill="%23fff" width="60" height="600" x="420"/><rect fill="%23c8102e" width="900" height="40" y="140"/><rect fill="%23c8102e" width="40" height="600" x="440"/></svg>');
}

/* Profile dropdown styling */
.dropdown-menu {
  background: #15171E;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.dropdown-item {
  color: #FFFFFF;
  transition: background-color 0.3s ease;
}

.dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

/* Menu toggle button styling */
.navbar-nav .btn-link .bg-white {
  transition: all 0.3s ease;
}

.navbar-nav .btn-link:hover .bg-white {
  background-color: rgba(255, 255, 255, 0.8) !important;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .navbar-nav .navbar-text {
    font-size: 11px;
  }
  
  .navbar-brand .rounded-circle {
    width: 25px !important;
    height: 25px !important;
  }
}

/* Breadcrumbs Styles */
.breadcrumb {
  background: transparent;
  padding: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
  display: none;
}

.breadcrumb-item a:hover {
  color: #64656B !important;
  transition: color 0.3s ease;
}

.breadcrumb-item.active span {
  font-weight: 600;
}

/* Custom arrow separator */
.breadcrumb-item .mx-2 {
  margin: 0 8px;
}