/*
Theme Name: LitiGator Demo Recording
Theme URI: https://getlitigator.com
Description: Minimal theme for recording intake form demo videos. Navy background, branded top bar, form-only layout at 1920x1080. No nav, no footer, no WordPress chrome.
Version: 1.0.0
Author: LitiGator
Author URI: https://getlitigator.com
License: Proprietary
Text Domain: litigator-demo

Brand: Navy #0c1832 | Gold #b89250 | Georgia headings | Lato body
*/

/* ==========================================================================
   1. Reset & Page Chrome
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;600;700&family=Georgia&display=swap');

* {
    box-sizing: border-box;
}

body {
    background-color: #0c1832 !important;
    background-image: none !important;
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: #1c1f2e;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Hide admin bar in recordings */
#wpadminbar {
    display: none !important;
}
html {
    margin-top: 0 !important;
}

/* ==========================================================================
   2. Demo Logo Bar
   ========================================================================== */

.demo-logo-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background-color: #0c1832;
    border-bottom: 1px solid rgba(184, 146, 80, 0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 9999;
}

.demo-logo-bar .logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.demo-logo-bar .logo-wrap .logo-icon {
    width: 28px;
    height: 28px;
    opacity: 0.85;
    flex-shrink: 0;
}

.demo-logo-bar .logo-wrap .logo-text {
    font-family: 'Georgia', serif;
    font-size: 20px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.02em;
}

.demo-logo-bar .logo-wrap .logo-text span {
    color: #b89250;
}

.demo-logo-bar .site-url {
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: rgba(184, 146, 80, 0.65);
    letter-spacing: 0.04em;
    text-transform: lowercase;
    text-decoration: none;
}

/* ==========================================================================
   3. Page Layout — Form Centering
   ========================================================================== */

.demo-content-area {
    padding-top: 56px; /* Height of logo bar */
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: calc(100vh - 56px);
    padding: 104px 40px 80px; /* 56px bar + 48px spacing */
}

/* ==========================================================================
   4. Form Card
   ========================================================================== */

.demo-form-card {
    background-color: #ffffff;
    border: none;
    border-radius: 12px;
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.28),
        0 1px 6px rgba(0, 0, 0, 0.14);
    padding: 48px 56px;
    max-width: 860px;
    width: 100%;
    margin: 0 auto;
}

/* Page title — hide it (form has its own labels) */
.demo-form-card .entry-title {
    display: none;
}

/* ==========================================================================
   5. Ninja Forms Typography & Styling Overrides
   ========================================================================== */

/* Field labels */
.nf-field-label label {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1c1f2e !important;
    letter-spacing: 0.01em;
    font-family: 'Lato', sans-serif !important;
}

/* Input and textarea fields */
.nf-form-content .nf-field-element .ninja-forms-field {
    font-size: 16px !important;
    font-family: 'Lato', sans-serif !important;
    color: #1c1f2e !important;
    padding: 12px 16px !important;
    line-height: 1.5 !important;
    border: 1px solid #d0d5dd !important;
    border-radius: 6px !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

/* Placeholder text */
.ninja-forms-field::placeholder {
    color: #8a90a0 !important;
    font-style: italic;
}

/* Textareas — taller */
.nf-form-content textarea.ninja-forms-field {
    min-height: 120px !important;
    resize: vertical;
}

/* Focus ring — gold */
.ninja-forms-field:focus {
    outline: none !important;
    border-color: #b89250 !important;
    box-shadow: 0 0 0 3px rgba(184, 146, 80, 0.18) !important;
}

/* Select dropdowns */
.nf-form-content select.ninja-forms-field {
    appearance: auto;
    cursor: pointer;
}

/* Progress bar — gold */
.nf-form-content .nf-progress-container .nf-progress {
    background-color: #b89250 !important;
}

/* Breadcrumb steps */
.nf-breadcrumbs li.active .nf-breadcrumb {
    color: #0c1832 !important;
    border-bottom-color: #b89250 !important;
}

/* Completed step checkmarks */
.nf-breadcrumbs .nf-checked::before {
    color: #b89250 !important;
}

/* Next / Previous buttons */
.nf-next-previous .nf-next {
    font-size: 16px !important;
    font-family: 'Lato', sans-serif !important;
    padding: 13px 32px !important;
    border-radius: 6px !important;
    cursor: pointer;
}

.nf-next-previous .nf-previous {
    font-size: 14px !important;
    font-family: 'Lato', sans-serif !important;
    cursor: pointer;
}

/* Repeater fieldset cards */
.nf-repeater-fieldset {
    border-radius: 8px !important;
    border-color: #d0d5dd !important;
}

.nf-repeater-fieldset-label {
    font-family: 'Lato', sans-serif !important;
    font-weight: 700 !important;
    color: #1c1f2e !important;
}

/* +Add Event / +Add Witness buttons */
.nf-add-fieldset {
    font-family: 'Lato', sans-serif !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
}

/* Section heading pseudo-elements — gold accent */
[class*="section-"]::before {
    border-left-color: #b89250 !important;
    color: #0c1832 !important;
    font-size: 13px !important;
    letter-spacing: 0.08em;
}

/* Submit button */
.nf-form-content input[type="submit"],
.nf-form-content .submit-container input {
    font-size: 16px !important;
    font-family: 'Lato', sans-serif !important;
    font-weight: 700 !important;
    padding: 14px 40px !important;
    border-radius: 6px !important;
    cursor: pointer;
}

/* File upload button */
.nf-fu-fileinput-button {
    font-family: 'Lato', sans-serif !important;
    border-radius: 6px !important;
}

/* ==========================================================================
   6. Watermark
   ========================================================================== */

.demo-watermark {
    position: fixed;
    bottom: 28px;
    right: 40px;
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: rgba(184, 146, 80, 0.35);
    text-transform: lowercase;
    pointer-events: none;
    user-select: none;
    z-index: 9998;
}

/* ==========================================================================
   7. Flatpickr Date Picker — Brand Overrides
   ========================================================================== */

.flatpickr-calendar {
    font-family: 'Lato', sans-serif !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: #b89250 !important;
    border-color: #b89250 !important;
    color: #fff !important;
}

.flatpickr-day:hover {
    background: rgba(184, 146, 80, 0.12) !important;
    border-color: rgba(184, 146, 80, 0.3) !important;
}

.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
    fill: #b89250 !important;
}
