/*------ navbar start ------*/
.navbar {
  border-radius: $default-radius;
  .navbar-nav {
    .nav-link {
      line-height: 1;
      padding: 0.4rem 1rem;
      font-weight: 500;
    }
  }
  .navbar-toggler {
    padding: 0.4rem;
    font-size: 1rem;
    line-height: 1;
    color: $custom-black;
    border: 1px solid $default-border;
    border-radius: $default-radius;
    .navbar-toggler-icon {
      width: 1rem;
      height: 1rem;
      position: relative;
      background-image: none;
      &:before {
        content: '\F479';
        font-family: bootstrap-icons !important;
        position: absolute;
        font-size: 1rem;
        color: $default-text-color;
        inset-inline-start: 0;
      }
    }
  }
  .navbar-toggler:focus {
    box-shadow: none;
  }
}
.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
  color: $custom-black;
}
.navbar-brand {
  margin-inline-end: 1.5rem;
  img {
    height: 1.5rem;
    line-height: 1.5rem;
  }
  &:hover, &:focus {
    color: $default-text-color;
  }
}
/* Start:: navbar transparent color schemes */
.navbar-primary-transparent {
  background-color: $primary-01;
  color: $default-text-color;
  .nav-link {
    &.active {
      background-color: $primary;
      color: $white !important;
    }
    &:hover {
      color: $default-text-color;
    }
  }
  .form-control:focus {
    border-color: $primary;
  }
}
.navbar-secondary-transparent {
  background-color: rgba(var(--secondary-rgb), 0.1);
  color: $default-text-color;
  .nav-link {
    &.active {
      background-color: $secondary;
      color: $white !important;
    }
    &:hover {
      color: $default-text-color;
    }
  }
  .form-control:focus {
    border-color: $secondary;
  }
}
.navbar-warning-transparent {
  background-color: rgba(var(--warning-rgb), 0.1);
  color: $default-text-color;
  .nav-link {
    &.active {
      background-color: $warning;
      color: $white !important;
    }
    &:hover {
      color: $default-text-color;
    }
  }
  .form-control:focus {
    border-color: $warning;
  }
}
.navbar-info-transparent {
  background-color: rgba(var(--info-rgb), 0.1);
  color: $default-text-color;
  .nav-link {
    &.active {
      background-color: $info;
      color: $white !important;
    }
    &:hover {
      color: $default-text-color;
    }
  }
  .form-control:focus {
    border-color: $info;
  }
}
.navbar-success-transparent {
  background-color: rgba(var(--success-rgb), 0.1);
  color: $default-text-color;
  .nav-link {
    &.active {
      background-color: $success;
      color: $white !important;
    }
    &:hover {
      color: $default-text-color;
    }
  }
  .form-control:focus {
    border-color: $success;
  }
}
.navbar-danger-transparent {
  background-color: rgba(var(--danger-rgb), 0.1);
  color: $default-text-color;
  .nav-link {
    &.active {
      background-color: $danger;
      color: $white !important;
    }
    &:hover {
      color: $default-text-color;
    }
  }
  .form-control:focus {
    border-color: $danger;
  }
}
.navbar-dark-transparent {
  background-color: rgba(var(--dark-rgb), 0.1);
  color: $default-text-color;
  .nav-link {
    &.active {
      background-color: $custom-black;
      color: $custom-white !important;
    }
    &:hover {
      color: $default-text-color;
    }
  }
  .form-control:focus {
    border-color: $dark;
  }
}
/* End:: navbar transparent color schemes */

/* Start:: navbar solid color schemes */
.navbar-primary {
  background-color: $primary;
  color: $black;
  .nav-link {
    color: $black !important;
    &.active {
      background-color: $white-2;
      color: $white !important;
    }
    &:hover {
      color: $white !important;
    }
  }
  .form-control {
    background-color: $white-2;
    color: $black;
  }
  .form-control:focus {
    border-color: $white-2;
  }
  .form-control::-webkit-input-placeholder {
    color: $black;
  }
  .navbar-toggler {
      border: 1px solid rgba(255,255,255,0.2);
      .navbar-toggler-icon:before {
          color: $white;
      }
  }
}
.navbar-secondary {
  background-color: $secondary;
  color: $white;
  .nav-link {
    color: $black !important;
    &.active {
      background-color: $white-2;
      color: $white !important;
    }
    &:hover {
      color: $white !important;
    }
  }
  .form-control {
    background-color: $white-2;
    color: $black;
  }
  .form-control:focus {
    border-color: $white-2;
  }
  .form-control::-webkit-input-placeholder {
    color: $black;
  }
  .navbar-toggler {
      border: 1px solid rgba(255,255,255,0.2);
      .navbar-toggler-icon:before {
          color: $white;
      }
  }
}
.navbar-warning {
  background-color: $warning;
  color: $white;
  .nav-link {
    color: $white !important;
    &.active {
      background-color: $white-2;
      color: $white !important;
    }
    &:hover {
      color: $white !important;
    }
  }
  .form-control {
    background-color: $white-2;
    color: $black;
  }
  .form-control:focus {
    border-color: $white-2;
  }
  .form-control::-webkit-input-placeholder {
    color: $black;
  }
  .navbar-toggler {
      border: 1px solid rgba(255,255,255,0.2);
      .navbar-toggler-icon:before {
          color: $white;
      }
  }
}
.navbar-info {
  background-color: $info;
  color: $white;
  .nav-link {
    color: $white !important;
    &.active {
      background-color: $white-2;
      color: $white !important;
    }
    &:hover {
      color: $white !important;
    }
  }
  .form-control {
    background-color: $white-2;
    color: $black;
  }
  .form-control:focus {
    border-color: $white-2;
  }
  .form-control::-webkit-input-placeholder {
    color: $black;
  }
  .navbar-toggler {
      border: 1px solid rgba(255,255,255,0.2);
      .navbar-toggler-icon:before {
          color: $white;
      }
  }
}
.navbar-success {
  background-color: $success;
  color: $white;
  .nav-link {
    color: $white !important;
    &.active {
      background-color: $white-2;
      color: $white !important;
    }
    &:hover {
      color: $white !important;
    }
  }
  .form-control {
    background-color: $white-2;
    color: $black;
  }
  .form-control:focus {
    border-color: $white-2;
  }
  .form-control::-webkit-input-placeholder {
    color: $black;
  }
  .navbar-toggler {
      border: 1px solid rgba(255,255,255,0.2);
      .navbar-toggler-icon:before {
          color: $white;
      }
  }
}
.navbar-danger {
  background-color: $danger;
  color: $white;
  .nav-link {
    color: $white !important;
    &.active {
      background-color: $white-2;
      color: $white !important;
    }
    &:hover {
      color: $white !important;
    }
  }
  .form-control {
    background-color: $white-2;
    color: $black;
  }
  .form-control:focus {
    border-color: $white-2;
  }
  .form-control::-webkit-input-placeholder {
    color: $black;
  }
  .navbar-toggler {
      border: 1px solid rgba(255,255,255,0.2);
      .navbar-toggler-icon:before {
          color: $white;
      }
  }
}
.navbar-dark {
  background-color: $dark;
  color: $custom-white;
  .nav-link {
    color: $custom-white !important;
    &.active {
      background-color: $white-2;
      color: $custom-white !important;
    }
    &:hover {
      color: $custom-white !important;
    }
  }
  .form-control {
    background-color: $white-2;
    color: $black;
  }
  .form-control:focus {
    border-color: $white-2;
  }
  .form-control::-webkit-input-placeholder {
    color: $black;
  }
  .navbar-toggler {
      border: 1px solid $white-1;
      .navbar-toggler-icon:before {
          color: $custom-white;
      }
  }
}
/* End:: navbar solid color schemes */
/*------ navbar end ------*/