/* ============================ Profile Modal Shell Start ============================ */
.profile-modal {
  position: fixed;
  top: 98px;
  right: 32px;
  z-index: 55;
  display: none;
  flex-direction: column;
  width: 380px;
  max-width: calc(100vw - 24px);
  padding: 20px 22px 18px;
  border-radius: var(--radius-lg);
  background: var(--dark4txt) url("../assets/images/app-bg.png") center / cover no-repeat;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  color: var(--white);
  font-family: var(--font-body);
}

.profile-modal.is-open {
  display: flex;
}

/* ============================ Profile Modal Shell End ============================ */


/* ============================ Profile Modal Head Start ============================ */
.profile-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.profile-modal-title-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.profile-modal-eyebrow {
  font-size: 14px;
  line-height: 16px;
  color: var(--white);
  opacity: 0.9;
}

.profile-modal-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 26px;
  font-weight: 700;
  color: var(--white);
}

.profile-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  flex: 0 0 40px;
}

.profile-modal-close img {
  width: 24px;
  height: 20px;
}

/* ============================ Profile Modal Head End ============================ */


/* ============================ Profile Modal Panel Start ============================ */
.profile-modal-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 20px 16px;
  border-radius: var(--radius-sm);
  background: var(--panel-bg);
  color: var(--dark4txt);
}

.profile-modal-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}

.profile-modal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  line-height: 18px;
}

.profile-modal-row dt {
  color: var(--text-color);
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
}

.profile-modal-row dd {
  margin: 0;
  font-weight: 500;
  color: var(--dark4txt);
  font-size: 16px;
  line-height: 20px;
}

.profile-modal-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 14px;
  border-top: 1px solid var(--button-bg-color);
}

.profile-modal-cta {
  padding: 9px 18px;
  border: 1px solid var(--white);
  border-radius: 8px;
  background: var(--button-bg-color);
  color: var(--dark4txt);
  font-family: var(--font-body);
  font-size: 14px;
  cursor: pointer;
}

/* ============================ Profile Modal Panel End ============================ */


/* ============================ Profile Modal Responsive Start ============================ */
@media (max-width: 1024px) {
  .profile-modal {
    top: 68px;
    right: 12px;
    left: 12px;
    width: auto;
    max-width: 420px;
    margin-left: auto;
  }

  .profile-modal {
    top: 108px;
  }
}

/* ============================ Profile Modal Responsive End ============================ */