
.avalie-wrapper {
  bottom: 24px;
  left: auto;
  position: fixed;
  right: 24px;
  z-index: 1050;
}

.avalie {
  align-items: center;
  background: #1351b4;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  color: #fff;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 700;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
}

.avalie:hover,
.avalie:focus {
  background: #0c326f;
  color: #fff;
}

.avalie:focus {
  outline: 3px solid rgba(19, 81, 180, 0.35);
  outline-offset: 3px;
}

.avalie_icone,
.modal-icone {
  align-items: center;
  background: #0c326f;
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: center;
}

.avalie_icone {
  height: 32px;
  width: 32px;
}

.box-avalie {
  bottom: 64px;
  left: auto;
  position: absolute;
  right: 0;
  width: min(340px, calc(100vw - 48px));
}

.box-content {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.box-header {
  align-items: center;
  background: #1351b4;
  color: #fff;
  display: flex;
  padding: 20px 18px 16px;
}

.modal-icone {
  height: 52px;
  width: 52px;
}

.modal-title {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
}

.box-footer {
  padding: 18px;
}

.modal-avalie-btn {
  align-items: center;
  background: #1351b4;
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  text-decoration: none;
  width: 100%;
}

.modal-avalie-btn:hover,
.modal-avalie-btn:focus {
  background: #0c326f;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 575.98px) {
  .avalie-wrapper {
    bottom: 16px;
    right: 16px;
  }

  .box-avalie {
    width: calc(100vw - 32px);
  }
}

@media (min-width: 768px) {
  .banner {
    flex-wrap: nowrap;
  }

  header .navbar-brand {
    flex: 0 1 500px;
    height: 45px !important;
    width: min(40vw, 500px) !important;
    background-size: contain;
  }

  .banner > .search.container.navbar {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
  }

  #header-collapse {
    flex: 0 0 auto;
    margin-left: auto;
    width: auto;
  }

  #header-collapse .navbar-nav {
    flex-wrap: nowrap;
    gap: 1rem;
    white-space: nowrap;
  }

  #header-collapse .navbar-nav > li {
    flex: 0 0 auto;
  }

  #header-collapse .navbar-nav > li > a,
  #header-collapse .navbar-nav button.dropdown-toggle {
    font-size: 1.125rem;
  }
}
