/* Explore Careers toast notifications */
.ec-toast-stack {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10050;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(380px, calc(100vw - 32px));
  pointer-events: none;
}

.ec-toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(8, 45, 87, 0.1);
  box-shadow: 0 12px 32px rgba(8, 45, 87, 0.14);
  color: #082d57;
  font-family: 'Plus Jakarta Sans', Inter, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  animation: ecToastIn 0.28s ease;
}

.ec-toast.is-hiding {
  animation: ecToastOut 0.22s ease forwards;
}

.ec-toast-bar {
  width: 4px;
  align-self: stretch;
  border-radius: 999px;
  flex-shrink: 0;
  background: #082d57;
}

.ec-toast-success .ec-toast-bar { background: #f4cd00; }
.ec-toast-error .ec-toast-bar { background: #082d57; }
.ec-toast-info .ec-toast-bar { background: #082d57; }

.ec-toast-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 13px;
  background: #082d57;
  color: #f4cd00;
}

.ec-toast-success .ec-toast-icon {
  background: #f4cd00;
  color: #082d57;
}

.ec-toast-body { flex: 1; min-width: 0; padding-top: 3px; }
.ec-toast-title {
  display: block;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  margin-bottom: 2px;
  color: #082d57;
}
.ec-toast-msg { color: rgba(8, 45, 87, 0.82); word-break: break-word; }

.ec-toast-close {
  border: 0;
  background: transparent;
  color: rgba(8, 45, 87, 0.45);
  cursor: pointer;
  padding: 2px;
  line-height: 1;
  font-size: 16px;
}
.ec-toast-close:hover { color: #082d57; }

@keyframes ecToastIn {
  from { opacity: 0; transform: translateY(-8px) translateX(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes ecToastOut {
  to { opacity: 0; transform: translateY(-6px); }
}

@media (max-width: 575px) {
  .ec-toast-stack { left: 16px; right: 16px; max-width: none; }
}
