/* sow.css — Scheme of Work overlay styles */

#sow-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 490;
  background: #060a14;
  flex-direction: column;
}
#sow-overlay.sow-open {
  display: flex;
  animation: sowSlideIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes sowSlideIn {
  from { opacity: 0; transform: translateY(24px) scale(0.99); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

#sow-topbar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #0a0f1c;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

#sow-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
#sow-close-btn:hover {
  background: rgba(200,133,42,0.25);
  border-color: rgba(255,209,102,0.5);
}

#sow-back-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
#sow-back-btn:hover {
  background: rgba(200,133,42,0.25);
  color: #fff;
}

#sow-iframe {
  flex: 1;
  width: 100%;
  border: none;
}
