/* Profile page styles */
.profile-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 24px 32px 36px;
  box-shadow: 0 16px 32px rgba(18, 40, 78, 0.08);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.profile-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: #E7EEF3;
  border-radius: 12px;
  padding: 20px;
}

.profile-banner__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.profile-banner__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.profile-card__name {
  font-size: 18px;
  font-weight: 600;
  color: #1c2333;
}

.profile-card__info {
  font-size: 14px;
  color: #667082;
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-card__divider {
  color: #cfd3de;
}

.profile-card__cta {
  margin-left: auto;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  background: linear-gradient(90deg, #0b61aa 0%, #0f7cd1 100%);
  color: #ffffff;
  font-weight: 600;
}

.profile-card__body {
  display: flex;
  gap: 32px;
  padding: 32px;
  align-items: flex-start;
  background-color: #f7f8fd;
  border-radius: 12px;
  border: 1px solid #eef0f5;
}

.profile-card__aside {
  width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.profile-card__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(14, 40, 86, 0.2);
}

.profile-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-card__link {
  border: none;
  background: none;
  color: #0b61aa;
  font-weight: 600;
  cursor: pointer;
}

.profile-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.profile-form__row {
  display: flex;
  align-items: center;
  gap: 24px;
}

.profile-form__row label {
  width: 160px;
  font-size: 14px;
  font-weight: 600;
  color: #5c6379;
  text-align: left;
}

.profile-form__row input,
.profile-form__row select {
  border: 1px solid #dfe3ea;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 14px;
  background-color: #ffffff;
  color: #1f2640;
  flex: 1;
}

.profile-form__radio-group {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  min-height: 42px;
}

.profile-form__row .profile-form__radio-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
  text-align: left;
  font-weight: 500;
  font-size: 14px;
  color: #1f2640;
  flex: 0 0 auto;
}

.profile-form__row .profile-form__radio-option input {
  margin: 0;
  flex: 0 0 auto;
}

.profile-form__row--subscribe {
  align-items: center;
}

.profile-form__row--subscribe > label {
  padding-top: 0;
}

.profile-form__row input[readonly] {
  background-color: #f1f2f6;
}

.profile-form__select {
  position: relative;
  flex: 1;
}

.profile-form__select select {
  width: 100%;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: none !important;
  padding-right: 30px !important;
}

.profile-form__select i {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #97a4b8;
}

.profile-form__actions {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.profile-form__submit {
  border: none;
  border-radius: 8px;
  padding: 12px 40px;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(90deg, #0b61aa 0%, #0f7cd1 100%);
  cursor: pointer;
}

@media (max-width: 1100px) {
  .profile-card__body {
    flex-direction: column;
    padding: 24px;
    align-items: stretch;
  }

  .profile-form {
    width: 100% !important;
    flex: 1 !important;
  }

  .profile-form__row {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .profile-form__row label {
    width: auto;
    text-align: left;
  }

  .profile-form__row input,
  .profile-form__row select {
    width: 100% !important;
    flex: none !important;
  }

  .profile-form__select {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .profile-card {
    padding: 16px;
  }

  .profile-banner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .profile-card__cta {
    margin-left: 0;
    width: 100%;
  }

  .profile-card__body {
    flex-direction: column;
    padding: 16px;
    gap: 16px;
    align-items: stretch;
  }

  .profile-card__aside {
    width: 100%;
    align-items: center;
  }

  .profile-form {
    width: 100% !important;
    flex: 1 !important;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .profile-form__row {
    gap: 12px;
    width: 100%;
  }

  .profile-form__row label {
    font-size: 13px;
  }

  .profile-form__row input,
  .profile-form__row select {
    font-size: 13px;
    padding: 8px 10px;
    width: 100% !important;
  }

  .profile-form__submit {
    width: 100%;
  }
}
