/* Awardox profile override for YOOtheme Pro. */
.awx-profile {
  --awx-navy: #0b123b;
  --awx-slate: #1a1f33;
  --awx-pink: #ff3d8a;
  --awx-coral: #ff6b8e;
  --awx-violet: #8b5cf6;
  --awx-blue: #3b82f6;
  color: #f7f8ff;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 56px) clamp(16px, 3vw, 32px);
}

.awx-profile__hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  padding: 0 0 28px;
  margin-bottom: 28px;
}

.awx-profile__eyebrow,
.awx-profile__card-kicker {
  color: #ff75aa;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.awx-profile h1,
.awx-profile h2,
.awx-profile p { color: inherit; }
.awx-profile h1 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.08; margin: 0; }
.awx-profile h2 { font-size: 1.45rem; line-height: 1.2; margin: 0 0 14px; }
.awx-profile__email { color: rgba(247, 248, 255, .72); margin: 10px 0 0; }

.awx-profile__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.awx-profile__card {
  background: rgba(11, 18, 59, .82);
  border: 1px solid rgba(139, 92, 246, .32);
  border-radius: 8px;
  min-height: 270px;
  padding: clamp(22px, 3vw, 34px);
}

.awx-profile__card--results {
  background: linear-gradient(145deg, #ff1764 0%, #cf237f 45%, #7b35d8 100%);
  border-color: rgba(255, 255, 255, .2);
  box-shadow: 0 18px 40px rgba(255, 38, 121, .22);
}

.awx-profile__card--identity { background: rgba(6, 9, 23, .9); }
.awx-profile__card--contests { background: linear-gradient(145deg, #11162b 0%, #0b123b 55%, #20234d 100%); }
.awx-profile__lead { font-size: 1.02rem; line-height: 1.6; margin: 0 0 20px; }

.awx-profile__details { display: grid; gap: 16px; margin: 24px 0 0; }
.awx-profile__details div { border-top: 1px solid rgba(255, 255, 255, .11); padding-top: 12px; }
.awx-profile__details dt { color: rgba(247, 248, 255, .64); font-size: .78rem; font-weight: 700; text-transform: uppercase; }
.awx-profile__details dd { font-size: 1rem; margin: 4px 0 0; }

.awx-profile__status {
  align-items: center;
  background: rgba(6, 9, 23, .22);
  border: 1px solid rgba(255, 255, 255, .25);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 16px 0 22px;
  padding: 12px 14px;
}
.awx-profile__status span::before { border-radius: 50%; content: ''; display: inline-block; height: 8px; margin-right: 8px; width: 8px; }
.awx-profile__status.is-active span::before { background: #63e6be; }
.awx-profile__status.is-inactive span::before { background: #ffd166; }
.awx-profile__status strong { font-size: .87rem; font-weight: 600; }

.awx-profile__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.awx-profile__actions form { margin: 0; }
.awx-profile__button {
  align-items: center;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 6px;
  color: #fff !important;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 700;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  text-decoration: none !important;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.awx-profile__button:hover,
.awx-profile__button:focus-visible { background: rgba(255, 255, 255, .18); border-color: #fff; color: #fff !important; transform: translateY(-2px); }
.awx-profile__button--primary { background: #fff; border-color: #fff; color: #b41d80 !important; }
.awx-profile__button--primary:hover,
.awx-profile__button--primary:focus-visible { background: #0b123b; border-color: #0b123b; color: #fff !important; }

.awx-profile__role-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.awx-profile__role-list span { background: rgba(139, 92, 246, .25); border: 1px solid rgba(170, 139, 255, .45); border-radius: 999px; font-size: .88rem; padding: 7px 10px; }
.awx-profile__contest-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.awx-profile__contest-actions form { margin: 0; }
.awx-profile__button--contest { background: rgba(139, 92, 246, .2); border-color: rgba(170, 139, 255, .5); }
.awx-profile__button--contest:hover,
.awx-profile__button--contest:focus-visible { background: #8b5cf6; border-color: #8b5cf6; }
.awx-profile__muted { color: rgba(247, 248, 255, .72); line-height: 1.55; margin: 16px 0 0; }

.awx-profile-edit__form { display: grid; gap: 18px; }
.awx-profile-edit__fieldset {
  background: rgba(11, 18, 59, .82);
  border: 1px solid rgba(139, 92, 246, .32);
  border-radius: 8px;
  margin: 0;
  min-width: 0;
  padding: clamp(22px, 3vw, 34px);
}
.awx-profile-edit__advanced {
  background: rgba(11, 18, 59, .58);
  border: 1px solid rgba(139, 92, 246, .26);
  border-radius: 8px;
}
.awx-profile-edit__advanced summary {
  color: rgba(247, 248, 255, .84);
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  padding: 18px 22px;
}
.awx-profile-edit__advanced summary::-webkit-details-marker { display: none; }
.awx-profile-edit__advanced summary::after { color: #ff75aa; content: '+'; float: right; font-size: 1.35rem; line-height: .9; }
.awx-profile-edit__advanced[open] summary { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.awx-profile-edit__advanced[open] summary::after { content: '−'; }
.awx-profile-edit__advanced .awx-profile-edit__fieldset { background: transparent; border: 0; border-radius: 0; padding-top: 22px; }
.awx-profile-edit__fieldset legend { color: #fff; float: none; font-size: 1.25rem; font-weight: 700; margin: 0 0 8px; padding: 0; width: auto; }
.awx-profile-edit__description { color: rgba(247, 248, 255, .7); margin: 0 0 18px; }
.awx-profile-edit__fields { display: grid; gap: 14px; }
.awx-profile-edit__fields .control-group,
.awx-profile-edit__fields .mb-3 { margin: 0; }
.awx-profile-edit__fields label,
.awx-profile-edit__fields .form-label { color: #fff; font-weight: 700; }
.awx-profile-edit__fields .form-control,
.awx-profile-edit__fields .form-select,
.awx-profile-edit__fields input[type="text"],
.awx-profile-edit__fields input[type="email"],
.awx-profile-edit__fields input[type="password"],
.awx-profile-edit__fields select,
.awx-profile-edit__fields textarea {
  background: rgba(6, 9, 23, .7);
  border: 1px solid rgba(255, 255, 255, .23);
  border-radius: 5px;
  color: #fff;
  min-height: 42px;
}
.awx-profile-edit__fields .form-control:focus,
.awx-profile-edit__fields .form-select:focus,
.awx-profile-edit__fields input:focus,
.awx-profile-edit__fields select:focus,
.awx-profile-edit__fields textarea:focus { border-color: #ff75aa; box-shadow: 0 0 0 .15rem rgba(255, 61, 138, .2); }
.awx-profile-edit__fields .form-text,
.awx-profile-edit__fields .form-control-feedback { color: rgba(247, 248, 255, .65); }
.awx-profile-edit__submit { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 8px; }

@media (max-width: 767px) {
  .awx-profile__hero { align-items: flex-start; flex-direction: column; }
  .awx-profile__grid { grid-template-columns: 1fr; }
  .awx-profile__card { min-height: auto; }
}
