/* ============================================================
   AICineHub OTT — Frontend CSS (Black Theme, Modern Cinema UI)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Cinzel:wght@700;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

:root {
  --ott-bg:       #fcfcfc;
  --ott-surface:  #fcfcfc;
  --ott-surface2: #fff;
  --ott-surface3: #ffff;
  --ott-border:   #eeeeee;
  --ott-accent:   #333;
  --ott-accent2:  #333;
  --ott-text:     #333;
  --ott-muted:    #333;
  --ott-success:  #22d07a;
  --ott-error:    #ff4d6a;
  --ott-warning:  #f0a030;
  --ott-radius:   12px;
  --ott-font:     'Space Grotesk', system-ui, sans-serif;
  --ott-font-head:'Cinzel', serif;
}
.acb-hero-inner{
    z-index: 0 !important;
}

/* ── Base ─────────────────────────────────────────────────── */
.ott-page-wrap, .ott-apply-wrap, .ott-auth-wrap, .ott-browse-wrap,
.ott-dashboard-wrap, .ott-contact-wrap {
  font-family: var(--ott-font);
  color: var(--ott-text);
  background: var(--ott-bg);
  min-height: 100vh;
  max-width: 100% !important;
}

/* ── Hero / Banner ──────────────────────────────────────────── */
.ott-page-hero {
  background: linear-gradient(160deg,#0a0a14 0%,#140e08 100%);
  border-bottom: 1px solid var(--ott-border);
  padding: 64px 24px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ott-page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%,rgba(232,168,56,.1) 0%,transparent 70%);
  pointer-events: none;
}

.ott-page-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgb(255 215 49);
  border: 1px solid rgba(232,168,56,.25);
  color: var(--ott-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.ott-page-title {
  font-family: var(--ott-font-head);
  font-size: clamp(32px,6vw,60px);
  font-weight: 900;
  color: var(--ott-text);
  line-height: 1.05;
  margin: 0 0 16px;
  letter-spacing: -1px;
}

.ott-page-subtitle {
  color: var(--ott-muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 48px;
  font-weight: 300;
}

/* ── Step Progress Bar ──────────────────────────────────────── */
.ott-apply-steps-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.ott-step { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 14px 10px; min-width: 80px; border-bottom: 2px solid transparent; transition: border-color .3s; }
.ott-step.active { border-bottom-color: var(--ott-accent); }
.step-num { font-family: var(--ott-font-head); font-size: 20px; font-weight: 700; color: var(--ott-muted); transition: color .3s; }
.step-label { font-size: 11px; font-weight: 600; letter-spacing: .5px; color: var(--ott-muted); white-space: nowrap; transition: color .3s; }
.ott-step.active .step-num { color: var(--ott-accent); }
.ott-step.active .step-label { color: var(--ott-text); }
.ott-step.done .step-num, .ott-step.done .step-label { color: var(--ott-success); }
.ott-step-line { flex: 1; height: 1px; background: var(--ott-border); min-width: 20px; }

/* ── Form Body ──────────────────────────────────────────────── */
.ott-apply-body, .ott-form-body { max-width: 760px; margin: 0 auto; padding: 48px 24px 80px; }

.ott-apply-notice { padding: 14px 20px; border-radius: var(--ott-radius); font-size: 14px; font-weight: 500; margin-bottom: 28px; display: flex; align-items: center; gap: 10px; }
.ott-apply-notice.error   { background: rgba(255,77,106,.1); border: 1px solid rgba(255,77,106,.3); color: var(--ott-error); }
.ott-apply-notice.success { background: rgba(34,208,122,.1); border: 1px solid rgba(34,208,122,.3); color: var(--ott-success); }

.ott-form-step { display: none; animation: ott-fadeIn .3s ease; }
.ott-form-step.active { display: block; }
@keyframes ott-fadeIn { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }

.ott-step-title { font-family: var(--ott-font-head); font-size: 26px; font-weight: 700; color: var(--ott-text); margin: 0 0 8px; letter-spacing: -.5px; }
.ott-step-desc { color: var(--ott-muted); font-size: 15px; margin: 0 0 32px; line-height: 1.6; }

/* ── Field Groups ───────────────────────────────────────────── */
.ott-field-grid { display: grid; gap: 18px; margin-bottom: 18px; }
.ott-field-grid.two-col   { grid-template-columns: 1fr 1fr; }
.ott-field-grid.three-col { grid-template-columns: 1fr 1fr 1fr; }
.ott-field-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.ott-field-group label { font-size: 11px; font-weight: 700; letter-spacing: .8px; color: var(--ott-muted); text-transform: uppercase; display: flex; align-items: center; gap: 6px; }
.ott-field-group label .req { color: #ff0000; }
.ott-optional-tag { font-size: 10px; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--ott-muted); background: var(--ott-surface2); padding: 2px 7px; border-radius: 4px; }

.ott-field-group input,
.ott-field-group select,
.ott-field-group textarea {
  background: var(--ott-surface);
  border: 1px solid var(--ott-border);
  border-radius: var(--ott-radius);
  color: var(--ott-text);
  font-family: var(--ott-font);
  font-size: 15px;
  padding: 5px 16px;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
}
.ott-field-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6990' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-left: 40px;
  cursor: pointer;
}
input[type=email]:focus, input[type=password]:focus, input[type=reset]:focus, input[type=search]:focus, input[type=tel]:focus, input[type=text]:focus, input[type=url]:focus, select:focus, textarea:focus{
    background: none !important;
}
.ott-field-group select option { background: var(--ott-surface); }
.ott-field-group input:focus,
.ott-field-group select:focus,
.ott-field-group textarea:focus { border-color: var(--ott-accent); box-shadow: 0 0 0 3px rgba(232,168,56,.1); }
.ott-field-group input::placeholder,
.ott-field-group textarea::placeholder { color: #333; }
.ott-field-group textarea { resize: vertical; min-height: 110px; line-height: 1.7; }
.ott-field-hint  { font-size: 12px; color: var(--ott-muted); display: flex; align-items: center; gap: 5px; }
.ott-field-error { font-size: 12px; color: var(--ott-error); min-height: 14px; }
.ott-field-group.has-error input,
.ott-field-group.has-error select,
.ott-field-group.has-error textarea { border-color: var(--ott-error); box-shadow: 0 0 0 3px rgba(255,77,106,.1); }

/* Icon inside input */
.ott-input-wrap { position: relative; }
.ott-input-wrap i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ott-muted); font-size: 14px; pointer-events: none; }
.ott-input-wrap input { padding-left: 42px; }

/* ── Buttons ────────────────────────────────────────────────── */
.ott-step-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--ott-border); }

.ott-btn, .ott-btn-next, .ott-btn-prev, .ott-btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--ott-radius);
  font-family: var(--ott-font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all .2s;
  text-decoration: none;
}
.ott-btn-primary, .ott-btn-next, .ott-btn-submit { background: #ffd731; color: #080810; }
.ott-btn-primary:hover, .ott-btn-next:hover, .ott-btn-submit:hover { background: #f0bc52; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(232,168,56,.3); }
.ott-btn-prev { background: transparent; border: 1px solid var(--ott-border); color: var(--ott-muted); }
.ott-btn-prev:hover { border-color: var(--ott-accent); color: var(--ott-accent); }
.ott-btn-next { margin-left: auto; }
.ott-btn-submit:disabled { opacity: .6; cursor: not-allowed; transform: none !important; }

/* ── File Drop Zone ─────────────────────────────────────────── */
.ott-file-drop { border: 2px dashed var(--ott-border); border-radius: var(--ott-radius); overflow: hidden; transition: border-color .2s; cursor: pointer; }
.ott-file-drop:hover, .ott-file-drop.dragover { border-color: var(--ott-accent); }
.ott-file-drop-inner { padding: 36px 20px; text-align: center; color: var(--ott-muted); }
.ott-file-drop-inner i { font-size: 36px; margin-bottom: 10px; display: block; color: var(--ott-border); }
.ott-file-drop-inner p { margin: 0 0 4px; font-size: 14px; }
.ott-file-drop-inner small { font-size: 12px; }
.ott-file-browse { color: var(--ott-accent); cursor: pointer; text-decoration: underline; }
.ott-file-preview { padding: 16px; text-align: center; }
.ott-file-preview img { max-height: 180px; border-radius: var(--ott-radius); border: 1px solid var(--ott-border); }
.ott-remove-file { display: block; margin: 10px auto 0; background: rgba(255,77,106,.1); border: 1px solid rgba(255,77,106,.3); color: var(--ott-error); padding: 6px 14px; border-radius: 6px; cursor: pointer; font-size: 13px; font-family: var(--ott-font); }

/* ── Review Grid ────────────────────────────────────────────── */
.ott-review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--ott-border); border-radius: var(--ott-radius); overflow: hidden; margin-bottom: 28px; border: 1px solid var(--ott-border); }
.ott-review-item { background: var(--ott-surface); padding: 13px 16px; }
.ott-review-item label { display: block; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--ott-muted); margin-bottom: 4px; }
.ott-review-item span { font-size: 14px; color: var(--ott-text); font-weight: 500; word-break: break-word; }
.ott-review-item.full { grid-column: 1/-1; }

/* ── Terms Checkbox ─────────────────────────────────────────── */
.ott-terms-block { margin-bottom: 28px; }
.ott-checkbox-label { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 14px; color: var(--ott-muted); line-height: 1.6; }
.ott-checkbox-label input { display: none; }
.ott-checkmark { width: 20px; height: 20px; min-width: 20px; border: 2px solid var(--ott-border); border-radius: 4px; margin-top: 2px; transition: all .2s; position: relative; }
.ott-checkbox-label input:checked + .ott-checkmark { background: var(--ott-accent); border-color: var(--ott-accent); }
.ott-checkbox-label input:checked + .ott-checkmark::after { content: ''; position: absolute; left: 4px; top: 1px; width: 6px; height: 10px; border: 2px solid #080810; border-top: none; border-left: none; transform: rotate(40deg); }
.ott-checkbox-label a { color: var(--ott-accent); }

/* ── Process Steps Info ─────────────────────────────────────── */
.ott-process-info { background: var(--ott-surface); border: 1px solid var(--ott-border); border-radius: var(--ott-radius); padding: 24px; margin-bottom: 28px; }
.ott-process-info h4 { font-family: var(--ott-font-head); font-size: 17px; color: var(--ott-text); margin: 0 0 20px; }
.ott-process-steps { display: flex; flex-direction: column; gap: 16px; }
.ott-process-item { display: flex; align-items: flex-start; gap: 14px; }
.ott-process-num { width: 32px; height: 32px; min-width: 32px; background: rgba(232,168,56,.1); border: 1px solid rgba(232,168,56,.25); color: var(--ott-accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; font-family: var(--ott-font-head); }
.ott-process-item strong { display: block; color: var(--ott-text); font-size: 13px; margin-bottom: 3px; }
.ott-process-item p { margin: 0; font-size: 13px; color: var(--ott-muted); line-height: 1.5; }

/* ── Success Screen ─────────────────────────────────────────── */
.ott-success-screen { text-align: center; padding: 80px 24px; }
.ott-success-inner { max-width: 480px; margin: 0 auto; }
.ott-success-icon { width: 80px; height: 80px; margin: 0 auto 28px; color: var(--ott-success); background: rgba(34,208,122,.1); border: 2px solid rgba(34,208,122,.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 36px; }
.ott-success-screen h2 { font-family: var(--ott-font-head); font-size: 36px; font-weight: 700; color: var(--ott-text); margin: 0 0 14px; }
.ott-success-screen p { color: var(--ott-muted); font-size: 16px; line-height: 1.7; margin: 0 0 24px; }
.ott-ref-box { background: var(--ott-surface); border: 1px solid var(--ott-border); border-radius: var(--ott-radius); padding: 16px 24px; font-size: 14px; color: var(--ott-muted); margin-bottom: 28px; }
.ott-ref-box strong { color: var(--ott-accent); font-size: 18px; }
.ott-btn-home { display: inline-flex; align-items: center; gap: 8px; background: var(--ott-accent); color: #080810; padding: 13px 32px; border-radius: var(--ott-radius); font-weight: 700; font-size: 15px; text-decoration: none; transition: all .2s; }
.ott-btn-home:hover { background: #f0bc52; transform: translateY(-1px); }

/* ── Auth (Login/Register) ──────────────────────────────────── */
.ott-auth-wrap { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 40px 20px; background: var(--ott-bg); position: relative; overflow: hidden; }
.ott-auth-wrap::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 50% 50%,rgba(232,168,56,.07) 0%,transparent 70%); pointer-events: none; }

.ott-auth-card { background: var(--ott-surface); border: 1px solid var(--ott-border); border-radius: 20px; padding: 48px 40px; width: 100%; max-width: 440px; position: relative; z-index: 1; box-shadow: 0 24px 60px rgba(0,0,0,.6); }

.ott-auth-logo { text-align: center; margin-bottom: 32px; }
.ott-auth-logo img { max-width: 160px; height: auto; }

.ott-auth-title { font-family: var(--ott-font-head); font-size: 26px; font-weight: 700; color: var(--ott-text); text-align: center; margin: 0 0 6px; }
.ott-auth-sub { color: var(--ott-muted); font-size: 14px; text-align: center; margin: 0 0 32px; line-height: 1.6; }

.ott-auth-tabs { display: flex; background: var(--ott-surface2); border-radius: var(--ott-radius); padding: 4px; margin-bottom: 28px; gap: 4px; }
.ott-auth-tab { flex: 1; padding: 9px; border: none; background: transparent; color: var(--ott-muted); font-family: var(--ott-font); font-size: 14px; font-weight: 600; cursor: pointer; border-radius: 8px; transition: all .2s; }
.ott-auth-tab.active { background: var(--ott-surface3); color: var(--ott-text); }
.ott-auth-tab:hover:not(.active) { color: var(--ott-text); }

/* ── Contact Form ───────────────────────────────────────────── */
.ott-contact-wrap { background: var(--ott-bg); min-height: 100vh; padding: 60px 24px; }
.ott-contact-inner { max-width: 80%; margin: 0 auto; }
.ott-contact-card { background: var(--ott-surface); border: 1px solid var(--ott-border); border-radius: 20px; padding: 48px; }
.ott-contact-header { margin-bottom: 36px; }
.ott-contact-header h2 { font-family: var(--ott-font-head); font-size: 32px; font-weight: 700; color: var(--ott-text); margin: 0 0 10px; }
.ott-contact-header p { color: var(--ott-muted); font-size: 15px; line-height: 1.7; margin: 0; }
.ott-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ott-contact-grid .ott-field-group { margin-bottom: 0; }
.ott-contact-full { grid-column: 1/-1; }

/* ── Login-Only / Role-Only Gates ───────────────────────────── */
.ott-login-gate {
  text-align: center;
  padding: 80px 24px;
  background: var(--ott-bg);
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.ott-login-gate-icon { font-size: 60px; color: var(--ott-muted); opacity: .4; margin-bottom: 8px; }
.ott-login-gate h2 { font-family: var(--ott-font-head); font-size: 28px; color: var(--ott-text); margin: 0; }
.ott-login-gate p { color: var(--ott-muted); font-size: 15px; max-width: 400px; line-height: 1.7; margin: 0; }
.ott-login-gate .ott-btn { margin-top: 10px; }

/* ── Status Timeline (My Submissions) ───────────────────────── */
.ott-status-timeline { display: flex; gap: 0; margin-bottom: 20px; }
.ott-timeline-step { flex: 1; position: relative; }
.ott-timeline-step::before { content: ''; position: absolute; top: 16px; left: 50%; right: -50%; height: 2px; background: var(--ott-border); z-index: 0; }
.ott-timeline-step:last-child::before { display: none; }
.ott-timeline-dot { width: 32px; height: 32px; border-radius: 50%; background: var(--ott-surface2); border: 2px solid var(--ott-border); display: flex; align-items: center; justify-content: center; font-size: 14px; margin: 0 auto 8px; position: relative; z-index: 1; }
.ott-timeline-step.active .ott-timeline-dot { border-color: var(--ott-accent); background: rgba(232,168,56,.15); color: var(--ott-accent); }
.ott-timeline-step.done .ott-timeline-dot { border-color: var(--ott-success); background: rgba(34,208,122,.15); color: var(--ott-success); }
.ott-timeline-step.done::before { background: var(--ott-success); }
.ott-timeline-label { font-size: 11px; text-align: center; color: var(--ott-muted); font-weight: 600; }
.ott-timeline-step.active .ott-timeline-label, .ott-timeline-step.done .ott-timeline-label { color: var(--ott-text); }

/* ── Submission Status Card ─────────────────────────────────── */
.ott-submission-card { background: var(--ott-surface); border: 1px solid var(--ott-border); border-radius: var(--ott-radius); padding: 24px; margin-bottom: 16px; transition: border-color .2s; }
.ott-submission-card:hover { border-color: rgba(232,168,56,.3); }
.ott-submission-card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.ott-submission-card-title { font-family: var(--ott-font-head); font-size: 18px; color: var(--ott-text); margin: 0 0 4px; }
.ott-submission-card-meta { font-size: 12px; color: var(--ott-muted); display: flex; gap: 12px; flex-wrap: wrap; }
.ott-submission-card-meta span { display: flex; align-items: center; gap: 5px; }

/* ── Browse / Film Cards ────────────────────────────────────── */
.ott-film-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: 20px; padding: 32px 24px; }
.ott-film-card { background: var(--ott-surface); border: 1px solid var(--ott-border); border-radius: var(--ott-radius); overflow: hidden; transition: all .2s; cursor: pointer; }
.ott-film-card:hover { border-color: rgba(232,168,56,.4); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.ott-film-poster { width: 100%; aspect-ratio: 2/3; object-fit: cover; background: var(--ott-surface2); }
.ott-film-info { padding: 14px; }
.ott-film-title { font-weight: 700; font-size: 14px; color: var(--ott-text); margin-bottom: 6px; line-height: 1.3; }
.ott-film-meta { font-size: 12px; color: var(--ott-muted); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.ott-film-price { font-size: 16px; font-weight: 700; color: var(--ott-accent); font-family: var(--ott-font-head); }
#contect-form-below-card-section{
    display:grid;
grid-template-columns:repeat(3,1fr);
gap:16px;
margin-top:24px;
}
@media (max-width: 991px){
    #contect-form-below-card-section{
        grid-template-columns:repeat(2,1fr);
    }
}

@media (max-width: 600px){
    #contect-form-below-card-section{
        grid-template-columns:1fr;
    }
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 680px) {
  .ott-field-grid.two-col, .ott-field-grid.three-col { grid-template-columns: 1fr; }
  .ott-review-grid { grid-template-columns: 1fr; }
  .ott-contact-grid { grid-template-columns: 1fr; }
  .step-label { display: none; }
  .ott-auth-card { padding: 32px 24px; }
  .ott-contact-card { padding: 32px 20px; }
}

/* ── WP theme overrides ─────────────────────────────────────── */
@media (min-width: 922px) { .ast-container { max-width: 100%; padding: 0; } }
@media (min-width: 1200px) { .ast-plain-container.ast-no-sidebar #primary { margin-top: 0; margin-bottom: 0; } }
.ast-container, .ast-container-fluid { margin-left: auto; margin-right: auto; padding-left: 0; padding-right: 0; }
.ott-dash-wrap{
        justify-content: center;
    display: flex;
    padding: 50px 10px;
    background: #1f1f1f;
}
.ott-gate-box{
        width: 50%;
    background: #4a4a4a1c;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
}
.ott-gate-box h2{
    color: #fff;
}