/* NWS EDUCATION brand logo */
.nws-site-logo,
img.wp-image-5396 {
  width: auto !important;
  max-width: 180px !important;
  height: 56px !important;
  object-fit: contain !important;
  background: #000;
  border-radius: 4px;
}

/* Force images visible (Elementor animation/lazy often hides them locally) */
.elementor-invisible,
.elementor-element.elementor-invisible,
.elementor-invisible .elementor-widget-container,
.elementor-invisible img {
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
}
img {
  visibility: visible !important;
  opacity: 1 !important;
}

/* Local user account dashboard */
.nexa-account {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px 48px;
  color: #1e293b;
}

.nexa-account__profile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-bottom: 28px;
}

.nexa-account__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #046bd2;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nexa-account__meta {
  flex: 1;
  min-width: 200px;
}

.nexa-account__name {
  margin: 0 0 4px;
  font-size: 1.75rem;
  font-weight: 700;
}

.nexa-account__email,
.nexa-account__since {
  margin: 0;
  color: #64748b;
  font-size: 0.95rem;
}

.nexa-account__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nexa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  background: #046bd2;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 20px;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}

.nexa-btn:hover {
  background: #045cb4;
  color: #fff;
}

.nexa-btn--ghost {
  background: #e8eef7;
  color: #046bd2;
}

.nexa-btn--ghost:hover {
  background: #d7e4f5;
  color: #045cb4;
}

.nexa-btn--danger {
  background: #dc2626;
}

.nexa-btn--danger:hover {
  background: #b91c1c;
}

.nexa-account__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  background: #046bd2;
  padding: 0;
  margin: 0 0 28px;
}

.nexa-account__nav-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 18px;
  cursor: pointer;
  white-space: nowrap;
}

.nexa-account__nav-btn.is-active {
  background: #fff;
  color: #046bd2;
}

.nexa-panel {
  display: none;
  min-height: 320px;
}

.nexa-panel.is-active {
  display: block;
}

.nexa-panel__title {
  margin: 0 0 24px;
  font-size: 1.75rem;
  font-weight: 700;
}

.nexa-panel__title span {
  color: #94a3b8;
  font-weight: 600;
  margin-left: 6px;
}

.nexa-empty {
  text-align: center;
  padding: 48px 16px;
}

.nexa-empty__icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #dbeafe;
  position: relative;
}

.nexa-empty__icon::after {
  content: '';
  position: absolute;
  inset: 30px;
  background: #046bd2;
  opacity: 0.85;
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
}

.nexa-empty__icon--orders::after,
.nexa-empty__icon--courses::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M6 2h9l5 5v13a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zm8 1.5V8h4.5L14 3.5zM8 12h8v2H8v-2zm0 4h8v2H8v-2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M6 2h9l5 5v13a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zm8 1.5V8h4.5L14 3.5zM8 12h8v2H8v-2zm0 4h8v2H8v-2z'/%3E%3C/svg%3E");
}

.nexa-empty__icon--messages::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M4 4h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2zm0 2v.2l8 5.3 8-5.3V6H4zm16 3.1-7.4 4.9a1 1 0 0 1-1.2 0L4 9.1V18h16V9.1z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M4 4h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2zm0 2v.2l8 5.3 8-5.3V6H4zm16 3.1-7.4 4.9a1 1 0 0 1-1.2 0L4 9.1V18h16V9.1z'/%3E%3C/svg%3E");
}

.nexa-empty__icon--wishlist::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 17.3 6.2 21l1.6-6.7L2.9 9.9l6.9-.6L12 3l2.2 6.3 6.9.6-4.9 4.4L17.8 21 12 17.3z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 17.3 6.2 21l1.6-6.7L2.9 9.9l6.9-.6L12 3l2.2 6.3 6.9.6-4.9 4.4L17.8 21 12 17.3z'/%3E%3C/svg%3E");
}

.nexa-empty__icon--quizzes::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20zm0 14a1.25 1.25 0 1 0 0 2.5A1.25 1.25 0 0 0 12 16zm0-10a3.5 3.5 0 0 0-3.5 3.5h2A1.5 1.5 0 1 1 12 11c-.83 0-1.5.67-1.5 1.5V14h2v-1.05c1.44-.32 2.5-1.6 2.5-3.15A3.5 3.5 0 0 0 12 6z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20zm0 14a1.25 1.25 0 1 0 0 2.5A1.25 1.25 0 0 0 12 16zm0-10a3.5 3.5 0 0 0-3.5 3.5h2A1.5 1.5 0 1 1 12 11c-.83 0-1.5.67-1.5 1.5V14h2v-1.05c1.44-.32 2.5-1.6 2.5-3.15A3.5 3.5 0 0 0 12 6z'/%3E%3C/svg%3E");
}

.nexa-empty__title {
  margin: 0 0 8px;
  font-size: 1.5rem;
}

.nexa-empty__subtitle {
  margin: 0;
  color: #64748b;
}

.nexa-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nexa-list li {
  padding: 14px 16px;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
}

.nexa-settings {
  max-width: 420px;
  display: grid;
  gap: 14px;
}

.nexa-settings label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
}

.nexa-settings input {
  font-weight: 400;
}

.nexa-settings__msg {
  margin: 0;
  font-size: 14px;
}

.nexa-settings__msg.is-ok {
  color: #15803d;
}

.nexa-settings__msg.is-error {
  color: #dc2626;
}

@media (max-width: 768px) {
  .nexa-account__nav-btn {
    flex: 1 1 45%;
    text-align: center;
    font-size: 11px;
    padding: 12px 8px;
  }
}
