/* [hidden] must always win over a class's own display value. */
.sma-root [hidden] {
  display: none !important;
}
@media (min-width: 1200px) {
  .sma-main-container-section .container {
    width: 1090px;
  }
}
.sma-schedule-root {
  background: var(--hype-white);
}
/* Override full-viewport min-height so the site footer appears below page content.
   Wizard (/create) hides the footer via hide_footer in the controller — no change needed there. */
.sma-root.hype-main-section--withoutTitlebar {
  min-height: auto;
}
.sma-wizard-page.hype-main-section--withoutTitlebar {
  min-height: calc(100vh - 65px);
}
.sma-topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 80px 24px;
}
.sma-topbar-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.sma-topbar-title h1 {
  font-size: 1.5rem;
  text-transform: uppercase;
  font-family: var(--heading-theme-font);
  color: var(--hy-secondary);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.8px;
  margin: 0;
}
@media (max-width: 767px) {
  .sma-topbar {
    padding: 16px 16px 0;
  }
}
.sma-song-search {
  margin-bottom: 8px;
}
.sma-search-input-wrap {
  position: relative;
}
.sma-search-input-wrap input[type="text"] {
  width: 100%;
  padding: 10px 14px 10px 36px;
  border: 1px solid #D3CECE;
  border-radius: 8px;
}
.sma-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border: 2px solid #0D0C0C;
  border-radius: 50%;
}
.sma-search-icon::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 2px;
  background: #0D0C0C;
  transform: rotate(45deg);
  right: -6px;
  bottom: -1px;
}
.sma-song-search-results {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 20;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid #D3CECE;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  max-height: 320px;
  overflow-y: auto;
}
.sma-song-search-result {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
}
.sma-song-search-result:hover {
  background: var(--hype-gray-50);
  color: var(--hype-gray-950);
  outline: none;
}
.sma-song-search-result img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.sma-song-search-result-text {
  min-width: 0;
}
.sma-song-search-result-title {
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sma-song-search-result-artist {
  color: #0D0C0C;
  font-size: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sma-search-hint {
  font-size: 0.8rem;
  color: #0D0C0C;
  margin-top: 6px;
}
/* Saved-song picker reuses .sma-song-search-results' card/shadow language. */
.sma-saved-song-trigger {
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  border: 1px solid #D3CECE;
  border-radius: 8px;
  background: #fff;
  color: #0D0C0C;
  font-size: 0.9rem;
  cursor: pointer;
}
.sma-saved-song-trigger .sma-input-caret {
  border: none;
  background: url(../images/dropdown-select-arrow.svg) 0 0 /cover no-repeat;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  position: absolute;
  top: 50%;
  right: 12px;
}
.sma-saved-song-trigger.has-value {
  color: #171414;
}
.sma-saved-song-result {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 6px;
}
.sma-saved-song-result:hover {
  background: var(--hype-gray-50);
  color: var(--hype-gray-950);
  outline: none;
}
.sma-saved-song-result-main {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  text-align: left;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
}
.sma-saved-song-result img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.sma-saved-song-result-text {
  min-width: 0;
}
.sma-saved-song-result-title {
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sma-saved-song-result-count {
  color: #0D0C0C;
  font-size: 0.75rem;
}
.sma-saved-song-delete {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: #0D0C0C;
  border-radius: 6px;
  cursor: pointer;
}
.sma-saved-song-delete svg {
  width: 16px;
  height: 16px;
}
.sma-saved-song-delete:hover {
  color: #E1341E;
  background: #F7E8E6;
}
.sma-or-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2rem 0;
  color: var(--hype-gray-950);
  font-size: 0.875rem;
  font-weight: 500;
}
.sma-or-divider::before, .sma-or-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #E0DDDD;
}
.sma-track-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.sma-track-preview img {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  object-fit: cover;
}
.sma-track-title {
  font-weight: 600;
  flex: 1;
}
.sma-step-title-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.sma-step-title-section .sma-step-title {
  margin-bottom: 0;
}
.sma-step-title.sma-step-title-waiting {
  visibility: hidden;
}
.sma-step-title {
  font-family: var(--heading-theme-font);
  color: var(--hype-gray-950);
  font-size: 1.5rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.24px;
  line-height: 1.15;
  margin: 0 0 8px;
}
.sma-step-desc {
  color: var(--hype-gray-800);
  font-size: 0.875rem;
  font-weight: 500;
}
.sma-analyzing-card {
  text-align: center;
  padding: 4px;
}
.sma-analyzing-spinner {
  --sma-orb-accent: #2249EA;
  display: block;
  width: 200px;
  height: 200px;
  margin: 0 auto 32px;
}
.sma-analyzing-title {
  font-family: var(--heading-theme-font);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--hype-gray-950);
  letter-spacing: -0.24px;
  text-transform: uppercase;
  margin: 0 0 1rem;
}
.sma-analyzing-filename {
  color: #555;
  font-size: 0.85rem;
  margin: 0 0 8px;
}
.sma-analyzing-hint {
  color: var(--hype-gray-800);
  font-size: 0.75rem;
  margin: 0;
  font-weight: 500;
}
.sma-analyzing-card.sma-analyzing-error .sma-analyzing-spinner {
  display: none;
}
#sma-making-yield-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 32px;
}
#sma-videos-ai-try-again {
  margin-top: 20px;
}
.sma-ai-failed-icon {
  display: block;
  width: 56px;
  height: 56px;
  margin: 0 auto 24px;
}
.sma-ai-failed-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 620px;
  margin: 32px auto 0;
}
.sma-ai-failed-actions .hype-btn {
  flex: 1 1 200px;
}
.sma-making-desc {
  font-weight: 500;
  color: var(--hype-gray-950);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0 auto 8px;
  max-width: 420px;
}
.sma-complete-message {
  color: #333;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 20px;
}
.sma-clips-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}
.sma-clips-instruction {
  margin: 0 0 4px;
}
.sma-clip-selected-count {
  font-weight: 700;
  font-size: 0.9rem;
  margin: 0;
}
.sma-clips-header-actions {
  display: flex;
  gap: 16px;
  white-space: nowrap;
}
/* Clip cards reuse Ads' .audio-snippet-card styling verbatim (videomaker.css). */
.sma-clip-list {
  margin-bottom: 16px;
}
.sma-root .hype-badge {
  display: inline-flex;
  align-items: center;
}
body.product-socialautopilot .sma-custom-badge {
  border-color: var(--hype-socialautopilot-primary);
  background: transparent;
}
.sma-add-custom-clip-btn {
  display: block;
  width: 100%;
  margin-bottom: 24px;
}
.sma-clip-card.sma-clip-editing .sma-clip-edit {
  display: none;
}
.sma-clip-card-editor {
  margin-top: 12px;
}
.sma-clip-card-editor-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}
.sma-step-upcoming {
  opacity: 0.5;
}
/* Progress indicators only, not navigation - no click affordance regardless of btn-header. */
.sma-root .hype-videomaker-steps .step {
  cursor: default;
}
.sma-clips-footer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 8px;
}
.sma-look-list {
  margin-bottom: 16px;
}
.sma-look-card {
  cursor: pointer;
}
.sma-look-label {
  margin: 0;
  cursor: pointer;
}
.sma-look-add-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.sma-look-selected-count {
  color: #0D0C0C;
  font-size: 0.85rem;
}
.sma-look-custom-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #D3CECE;
  border-radius: 8px;
}
/* Step 4 reuses Ads' .hype-video-card / .hype-form-check / video-select markup verbatim (videomaker.css). */
#sma-look-loading {
  margin-bottom: 16px;
}
#sma-waveform-block {
  max-width: 100%;
}
#sma-waveform {
  cursor: pointer;
  border: 1px dashed #C7C4C4;
  border-radius: 4px;
}
#sma-waveform region {
  border: 1px solid #17171A;
  box-sizing: border-box;
}
#sma-waveform .sma-region-duration-label {
  position: absolute;
  top: 4px;
  right: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #17171A;
  pointer-events: none;
}
/* .audio-preview-player-options (template.css) already handles layout and icons. */
.sma-waveform-controls {
  margin-top: 12px;
}
.sma-custom-clip-modal-title-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}
.sma-custom-clip-modal-subtitle {
  display: block;
  color: #0D0C0C;
  font-size: 0.85rem;
  font-weight: 400;
  text-transform: none;
  margin: 4px 0 0;
}
/* ===== Schedule (landing) page ===== */
.sma-beta-badge {
  background: #EDEBFF;
  color: #5B4BFF;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  vertical-align: middle;
}
.sma-plus-icon {
  font-weight: 700;
  margin-right: 2px;
}
.sma-schedule-connect-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--hype-gray-950);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.sma-schedule-connect-banner-body {
  flex: 1;
}
.sma-schedule-connect-banner-body h3 {
  margin: 0 0 12px;
  color: var(--hype-white);
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  gap: 8px;
  align-items: center;
}
.sma-schedule-connect-banner-body h3 svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.sma-schedule-connect-banner-body p {
  color: var(--hype-white);
  font-size: 0.75rem;
  margin: 0;
  font-weight: 400;
  max-width: 525px;
}
.sma-schedule-connect-banner .hype-btn {
  flex-shrink: 0;
  white-space: nowrap;
}
.sma-schedule-connect-banner-btn {
  color: var(--hype-gray-950);
  background-color: var(--hype-white);
  border-color: var(--hype-white);
}
.sma-schedule-connect-banner-btn:hover {
  color: var(--hype-gray-950);
  background-color: var(--hype-gray-100);
  border-color: var(--hype-gray-100);
}
/* Wizard content area — clears the fixed footer bar */
.sma-wizard-content {
  padding-bottom: calc(2.5rem + 70px);
}
@media (max-width: 767px) {
  .sma-wizard-content {
    padding-bottom: calc(2.5rem + 115px);
  }
}
@media (max-width: 396px) {
  .sma-wizard-content {
    padding-bottom: calc(2.5rem + 155px);
  }
}
/* Top Navigation Tabs */
.hype-sma-tabs-section {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.5rem;
}
.sma-tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  background-color: var(--hy-gray);
  color: var(--hype-gray-950);
  transition: all 0.15s ease-in-out;
  text-decoration: none;
  outline: none;
  min-width: 150px;
}
.sma-tab-btn:hover, .sma-tab-btn.sma-tab-active {
  background-color: var(--hype-gray-950);
  color: var(--hype-white);
}
.sma-tab-btn-disabled {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}
.sma-tab-btn-disabled:hover {
  background-color: var(--hy-gray);
  color: var(--hype-gray-950);
}
.sma-tab-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.sma-schedule-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 1.5rem;
}
.sma-wizard-close-btn {
  box-sizing: content-box;
  display: block;
  width: 1rem;
  height: 1rem;
  padding: 0.25rem;
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
  border: 0;
  border-radius: 0.375rem;
  opacity: 0.75;
}
.sma-wizard-close-btn:hover, .sma-wizard-close-btn:focus {
  opacity: 1;
  text-decoration: none;
}
.sma-wizard-page {
  position: relative;
}
.sma-wizard-close-btn--corner {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
}
/* Desktop: use corner button, hide the one inside each step title */
@media (min-width: 768px) {
  .sma-step-title-section .sma-wizard-close-btn {
    display: none;
  }
}
/* Mobile: hide corner button, keep in-title button */
@media (max-width: 767px) {
  .sma-wizard-close-btn--corner {
    display: none;
  }
}
.sma-schedule-header-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.sma-schedule-header-title h2 {
  color: var(--hype-gray-950);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.18px;
  margin: 0;
}
.sma-schedule-header-title .hype-white-outline-badge {
  border: 1px solid #E0DDDD;
  padding: 6px 8px;
  margin: 0;
}
.sma-schedule-drag-hint {
  margin: 0 0 1rem;
  color: var(--hype-gray-800);
  font-size: 0.875rem;
  font-weight: 400;
}
.sma-schedule-header-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sma-schedule-filter {
  position: relative;
}
.sma-schedule-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
}
.sma-schedule-filter-active-dot {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hype-socialautopilot-primary);
}
.sma-schedule-filter-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  width: 220px;
  background: #fff;
  border: 1px solid #D3CECE;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  padding: 12px;
}
.sma-schedule-filter-panel .hype-form-check:last-child {
  margin-bottom: 0;
}
.sma-schedule-calendar-wrap {
  position: relative;
}
.sma-schedule-calendar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
/* ============================================================
   START -- SMA SCHEDULE VIDEO CARD GRID
   ============================================================ */
/* 1. Grid Layout */
.sma-schedule-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 16px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 480px) {
  .sma-schedule-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 768px) {
  .sma-schedule-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .sma-schedule-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
/* 2. Single Day Column / Card Container */
.sma-schedule-day {
  display: flex;
  flex-direction: column;
  position: relative;
  user-select: none;
  transition: transform 0.15s ease;
}
.sma-schedule-day[draggable="true"] {
  cursor: grab;
}
.sma-schedule-day-drag-over {
  transform: scale(1.05);
}
/* 3. Header: Date & Day (Header placed above card) */
.sma-schedule-day-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--hype-gray-950);
}
.sma-header-bullet {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='5' height='5' viewBox='0 0 5 5' fill='none'%3E%3Ccircle cx='2.5' cy='2.5' r='2.5' fill='%238D8385'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  width: 5px;
  height: 5px;
}
/* 4. Media / Video Container (9:16 vertical poster look) */
.sma-schedule-day-video {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 15.5;
  min-height: 380px;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--hype-gray-950);
}
.sma-schedule-day-video .hype-video-thumb {
  width: 100%;
  height: 100%;
  position: relative;
}
.sma-schedule-day-video .video-thumbnail {
  width: 100%;
  height: 100%;
  position: relative;
}
.sma-schedule-day-video .video-thumbnail img, .sma-schedule-day-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Dark gradient overlay on card hover */
.sma-schedule-day-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.65) 100%);
  opacity: 0.1;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.sma-schedule-day:hover .sma-schedule-day-video::after {
  opacity: 0.7;
}
/* 5. Center Play Button */
.sma-schedule-day-video .play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(13, 12, 12, 0.80);
  backdrop-filter: blur(3.5px);
  -webkit-backdrop-filter: blur(3.5px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hype-white);
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 4;
  text-decoration: none;
  margin: 0;
}
.sma-schedule-day-video .play span {
  display: flex;
  align-items: center;
  justify-content: center;
}
.sma-schedule-day-video .play svg {
  width: 16px;
  height: 16px;
  color: var(--hype-white);
}
.sma-schedule-day:hover .sma-schedule-day-video .play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.sma-schedule-day-video .play:hover {
  background: rgba(0, 0, 0, 0.92);
  transform: translate(-50%, -50%) scale(1.1);
}
/* 6. Floating Action Bar (Positioned inside the bottom of card) */
.sma-schedule-day-actions {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  z-index: 5;
  padding: 0;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.22s ease-out;
}
/* Show actions on hover */
.sma-schedule-day:hover .sma-schedule-day-actions {
  opacity: 1;
  transform: translateY(0);
}
/* 6a. Posted Status Badge & Social Icon */
.sma-schedule-day-posted {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  gap: 8px;
}
.sma-schedule-day-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  z-index: 5;
  padding: 0;
  display: flex;
  align-items: center;
  transition: all 0.22s ease-out;
  justify-content: flex-end;
}
.sma-schedule-day-posted-badge {
  background: var(--hype-gray-950);
  color: var(--hype-white);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 6px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.sma-schedule-day-waiting-badge {
  background: var(--hype-white);
  color: var(--hype-gray-950);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 6px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.sma-schedule-day-platform-link {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
  opacity: 0.95;
}
.sma-schedule-day-platform-link .sma-social-icon {
  width: 18px;
  height: 18px;
  fill: var(--hype-white);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
  transition: transform 0.15s ease, opacity 0.15s ease;
  display: block;
}
.sma-schedule-day-platform-link:hover {
  transform: scale(1.18);
  opacity: 1;
}
/* 6b. Pending / Waiting Actions (Edit, Publish, Delete) */
.sma-schedule-day-actions .hype-btn {
  font-size: 0.75rem;
  min-height: 32px;
}
.sma-schedule-day-actions .hype-btn:hover {
  transform: translateY(-1px);
}
.sma-schedule-day-edit, .sma-schedule-day-delete {
  padding: 0;
  width: 32px;
  height: 32px;
}
.sma-schedule-day-edit svg, .sma-schedule-day-delete svg {
  width: 16px;
  height: 16px;
}
/* 7. Blank / Add Card State (+) */
.sma-schedule-day:has(.sma-schedule-day-add), .sma-schedule-day:last-child:not(:has(.sma-schedule-day-video)) {
  min-height: auto;
}
.sma-schedule-day-add {
  width: 100%;
  aspect-ratio: 9 / 15.5;
  min-height: 380px;
  border: 2px dashed #CCC9C9;
  border-radius: 12px;
  background: var(--hype-white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.sma-schedule-day-add:hover {
  border-color: var(--hype-socialautopilot-primary);
  background-color: var(--hype-socialautopilot-primary-50);
}
.sma-schedule-day-add-icon {
  width: 56px;
  height: 56px;
  background: var(--hype-socialautopilot-primary);
  color: var(--hype-white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px var(--hype-socialautopilot-primary-400), 0 1px 2px 0 rgba(54, 81, 242, 0.50);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}
.sma-schedule-day-add:hover .sma-schedule-day-add-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(54, 81, 242, 0.45);
}
.sma-schedule-day-add-disabled {
  pointer-events: none;
  cursor: default;
  border-color: #e5e7eb;
  background: var(--hype-gray-50);
}
.sma-schedule-day-add-disabled .sma-schedule-day-add-icon {
  background: var(--hype-gray-100);
  box-shadow: none;
}
/* ============================================================
   END -- SMA SCHEDULE VIDEO CARD GRID
   ============================================================ */
.sma-schedule-publish-error {
  color: #D64545;
  font-size: 0.8125rem;
  margin-top: 8px;
}
.sma-schedule-day-platform-failed {
  color: #E1341E;
  cursor: pointer;
}
.sma-schedule-day-platform-failed .sma-social-icon {
  fill: #E1341E;
}
.sma-schedule-day-platform-pending .sma-social-icon {
  fill: var(--hype-gray-300);
  opacity: 0.6;
}
.sma-schedule-day-video.video-card-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  text-align: center;
}
.sma-schedule-day-video.video-card-loading .hype-progress {
  width: 85%;
}
.sma-schedule-day.has-card-error .sma-schedule-day-video::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2.5px solid #E1341E;
  border-radius: 12px;
  z-index: 10;
  pointer-events: none;
}
.sma-schedule-day-publish-error {
  position: absolute;
  bottom: 48px;
  left: 8px;
  right: 8px;
  z-index: 5;
  color: #E1341E;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.22s ease-out;
}
.sma-schedule-day:hover .sma-schedule-day-publish-error {
  opacity: 1;
  transform: translateY(0);
}
.sma-schedule-day-video-inner {
  position: relative;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.sma-schedule-day-video-inner .hype-video-thumb {
  flex: 1;
}
/* The calendar box is small, so the caption stays visible instead of only on hover. */
.sma-schedule-day-video-inner .hype-video-footer {
  opacity: 1;
}
/* Onboarding overlay — covers sma-schedule-root, below fixed nav */
.sma-schedule-root {
  position: relative;
}
.sma-onboard-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 32, 44, 0.5);
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1rem;
}
.sma-empty-calendar-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 32, 44, 0.5);
  z-index: 200;
}
.sma-empty-card-anchor {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 50%;
  z-index: 201;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.sma-empty-card-anchor .sma-onboard-card {
  pointer-events: auto;
}
.sma-onboard-card {
  background: var(--hype-white);
  border: none;
  border-radius: 12px;
  box-shadow: 0 1px 2px 0 rgba(27, 32, 44, 0.12), 0 8px 8px 0 rgba(27, 32, 44, 0.04);
  padding: 2rem;
  width: 100%;
  max-width: 420px;
  text-align: center;
}
.sma-onboard-card h3 {
  font-family: var(--heading-theme-font);
  color: var(--hype-gray-950);
  font-size: 1.5rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.24px;
  line-height: 1.15;
  margin: 0 0 1rem;
}
.sma-onboard-card p {
  font-size: 1rem;
  color: var(--hype-gray-800);
  font-weight: 400;
  margin: 0 0 1.5rem;
}
.sma-onboard-card .hype-btn {
  width: 100%;
}
.sma-onboard-card .sma-schedule-empty-caption {
  margin-top: 12px;
}
.sma-schedule-empty-card {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 420px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  padding: 40px 32px;
  text-align: center;
}
.sma-schedule-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #EDEBFF;
  color: #5B4BFF;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.sma-schedule-empty-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin: 0 0 12px;
}
.sma-schedule-empty-card p {
  color: #6b6668;
  font-size: 0.85rem;
  margin: 0 0 20px;
}
.sma-schedule-empty-card .hype-btn {
  width: 100%;
}
.sma-schedule-empty-caption {
  margin-top: 12px;
  color: #0D0C0C;
  font-size: 0.75rem;
}
.sma-schedule-edit-time-modal-wrap .modal-dialog {
  width: 760px;
  max-width: calc(100vw - 32px);
}
.sma-schedule-edit-time-modal-wrap .modal-content {
  padding: 0;
}
.sma-edit-time-body {
  display: flex;
  align-items: flex-start;
}
.sma-edit-time-preview {
  flex: 0 0 280px;
  padding: 24px;
  text-align: center;
}
#sma-schedule-edit-time-preview {
  position: relative;
  width: 100%;
  max-height: 70vh;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}
#sma-schedule-edit-time-preview .hype-video-thumb, #sma-schedule-edit-time-preview .video-preview {
  border-radius: 12px;
}
#sma-schedule-edit-time-preview .sma-schedule-day-badges {
  display: none;
}
.sma-edit-time-preview-caption {
  margin: 10px 0 0;
  color: #6b6668;
  font-size: 0.8rem;
}
.sma-edit-preview-btn {
  width: 100%;
  margin-top: 10px;
}
.sma-edit-preview-icon::before {
  content: "\21bb";
}
.sma-edit-preview-nudge {
  margin: 8px 0 0;
  color: #6b6668;
  font-size: 0.78rem;
  text-align: center;
}
#sma-schedule-edit-time-preview {
  position: relative;
}
#sma-schedule-edit-time-preview:has(.sma-edit-preview-overlay) a.play {
  display: none;
}
#sma-schedule-edit-time-modal:has(.sma-edit-preview-overlay) .sma-edit-section-body {
  pointer-events: none;
  opacity: 0.45;
}
#sma-schedule-edit-time-modal:has(.sma-edit-preview-overlay) #sma-edit-preview-btn, #sma-schedule-edit-time-modal:has(.sma-edit-preview-overlay) #sma-schedule-edit-time-save-btn {
  pointer-events: none;
  opacity: 0.45;
}
.sma-edit-preview-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 2;
}
.sma-edit-preview-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(255, 255, 255, 0.4);
  border-top: 3px solid #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.sma-edit-preview-processing-label {
  font-size: 0.82rem;
  color: #fff;
}
.sma-edit-time-divider {
  align-self: stretch;
  flex: 0 0 1px;
  background: rgba(0, 0, 0, 0.1);
}
.sma-edit-time-form {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.sma-edit-time-form .modal-body {
  flex: 1 1 auto;
}
.sma-edit-subtitle {
  margin: 4px 0 0;
  color: #6b6668;
  font-size: 0.82rem;
  font-weight: 400;
}
.sma-edit-time-form .modal-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 14px;
  align-items: flex-start;
}
.sma-edit-time-form .modal-header .btn-close {
  margin-top: -4px;
  margin-right: -4px;
}
.sma-edit-accordion {
  max-height: 60vh;
  overflow-y: auto;
}
.sma-edit-section {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.sma-edit-section:first-child {
  border-top: none;
}
.sma-edit-section:first-child .sma-edit-section-header {
  padding-top: 14px;
}
.sma-edit-section-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  padding: 14px 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: #0D0C0C;
  cursor: pointer;
}
.sma-edit-chevron {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #6b6668;
  border-bottom: 1.5px solid #6b6668;
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}
.sma-edit-section.sma-edit-section-open .sma-edit-chevron {
  transform: rotate(-135deg);
}
.sma-edit-section-body {
  display: none;
  padding-bottom: 16px;
}
.sma-edit-section.sma-edit-section-open .sma-edit-section-body {
  display: block;
}
#sma-schedule-edit-time-modal .sma-edit-hint {
  margin: 4px 0 12px;
  color: #6b6668;
  font-size: 0.82rem;
  font-weight: 400;
}
#sma-edit-section-video .hype-form-label {
  margin-top: 16px;
}
#sma-edit-per-platform-label {
  margin-top: 16px;
}
.sma-edit-section-label {
  margin: 16px 0 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0D0C0C;
}
.sma-edit-platform-card {
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 12px;
}
.sma-edit-platform-name {
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 8px;
  text-decoration: underline;
}
.sma-edit-audio-clip-card.sma-edit-audio-clip-current {
  outline: 1px solid #0D0C0C;
}
.sma-edit-video-search-row {
  display: flex;
  gap: 8px;
}
.sma-edit-video-search-row .hype-form-control {
  flex: 1;
}
.sma-edit-video-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.sma-edit-video-result {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
}
.sma-edit-video-result img, .sma-edit-video-result .sma-edit-video-hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sma-edit-video-result .sma-edit-video-hover {
  display: none;
}
.sma-edit-video-result.sma-edit-video-result-selected {
  border-color: #12DB7D;
}
.sma-edit-video-result.sma-edit-video-result-selected::after {
  content: '';
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #12DB7D url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M2.5 7l3 3 6-6' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
  z-index: 3;
}
.sma-edit-video-current-badge {
  position: absolute;
  left: 6px;
  bottom: 6px;
  background: rgba(13, 12, 12, 0.75);
  color: #fff;
  border-color: transparent;
}
.sma-edit-video-upload-box {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  color: #6b6668;
  font-size: 0.85rem;
}
.sma-edit-video-upload-box:hover {
  border-color: #c4c4c4;
}
.sma-edit-video-upload-box.sma-edit-video-upload-done {
  color: #0D0C0C;
}
.sma-edit-video-upload-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sma-edit-video-upload-icon {
  display: flex;
  flex-shrink: 0;
}
.sma-edit-video-upload-icon .sma-edit-video-upload-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid #e2e2e2;
  border-top: 2px solid #0D0C0C;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.sma-edit-first-comment-label {
  margin-top: 12px;
}
.sma-edit-first-comment-preview {
  background: #F5F4F2;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.82rem;
  color: #0D0C0C;
  white-space: pre-line;
}
@media (max-width: 767px) {
  .hype-sma-tabs-section {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  .sma-tab-btn {
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
  }
  .sma-schedule-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .sma-schedule-header-controls {
    flex-wrap: wrap;
  }
  .sma-schedule-connect-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .sma-schedule-connect-banner .hype-btn {
    width: 100%;
    text-align: center;
  }
  .sma-edit-time-body {
    flex-direction: column;
  }
  .sma-edit-time-preview {
    flex: none;
  }
  .sma-edit-time-divider {
    flex: none;
    height: 1px;
    width: 100%;
  }
}
/* ============================================================
   START -- SMA ANALYTICS SECTION
   ============================================================ */
/* ===== Analytics page ===== */
.sma-analytics-root {
  background: var(--hype-white);
}
.sma-analytics-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 1.5rem;
}
.sma-analytics-header-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.sma-analytics-header-title h2 {
  color: var(--hype-gray-950);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.18px;
  margin: 0;
}
.sma-schedule-header-title .hype-white-outline-badge {
  border: 1px solid #E0DDDD;
  padding: 6px 8px;
  margin: 0;
}
.sma-analytics-header-updated {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--hype-gray-800);
  font-size: 0.875rem;
  font-weight: 500;
}
.sma-analytics-refresh-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
}
#sma-analytics-refresh-btn.sma-analytics-refreshing.sma-analytics-refresh-icon svg {
  animation: sma-analytics-spin 0.8s linear infinite;
}
@keyframes sma-analytics-spin {
  to {
    transform: rotate(360deg);
  }
}
.sma-analytics-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 1.5rem;
}
.sma-analytics-stat-card, .sma-analytics-dm-card {
  border: 1px solid #E0DDDD;
  background: var(--hype-white);
  border-radius: 12px;
  padding: 20px;
}
.sma-analytics-stat-label {
  font-size: 0.875rem;
  color: var(--hype-gray-800);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 1.5rem;
}
.sma-analytics-info-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  color: var(--hype-gray-400);
  margin-top: 2px;
}
.sma-analytics-info-icon svg {
  display: block;
}
.sma-analytics-stat-value {
  font-family: var(--heading-theme-font);
  font-size: 2rem;
  color: var(--hype-gray-950);
  font-weight: 400;
  letter-spacing: -0.64px;
  text-transform: uppercase;
  line-height: 1;
}
.sma-analytics-stat-sub {
  font-size: 0.75rem;
  color: var(--hype-gray-800);
  margin-top: 8px;
  font-weight: 400;
}
.sma-analytics-by-platform-toggle {
  border: none;
  background: none;
  padding: 0;
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--hype-gray-950);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  border-bottom: 1px solid var(--hype-gray-950);
}
.sma-analytics-toggle-chevron {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M10 4.5L6.00001 8.5L2 4.5' stroke='%230D0C0C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 12px 12px;
  width: 12px;
  height: 12px;
  transform: rotate(0);
  transition: transform 0.15s;
  display: block;
}
.sma-analytics-toggle-open .sma-analytics-toggle-chevron {
  transform: rotate(180deg);
}
.sma-analytics-by-platform-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sma-analytics-platform-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
}
.sma-analytics-platform-icon {
  width: 20px;
  height: 20px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hype-gray-800);
}
.sma-analytics-platform-name {
  width: 70px;
  flex: none;
  color: var(--hype-gray-800);
  font-size: 0.875rem;
  font-weight: 500;
}
.sma-analytics-platform-bar-wrap {
  flex: 1;
  height: 8px;
  background: var(--hype-gray-100);
  border-radius: 16px;
  overflow: hidden;
  margin: 0 1rem;
}
.sma-analytics-platform-bar {
  height: 100%;
  background: var(--hy-secondary);
  border-radius: 3px;
}
.sma-analytics-platform-bar-wrap-instagram .sma-analytics-platform-bar {
  background: #E1306C;
}
.sma-analytics-platform-bar-wrap-facebook .sma-analytics-platform-bar {
  background: #1877F2;
}
.sma-analytics-platform-bar-wrap-tiktok .sma-analytics-platform-bar {
  background: #25F4EE;
}
.sma-analytics-platform-bar-wrap-youtube .sma-analytics-platform-bar {
  background: #FF0000;
}
.sma-analytics-platform-value {
  width: 40px;
  text-align: right;
  color: var(--hype-gray-950);
  flex: none;
  font-weight: 500;
}
.sma-analytics-section-card {
  border: 1px solid #E0DDDD;
  background: var(--hype-white);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 1.5rem;
}
.sma-analytics-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.sma-analytics-section-header h3 {
  font-size: 1.125rem;
  color: var(--hype-gray-950);
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.18px;
}
.sma-analytics-metric-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background-color: var(--hy-gray);
  border-radius: 8px;
  box-sizing: border-box;
}
.sma-analytics-metric-btn {
  border: none;
  background: transparent;
  padding: 8px 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--hype-gray-800);
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  line-height: 1.2;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.sma-analytics-metric-btn:hover:not(.sma-analytics-metric-active) {
  color: var(--hype-gray-950);
}
.sma-analytics-metric-btn.sma-analytics-metric-active {
  background: var(--hype-white);
  color: var(--hype-gray-950);
  border: 1px solid #E0DDDD;
  box-shadow: 0 1px 2px 0 rgba(26, 29, 32, 0.08);
}
.sma-analytics-post-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sma-analytics-post-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #E0DDDD;
}
.sma-analytics-post-row:first-child {
  padding-top: 0;
}
.sma-analytics-post-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.sma-analytics-post-thumb {
  width: 48px;
  height: 48px;
  overflow: hidden;
  flex: none;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 1px;
}
.sma-analytics-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sma-analytics-post-body {
  flex: 1;
  min-width: 0;
}
.sma-analytics-post-date {
  font-size: 0.75rem;
  color: var(--hype-gray-800);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}
.sma-analytics-post-platforms {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: none;
}
.sma-analytics-post-platform {
  width: 16px;
  height: 16px;
  flex: none;
  display: flex;
  color: var(--hype-gray-800);
}
.sma-analytics-post-platform svg {
  width: 100%;
  height: 100%;
}
.sma-analytics-post-headline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 12px;
  min-width: 0;
  margin-top: 6px;
}
.sma-analytics-post-headline .sma-analytics-post-title {
  max-width: 100%;
}
.sma-analytics-snippet-headline {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.sma-analytics-snippet-play {
  width: 20px;
  height: 20px;
  flex: none;
  display: flex;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.sma-analytics-snippet-play[hidden] {
  display: none;
}
.sma-analytics-post-tags-more {
  border-radius: 6px;
  border: 1px solid #E0DDDD;
  padding: 5px 7px;
  background: none;
  color: var(--hype-gray-950);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
}
.sma-analytics-post-tags-more:hover {
  border-color: var(--hype-gray-400);
}
.sma-analytics-post-title {
  font-size: 1rem;
  color: var(--hype-gray-950);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
  letter-spacing: -0.16px;
}
.sma-analytics-post-tags {
  color: var(--hype-gray-800);
  font-size: 0.75rem;
  font-weight: 500;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
#sma-analytics-top-snippets .sma-analytics-post-title + .sma-analytics-post-tags {
  margin-top: 6px;
}
.sma-analytics-post-tags span {
  border-radius: 6px;
  border: 1px solid #E0DDDD;
  padding: 5px 7px;
  color: var(--hype-gray-950);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
}
.sma-analytics-post-value {
  flex: none;
  color: var(--hype-gray-950);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--heading-theme-font);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.24px;
  text-transform: uppercase;
}
.sma-analytics-post-link {
  width: 20px;
  height: 20px;
  display: inline-block;
  color: var(--hype-gray-400);
}
.sma-analytics-post-link svg {
  display: block;
}
.sma-analytics-post-link:hover {
  color: var(--hype-gray-950);
}
.sma-analytics-dm-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.sma-analytics-dm-card {
  background: var(--hy-gray);
  border-color: var(--hy-gray);
  padding: 16px;
}
.sma-analytics-empty-hint {
  color: var(--hype-gray-800);
  font-size: 0.85rem;
  margin: 8px 0 0;
  text-align: center;
}
@media (max-width: 900px) {
  .sma-analytics-stat-row, .sma-analytics-dm-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .sma-analytics-stat-row, .sma-analytics-dm-row {
    grid-template-columns: 1fr;
  }
  .sma-analytics-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* ============================================================
   START -- SOCIAL AUTOPILOT HOMEPAGE START
   ============================================================ */
/*************** Hero Section ***************/
.sma-hero-block {
  width: 100%;
  background-color: var(--hype-gray-950);
  color: var(--hype-white);
  padding-left: 16px;
  padding-right: 16px;
  background-image: url(../images/sma-main-banner-bg.jpg);
  background-position: 50% 0%;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 832px;
  display: flex;
  align-items: center;
  padding-top: 6em !important;
}
.sma-hero-container {
  max-width: 1170px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 992px) {
  .sma-hero-container {
    grid-template-columns: 0.9fr 1fr;
    gap: 64px;
  }
}
.sma-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.sma-hero-subtitle {
  font-size: 1.125rem;
  color: var(--hype-gray-400);
  margin-bottom: 24px;
  font-weight: 500;
  letter-spacing: -0.18px;
}
.sma-hero-title {
  font-family: var(--heading-theme-font);
  font-size: 2.75rem;
  font-weight: 400;
  letter-spacing: -2.24px;
  color: var(--hype-white);
  margin: 0 0 28px 0;
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .sma-hero-title {
    font-size: 3.5rem;
  }
}
.sma-hero-title-blue {
  color: var(--hype-socialautopilot-primary);
}
.sma-hero-description {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--hype-white);
  max-width: 480px;
  margin: 0 0 40px 0;
}
.sma-hero-cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 40px;
  width: 100%;
}
.sma-hero-cta-wrapper .hype-btn {
  max-width: 350px;
  width: 100%;
}
.sma-hero-subtext {
  font-size: 0.875rem;
  color: var(--hype-gray-400);
  font-weight: 500;
}
.sma-hero-platforms {
  color: var(--hype-gray-400);
  font-size: 0.875rem;
  font-weight: 400;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.sma-hero-bullet {
  border-radius: 100%;
  background: var(--hype-socialautopilot-primary-300);
  width: 6px;
  height: 6px;
}
.sma-hero-media {
  width: 100%;
  display: flex;
  justify-content: center;
}
.sma-hero-device-frame {
  position: relative;
  width: 100%;
  max-width: 580px;
  overflow: hidden;
}
.sma-hero-device-img {
  width: 100%;
  height: auto;
  display: block;
  border: 8px solid rgba(255, 255, 255, 0.20);
  border-radius: 16px;
}
.sma-hero-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 2;
  backdrop-filter: blur(6px);
}
.sma-hero-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
}
.sma-hero-device-frame[role="button"] {
  cursor: pointer;
}
.sma-hero-device-frame[role="button"]:hover .sma-hero-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
}
.sma-video-modal .modal-dialog {
  width: auto;
  max-width: 1152px;
  margin: 60px auto;
  padding: 0 16px;
}
.sma-video-modal .modal-content {
  position: relative;
  padding: 12px;
  background: var(--hype-white);
  border: none;
  border-radius: 12px;
}
.sma-video-modal-close {
  position: absolute;
  top: -36px;
  right: 0;
  color: var(--hype-white);
  opacity: 0.9;
  font-size: 32px;
  text-shadow: none;
}
.sma-video-modal-close:hover,
.sma-video-modal-close:focus {
  color: var(--hype-white);
  opacity: 1;
}
.sma-video-modal-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background-color: #0D0C0C;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.sma-video-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.sma-video-modal-frame iframe.is-loaded {
  opacity: 1;
}
/*************** How It Works Section ***************/
.sma-how-it-works {
  width: 100%;
  background-color: var(--hype-white);
  padding-left: 16px;
  padding-right: 16px;
}
.sma-hiw-container {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sma-hiw-header {
  text-align: center;
  margin-bottom: 56px;
}
.sma-hiw-subtitle {
  display: block;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--hype-socialautopilot-primary);
  margin-bottom: 12px;
  letter-spacing: -0.18px;
}
.sma-hiw-title {
  font-family: var(--heading-theme-font);
  font-size: 2rem;
  font-weight: 400;
  color: var(--hype-gray-950);
  text-transform: uppercase;
  letter-spacing: -0.8px;
  margin: 0;
  line-height: 1.1;
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .sma-hiw-title {
    font-size: 2.5rem;
  }
}
.sma-hiw-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 100%;
}
@media (min-width: 576px) {
  .sma-hiw-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .sma-hiw-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.sma-hiw-card {
  background-color: var(--hy-gray);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-sizing: border-box;
}
.sma-hiw-step-badge {
  font-family: var(--heading-theme-font);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--hype-gray-950);
  color: var(--hype-white);
  font-size: 1.125rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  flex-shrink: 0;
  letter-spacing: -0.18px;
  text-transform: uppercase;
}
.sma-hiw-card-title {
  font-family: var(--heading-theme-font);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--hype-gray-950);
  margin: 0 0 16px 0;
  letter-spacing: -0.24px;
  text-transform: uppercase;
}
.sma-hiw-card-desc {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--hype-gray-800);
  margin: 0;
}
/*************** Who Its For Section ***************/
.sma-who-its-for {
  width: 100%;
  background-color: var(--hype-gray-950);
  color: var(--hype-white);
  text-align: center;
  padding-left: 16px;
  padding-right: 16px;
}
.sma-wif-container {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sma-wif-subtitle {
  display: block;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--hype-socialautopilot-primary);
  margin-bottom: 12px;
  letter-spacing: -0.18px;
}
.sma-wif-title {
  font-family: var(--heading-theme-font);
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 400;
  color: var(--hype-white);
  letter-spacing: -0.8px;
  text-transform: uppercase;
  margin: 0 0 28px 0;
}
@media (min-width: 768px) {
  .sma-wif-title {
    font-size: 2.5rem;
  }
}
.sma-wif-description {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--hype-white);
  margin: 0;
  font-weight: 400;
}
@media (min-width: 768px) {
  .sma-wif-description {
    font-size: 1rem;
  }
}
/*************** What You Get Section ***************/
.sma-what-you-get {
  width: 100%;
  background-color: var(--hype-white);
  padding-left: 16px;
  padding-right: 16px;
}
.sma-wyg-container {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sma-wyg-header {
  text-align: center;
  margin-bottom: 56px;
}
.sma-wyg-subtitle {
  display: block;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--hype-socialautopilot-primary);
  margin-bottom: 12px;
  letter-spacing: -0.18px;
}
.sma-wyg-title {
  font-family: var(--heading-theme-font);
  font-size: 2rem;
  font-weight: 400;
  color: var(--hype-gray-950);
  text-transform: uppercase;
  letter-spacing: -0.8px;
  margin: 0;
  line-height: 1.1;
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .sma-wyg-title {
    font-size: 2.5rem;
  }
}
.sma-wyg-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 100%;
}
@media (min-width: 640px) {
  .sma-wyg-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .sma-wyg-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.sma-wyg-card {
  background-color: var(--hy-gray);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-sizing: border-box;
}
.sma-wyg-icon {
  color: var(--hype-gray-950);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sma-wyg-icon svg {
  width: 32px;
  height: 32px;
}
.sma-wyg-card-title {
  font-family: var(--heading-theme-font);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--hype-gray-950);
  margin: 0 0 14px 0;
  line-height: 1;
  letter-spacing: -0.24px;
  text-transform: uppercase;
}
.sma-wyg-card-desc {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--hype-gray-800);
  margin: 0;
}
/*************** Dashboard Features Section ***************/
.sma-dashboard-feature {
  width: 100%;
  background-color: var(--hype-gray-950);
  padding-left: 16px;
  padding-right: 16px;
}
.sma-df-container {
  max-width: 1170px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 992px) {
  .sma-df-container {
    grid-template-columns: 1fr 1.15fr;
    gap: 64px;
  }
}
.sma-df-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.sma-df-subtitle {
  display: block;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--hype-socialautopilot-primary);
  margin-bottom: 16px;
  letter-spacing: -0.18px;
}
.sma-df-title {
  font-family: var(--heading-theme-font);
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 400;
  color: var(--hype-white);
  letter-spacing: -0.8px;
  text-transform: uppercase;
  margin: 0 0 24px 0;
}
@media (min-width: 768px) {
  .sma-df-title {
    font-size: 2.5rem;
  }
}
.sma-df-description {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--hype-white);
  max-width: 480px;
  margin: 0 0 32px 0;
}
.sma-df-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sma-df-check-item {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='21' viewBox='0 0 21 21' fill='none'%3E%3Cpath d='M13.125 8.3125L9.1875 13.125L7.4375 11.375M18.375 10.5C18.375 14.8492 14.8492 18.375 10.5 18.375C6.15076 18.375 2.625 14.8492 2.625 10.5C2.625 6.15076 6.15076 2.625 10.5 2.625C14.8492 2.625 18.375 6.15076 18.375 10.5Z' stroke='%238193FF' stroke-width='1.5' stroke-linecap='square'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 21px 21px;
  background-position: 0 0;
  padding-left: 32px;
  font-size: 0.875rem;
  color: var(--hype-white);
  font-weight: 400;
}
.sma-df-media {
  width: 100%;
  display: flex;
  justify-content: center;
}
.sma-df-device-frame {
  position: relative;
  width: 100%;
  max-width: 580px;
  overflow: hidden;
}
.sma-df-device-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border: 8px solid rgba(255, 255, 255, 0.20);
  border-radius: 16px;
}
/*************** SMA CTA Section ***************/
.sma-cta-banner {
  width: 100%;
  background-color: var(--hype-gray-950);
  border-top: 1px solid rgba(255, 255, 255, 0.20);
  color: var(--hype-white);
  text-align: center;
  padding-left: 16px;
  padding-right: 16px;
}
.sma-cta-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sma-cta-subtitle {
  display: block;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--hype-socialautopilot-primary);
  margin-bottom: 20px;
  letter-spacing: -0.18px;
}
.sma-cta-title {
  font-family: var(--heading-theme-font);
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 400;
  color: var(--hype-white);
  letter-spacing: -0.8px;
  text-transform: uppercase;
  margin: 0 0 48px 0;
}
@media (min-width: 768px) {
  .sma-cta-title {
    font-size: 2.5rem;
  }
}
.sma-cta-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 320px;
}
.sma-cta-action .hype-btn {
  width: 100%;
}
.sma-cta-subtext {
  font-size: 0.875rem;
  color: var(--hype-gray-400);
  font-weight: 500;
}
/*************** SMA Pricing Section ***************/
.sma-pricing-section {
  width: 100%;
  background-color: var(--hype-white);
  color: var(--hype-gray-950);
  padding-left: 16px;
  padding-right: 16px;
}
.sma-pricing-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sma-pricing-header {
  text-align: center;
  margin-bottom: 32px;
}
.sma-pricing-subtitle {
  display: block;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--hype-socialautopilot-primary);
  margin-bottom: 12px;
  letter-spacing: -0.18px;
}
.sma-pricing-title {
  font-family: var(--heading-theme-font);
  font-size: 2rem;
  font-weight: 400;
  color: var(--hype-gray-950);
  text-transform: uppercase;
  letter-spacing: -0.8px;
  margin: 0;
  line-height: 1.1;
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .sma-pricing-title {
    font-size: 2.5rem;
  }
}
/* Toggle Switch */
body.product-socialautopilot .hype-billing-toggle {
  background-color: var(--hy-gray);
}
body.product-socialautopilot .hype-billing-label {
  color: var(--hype-gray-800);
}
body.product-socialautopilot .hype-billing-option {
  border-radius: 6px;
}
body.product-socialautopilot .hype-billing-option input:checked + .hype-billing-content .hype-billing-label {
  color: var(--hype-gray-950);
}
body.product-socialautopilot .hype-billing-content .hype-badge {
  font-weight: 500;
  border-radius: 6px;
}
/* Pricing Card */
.sma-pricing-card {
  width: 100%;
  max-width: 480px;
  background-color: var(--hy-gray);
  border-radius: 16px;
  padding: 40px 32px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.sma-pricing-plan-title {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--hype-gray-950);
  letter-spacing: -0.72px;
  margin: 0 0 20px 0;
}
.sma-pricing-plan-part {
  margin-bottom: 32px;
}
.sma-pricing-amount-group {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.sma-pricing-currency {
  font-size: 3rem;
  font-weight: 600;
  color: var(--hype-gray-950);
  line-height: 1;
}
.sma-pricing-amount {
  font-size: 3rem;
  font-weight: 600;
  color: var(--hype-gray-950);
  line-height: 1;
}
.sma-pricing-period {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--hy-neutral-100);
  margin-left: 2px;
  letter-spacing: -0.72px;
}
.sma-pricing-billing-info {
  font-size: 0.875rem;
  color: var(--hype-gray-950);
  font-weight: 500;
}
.sma-pricing-original-price {
  text-decoration: line-through;
}
.sma-pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 36px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  text-align: left;
}
.sma-pricing-feature-item {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7.99999 1.3335C4.3181 1.3335 1.33333 4.31826 1.33333 8.00016C1.33333 11.6821 4.3181 14.6668 7.99999 14.6668C11.6819 14.6668 14.6667 11.6821 14.6667 8.00016C14.6667 4.31826 11.6819 1.3335 7.99999 1.3335ZM10.516 6.75567C10.7491 6.47071 10.7071 6.0507 10.4222 5.81754C10.1372 5.58439 9.71717 5.62639 9.48402 5.91136L6.9505 9.00788L6.13807 8.19544C5.87772 7.9351 5.45561 7.9351 5.19526 8.19544C4.93491 8.45579 4.93491 8.8779 5.19526 9.13825L6.52859 10.4716C6.66178 10.6048 6.84508 10.6754 7.0332 10.666C7.22132 10.6566 7.39669 10.5681 7.51597 10.4223L10.516 6.75567Z' fill='%233651F2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 16px 16px;
  background-position: 0 2px;
  color: var(--hype-gray-950);
  font-size: 0.875rem;
  font-weight: 400;
  padding-left: 24px;
}
.sma-pricing-card .hype-btn {
  width: 100%;
  margin-bottom: 20px;
}
.sma-pricing-subtext {
  font-size: 0.9rem;
  color: var(--hype-gray-800);
  font-weight: 500;
  letter-spacing: -0.16px;
}
/* Header login link: matches footer link style for social autopilot */
body.product-socialautopilot header.site-header .nav-utilities .nav__cta .hype-btn-link--neutral {
  color: var(--hy-shades-0);
  text-decoration: none;
}
body.product-socialautopilot header.site-header .nav-utilities .nav__cta .hype-btn-link--neutral:hover,
body.product-socialautopilot header.site-header .nav-utilities .nav__cta .hype-btn-link--neutral:active {
  color: var(--hy-shades-0);
  text-decoration: underline;
}

/* Schedule welcome modal — non-blocking backdrop */
.sma-schedule-welcome-modal-wrap {
    pointer-events: none;
}
.sma-schedule-welcome-modal-wrap .modal-dialog {
    pointer-events: auto;
}
