@charset "UTF-8";
.edit {
  padding: 30px 0 90px;
}

.profile {
  padding-bottom: 90px;
}

.profile-title {
  color: var(--1, #202e35);
  leading-trim: both;
  text-edge: cap;
  /* H2 */
  font-family: Circe;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 40px; /* 125% */
}

.profile-body {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.profile-item {
  padding: 25px 30px 25px;
  border-radius: 9px;
  border: 1px solid var(--1, #e3e7ef);
  background: #fff;
}

.nameblock {
  display: flex;
  gap: 25px;
  align-items: center;
  position: relative;
  grid-column: 1 / -1;
}
.nameblock .profile-image {
  width: 88px;
  border-radius: 0;
  border: none;
  background: transparent;
}

.profile-image {
  position: relative;
  padding: 10px;
  width: 48px;
  border-radius: 8px;
  border: 1px solid var(--1, #e3e7ef);
  background: #fff;
  display: inline-block;
}
.profile-image img {
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
     width: 100%;
}

.profile-name {
  color: var(--1, #202e35);
  leading-trim: both;
  text-edge: cap;
  /* H3 */
  font-family: Circe;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.profile-phone {
  margin-top: 10px;
  color: var(--2, #5c647a);
  leading-trim: both;
  text-edge: cap;
  /* Наборный текст */
  font-family: Circe;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 23px; /* 153.333% */
}

.profile-exit {
  position: absolute;
  top: 21px;
  right: 21px;
  color: var(--2, #5c647a);
  leading-trim: both;
  text-edge: cap;
  /* Наборный текст */
  font-family: Circe;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 23px; /* 153.333% */
  display: block;
  background: transparent;
}

.profile-item-name {
  margin-top: 18px;
  color: var(--1, #202e35);
  leading-trim: both;
  text-edge: cap;
  /* H4 */
  font-family: Circe;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  display: block;
}

.edit .edit-body {
  padding: 40px 20px 50px;
  border-radius: 9px;
  background: #fff;
  border: 1px solid #e3e7ef;
}

.edit-title {
  color: var(--2, #5c647a);
  leading-trim: both;
  text-edge: cap;
  /* Наборный текст */
  font-family: Circe;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 23px; /* 153.333% */
}

.edit-form {
  margin-top: 35px;
}

.edit-item {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 2fr 5fr 5fr;
  gap: 15px;
  align-items: center;
}

.edit-name {
  color: var(--2, #5c647a);
  leading-trim: both;
  text-edge: cap;
  /* Наборный текст */
  font-family: Circe;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 23px; /* 153.333% */
}

.edit-input {
  padding: 20px;
  border-radius: 6px;
  border: 1px solid var(--1, #e3e7ef);
  background: #fff;
  width: 100%;
  display: block;
  color: var(--1, #202e35);
  leading-trim: both;
  text-edge: cap;
  /* Наборный текст */
  font-family: Circe;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 23px; /* 153.333% */
}

.edit-info {
  padding-left: 23px;
  position: relative;
  color: var(--2, #5c647a);
  leading-trim: both;
  text-edge: cap;
  /* Наборный текст */
  font-family: Circe;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 23px; /* 153.333% */
}
.edit-info:before {
  content: "";
  width: 14px;
  height: 14px;
  display: block;
  position: absolute;
  background: url("../img/profile/info.svg");
  top: 2px;
  left: 0;
}

.edit-btn-body {
  margin-top: 35px;
  display: flex;
  gap: 15px;
  align-items: center;
}

.edit-btn-remove {
  background: #fff;
  color: #202e35;
  border-radius: 6px;
  border: 1px solid rgba(238, 238, 238, 0.93);
}

@media (max-width: 1026px) {
  .profile-body {
    grid-template-columns: repeat(2, 1fr);
  }
  .profile-item-newsletter {
    grid-column: 1 / -1;
  }
}
@media (max-width: 452px) {
  .profile-item {
    padding: 10px;
  }
  .profile-body {
    gap: 10px;
  }
  .profile-name {
    color: var(--1, #202e35);
    leading-trim: both;
    text-edge: cap;
    /* H3 */
    font-family: Circe;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
  }
}
@media (max-width: 905px) {
  .edit-info br {
    display: none;
  }
}
@media (max-width: 708px) {
  .edit-item {
    display: block;
    margin-top: 25px;
  }
  .edit-info {
    margin-top: 10px;
  }
  .edit-btn-body {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .edit-btn-body .btn {
    width: 100%;
  }
}
@media (max-width: 551px) {
  .edit-btn-body {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .edit-btn-body .btn {
    width: 100%;
  }
  .edit-btn-body .btn span {
    display: none;
  }
}

.profile-item-newsletter {
  display: flex;
  flex-direction: column;
}

.profile-item-newsletter .newsletter-subscribe {
  max-width: none;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.profile-item-newsletter .newsletter-subscribe-text {
  flex: 1;
}

.profile-item-newsletter .edit-title {
  font-size: 18px;
  font-weight: 700;
  color: #202e35;
  line-height: 24px;
}

.newsletter-subscribe-text {
  margin: 12px 0 16px;
  color: #5c647a;
  font-size: 14px;
  line-height: 1.45;
}

.newsletter-message {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.newsletter-message.success,
.newsletter-message-success {
  background: #e8f5e9;
  color: #2e7d32;
}

.newsletter-message.error,
.newsletter-message-error {
  background: #ffebee;
  color: #c62828;
}

.newsletter-subscribe {
  max-width: 480px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.newsletter-input,
.newsletter-form .form-control {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 12px 16px;
  border-radius: 6px;
  border: 1px solid #e3e7ef;
  background: #fff;
  color: #202e35;
  font-family: Circe, sans-serif;
  font-size: 15px;
  line-height: 1.4;
  -webkit-appearance: none;
  appearance: none;
}

.newsletter-input:focus,
.newsletter-form .form-control:focus {
  outline: none;
  border-color: #7cb342;
  box-shadow: 0 0 0 2px rgba(124, 179, 66, 0.15);
}

.newsletter-input::placeholder {
  color: #9aa3b5;
}

.newsletter-form .btn {
  min-width: 0;
  width: 100%;
  font-size: 14px;
  padding: 12px 16px;
}

section.profile:has(.auth-page) > .container > .profile-title {
  text-align: center;
}

section.profile:has(.auth-page) > .container > .auth-page,
.auth-page {
  width: 100%;
  max-width: 500px;
  margin: 30px auto 0;
}

.auth-tab-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.auth-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.auth-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 22px;
  border-radius: 999px;
  border: 1px solid #e3e7ef;
  background: #fff;
  color: #5c647a;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  user-select: none;
}

.auth-chip:hover {
  border-color: #649c52;
  color: #4b933e;
}

#auth-tab-login:checked ~ .auth-chips label[for="auth-tab-login"],
#auth-tab-register:checked ~ .auth-chips label[for="auth-tab-register"] {
  background: #649c52;
  border-color: #649c52;
  color: #fff;
}

.auth-panel {
  display: none;
}

#auth-tab-login:checked ~ .auth-panel-login,
#auth-tab-register:checked ~ .auth-panel-register {
  display: block;
}

.auth-panel-body {
  padding: 28px 24px 24px;
}

.auth-page-policy {
  margin-top: 20px;
  color: #5c647a;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.auth-page-policy a {
  color: #649c52;
  text-decoration: underline;
}

.auth-page .modal-form {
  margin-top: 0;
}

.auth-page .modal-btn {
  width: 100%;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .auth-page {
    max-width: 100%;
  }

  .auth-chips {
    gap: 8px;
  }

  .auth-chip {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
    padding: 8px 14px;
    font-size: 14px;
  }

  .auth-panel-body {
    padding: 20px 16px 16px;
  }
}
/*# sourceMappingURL=profile.css.map */