/* ========================================
   REDUX PTR FORM - DARK THEME
   Glassmorphism design with charcoal background
   ======================================== */

/* CSS Variables - Redux Brand Colors */
.redux-ptr-form-wrapper {
    --rx-blue: #3366CC;
    --rx-blue-light: #429EDF;
    --rx-blue-dark: #2952a3;
    --rx-charcoal: #25282A;
    --rx-white: #ffffff;
    --rx-border: rgba(255, 255, 255, 0.15);
    --rx-font-family: 'Open Sans', sans-serif;
    --rx-radius: 8px;
    --rx-radius-lg: 20px;
}

/* ============================================
   UNIVERSAL DARK THEME TEXT FIX
   Override all Tailwind dark text colors to ensure visibility on charcoal background
   ============================================ */
.redux-ptr-form-wrapper .text-gray-900,
.redux-ptr-form-wrapper .text-gray-800,
.redux-ptr-form-wrapper .text-gray-700,
.redux-ptr-form-wrapper .text-gray-600,
.redux-ptr-form-wrapper .text-gray-500,
.redux-ptr-form-wrapper .text-blue-800,
.redux-ptr-form-wrapper .text-blue-900 {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Override Tailwind background colors that clash with dark theme */
.redux-ptr-form-wrapper .bg-blue-100 {
    background-color: rgba(66, 158, 223, 0.15) !important; /* rx-blue-light with low opacity */
    border: 1px solid rgba(66, 158, 223, 0.3) !important;
}

.redux-ptr-form-wrapper .bg-blue-50 {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.redux-ptr-form-wrapper .bg-white {
    background-color: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px) !important;
}

.redux-ptr-form-wrapper .border-blue-500 {
    border-color: var(--rx-blue-light) !important;
}

.redux-ptr-form-wrapper .border-blue-600 {
    background-color: var(--rx-blue) !important;
}

/* ============================================
   PHP TEMPLATE TEXT FIX (class-ptr-form-shortcode.php)
   Target actual PHP-generated classes, not Tailwind utility classes
   ============================================ */

/* Clinic info display - Dynamic blue gradient */
.redux-ptr-form-wrapper .redux-ptr-clinic-info {
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 16px 20px;
    background: rgba(66, 158, 223, 0.08);
    border-left: 4px solid var(--rx-blue-light);
    border-radius: var(--rx-radius);
    margin-bottom: 24px;
}

.redux-ptr-form-wrapper .redux-ptr-clinic-info strong {
    background: linear-gradient(135deg, var(--rx-blue-light) 0%, var(--rx-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Form section headings - Blue gradient text */
.redux-ptr-form-wrapper .redux-ptr-form-section h3 {
    background: linear-gradient(135deg, var(--rx-blue-light) 0%, var(--rx-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700 !important;
}

/* Form labels - Subtle blue tint */
.redux-ptr-form-wrapper .redux-ptr-form-group label {
    color: var(--rx-blue-light) !important;
    font-weight: 600 !important;
}

/* Required asterisks - keep red but visible */
.redux-ptr-form-wrapper .required {
    color: #ef4444 !important;
}

/* Optional text - subtle blue tint */
.redux-ptr-form-wrapper .optional {
    color: rgba(66, 158, 223, 0.7) !important;
    font-style: italic;
}

/* Character counter - subtle blue tint */
.redux-ptr-form-wrapper .char-count,
.redux-ptr-form-wrapper small.char-count {
    color: rgba(66, 158, 223, 0.6) !important;
}

/* General text elements that might inherit dark colors */
.redux-ptr-form-wrapper p {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Full-width dark background container */
.redux-ptr-form-wrapper {
    background: var(--rx-charcoal);
    min-height: 100vh;
    padding: 80px 20px 60px;
    font-family: var(--rx-font-family);
    position: relative;
    overflow: hidden;

    /* Full-width breakout */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.redux-ptr-form-wrapper * {
    box-sizing: border-box;
}

/* Animated Background Orbs */
@keyframes ptrFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    50% { transform: translate(-20px, 15px) scale(1.1); opacity: 0.4; }
}

@keyframes ptrFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.25; }
    50% { transform: translate(15px, -20px) scale(1.1); opacity: 0.35; }
}

.ptr-orb {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rx-blue) 0%, var(--rx-blue-light) 100%);
    pointer-events: none;
    z-index: 0;
}

.ptr-orb-1 {
    width: 350px;
    height: 350px;
    top: -100px;
    right: -80px;
    animation: ptrFloat1 18s ease-in-out infinite;
}

.ptr-orb-2 {
    width: 280px;
    height: 280px;
    bottom: -50px;
    left: -70px;
    animation: ptrFloat2 16s ease-in-out infinite;
}

/* Form Container - Glassmorphism */
.redux-ptr-form-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.redux-ptr-form-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--rx-border);
    border-radius: var(--rx-radius-lg);
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Form Header - Blue gradient accent */
.redux-ptr-form-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 2px solid transparent;
    background: linear-gradient(90deg, transparent 0%, var(--rx-blue-light) 50%, transparent 100%) bottom / 100% 2px no-repeat;
}

.redux-ptr-form-header h2 {
    margin: 0 0 12px 0;
    background: linear-gradient(135deg, var(--rx-blue-light) 0%, var(--rx-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.redux-ptr-form-header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.6;
}

/* Form Sections - Glassmorphism */
.redux-ptr-form-section {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
    padding: 28px;
    margin-bottom: 24px;
    border-radius: var(--rx-radius);
    border-left: 4px solid var(--rx-blue-light);
    border: 1px solid var(--rx-border);
}

.redux-ptr-form-section h3 {
    margin: 0 0 20px 0;
    color: var(--rx-white);
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.redux-ptr-form-section p {
    margin: 0 0 16px 0;
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 13px !important;
}

/* Form Groups */
.redux-ptr-form-group {
    margin-bottom: 20px;
}

.redux-ptr-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--rx-white);
    font-size: 14px;
    letter-spacing: 0.02em;
}

.redux-ptr-form-group label .required {
    color: #fca5a5;
    margin-left: 4px;
}

/* Form Inputs - Dark Theme */
.redux-ptr-form-group input[type="text"],
.redux-ptr-form-group input[type="email"],
.redux-ptr-form-group input[type="date"],
.redux-ptr-form-group input[type="number"],
.redux-ptr-form-group select,
.redux-ptr-form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--rx-border);
    border-radius: var(--rx-radius);
    color: var(--rx-white);
    font-size: 15px;
    font-family: var(--rx-font-family);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.redux-ptr-form-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Date input specific styling - ensure white text */
.redux-ptr-form-group input[type="date"] {
    color-scheme: dark;
}

.redux-ptr-form-group input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

.redux-ptr-form-group input:focus,
.redux-ptr-form-group select:focus,
.redux-ptr-form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--rx-blue-light);
    box-shadow: 0 0 0 3px rgba(66, 158, 223, 0.2);
}

.redux-ptr-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.redux-ptr-form-group small {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    line-height: 1.5;
}

/* Character counter styling */
.char-counter {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    text-align: right;
}

/* Form Row Grid */
.redux-ptr-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Radio Buttons - Blue Accent */
.redux-ptr-radio-group {
    margin-top: 12px;
}

.redux-ptr-radio-option {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--rx-radius);
    transition: all 0.3s ease;
}

.redux-ptr-radio-option:hover {
    background: rgba(66, 158, 223, 0.1); /* Blue tint on hover */
}

.redux-ptr-radio-option input[type="radio"] {
    margin-right: 12px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--rx-blue); /* Blue radio button */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    transition: all 0.3s ease;
}

.redux-ptr-radio-option input[type="radio"]:hover {
    border-color: var(--rx-blue-light);
}

.redux-ptr-radio-option input[type="radio"]:checked {
    border-color: var(--rx-blue);
    background: var(--rx-blue);
}

.redux-ptr-radio-option input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.redux-ptr-radio-option label {
    margin: 0;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    flex: 1;
}

/* Checkboxes */
.redux-ptr-checkbox-group {
    margin-top: 12px;
}

.redux-ptr-checkbox-option {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--rx-radius);
    transition: all 0.3s ease;
}

.redux-ptr-checkbox-option:hover {
    background: rgba(255, 255, 255, 0.08);
}

.redux-ptr-checkbox-option input[type="checkbox"] {
    margin-right: 12px;
    margin-top: 4px;
    width: auto;
    cursor: pointer;
}

.redux-ptr-checkbox-option label {
    margin: 0;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    line-height: 1.6;
}

/* Buttons - Fun gradient blue styling for both primary and secondary */
.redux-ptr-btn {
    padding: 16px 40px;
    border: none;
    border-radius: var(--rx-radius);
    font-size: 16px;
    font-weight: 700;
    font-family: var(--rx-font-family);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Primary Button - Email Treatment Report */
.redux-ptr-btn-primary {
    background: linear-gradient(135deg, var(--rx-blue) 0%, var(--rx-blue-light) 100%);
    color: var(--rx-white);
    box-shadow: 0 4px 20px rgba(51, 102, 204, 0.4);
}

.redux-ptr-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(51, 102, 204, 0.6);
    background: linear-gradient(135deg, var(--rx-blue-dark) 0%, var(--rx-blue) 100%);
}

.redux-ptr-btn-primary:active {
    transform: translateY(0);
}

.redux-ptr-btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Secondary Button - Print/Download PDF - Also fun gradient blue! */
.redux-ptr-btn-secondary {
    background: linear-gradient(135deg, var(--rx-blue-light) 0%, var(--rx-blue) 100%);
    color: var(--rx-white);
    box-shadow: 0 4px 20px rgba(66, 158, 223, 0.4);
}

.redux-ptr-btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(66, 158, 223, 0.6);
    background: linear-gradient(135deg, var(--rx-blue) 0%, var(--rx-blue-dark) 100%);
}

.redux-ptr-btn-secondary:active {
    transform: translateY(0);
}

/* Legacy button class support */
.redux-ptr-submit-btn {
    background: linear-gradient(135deg, var(--rx-blue) 0%, var(--rx-blue-light) 100%);
    color: var(--rx-white);
    padding: 16px 40px;
    border: none;
    border-radius: var(--rx-radius);
    font-size: 16px;
    font-weight: 700;
    font-family: var(--rx-font-family);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(51, 102, 204, 0.4);
    width: 100%;
}

.redux-ptr-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(51, 102, 204, 0.6);
}

.redux-ptr-submit-btn:active {
    transform: translateY(0);
}

.redux-ptr-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Button Group */
.redux-ptr-button-group {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

/* Messages */
.redux-ptr-message {
    padding: 16px 20px;
    border-radius: var(--rx-radius);
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.5;
}

.redux-ptr-message.error {
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #fca5a5;
}

.redux-ptr-message.success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
}

.redux-ptr-message.info {
    background: rgba(66, 158, 223, 0.15);
    border: 1px solid var(--rx-blue-light);
    color: rgba(255, 255, 255, 0.9);
}

/* Loading Spinner */
.redux-ptr-loading {
    text-align: center;
    padding: 40px;
}

.redux-ptr-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--rx-blue-light);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .redux-ptr-form-wrapper {
        padding: 40px 16px;
    }

    .redux-ptr-form-card {
        padding: 28px 20px;
        border-radius: var(--rx-radius);
    }

    .redux-ptr-form-header h2 {
        font-size: 24px;
    }

    .redux-ptr-form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .redux-ptr-button-group {
        flex-direction: column;
    }

    .redux-ptr-submit-btn,
    .redux-ptr-secondary-btn {
        width: 100%;
    }

    .ptr-orb-1 {
        width: 220px;
        height: 220px;
        top: -50px;
        right: -40px;
    }

    .ptr-orb-2 {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 480px) {
    .redux-ptr-form-card {
        padding: 20px 16px;
    }

    .redux-ptr-form-section {
        padding: 20px;
    }

    .redux-ptr-form-group input,
    .redux-ptr-form-group select {
        padding: 12px;
        font-size: 14px;
    }
}

/* Hide print button on screen */
@media screen {
    .redux-ptr-print-btn {
        display: none;
    }
}

/* Print Button Styling */
@media print {
    .redux-ptr-button-group,
    .redux-ptr-message {
        display: none;
    }
}

/* ========================================
   PRINT STYLES - Preserve existing styles
   ======================================== */
        /* Print-specific styles */
        @media print {
            body * {
                visibility: hidden;
            }
            #print-report, #print-report * {
                visibility: visible;
            }
            #print-report {
                position: absolute;
                left: 0;
                top: 0;
                width: 100%;
                max-width: 700px;
                display: block !important;
                padding: 8px;
                margin: 0 auto;
                font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
                font-size: 11px;
                line-height: 1.2;
                color: #1f2937;
            }

            /* Header with Logo */
            .print-header {
                text-align: center;
                margin-bottom: 4px;
                padding-bottom: 2px;
                page-break-inside: avoid;
                page-break-after: avoid;
            }
            .print-header svg {
                margin: 0 auto 3px;
                display: block;
                transform: scale(0.7);
            }
            .print-subtitle {
                margin: 2px 0 0 0;
                font-size: 11px;
                color: #6b7280;
            }

            /* Greeting */
            .print-greeting {
                margin: 3px 0 4px 0;
                page-break-inside: avoid;
                page-break-after: avoid;
            }
            .print-greeting p {
                margin: 0 0 3px 0;
                font-size: 11px;
                line-height: 1.2;
            }
            .print-greeting p:first-child {
                margin-bottom: 4px;
            }

            /* Microliters Box */
            .print-microliters-box {
                text-align: center;
                padding: 6px;
                background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
                border-left: 4px solid #2563eb;
                border-radius: 6px;
                margin: 4px 0;
                page-break-inside: avoid;
                page-break-after: avoid;
            }
            .print-microliters-label {
                font-size: 8px;
                color: #1e40af;
                font-weight: 600;
                text-transform: uppercase;
                letter-spacing: 0.5px;
                margin-bottom: 2px;
            }
            .print-microliters-value {
                font-size: 22px;
                font-weight: bold;
                color: #2563eb;
                line-height: 1;
                margin: 3px 0;
            }
            .print-microliters-unit {
                font-size: 13px;
                color: #6b7280;
                margin-top: 5px;
            }

            /* Treatment Summary */
            .print-treatment-summary {
                background: #f9fafb;
                border-radius: 4px;
                padding: 6px;
                margin: 4px 0;
                page-break-inside: avoid;
                page-break-after: avoid;
            }
            .print-section-title {
                font-size: 8px;
                color: #2563eb;
                font-weight: bold;
                text-transform: uppercase;
                letter-spacing: 0.5px;
                margin-bottom: 3px;
            }
            .print-table {
                width: 100%;
                border-collapse: collapse;
            }
            .print-table td {
                padding: 1px 0;
                font-size: 10px;
            }
            .print-label {
                color: #6b7280;
                font-weight: 600;
                width: 120px;
            }
            .print-value {
                color: #1f2937;
            }
            .print-post-status {
                color: #059669 !important;
                font-weight: 600;
            }

            /* Notes Box */
            .print-notes-box {
                background: #fffbeb;
                border-left: 4px solid #f59e0b;
                border-radius: 4px;
                padding: 5px;
                margin: 4px 0;
                page-break-inside: avoid;
                page-break-after: avoid;
            }
            .print-notes-title {
                font-size: 10px;
                color: #92400e;
                font-weight: bold;
                text-transform: uppercase;
                margin-bottom: 8px;
            }
            .print-notes-content {
                font-size: 12px;
                color: #78350f;
                line-height: 1.5;
                white-space: pre-wrap;
            }

            /* UDC Recommendation Text */
            .print-udc-text {
                margin: 4px 0 3px 0;
                page-break-inside: avoid;
                page-break-after: avoid;
            }
            .print-udc-text p {
                margin: 0;
                font-size: 10px;
                line-height: 1.2;
            }

            /* Discount Box (Standard Program) */
            .print-discount-box {
                background: #fefce8;
                border: 2px solid #eab308;
                border-radius: 6px;
                padding: 5px;
                margin: 4px 0;
                text-align: center;
                page-break-inside: avoid;
                page-break-after: avoid;
            }
            .print-discount-title {
                font-size: 11px;
                color: #854d0e;
                font-weight: bold;
                margin-bottom: 3px;
            }
            .print-discount-intro {
                font-size: 9px;
                color: #78350f;
                margin-bottom: 3px;
                line-height: 1.2;
            }
            .print-discount-button-area {
                margin: 3px 0;
            }
            .print-discount-url {
                display: inline-block;
                background-color: #2563eb;
                color: #ffffff;
                text-decoration: none;
                padding: 4px 10px;
                border-radius: 4px;
                font-weight: 600;
                font-size: 10px;
            }
            .print-discount-code-section {
                margin-top: 3px;
                padding-top: 3px;
                border-top: 1px solid #eab308;
            }
            .print-discount-code-label {
                font-size: 11px;
                color: #92400e;
                margin-bottom: 5px;
            }
            .print-discount-code-value {
                font-size: 14px;
                font-weight: bold;
                color: #854d0e;
                font-family: monospace;
                letter-spacing: 1px;
                margin: 5px 0;
            }
            .print-discount-code-note {
                font-size: 10px;
                color: #78350f;
                font-style: italic;
                margin-top: 5px;
            }

            /* SoundCare Box (No Discount) */
            .print-soundcare-box {
                background: #f3f4f6;
                border-left: 4px solid #2563eb;
                border-radius: 4px;
                padding: 5px;
                margin: 4px 0;
                page-break-inside: avoid;
                page-break-after: avoid;
            }
            .print-soundcare-title {
                font-size: 10px;
                color: #1f2937;
                font-weight: 600;
                margin-bottom: 3px;
            }
            .print-soundcare-box p {
                margin: 0;
                font-size: 9px;
                color: #4b5563;
                line-height: 1.2;
            }

            /* Learn More Section */
            .print-learn-more {
                background: #f9fafb;
                border-radius: 4px;
                padding: 4px;
                text-align: center;
                margin: 3px 0;
                page-break-inside: avoid;
                page-break-after: avoid;
            }
            .print-learn-more p {
                margin: 1px 0;
                font-size: 9px;
                color: #6b7280;
            }
            .print-learn-more a {
                color: #2563eb;
                text-decoration: none;
                font-weight: 600;
            }

            /* Questions Section */
            .print-questions {
                margin: 3px 0;
                padding-top: 3px;
                border-top: 1px solid #e5e7eb;
                page-break-inside: avoid;
                page-break-after: avoid;
            }
            .print-questions p {
                margin: 0;
                font-size: 8px;
                color: #6b7280;
                line-height: 1.2;
            }

            /* Footer */
            .print-footer {
                text-align: center;
                background-color: #f9fafb;
                padding: 4px;
                margin-top: 3px;
                border-top: 1px solid #e5e7eb;
                border-radius: 0 0 4px 4px;
                page-break-inside: avoid;
            }
            .print-footer-title {
                margin: 0 0 1px 0;
                font-size: 8px;
                font-weight: 600;
                color: #2563eb;
            }
            .print-footer-link {
                margin: 0;
                font-size: 8px;
            }
            .print-footer-link a {
                color: #2563eb;
                text-decoration: none;
            }
        }

/* ========================================
   MISC FIXES - Preserve existing
   ======================================== */
                /* Fix for PTR/Leaderboard content being buried behind header */
                .redux-ptr-container {
                    clear: both;
                }
                @media (min-width: 922px) {
                    .redux-ptr-container {
                        margin-top: 20px;
                    }
                }
                /* Prevent Elementor frontend errors */
                window.elementorFrontendConfig = window.elementorFrontendConfig || {};
                body { font-family: Arial, sans-serif; line-height: 1.6; color: #333; }
                .container { max-width: 600px; margin: 0 auto; padding: 20px; }
                .header { background: #10b981; color: white; padding: 20px; border-radius: 8px 8px 0 0; }
                .content { background: #f9fafb; padding: 20px; border-radius: 0 0 8px 8px; }
                .field { margin: 10px 0; padding: 10px; background: white; border-left: 4px solid #10b981; }
                .field-label { font-weight: bold; color: #4b5563; }
                .field-value { color: #1f2937; margin-left: 10px; }
