@charset "UTF-8";
/* =========================================================
   DOOH Screens for Horse Shows — page-specific styles
   Depends on: css/global.css (load it first for tokens/reset/.btn/.field/.card)
   Compile: sass sc_listing/scss/sc_listing.scss sc_listing/css/sc_listing.css
   ========================================================= */
/* ---------------------------------------------------------
   Site header: logo + link back to the landing page
   --------------------------------------------------------- */
.logo-group {
  text-decoration: none;
}

.sc-home-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gold-light);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid rgba(217, 190, 124, 0.45);
}

.sc-home-link:hover {
  background: rgba(217, 190, 124, 0.1);
}

@media (max-width: 640px) {
  .header-inner {
    flex-wrap: nowrap;
    gap: 10px;
  }
  .logo-text .tagline {
    display: block;
  }
  .logo-text .name {
    font-size: 15px;
  }
  .sc-home-link {
    flex-shrink: 0;
    font-size: 12.5px;
    padding: 6px 10px;
  }
}

/* ---------------------------------------------------------
   Page header
   --------------------------------------------------------- */
.sc-page-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 6px;
}

.sc-page-subtext {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
  max-width: 720px;
}

/* Rental-period clarification */
.sc-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(217, 190, 124, 0.1);
  border: 1px solid rgba(217, 190, 124, 0.45);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 24px;
  font-size: 13.5px;
  line-height: 1.5;
}

.sc-notice .sc-notice-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-light);
  color: var(--royal-deep);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sc-notice strong {
  color: var(--gold-light);
}

/* ---------------------------------------------------------
   Form card
   --------------------------------------------------------- */
/* "Add your Display Screen or Video Wall" button — the form opens only on click */
.sc-add-cta {
  margin-bottom: 20px;
}

.sc-add-cta .btn {
  padding: 14px 26px;
  font-size: 15px;
}

.sc-add-cta .btn[hidden] {
  display: none;
}

@media (max-width: 640px) {
  .sc-add-cta .btn {
    width: 100%;
  }
}

.sc-form-card {
  margin-bottom: 36px;
  animation: scRowIn 0.2s ease;
}

.sc-form-card[hidden] {
  display: none;
}

.sc-form-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sc-form-head h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold-light);
}

@media (max-width: 640px) {
  .sc-form-head h2 {
    font-size: 16px;
  }
}

.sc-form-close {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 14px;
  cursor: pointer;
}

.sc-form-close:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.12);
}

.sc-block-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sc-block-title .sc-step {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--glass-border);
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sc-block-subtext {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.sc-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 10px 0 24px;
}

/* Provider details: 2 columns on desktop */
.sc-grid {
  display: grid;
  gap: 0 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sc-grid .span-2 {
  grid-column: 1 / -1;
}

@media (max-width: 640px) {
  .sc-grid {
    grid-template-columns: 1fr;
  }
}

/* global.css only styles .field input — extend to select */
.field select {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--text-white);
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 10px;
  padding: 13px 38px 13px 14px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  transition: border-color 0.15s ease;
}

.field select:focus {
  border-color: var(--input-border-focus);
}

.field select.error {
  border-color: var(--error);
}

.field select option {
  background: var(--royal-deep);
  color: var(--text-white);
}

@media (max-width: 640px) {
  .field select {
    padding: 12px 36px 12px 13px;
    font-size: 14px;
  }
}

.field .req {
  color: var(--gold-light);
  margin-left: 2px;
}

/* Input with a unit prefix/suffix (₹, inches) */
.sc-affix {
  position: relative;
}

.sc-affix input {
  padding-left: 34px;
}

.sc-affix .sc-affix-mark {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 14px;
  pointer-events: none;
}

.sc-affix.suffix input {
  padding-left: 14px;
  padding-right: 44px;
}

.sc-affix.suffix .sc-affix-mark {
  left: auto;
  right: 13px;
  font-size: 12px;
}

/* ---------------------------------------------------------
   Screen specification rows — each row is a card
   --------------------------------------------------------- */
.sc-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}

.sc-row-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-left: 3px solid var(--gold);
  border-radius: 14px;
  padding: 16px 18px 2px;
  animation: scRowIn 0.2s ease;
  /* Desktop: all 5 spec fields on one line */
}

.sc-row-card .sc-row-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.sc-row-card .sc-row-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.02em;
}

.sc-row-card .sc-row-remove {
  background: none;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  cursor: pointer;
}

.sc-row-card .sc-row-remove:hover {
  color: var(--red);
  border-color: rgba(248, 113, 113, 0.4);
}

.sc-row-card .sc-row-remove[hidden] {
  display: none;
}

.sc-row-card .sc-row-fields {
  display: grid;
  gap: 0 14px;
  grid-template-columns: 1.1fr 1fr 1fr 0.9fr 1.2fr;
}

@media (max-width: 900px) {
  .sc-row-card .sc-row-fields {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .sc-row-card .sc-row-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.sc-row-card .field {
  margin-bottom: 14px;
}

@media (max-width: 640px) {
  .sc-row-card {
    padding: 14px 14px 2px;
  }
  .sc-row-card .sc-row-fields .field.full-mobile {
    grid-column: 1 / -1;
  }
}

@keyframes scRowIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.sc-add-row {
  width: 100%;
  border: 1px dashed rgba(217, 190, 124, 0.55);
  background: transparent;
  color: var(--gold-light);
  border-radius: 14px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  padding: 13px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.sc-add-row:hover {
  background: rgba(217, 190, 124, 0.08);
}

/* Form footer */
.sc-form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sc-form-actions .sc-summary {
  font-size: 13px;
  color: var(--text-muted);
}

.sc-form-actions .sc-summary strong {
  color: var(--text-white);
}

.sc-form-actions .sc-buttons {
  display: flex;
  gap: 10px;
}

@media (max-width: 640px) {
  .sc-form-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .sc-form-actions .sc-buttons {
    flex-direction: column-reverse;
  }
  .sc-form-actions .sc-buttons .btn {
    width: 100%;
  }
}

.sc-message {
  font-size: 13px;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 18px;
}

.sc-message.error {
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.4);
  color: #FCA5A5;
}

.sc-message.success {
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.4);
  color: var(--green);
}

.sc-message[hidden] {
  display: none;
}

/* ---------------------------------------------------------
   Listing (all submitted rows)
   --------------------------------------------------------- */
.sc-list-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.sc-list-head .section-heading {
  margin: 0 0 4px;
}

.sc-list-head .section-subtext {
  margin: 0;
}

/* Search filters above the list */
.sc-filters {
  display: grid;
  gap: 12px;
  align-items: end;
  grid-template-columns: minmax(0, 2fr) repeat(5, minmax(0, 1fr)) auto;
  margin-bottom: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
}

@media (max-width: 900px) {
  .sc-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .sc-filters .sc-filter-search {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .sc-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sc-filters .sc-filter-clear .btn {
    width: 100%;
  }
}

.sc-filter label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.sc-filter input, .sc-filter select {
  width: 100%;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--text-white);
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 8px;
  padding: 9px 11px;
  outline: none;
}

.sc-filter input:focus, .sc-filter select:focus {
  border-color: var(--input-border-focus);
}

.sc-filter input::placeholder, .sc-filter select::placeholder {
  color: rgba(247, 248, 250, 0.35);
}

.sc-filter select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 30px;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
  background-position: calc(100% - 15px) 55%, calc(100% - 10px) 55%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.sc-filter select option {
  background: var(--royal-deep);
  color: var(--text-white);
}

.sc-filter .btn {
  white-space: nowrap;
  padding: 10px 14px;
}

.sc-table-card {
  padding: 0;
  overflow: hidden;
}

.sc-table-scroll {
  overflow-x: auto;
}

.sc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  /* Mobile: every table row becomes a compact card, no field labels:
       Company                     ₹5,500/day
       Jaipur, RJ
       75″  QLED 4K  · 4 screens
       email · phone                          */
}

.sc-table th, .sc-table td {
  padding: 13px 16px;
  text-align: left;
  vertical-align: top;
}

.sc-table thead th {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--glass-border);
  white-space: nowrap;
}

.sc-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sc-table tbody tr:last-child {
  border-bottom: none;
}

.sc-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.sc-table .num {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.sc-table .company {
  font-weight: 600;
}

.sc-table .sub {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.sc-table a {
  color: var(--gold-light);
  text-decoration: none;
}

.sc-table a:hover {
  text-decoration: underline;
}

.sc-table .rent {
  font-weight: 700;
  color: var(--gold-light);
}

.sc-table .tag.spec {
  background: rgba(139, 92, 246, 0.18);
  color: var(--purple-light);
  margin-right: 4px;
}

.sc-table .tag.res {
  background: rgba(74, 222, 128, 0.14);
  color: var(--green);
}

@media (max-width: 640px) {
  .sc-table thead {
    display: none;
  }
  .sc-table tbody, .sc-table tr, .sc-table td {
    display: block;
    width: 100%;
  }
  .sc-table tbody tr {
    padding: 12px 14px;
    border-bottom: 1px solid var(--glass-border);
    display: grid;
    gap: 4px 10px;
    align-items: center;
    grid-template-columns: auto auto 1fr auto;
    grid-template-areas: "company  company  company  rent" "location location location location" "size     spec     screens  screens" "contact  contact  contact  contact";
  }
  .sc-table tbody tr:hover {
    background: none;
  }
  .sc-table td {
    padding: 0;
    width: auto;
  }
  .sc-table .num {
    text-align: left;
  }
  .sc-table .col-company {
    grid-area: company;
  }
  .sc-table .col-company .company {
    font-size: 15px;
  }
  .sc-table .col-rent {
    grid-area: rent;
    text-align: right;
    white-space: nowrap;
  }
  .sc-table .col-rent .rent {
    font-size: 15px;
  }
  .sc-table .col-rent::after {
    content: "/day";
    font-size: 11px;
    color: var(--text-muted);
    margin-left: 2px;
  }
  .sc-table .col-location {
    grid-area: location;
    font-size: 12.5px;
    color: var(--text-muted);
  }
  .sc-table .col-size {
    grid-area: size;
    font-weight: 600;
    margin-top: 4px;
  }
  .sc-table .col-spec {
    grid-area: spec;
    margin-top: 4px;
    white-space: nowrap;
  }
  .sc-table .col-screens {
    grid-area: screens;
    margin-top: 4px;
    font-size: 12.5px;
    color: var(--text-muted);
  }
  .sc-table .col-screens::before {
    content: "· ";
  }
  .sc-table .col-screens::after {
    content: " screens";
  }
  .sc-table .col-contact {
    grid-area: contact;
    margin-top: 6px;
    font-size: 12.5px;
  }
  .sc-table .col-contact .sub {
    display: inline;
    margin: 0 0 0 8px;
  }
}

.sc-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  font-size: 13.5px;
}

.sc-empty strong {
  display: block;
  color: var(--text-white);
  font-size: 15px;
  margin-bottom: 4px;
}

@media (max-width: 640px) {
  .sc-page-title {
    font-size: 21px;
    margin-bottom: 12px;
  }
  .sc-page-subtext {
    display: none;
  }
  .sc-notice {
    padding: 10px 12px;
    font-size: 12.5px;
    margin-bottom: 16px;
  }
  .sc-block-subtext {
    display: none;
  }
  .sc-list-head {
    margin-bottom: 10px;
  }
}

/* Filters: the "Filters" toggle exists only on phones */
.sc-filter-toggle {
  display: none;
}

@media (max-width: 640px) {
  .sc-filters {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 10px;
    gap: 10px;
  }
  .sc-filters .sc-filter-search {
    grid-column: auto;
  }
  .sc-filters .sc-filter-search label {
    display: none;
  }
  .sc-filters.open {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sc-filters .sc-filter-toggle {
    display: block;
  }
  .sc-filters .sc-filter-toggle .btn {
    width: auto;
    padding: 9px 14px;
  }
  .sc-filters .sc-filter:not(.sc-filter-search):not(.sc-filter-toggle) {
    display: none;
  }
  .sc-filters.open .sc-filter:not(.sc-filter-search):not(.sc-filter-toggle) {
    display: block;
  }
}
