* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Open Sans", "Helvetica Neue", sans-serif;
  background: #F9FAFB;
  color: #363646;
}

.account-page {
  width: 100%;
  min-height: 100vh;
}

.account-page__wrap {
  width: 100%;
  min-height: 100vh;
}

.account-page__top {
  width: 100%;
  padding: 28px 24px 0;
  display: flex;
  justify-content: center;
}

.account-page__logo {
  height: 28px;
  width: auto;
}

.account-page__header {
  width: 100%;
  margin-top: 24px;
  position: relative;
}

.account-page__header-container {
  width: 100%;
  max-width: 1080px;
  height: 102px;
  margin: 0 auto;
  position: relative;
  padding: 0 24px;
}

.account-page__shape {
  position: absolute;
}

.account-page__shape--small-circle {
  left: 24px;
  top: 18px;
}

.account-page__shape--half-circle {
  right: 160px;
  top: 0;
}

.account-page__shape--plus {
  right: 24px;
  top: 0;
}

.account-page__content {
  width: 100%;
  padding: 0 24px 48px;
}

.account-page__container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

.account-page__title {
  margin: 8px 0 20px;
}

.account-page__title h1 {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  color: #363646;
}

.account-page__card {
  background: #fff;
  border: 1px solid #EDEFF2;
  border-radius: 8px;
  box-shadow: 0 16px 40px -4px rgba(0, 0, 0, 0.07);
  padding: 20px;
}

.account-page__profile {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.account-page__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #EDEFF2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.account-page__profile-name {
  font-size: 18px;
  font-weight: 700;
}

.account-page__profile-email,
.account-page__profile-id {
  color: #8496AA;
  font-size: 13px;
}

.account-page__profile-id {
  margin-top: 2px;
  font-size: 12px;
}

.account-page__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.account-page__card-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 12px;
}

.account-page__kv {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.account-page__kv-label {
  font-size: 11px;
  font-weight: 600;
  color: #8496AA;
  text-transform: uppercase;
}

.account-page__kv-value {
  font-size: 14px;
  margin-top: 2px;
}

.account-page__apps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.account-page__apps-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.account-page__badge {
  font-size: 11px;
  background: #E6F7EE;
  color: #1A9E4F;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 600;
  white-space: nowrap;
}

.account-page__actions {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
}

@media (min-width: 900px) {
  .account-page__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .account-page__shape--half-circle {
    display: none;
  }
  .account-page__shape--plus {
    right: 12px;
  }
}

.login-page {
  font-family: "Open Sans", "Helvetica Neue", sans-serif;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100vh;
}

.login-page .failed-auth {
  margin-bottom: 16px;
  width: 100%;
  max-width: 472px;
}

.login-main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-main .form-container {
  width: 472px;
  background-color: #FFFFFF;
  border-radius: 4px;
  box-shadow: 0 16px 40px -4px rgba(0, 0, 0, 0.07);
  padding: 42px 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-main .form-container form {
  width: 100%;
  max-width: 392px;
}

.login-main .form-field {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.login-main .form-field + .form-field {
  margin-top: 21px;
}

.login-main .send-button {
  width: 100%;
  margin-top: 24px;
}

.login-main .remember-container {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 24px 0 0;
  font-size: 14px;
  color: #363646;
  width: 100%;
}

.login-main .remember-container .mx-checkbox {
  margin: 0;
}

.login-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 37px;
  margin-top: 80px;
  margin-bottom: 40px;
  text-align: center;
}

.login-header .logo-container img {
  width: auto;
}

.login-header h1 {
  font-size: 22px;
  font-weight: 700;
  color: #363646;
  padding-bottom: 6px;
  margin: 0;
}

.login-header p {
  margin: 0;
  font-size: 14px;
  color: #363646;
}

.login-header a {
  color: #1C9CEA;
  font-weight: 600;
  text-decoration: none;
}

.status-box {
  width: 100%;
  max-width: 472px;
  margin-bottom: 16px;
}

.login-footer {
  margin-top: 24px;
  text-align: center;
  font-size: 13px;
  color: #8496AA;
}

.login-main .divider {
  display: flex;
  align-items: center;
  margin: 24px 0 16px;
  font-size: 14px;
  color: #8496AA;
  width: 100%;
  max-width: 392px;
}

.login-main .divider::before,
.login-main .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #EDEFF2;
}

.login-main .divider span {
  padding: 0 12px;
}

.login-main .btn-google {
  width: 100%;
  max-width: 392px;
  border-radius: 4px;
  border: 1px solid #CED4DA;
  background: #fff;
  padding: 10px 12px;
  font-size: 14px;
  font-family: "Open Sans", "Helvetica Neue", sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #363646;
  text-decoration: none;
  cursor: pointer;
}

.btn-google:hover {
  background: #F9FAFB;
}

.btn-google svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 520px) {
  .login-header {
    margin-top: 40px;
    margin-bottom: 24px;
  }
  .login-main .form-container {
    padding: 32px 24px 24px;
  }
}

body.register-page {
  background: #F9FAFB;
}

.register-page__wrap {
  font-family: "Open Sans", "Helvetica Neue", sans-serif;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px 48px;
}

.register-page .register-header {
  width: 100%;
  border-bottom: 1px solid #EDEFF2;
  background: #FFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
}

.register-page .register-header img {
  height: 36px;
  width: auto;
}

.register-page__wrap .register-title {
  font-size: 30px;
  font-weight: 700;
  margin-top: 46px;
  text-align: center;
  color: #363646;
  font-family: "Helvetica Neue", sans-serif;
}

.register-page__wrap .register-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: #363646;
  text-align: center;
}

.register-page__wrap .register-subtitle a {
  color: #1C9CEA;
  font-weight: 600;
  text-decoration: none;
}

.register-page .register-layout {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 48px;
  margin-top: 32px;
  width: 100%;
  max-width: 960px;
}

.register-page .register-card {
  width: 472px;
  max-width: 472px;
  background: #FFF;
  border-radius: 4px;
  box-shadow: 0 16px 40px -4px rgba(0, 0, 0, 0.07);
  padding: 42px 40px 32px;
}

.register-page .register-card form {
  width: 100%;
}

.register-page .register-card .form-field {
  margin-bottom: 24px;
}

.register-page .register-card .form-field .mx-label {
  margin-bottom: 3px;
}

.register-page .register-card .mx-input {
  width: 100%;
}

.register-page .register-card .form-field:last-of-type {
  margin-bottom: 0;
}

.register-page .register-card .mx-button {
  width: 100%;
}

.register-page .register-terms {
  margin-top: 16px;
  font-size: 13px;
  text-align: center;
  line-height: 21px;
  color: #363646;
}

.register-page .register-terms a {
  color: #1C9CEA;
  font-weight: 600;
  text-decoration: none;
}

.register-page__wrap .solutions {
  margin-top: 0;
  margin-bottom: 40px;
}

.solutions-title {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 40px;
  color: #363646;
}

.solutions-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.solution-card {
  width: 288px;
  height: 123px;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.solution-card--selpics {
  border: 1px solid #A4D7F7;
  background: #E7F5FD;
}

.solution-card--youbox {
  border: 1px solid #A1DFE8;
  background: #E7F7F9;
}

.solution-card--fotovibe {
  border: 1px solid #A7ECBF;
  background: #E8FAEF;
}

.solution-title {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 9px;
  color: #363646;
}

.solution-subtitle {
  font-size: 14px;
  color: #363646;
  font-weight: 400;
}

@media (max-width: 768px) {
  .register-page__wrap .register-title {
    font-size: 26px;
    line-height: 36px;
  }
  .register-page .register-layout {
    flex-direction: column;
    align-items: center;
  }
  .register-page .register-card {
    width: 100%;
    max-width: 100%;
    padding: 32px 24px 24px;
  }
  .register-page__wrap .solutions {
    width: 100%;
    padding: 0 24px;
    margin-top: 48px;
  }
  .register-page__wrap .solutions-title {
    font-size: 26px;
    line-height: 36px;
  }
  .register-page__wrap .solutions-grid {
    flex-direction: column;
    align-items: center;
  }
  .register-page__wrap .solution-card {
    width: 100%;
    max-width: 391px;
  }
}

