/*
  =========================================================
  ACROV CONTROL

  FILE:
  dashboards/originals/originals.css

  SYSTEM:
  ORIGINALS DIRECTOR DASHBOARD

  PURPOSE:
  - Styles the Originals Director Dashboard
  - Provides movie and film administration surfaces
  - Provides title upload and release controls
  - Provides publishing status visibility
  - Provides Originals catalog administration
  - Supports Master override visibility
  - Preserves shared Dashboard Host geometry

  ARCHITECTURE:

  ACROV MASTER
       ↓
  ORIGINALS DIRECTOR
       ↓
  ORIGINALS CATALOG
       ↓
  NEW TITLE
  MEDIA
  RELEASE
  PUBLISHING
  DISTRIBUTION

  IMPORTANT:
  - Originals controls movie / film content
  - CIP controls creator onboarding
  - Music remains under Music Director
  - Commerce remains under Commerce Director
  - Authority and permissions remain outside this file
  =========================================================
*/


/* =========================================================
   ORIGINALS DASHBOARD
========================================================= */

.acrov-originals-dashboard {

  width:
    100%;

  min-width:
    0;

}


/* =========================================================
   HEADER
========================================================= */

.acrov-originals-header {

  width:
    100%;

  min-width:
    0;

  display:
    flex;

  align-items:
    flex-start;

  justify-content:
    space-between;

  gap:
    24px;

}


/* =========================================================
   HEADER COPY
========================================================= */

.acrov-originals-header-copy {

  min-width:
    0;

  display:
    flex;

  flex-direction:
    column;

  gap:
    5px;

}


/* =========================================================
   EYEBROW
========================================================= */

.acrov-originals-eyebrow {

  margin:
    0;

  color:
    var(--acrov-blue);

  font-size:
    8px;

  font-weight:
    850;

  line-height:
    1;

  letter-spacing:
    1.35px;

  text-transform:
    uppercase;

}


/* =========================================================
   TITLE
========================================================= */

.acrov-originals-title {

  margin:
    0;

  color:
    var(--acrov-text);

  font-size:
    30px;

  font-weight:
    800;

  line-height:
    1.1;

  letter-spacing:
    -0.8px;

}


/* =========================================================
   DESCRIPTION
========================================================= */

.acrov-originals-description {

  max-width:
    760px;

  margin:
    0;

  color:
    var(--acrov-text-muted);

  font-size:
    12px;

  font-weight:
    400;

  line-height:
    1.55;

}


/* =========================================================
   AUTHORITY
========================================================= */

.acrov-originals-authority {

  min-height:
    30px;

  flex:
    0 0 auto;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  padding:
    0 11px;

  border:
    1px solid
    #bfdbfe;

  border-radius:
    6px;

  background:
    var(--acrov-blue-soft);

  color:
    var(--acrov-blue-hover);

  font-size:
    8px;

  font-weight:
    850;

  line-height:
    1;

  letter-spacing:
    0.55px;

  white-space:
    nowrap;

  text-transform:
    uppercase;

}


/* =========================================================
   MASTER OVERRIDE
========================================================= */

.acrov-originals-master-override {

  min-height:
    30px;

  flex:
    0 0 auto;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  padding:
    0 11px;

  border:
    1px solid
    #fde68a;

  border-radius:
    6px;

  background:
    #fffbeb;

  color:
    #92400e;

  font-size:
    8px;

  font-weight:
    850;

  line-height:
    1;

  letter-spacing:
    0.55px;

  white-space:
    nowrap;

  text-transform:
    uppercase;

}


/* =========================================================
   SUMMARY GRID
========================================================= */

.acrov-originals-summary-grid {

  width:
    100%;

  min-width:
    0;

  display:
    grid;

  grid-template-columns:
    repeat(
      4,
      minmax(
        0,
        1fr
      )
    );

  gap:
    14px;

}


/* =========================================================
   SUMMARY CARD
========================================================= */

.acrov-originals-summary-card {

  min-width:
    0;

  padding:
    16px;

  border:
    1px solid
    var(--acrov-border);

  border-radius:
    var(--acrov-radius);

  background:
    var(--acrov-white);

  box-shadow:
    var(--acrov-shadow-small);

}


/* =========================================================
   SUMMARY LABEL
========================================================= */

.acrov-originals-summary-label {

  margin:
    0;

  color:
    var(--acrov-text-muted);

  font-size:
    8px;

  font-weight:
    800;

  line-height:
    1;

  letter-spacing:
    0.75px;

  text-transform:
    uppercase;

}


/* =========================================================
   SUMMARY VALUE
========================================================= */

.acrov-originals-summary-value {

  margin:
    8px 0 0;

  color:
    var(--acrov-text);

  font-size:
    24px;

  font-weight:
    800;

  line-height:
    1;

  letter-spacing:
    -0.6px;

}


/* =========================================================
   SUMMARY SIGNAL
========================================================= */

.acrov-originals-summary-signal {

  margin:
    7px 0 0;

  color:
    var(--acrov-text-muted);

  font-size:
    9px;

  line-height:
    1.35;

}


/* =========================================================
   SECTION
========================================================= */

.acrov-originals-section {

  width:
    100%;

  min-width:
    0;

}


/* =========================================================
   SECTION HEADER
========================================================= */

.acrov-originals-section-header {

  width:
    100%;

  min-width:
    0;

  display:
    flex;

  align-items:
    flex-end;

  justify-content:
    space-between;

  gap:
    16px;

  margin-bottom:
    11px;

}


/* =========================================================
   SECTION COPY
========================================================= */

.acrov-originals-section-copy {

  min-width:
    0;

}


/* =========================================================
   SECTION TITLE
========================================================= */

.acrov-originals-section-title {

  margin:
    0;

  color:
    var(--acrov-text);

  font-size:
    14px;

  font-weight:
    800;

  line-height:
    1.2;

}


/* =========================================================
   SECTION DESCRIPTION
========================================================= */

.acrov-originals-section-description {

  margin:
    4px 0 0;

  color:
    var(--acrov-text-muted);

  font-size:
    10px;

  line-height:
    1.4;

}


/* =========================================================
   ACTION GRID
========================================================= */

.acrov-originals-action-grid {

  width:
    100%;

  min-width:
    0;

  display:
    grid;

  grid-template-columns:
    repeat(
      4,
      minmax(
        0,
        1fr
      )
    );

  gap:
    12px;

}


/* =========================================================
   ACTION CARD
========================================================= */

.acrov-originals-action-card {

  min-width:
    0;

  min-height:
    148px;

  display:
    flex;

  flex-direction:
    column;

  align-items:
    flex-start;

  justify-content:
    space-between;

  gap:
    14px;

  padding:
    16px;

  border:
    1px solid
    var(--acrov-border);

  border-radius:
    var(--acrov-radius);

  background:
    var(--acrov-white);

  box-shadow:
    var(--acrov-shadow-small);

}


/* =========================================================
   ACTION ICON
========================================================= */

.acrov-originals-action-icon {

  width:
    31px;

  height:
    31px;

  flex:
    0 0 31px;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  border-radius:
    7px;

  background:
    var(--acrov-blue-soft);

  color:
    var(--acrov-blue);

  font-size:
    9px;

  font-weight:
    850;

}


/* =========================================================
   ACTION COPY
========================================================= */

.acrov-originals-action-copy {

  width:
    100%;

  min-width:
    0;

}


/* =========================================================
   ACTION TITLE
========================================================= */

.acrov-originals-action-title {

  margin:
    0;

  color:
    var(--acrov-text);

  font-size:
    12px;

  font-weight:
    800;

  line-height:
    1.2;

}


/* =========================================================
   ACTION DESCRIPTION
========================================================= */

.acrov-originals-action-description {

  margin:
    5px 0 0;

  color:
    var(--acrov-text-muted);

  font-size:
    9px;

  line-height:
    1.45;

}


/* =========================================================
   ACTION BUTTON
========================================================= */

.acrov-originals-action-button {

  min-height:
    29px;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  padding:
    0 10px;

  border:
    1px solid
    var(--acrov-border-strong);

  border-radius:
    5px;

  background:
    var(--acrov-white);

  color:
    var(--acrov-text-secondary);

  font-family:
    inherit;

  font-size:
    8px;

  font-weight:
    750;

  cursor:
    pointer;

  transition:
    border-color 120ms ease,
    background 120ms ease,
    color 120ms ease;

}


/* =========================================================
   ACTION BUTTON HOVER
========================================================= */

.acrov-originals-action-button:hover {

  border-color:
    #bfdbfe;

  background:
    var(--acrov-blue-soft);

  color:
    var(--acrov-blue-hover);

}


/* =========================================================
   DISABLED ACTION
========================================================= */

.acrov-originals-action-button:disabled {

  opacity:
    0.45;

  cursor:
    not-allowed;

}


/* =========================================================
   OPERATIONS GRID
========================================================= */

.acrov-originals-operations-grid {

  width:
    100%;

  min-width:
    0;

  display:
    grid;

  grid-template-columns:
    minmax(
      0,
      2fr
    )
    minmax(
      280px,
      1fr
    );

  gap:
    12px;

}


/* =========================================================
   PANEL
========================================================= */

.acrov-originals-panel {

  min-width:
    0;

  padding:
    17px;

  border:
    1px solid
    var(--acrov-border);

  border-radius:
    var(--acrov-radius);

  background:
    var(--acrov-white);

  box-shadow:
    var(--acrov-shadow-small);

}


/* =========================================================
   PANEL HEADER
========================================================= */

.acrov-originals-panel-header {

  width:
    100%;

  min-width:
    0;

  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  gap:
    12px;

  margin-bottom:
    13px;

}


/* =========================================================
   PANEL TITLE
========================================================= */

.acrov-originals-panel-title {

  margin:
    0;

  color:
    var(--acrov-text);

  font-size:
    12px;

  font-weight:
    800;

  line-height:
    1.2;

}


/* =========================================================
   PANEL COUNT
========================================================= */

.acrov-originals-panel-count {

  min-width:
    24px;

  height:
    22px;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  padding:
    0 7px;

  border-radius:
    var(--acrov-radius-pill);

  background:
    var(--acrov-surface-soft);

  color:
    var(--acrov-text-secondary);

  font-size:
    8px;

  font-weight:
    800;

}


/* =========================================================
   TABLE WRAPPER
========================================================= */

.acrov-originals-table-wrap {

  width:
    100%;

  min-width:
    0;

  overflow-x:
    auto;

}


/* =========================================================
   TABLE
========================================================= */

.acrov-originals-table {

  width:
    100%;

  min-width:
    720px;

  border-collapse:
    collapse;

}


/* =========================================================
   TABLE HEADER
========================================================= */

.acrov-originals-table th {

  padding:
    9px 8px;

  border-bottom:
    1px solid
    var(--acrov-border);

  color:
    var(--acrov-text-muted);

  font-size:
    7px;

  font-weight:
    800;

  line-height:
    1;

  letter-spacing:
    0.6px;

  text-align:
    left;

  text-transform:
    uppercase;

}


/* =========================================================
   TABLE CELL
========================================================= */

.acrov-originals-table td {

  padding:
    11px 8px;

  border-bottom:
    1px solid
    var(--acrov-border);

  color:
    var(--acrov-text-secondary);

  font-size:
    9px;

  line-height:
    1.35;

  vertical-align:
    middle;

}


/* =========================================================
   LAST ROW
========================================================= */

.acrov-originals-table tbody
tr:last-child td {

  border-bottom:
    0;

}


/* =========================================================
   TITLE NAME
========================================================= */

.acrov-originals-media-title {

  color:
    var(--acrov-text);

  font-weight:
    750;

}


/* =========================================================
   TITLE ID
========================================================= */

.acrov-originals-media-id {

  color:
    var(--acrov-text-muted);

  font-size:
    8px;

  font-weight:
    650;

}


/* =========================================================
   STATUS
========================================================= */

.acrov-originals-status {

  min-height:
    22px;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  padding:
    0 8px;

  border-radius:
    var(--acrov-radius-pill);

  font-size:
    7px;

  font-weight:
    800;

  line-height:
    1;

  white-space:
    nowrap;

  text-transform:
    uppercase;

}


/* =========================================================
   DRAFT STATUS
========================================================= */

.acrov-originals-status[
  data-status="draft"
] {

  background:
    #f1f5f9;

  color:
    #475569;

}


/* =========================================================
   REVIEW STATUS
========================================================= */

.acrov-originals-status[
  data-status="review"
] {

  background:
    #eff6ff;

  color:
    #1d4ed8;

}


/* =========================================================
   SCHEDULED STATUS
========================================================= */

.acrov-originals-status[
  data-status="scheduled"
] {

  background:
    #fffbeb;

  color:
    #a16207;

}


/* =========================================================
   PUBLISHED STATUS
========================================================= */

.acrov-originals-status[
  data-status="published"
] {

  background:
    #f0fdf4;

  color:
    #15803d;

}


/* =========================================================
   BLOCKED STATUS
========================================================= */

.acrov-originals-status[
  data-status="blocked"
] {

  background:
    #fef2f2;

  color:
    #b91c1c;

}


/* =========================================================
   MEDIA CONTROLS
========================================================= */

.acrov-originals-media-controls {

  display:
    flex;

  align-items:
    center;

  flex-wrap:
    wrap;

  gap:
    5px;

}


/* =========================================================
   MEDIA BUTTON
========================================================= */

.acrov-originals-media-button {

  min-height:
    24px;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  padding:
    0 7px;

  border:
    1px solid
    var(--acrov-border-strong);

  border-radius:
    4px;

  background:
    var(--acrov-white);

  color:
    var(--acrov-text-secondary);

  font-family:
    inherit;

  font-size:
    7px;

  font-weight:
    750;

  cursor:
    pointer;

}


/* =========================================================
   PUBLISH BUTTON
========================================================= */

.acrov-originals-media-button[
  data-action="publish"
] {

  border-color:
    #bbf7d0;

  color:
    #15803d;

}


/* =========================================================
   BLOCK BUTTON
========================================================= */

.acrov-originals-media-button[
  data-action="block"
] {

  border-color:
    #fecaca;

  color:
    #b91c1c;

}


/* =========================================================
   ACTIVITY LIST
========================================================= */

.acrov-originals-activity-list {

  width:
    100%;

  min-width:
    0;

  display:
    flex;

  flex-direction:
    column;

  margin:
    0;

  padding:
    0;

  list-style:
    none;

}


/* =========================================================
   ACTIVITY ITEM
========================================================= */

.acrov-originals-activity-item {

  display:
    flex;

  align-items:
    flex-start;

  gap:
    9px;

  padding:
    10px 0;

  border-bottom:
    1px solid
    var(--acrov-border);

}


/* =========================================================
   LAST ACTIVITY ITEM
========================================================= */

.acrov-originals-activity-item:last-child {

  border-bottom:
    0;

}


/* =========================================================
   ACTIVITY DOT
========================================================= */

.acrov-originals-activity-dot {

  width:
    7px;

  height:
    7px;

  flex:
    0 0 7px;

  margin-top:
    3px;

  border-radius:
    50%;

  background:
    var(--acrov-blue);

}


/* =========================================================
   ACTIVITY COPY
========================================================= */

.acrov-originals-activity-copy {

  min-width:
    0;

  color:
    var(--acrov-text-secondary);

  font-size:
    9px;

  line-height:
    1.4;

}


/* =========================================================
   EMPTY STATE
========================================================= */

.acrov-originals-empty {

  min-height:
    130px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  padding:
    20px;

  border:
    1px dashed
    var(--acrov-border-strong);

  border-radius:
    7px;

  background:
    var(--acrov-surface-soft);

  color:
    var(--acrov-text-muted);

  font-size:
    9px;

  line-height:
    1.45;

  text-align:
    center;

}


/* =========================================================
   TABLET
========================================================= */

@media (
  max-width: 1100px
) {

  .acrov-originals-summary-grid {

    grid-template-columns:
      repeat(
        2,
        minmax(
          0,
          1fr
        )
      );

  }


  .acrov-originals-action-grid {

    grid-template-columns:
      repeat(
        2,
        minmax(
          0,
          1fr
        )
      );

  }


  .acrov-originals-operations-grid {

    grid-template-columns:
      minmax(
        0,
        1fr
      );

  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (
  max-width: 600px
) {

  .acrov-originals-header {

    flex-direction:
      column;

    gap:
      12px;

  }


  .acrov-originals-title {

    font-size:
      24px;

  }


  .acrov-originals-summary-grid,
  .acrov-originals-action-grid {

    grid-template-columns:
      minmax(
        0,
        1fr
      );

  }


  .acrov-originals-action-card {

    min-height:
      130px;

  }


  .acrov-originals-panel {

    padding:
      14px;

  }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (
  prefers-reduced-motion: reduce
) {

  .acrov-originals-action-button {

    transition:
      none;

  }

}