/* =========================================================
   SHIFTLYNX SCHEDULE — DRAFT & PUBLISH
========================================================= */

.schedule-publish-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;

  margin-bottom: 16px;
  padding: 18px 20px;

  border: 1px solid rgba(123, 169, 216, 0.14);
  border-radius: 18px;

  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(41, 150, 255, 0.09),
      transparent 38%
    ),
    linear-gradient(
      145deg,
      rgba(10, 26, 45, 0.98),
      rgba(7, 19, 33, 0.98)
    );
}

.schedule-publish-copy {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.schedule-status-line {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 7px;

  min-width: 126px;
  padding-right: 18px;

  border-right: 1px solid rgba(123, 169, 216, 0.12);

  text-align: center;
}

.schedule-status-line > span:last-child {
  color: #70869d;
  font-size: 0.64rem;
}

.schedule-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 30px;
  padding: 0 12px;

  border-radius: 999px;

  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.schedule-status-badge.draft {
  color: #d1a9ff;
  background: rgba(159, 82, 231, 0.14);
  box-shadow: inset 0 0 0 1px rgba(182, 111, 245, 0.17);
}

.schedule-status-badge.published {
  color: #8ef0c7;
  background: rgba(42, 199, 139, 0.12);
  box-shadow: inset 0 0 0 1px rgba(72, 222, 167, 0.16);
}

.schedule-publish-toolbar .schedule-period-title {
  margin: 0;
}

.schedule-publish-toolbar .schedule-period-subtitle {
  margin: 5px 0 0;
}

.schedule-publish-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  flex-wrap: wrap;
}

.schedule-publish-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;

  min-height: 42px;
}

.schedule-publish-actions button svg {
  width: 16px;
  height: 16px;
}

.schedule-publish-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.danger-outline {
  border-color: rgba(255, 112, 120, 0.24) !important;
  color: #ff9da5 !important;
  background: rgba(215, 58, 65, 0.06) !important;
}

.schedule-draft-notice {
  display: flex;
  align-items: center;
  gap: 11px;

  margin-bottom: 16px;
  padding: 13px 15px;

  border: 1px solid rgba(166, 93, 231, 0.18);
  border-radius: 14px;

  color: #b99bd4;
  background: rgba(120, 62, 181, 0.07);
}

.schedule-draft-notice[hidden] {
  display: none !important;
}

.schedule-draft-notice svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;

  color: #c390f2;
}

.schedule-draft-notice strong,
.schedule-draft-notice span {
  display: block;
}

.schedule-draft-notice strong {
  color: #eadcff;
  font-size: 0.77rem;
}

.schedule-draft-notice span {
  margin-top: 3px;

  color: #9d82b7;
  font-size: 0.65rem;
}

@media (max-width: 900px) {
  .schedule-publish-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .schedule-publish-copy {
    align-items: flex-start;
  }

  .schedule-publish-actions {
    justify-content: flex-start;
  }
}
