:root {
  --primary: #007bff;
  --bg: #f2f2f7;
  --card-bg: rgba(255, 255, 255, 0.72);
  --text: #1d2433;
  --gray: #566074;
  --nav-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
  --nav-radius: 50px;
}

.navbar {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: min(92vw, 500px);
  background: rgba(255, 255, 255, 0.463);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--nav-radius);
  padding: 10px 8px 12px;
  z-index: 1000;
  box-sizing: border-box;
}

.navbar ul {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 68px;
}

.navbar ul li {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.navbar ul li a {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--gray);
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.2s ease;
  padding: 6px;
}

.navbar ul li a .nav-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 1.2rem;
  line-height: 1;
}

.navbar ul li a .nav-label {
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
}

.navbar ul li a.active,
.navbar ul li a:hover,
.navbar ul li a:focus-visible {
  color: var(--primary);
  background: rgba(0, 123, 255, 0.08);
}

.navbar ul li a.createcar {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  min-width: 58px;
  min-height: 58px;
  background: linear-gradient(135deg, #0080ff, #005cff);
  color: white !important;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(0, 123, 255, 0.28);
  border: 4px solid rgba(255, 255, 255, 0.88);
  margin: 0 auto;
  padding: 0;
  flex: 0 0 58px;
  transform: translateY(2px);
}

.navbar ul li a.createcar .nav-ico {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  font-size: 1.35rem;
  line-height: 1;
  margin: 0;
}

.navbar ul li a.createcar .nav-label {
  display: none;
}

@media (max-width: 460px) {
  .navbar {
    width: 96vw;
    bottom: 10px;
    padding: 8px 6px 10px;
  }

  .navbar ul {
    height: 62px;
    gap: 4px;
  }

  .navbar ul li a {
    gap: 4px;
    padding: 5px 0 3px;
  }

  .navbar ul li a .nav-label {
    font-size: 0.62rem;
  }

  .navbar ul li a.createcar {
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
    margin: 0 auto;
    flex-basis: 52px;
    transform: translateY(1px);
  }
}