/* Add custom CSS styles below */ 
/* =========================================
   Link Store - Device Finder
   ========================================= */

#link-device-finder {
  direction: rtl;
  width: 100%;
  margin: 28px 0;
  font-family: inherit;
}

#link-device-finder * {
  box-sizing: border-box;
}

.link-device-finder__container {
  width: calc(100% - 32px);
  max-width: 1200px;
  margin: 0 auto;
}

.link-device-finder__box {
  background: #fff;
  border: 1px solid #eeeeee;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 5px 24px rgba(0, 0, 0, 0.045);
}

.link-device-finder__header {
  text-align: center;
  margin-bottom: 26px;
}

.link-device-finder__title {
  margin: 0 0 7px;
  font-size: 25px;
  line-height: 1.4;
  font-weight: 800;
  color: #111;
}

.link-device-finder__subtitle {
  margin: 0;
  color: #777;
  font-size: 14px;
  line-height: 1.8;
}

.link-device-finder__form {
  display: grid;
  grid-template-columns: 1fr 1.45fr auto;
  gap: 14px;
  align-items: end;
}

.link-device-finder__field {
  min-width: 0;
}

.link-device-finder__label {
  display: block;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: #242424;
}

.link-device-finder__select-wrap {
  position: relative;
}

.link-device-finder__select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 52px;
  border: 1px solid #dedede;
  border-radius: 11px;
  background: #fff;
  color: #222;
  padding: 0 16px 0 42px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

.link-device-finder__select:hover {
  border-color: #b9b9b9;
}

.link-device-finder__select:focus {
  border-color: #51007A;
  box-shadow: 0 0 0 3px rgba(81, 0, 122, 0.09);
}

.link-device-finder__select:disabled {
  cursor: not-allowed;
  color: #aaa;
  background: #f7f7f7;
}

.link-device-finder__arrow {
  position: absolute;
  left: 15px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-left: 2px solid #8a8a8a;
  border-bottom: 2px solid #8a8a8a;
  transform: translateY(-65%) rotate(-45deg);
  pointer-events: none;
}

.link-device-finder__button {
  height: 52px;
  min-width: 160px;
  padding: 0 24px;
  border: 0;
  border-radius: 11px;
  background: #51007A;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  transition:
    transform .15s ease,
    opacity .2s ease,
    background .2s ease;
}

.link-device-finder__button:hover:not(:disabled) {
  background: #430064;
  transform: translateY(-1px);
}

.link-device-finder__button:active:not(:disabled) {
  transform: translateY(0);
}

.link-device-finder__button:disabled {
  opacity: .42;
  cursor: not-allowed;
}

.link-device-finder__button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Tablet */
@media (max-width: 850px) {
  .link-device-finder__form {
    grid-template-columns: 1fr 1fr;
  }

  .link-device-finder__button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

/* Mobile */
@media (max-width: 600px) {
  #link-device-finder {
    margin: 20px 0;
  }

  .link-device-finder__container {
    width: calc(100% - 24px);
  }

  .link-device-finder__box {
    padding: 21px 16px;
    border-radius: 15px;
  }

  .link-device-finder__header {
    margin-bottom: 20px;
  }

  .link-device-finder__title {
    font-size: 21px;
  }

  .link-device-finder__subtitle {
    font-size: 13px;
  }

  .link-device-finder__form {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .link-device-finder__field,
  .link-device-finder__button {
    width: 100%;
  }

  .link-device-finder__select,
  .link-device-finder__button {
    height: 50px;
  }
}