@import url("./vars.css");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html,
body {
  font-size: var(--main-font-size);
  font-family: var(--main-font-family);
  background: var(--main-background);
  color: var(--main-font-color);
}

.container {
  max-width: var(--container-width);
  padding: 0 15px;
  margin: 0 auto;
}

.main {
  padding-top: 100px;
}

.section {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.side {
  background: #fff;
  width: 570px;
  border-radius: 6px;
  padding: 35px 35px 15px 35px;
  box-shadow: 5px 5px 10px 0 #969696;
}

.title_2 {
  font-size: 24px;
  line-height: 1.33;
  font-weight: 500;
  color: #1c1c1c;
  margin-bottom: 20px;
}

.row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.col {
  display: flex;
  flex-direction: column;
}

.col_half {
  width: 50%;
}

.col_full {
  width: 100%;
}

.label {
  margin-bottom: 7px;
  line-height: 1.47;
  cursor: pointer;
}

input {
  border: 1px solid #e4e4e4;
  border-radius: var(--main-border-radius);
  font-size: inherit;
  height: 38px;
  padding: 0 10px;
}

input:focus-visible {
  outline: 1px solid var(--background-btn);
}

.form_select {
  border: 1px solid #e4e4e4;
  border-radius: var(--main-border-radius);
  font-size: inherit;
  height: 38px;
  padding: 0 10px;
  color: #969696;
  appearance: none;
  background-image: url(../assets/icons/arrows.png);
  background-repeat: no-repeat;
  background-position: right 15px center;
}

.form_select:focus-visible {
  outline: 1px solid var(--background-btn);
}

.form_select:valid {
  color: #000;
}

.gender__item {
  display: flex;
  gap: 1vw;
  justify-content: flex-start;
  margin-bottom: 20px;
}

.gender__item label {
  display: flex;
  align-items: center;
}

.gender__check {
  position: relative;
  width: 20px;
  height: 20px;
  margin-right: 15px;
  border-radius: 50%;
  border: 1px solid #e4e4e4;
  cursor: pointer;
}

.gender__check::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: 0 0 0px 5px #007bff inset;
  opacity: 0;
  transition: all 0.3s;
}

input[type="radio"] {
  display: none;
}

input[type="radio"]:checked ~ .gender__check::after {
  opacity: 1;
}

.btn {
  background: var(--background-btn);
  color: #fff;
  padding: 8px 10px;
  border: 1px solid #e4e4e4;
  border-radius: var(--main-border-radius);
}

.btn_full {
  width: 100%;
  cursor: pointer;
}

.btn_min {
  width: 25%;
}

.text {
  color: #969696;
  padding-top: 7px;
}

.terms {
  text-align: center;
  color: #969696;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: -0.1px;
}

.text__link {
  text-decoration: none;
  color: #007bff;
}

.line {
  border: 1px solid #e4e4e4;
  margin: 20px 0;
}

.singup-form__login {
  text-align: center;
  line-height: 22px;
  letter-spacing: -0.2px;
}

.singup-form__login a {
  padding-left: 20px;
  color: #007bff;
}

.btn_min {
  cursor: pointer;
}

.profile__avatar-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #969696;
}

.profile__avatar-upload {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  border: 1px solid #e4e4e4;
  border-radius: var(--main-border-radius);
  font-size: inherit;
  width: 138px;
  height: 30px;
  background-image: url(../assets/icons/photo.png);
  background-repeat: no-repeat;
  background-position: right 15px center;
  cursor: pointer;
}

.profile__avatar-text {
  color: #969696;
  font-size: 13px;
  width: 141px;
  letter-spacing: -0.1px;
}

.btn-trash {
  height: 30px;
  width: 30px;
  border-radius: var(--main-border-radius);
  background-color: #fff;
  border: 1px solid #e4e4e4;
  font-size: 20px;
  cursor: pointer;
}
