* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: Montserrat;
  src: url(../assets/fonts/Montserrat-Bold.woff2);
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Montserrat;
  src: url(../assets/fonts/Montserrat-SemiBold.woff2);
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Montserrat;
  src: url(../assets/fonts/Montserrat-Medium.woff2);
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Montserrat;
  src: url(../assets/fonts/Montserrat-Regular.woff2);
  font-weight: 400;
  font-display: swap;
}

.payment {
  padding-top: 26px;
  padding-bottom: 96px;
  font-family: Montserrat, sans-serif;
}
.payment__container {
  max-width: 391px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.payment__header {
  background: linear-gradient(90deg, #dba43c 0%, #cf9c3e 100%);
  border: 1px solid #bf7c00;
  border-radius: 20px;
  padding: 11px 8px 17px 8px;
  margin-bottom: 39px;
}
.payment__logo {
  max-width: 335px;
  width: 100%;
}
.payment__course-info {
  font-weight: 500;
  font-size: 20px;
  line-height: 26px;
  text-align: center;
}
.payment__form {
  display: flex;
  flex-direction: column;
  gap: 23px;
}
.payment__form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.payment__label {
  font-weight: 500;
  font-size: 20px;
  line-height: 100%;
}
.payment__input {
  min-height: 61px;
  padding: 0 20px;
  border-radius: 10px;
  border: 1px solid #7c7c7c;
  outline: none;
  max-width: 351px;
}
.payment__input:focus {
  border: 2px solid #d29e3e;
}
.payment__phone-wrapper {
  display: flex;
  align-items: center;
  gap: 7px;
}
.payment__input--phone {
  border: none;
  outline: none;
  width: 140px;
  height: 80%;
}
.payment__submit {
  padding: 17px;
  border-radius: 50px;
  background: linear-gradient(90deg, #dba33c 0%, #d09d3e 100%);
  border: 1px solid #f8b600;
  font-weight: 500;
  font-size: 32px;
  line-height: 100%;
  cursor: pointer;
  width: 100%;
}

.dropdown {
  position: relative;
}

.dropdown__button {
  padding: 10px;
  border: 1px solid #7c7c7c;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
}
.dropdown__button svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}
.dropdown__button--open svg {
  transform: rotate(180deg) translateY(-5px);
}
#country-button {
  border: none;
  width: fit-content;
  max-width: 80px;
  padding: 0;

  svg {
    margin-bottom: 5px;
  }
}
.dropdown__list {
  position: absolute;
  top: 100%;
  left: 0;
  border: 1px solid #7c7c7c;
  border-radius: 4px;
  background: #fff;
  z-index: 1000;
  max-height: 200px;
  overflow-y: auto;
  display: none;
}

.dropdown__item {
  padding: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}
.dropdown__item:hover {
  background: #f0f0f0;
}
#country-list {
  width: fit-content;
  min-width: 100px;
  align-items: center;
  flex-direction: column;
  max-width: 100px;
  margin-top: 5px;
  left: -100%;
}
#tariff-list {
  width: 100%;
  flex-direction: column;
  margin-top: 10px;
}

.dropdown__list--open {
  display: flex;
}
#country-code {
  width: fit-content;
  border: none;
  outline: none;
  width: fit-content;
  max-width: 50px;
}
input{
  font-size: 18px;
  font-weight: 500;
}