/**
 * LOF Media Intake - Styles
 * Mobile-first, .lof- prefixed
 */

/* Reset for LOF elements only */
.lof-container *,
.lof-container *::before,
.lof-container *::after {
    box-sizing: border-box;
}

/* Base container */
.lof-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #1a1a1a;
    background: #fafafa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Page body reset */
body.lof-page {
    margin: 0;
    padding: 0;
    background: #fafafa;
}

/* Header */
.lof-header {
    text-align: center;
    padding: 1.5rem 1rem;
    background: #1a1a1a;
    color: #fff;
}

.lof-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.02em;
}

.lof-event-title {
    font-size: 0.9rem;
    margin: 0.5rem 0 0;
    opacity: 0.8;
}

/* Main content */
.lof-main {
    flex: 1;
    padding: 1.5rem 1rem;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

/* Footer */
.lof-footer {
    text-align: center;
    padding: 1.5rem 1rem;
    font-size: 0.8rem;
    color: #888;
    border-top: 1px solid #e5e5e5;
    background: #fff;
}

.lof-footer p {
    margin: 0;
}

/* Legal Footer */
.lof-footer-legal {
    padding: 2rem 1.5rem;
    text-align: center;
}

.lof-footer-logo {
    margin-bottom: 1rem;
}

.lof-llcaf-logo {
    max-width: 200px;
    height: auto;
}

.lof-footer-text {
    max-width: 600px;
    margin: 0 auto;
}

.lof-footer-tagline {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.lof-footer-legal-text {
    font-size: 0.7rem;
    color: #999;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.lof-footer-disclaimer {
    font-size: 0.7rem;
    color: #999;
    line-height: 1.5;
    font-style: italic;
}

/* Forms */
.lof-upload-form {
    width: 100%;
}

.lof-field {
    margin-bottom: 1rem;
}

.lof-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.375rem;
}

.lof-field-hint {
    font-size: 0.75rem;
    color: #666;
    margin-top: 0.25rem;
    margin-bottom: 0;
}

.lof-optional {
    font-weight: 400;
    color: #999;
}

.lof-sms-consent {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.lof-sms-consent .lof-checkbox-label span {
    font-size: 0.85rem;
    line-height: 1.4;
}

.lof-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid #d4d4d4;
    border-radius: 8px;
    background: #fff;
    color: #1a1a1a;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.lof-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.lof-input::placeholder {
    color: #999;
}

.lof-input-code {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    font-size: 1.25rem;
    text-align: center;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Checkbox */
.lof-field-checkbox {
    margin-top: 1.25rem;
}

.lof-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #555;
}

.lof-checkbox {
    width: 20px;
    height: 20px;
    margin: 0;
    flex-shrink: 0;
    accent-color: #2563eb;
}

/* Dropzone */
.lof-dropzone {
    border: 2px dashed #d4d4d4;
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
    background: #fff;
    position: relative;
}

.lof-dropzone:hover,
.lof-dropzone-active {
    border-color: #2563eb;
    background: #f0f7ff;
}

.lof-dropzone-icon {
    width: 48px;
    height: 48px;
    color: #999;
    margin-bottom: 1rem;
}

.lof-dropzone-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    margin: 0 0 0.5rem;
}

.lof-dropzone-hint {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
}

/* Mobile-first: show mobile text, hide desktop text */
.lof-dropzone-desktop {
    display: none;
}

.lof-dropzone-mobile {
    display: inline;
}

/* Desktop: show desktop text, hide mobile text */
@media (hover: hover) and (min-width: 768px) {
    .lof-dropzone-mobile {
        display: none;
    }
    .lof-dropzone-desktop {
        display: inline;
    }
}

.lof-file-input {
    /* Visually hidden but still accessible for programmatic click */
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Preview */
.lof-preview {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    margin-bottom: 1rem;
}

.lof-preview-image,
.lof-preview-video {
    width: 100%;
    height: auto;
    display: block;
    max-height: 50vh;
    object-fit: contain;
}

.lof-preview-remove {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.lof-preview-remove:hover {
    background: rgba(0, 0, 0, 0.8);
}

.lof-preview-remove svg {
    width: 20px;
    height: 20px;
}

/* Progress */
.lof-progress {
    margin: 1rem 0;
}

.lof-progress-bar {
    height: 8px;
    background: #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
}

.lof-progress-fill {
    height: 100%;
    background: #2563eb;
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.lof-progress-text {
    font-size: 0.875rem;
    color: #666;
    margin: 0.5rem 0 0;
    text-align: center;
}

/* Buttons */
.lof-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
    text-decoration: none;
    -webkit-appearance: none;
    appearance: none;
}

.lof-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.lof-button svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.lof-button-primary {
    background: #2563eb;
    color: #fff;
    width: 100%;
}

.lof-button-primary:hover:not(:disabled) {
    background: #1d4ed8;
}

.lof-button-primary:active:not(:disabled) {
    transform: scale(0.98);
}

.lof-button-secondary {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #e5e5e5;
}

.lof-button-secondary:hover:not(:disabled) {
    background: #e5e5e5;
}

.lof-button-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Spinner */
.lof-spinner {
    animation: lof-spin 1s linear infinite;
}

.lof-spinner-large {
    width: 48px;
    height: 48px;
}

@keyframes lof-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.lof-button-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.lof-button-loading .lof-spinner {
    width: 20px;
    height: 20px;
}

/* Error / Success Messages */
.lof-error-message {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 0.875rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    margin: 1rem 0;
}

.lof-success-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #16a34a;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1rem 0;
}

.lof-success-box svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.lof-success-box p {
    margin: 0;
    font-weight: 500;
}

.lof-success-small {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

.lof-info-box {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    color: #0369a1;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    margin: 1rem 0;
}

.lof-info-box p {
    margin: 0;
}

.lof-info-box-warning {
    background: #fffbeb;
    border-color: #fde68a;
    color: #b45309;
}

/* Loading State */
.lof-loading {
    text-align: center;
    padding: 3rem 1rem;
}

.lof-loading p {
    margin: 1rem 0 0;
    color: #666;
}

/* Error State */
.lof-error-state {
    text-align: center;
    padding: 3rem 1rem;
}

.lof-error-icon {
    width: 64px;
    height: 64px;
    color: #ef4444;
    margin-bottom: 1rem;
}

.lof-error-state h2 {
    font-size: 1.5rem;
    margin: 0 0 0.5rem;
    color: #333;
}

.lof-error-state p {
    color: #666;
    margin: 0 0 1.5rem;
}

/* Receipt Page */
.lof-receipt {
    width: 100%;
}

.lof-receipt-photo {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.lof-receipt-image,
.lof-receipt-video {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.lof-receipt-info {
    margin-bottom: 1.5rem;
}

.lof-receipt-handle {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 0.25rem;
}

.lof-receipt-event {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 0.5rem;
}

.lof-receipt-caption {
    font-size: 0.95rem;
    color: #555;
    margin: 0;
    font-style: italic;
}

/* Receipt Actions */
.lof-receipt-actions {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.lof-receipt-actions .lof-button {
    flex: 1;
}

/* Gallery Link */
.lof-gallery-link {
    margin-bottom: 2rem;
}

.lof-gallery-link .lof-button-outline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #f59e0b;
    background: transparent;
    border: 2px solid #f59e0b;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}

.lof-gallery-link .lof-button-outline:hover {
    background: rgba(245, 158, 11, 0.1);
}

.lof-gallery-link .lof-button-outline svg {
    width: 18px;
    height: 18px;
}

/* Sections */
.lof-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 0.5rem;
}

.lof-section-desc {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 1rem;
}

/* Print Section */
.lof-print-section {
    padding-top: 1.5rem;
    border-top: 1px solid #e5e5e5;
    margin-top: 1rem;
}

.lof-print-status {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1rem;
}

.lof-print-status p {
    margin: 0;
}

.lof-token-section {
    margin: 1rem 0;
}

/* Send Section */
.lof-send-section {
    padding-top: 1.5rem;
    border-top: 1px solid #e5e5e5;
    margin-top: 1.5rem;
}

.lof-send-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.lof-tab {
    flex: 1;
    padding: 0.625rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    cursor: pointer;
    color: #666;
    transition: background 0.2s ease, color 0.2s ease;
}

.lof-tab:hover {
    background: #e5e5e5;
}

.lof-tab-active {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.lof-tab-active:hover {
    background: #1d4ed8;
}

.lof-send-form {
    display: flex;
    gap: 0.5rem;
}

.lof-send-form .lof-input {
    flex: 1;
}

.lof-send-form .lof-button {
    flex-shrink: 0;
}

/* WooCommerce Section */
.lof-woo-section {
    padding-top: 1.5rem;
    border-top: 1px solid #e5e5e5;
    margin-top: 1.5rem;
}

.lof-extra-prints {
    margin-bottom: 2rem;
}

/* Donation Section */
.lof-donation-section {
    margin-bottom: 2rem;
}

.lof-donation-section .lof-section-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.lof-donation-copy {
    margin-bottom: 1.5rem;
}

.lof-donation-copy p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
    margin: 0 0 0.75rem;
}

.lof-donation-copy p:last-child {
    margin-bottom: 0;
}

.lof-donation-thanks {
    font-weight: 600;
    color: #333;
    margin-top: 1rem;
}

.lof-woo-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.lof-woo-buttons .lof-button {
    flex: 1;
    min-width: 100px;
}

/* Toast Notification */
.lof-toast {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    background: #1a1a1a;
    color: #fff;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 9999;
    max-width: calc(100% - 2rem);
    text-align: center;
}

.lof-toast-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Fields container */
.lof-fields {
    margin: 1.5rem 0;
    transition: opacity 0.2s ease;
}

/* Generic error class */
.lof-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

/* Responsive adjustments */
@media (min-width: 640px) {
    .lof-main {
        padding: 2rem;
    }
    
    .lof-dropzone {
        padding: 3rem 2rem;
    }
    
    .lof-receipt-actions {
        gap: 1rem;
    }
}

/* Required field indicator */
.lof-required {
    color: #ef4444;
    font-weight: 600;
    margin-left: 2px;
}

/* Print instructions box */
.lof-print-instructions {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-left: 4px solid #f59e0b;
    color: #92400e;
    margin-bottom: 1rem;
}

.lof-print-instructions p {
    white-space: pre-line;
    color: #78350f;
    font-weight: 500;
}

/* Pending print status */
.lof-print-pending {
    background: linear-gradient(135deg, #422006 0%, #1a1a2e 100%);
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    margin-top: 1rem;
}

.lof-print-pending .lof-pending-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.lof-print-pending p {
    margin: 0.5rem 0;
    color: #f5f5f5;
}

.lof-print-pending .lof-pending-note {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* ===========================================
   DARK THEME - Matches LOF Website Branding
   =========================================== */

/* Dark theme for standalone pages (upload, receipt) */
body.lof-page {
    background: linear-gradient(180deg, #0f1419 0%, #1c2128 100%);
    min-height: 100vh;
}

body.lof-page .lof-container {
    background: transparent;
    color: #f0f3f6;
}

/* Header - sleek dark with subtle gradient */
body.lof-page .lof-header {
    background: linear-gradient(135deg, #1c2128 0%, #0f1419 100%);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 1.25rem 1rem;
}

body.lof-page .lof-logo {
    color: #f0f3f6;
    font-size: 1.375rem;
}

body.lof-page .lof-event-title {
    color: #9ca3af;
    opacity: 1;
}

/* Main content area */
body.lof-page .lof-main {
    padding: 1.5rem 1rem 2rem;
}

/* Card-style sections */
body.lof-page .lof-upload-form,
body.lof-page .lof-receipt-content {
    background: #22272e;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 1.5rem;
}

/* Form labels */
body.lof-page .lof-label {
    color: #e5e7eb;
    font-weight: 500;
}

/* Inputs - dark style */
body.lof-page .lof-input {
    background: #1c2128;
    border: 1px solid rgba(255,255,255,0.12);
    color: #f0f3f6;
    border-radius: 10px;
}

body.lof-page .lof-input:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

body.lof-page .lof-input::placeholder {
    color: #6b7280;
}

/* Field hints */
body.lof-page .lof-field-hint {
    color: #9ca3af;
}

/* Checkbox */
body.lof-page .lof-checkbox-label {
    color: #d1d5db;
}

body.lof-page .lof-checkbox {
    accent-color: #f59e0b;
}

/* SMS Consent */
body.lof-page .lof-sms-consent {
    background: rgba(34, 39, 46, 0.6);
    border-color: rgba(255,255,255,0.1);
}

body.lof-page .lof-optional {
    color: #6b7280;
}

/* Dropzone - dark glass effect */
body.lof-page .lof-dropzone {
    background: rgba(34, 39, 46, 0.8);
    border: 2px dashed rgba(255,255,255,0.2);
    border-radius: 16px;
}

body.lof-page .lof-dropzone:hover,
body.lof-page .lof-dropzone-active {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.05);
}

body.lof-page .lof-dropzone-icon {
    color: #9ca3af;
}

body.lof-page .lof-dropzone-text {
    color: #f0f3f6;
}

body.lof-page .lof-dropzone-hint {
    color: #9ca3af;
}

/* Preview */
body.lof-page .lof-preview {
    background: #1c2128;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
}

body.lof-page .lof-preview-img {
    border-radius: 8px;
}

body.lof-page .lof-preview-name {
    color: #e5e7eb;
}

body.lof-page .lof-preview-size {
    color: #9ca3af;
}

body.lof-page .lof-preview-remove {
    color: #ef4444;
}

body.lof-page .lof-preview-remove:hover {
    color: #f87171;
}

/* Primary button - gold accent */
body.lof-page .lof-button-primary {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #000;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25);
}

body.lof-page .lof-button-primary:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
}

body.lof-page .lof-button-primary:disabled {
    background: #374151;
    color: #6b7280;
    box-shadow: none;
    transform: none;
}

/* Secondary button */
body.lof-page .lof-button-secondary {
    background: #374151;
    color: #f0f3f6;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
}

body.lof-page .lof-button-secondary:hover {
    background: #4b5563;
}

/* Receipt page specific */
body.lof-page .lof-receipt-preview {
    background: #1c2128;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    overflow: hidden;
}

body.lof-page .lof-receipt-preview img {
    border-radius: 12px;
}

body.lof-page .lof-receipt-actions {
    margin-top: 1rem;
}

body.lof-page .lof-gallery-link .lof-button-outline {
    color: #fbbf24;
    border-color: #f59e0b;
}

body.lof-page .lof-gallery-link .lof-button-outline:hover {
    background: rgba(245, 158, 11, 0.15);
}

/* Success message */
body.lof-page .lof-success-message,
body.lof-page .lof-alert-success {
    background: linear-gradient(135deg, #065f46 0%, #064e3b 100%);
    border: 1px solid #10b981;
    color: #d1fae5;
    border-radius: 12px;
    padding: 1rem;
}

/* Error message */
body.lof-page .lof-error-message,
body.lof-page .lof-alert-error {
    background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%);
    border: 1px solid #ef4444;
    color: #fecaca;
    border-radius: 12px;
}

/* Print instructions - amber/gold theme */
body.lof-page .lof-print-instructions {
    background: linear-gradient(135deg, #422006 0%, #78350f 100%);
    border: 1px solid #f59e0b;
    border-radius: 12px;
    padding: 1.25rem;
}

body.lof-page .lof-print-instructions h3 {
    color: #fbbf24;
}

body.lof-page .lof-print-instructions p {
    color: #fef3c7;
}

/* Token input section */
body.lof-page .lof-token-section {
    background: #22272e;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 1.25rem;
    margin-top: 1rem;
}

body.lof-page .lof-input-code {
    background: #1c2128;
    border: 2px solid rgba(255,255,255,0.15);
    color: #f59e0b;
    font-size: 1.5rem;
    letter-spacing: 0.15em;
}

body.lof-page .lof-input-code:focus {
    border-color: #f59e0b;
}

/* Footer */
body.lof-page .lof-footer {
    background: transparent;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: #6b7280;
}

body.lof-page .lof-footer a {
    color: #f59e0b;
    text-decoration: none;
}

body.lof-page .lof-footer a:hover {
    color: #fbbf24;
}

/* Legal Footer */
body.lof-page .lof-footer-legal {
    background: rgba(0,0,0,0.3);
}

body.lof-page .lof-footer-tagline {
    color: #9ca3af;
}

body.lof-page .lof-footer-legal-text,
body.lof-page .lof-footer-disclaimer {
    color: #6b7280;
}

/* Donation section */
body.lof-page .lof-donation-section {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.5) 0%, rgba(30, 41, 59, 0.5) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

body.lof-page .lof-donation-section .lof-section-title {
    color: #fbbf24;
}

body.lof-page .lof-donation-copy p {
    color: #d1d5db;
}

body.lof-page .lof-donation-thanks {
    color: #fbbf24;
}

/* Loading spinner */
body.lof-page .lof-spinner {
    border-color: rgba(245, 158, 11, 0.2);
    border-top-color: #f59e0b;
}

/* Progress bar */
body.lof-page .lof-progress-bar {
    background: #374151;
    border-radius: 8px;
    overflow: hidden;
}

body.lof-page .lof-progress-fill {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

/* ==========================================================================
   SHORTCODE EMBED STYLING
   Used when shortcodes are embedded in Elementor or other page builders
   ========================================================================== */

.lof-embed {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
}

.lof-embed .lof-container {
    background: transparent !important;
    min-height: auto !important;
}

.lof-embed .lof-header {
    display: none !important;
}

.lof-embed .lof-footer {
    display: none !important;
}

.lof-embed .lof-main {
    padding: 0 !important;
    max-width: 100% !important;
    min-height: auto !important;
}

/* Dark embed variant - comprehensive styles */
.lof-embed-dark {
    color: #f0f3f6 !important;
}

.lof-embed-dark .lof-upload-form,
.lof-embed-dark .lof-receipt-content,
.lof-embed-dark .lof-gallery-wrap {
    background: #22272e !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 16px !important;
    padding: 1.5rem !important;
    color: #f0f3f6 !important;
}

/* Form fields */
.lof-embed-dark .lof-field {
    margin-bottom: 1rem !important;
}

.lof-embed-dark .lof-label {
    display: block !important;
    color: #e5e7eb !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    margin-bottom: 0.375rem !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.lof-embed-dark .lof-input,
.lof-embed-dark input[type="text"],
.lof-embed-dark input[type="email"],
.lof-embed-dark input[type="tel"],
.lof-embed-dark textarea {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    font-size: 1rem !important;
    background: #1c2128 !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    border-radius: 8px !important;
    color: #f0f3f6 !important;
    box-sizing: border-box !important;
}

.lof-embed-dark .lof-input::placeholder,
.lof-embed-dark input::placeholder {
    color: #6b7280 !important;
}

.lof-embed-dark .lof-input:focus,
.lof-embed-dark input:focus {
    outline: none !important;
    border-color: #f59e0b !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15) !important;
}

/* Dropzone */
.lof-embed-dark .lof-dropzone {
    background: rgba(34, 39, 46, 0.8) !important;
    border: 2px dashed rgba(255,255,255,0.2) !important;
    border-radius: 16px !important;
    padding: 2rem !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
}

.lof-embed-dark .lof-dropzone:hover {
    border-color: #f59e0b !important;
    background: rgba(245, 158, 11, 0.05) !important;
}

.lof-embed-dark .lof-dropzone-icon {
    color: #6b7280 !important;
}

.lof-embed-dark .lof-dropzone-icon svg {
    width: 48px !important;
    height: 48px !important;
    stroke: currentColor !important;
}

.lof-embed-dark .lof-dropzone-text {
    color: #9ca3af !important;
    margin-top: 0.5rem !important;
}

.lof-embed-dark .lof-dropzone-hint {
    color: #6b7280 !important;
    font-size: 0.8rem !important;
}

/* Buttons */
.lof-embed-dark .lof-button,
.lof-embed-dark button[type="submit"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    padding: 0.875rem 1.5rem !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    text-decoration: none !important;
    border: none !important;
}

.lof-embed-dark .lof-button-primary,
.lof-embed-dark button[type="submit"] {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #000 !important;
}

.lof-embed-dark .lof-button-primary:hover,
.lof-embed-dark button[type="submit"]:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
    transform: translateY(-1px) !important;
}

.lof-embed-dark .lof-button-primary:disabled,
.lof-embed-dark button[type="submit"]:disabled {
    background: #374151 !important;
    color: #6b7280 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.lof-embed-dark .lof-button-secondary {
    background: #374151 !important;
    color: #f0f3f6 !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
}

.lof-embed-dark .lof-button-secondary:hover {
    background: #4b5563 !important;
}

/* Checkboxes */
.lof-embed-dark .lof-checkbox-label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
    color: #d1d5db !important;
    cursor: pointer !important;
}

.lof-embed-dark .lof-checkbox {
    accent-color: #f59e0b !important;
    width: 18px !important;
    height: 18px !important;
    margin-top: 2px !important;
}

/* Field hints */
.lof-embed-dark .lof-field-hint {
    color: #6b7280 !important;
    font-size: 0.75rem !important;
    margin-top: 0.25rem !important;
}

.lof-embed-dark .lof-optional {
    color: #6b7280 !important;
    font-weight: 400 !important;
}

/* SMS consent */
.lof-embed-dark .lof-sms-consent {
    background: rgba(34, 39, 46, 0.6) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 8px !important;
    padding: 0.75rem !important;
    margin-top: 0.5rem !important;
}

/* Character counter */
.lof-embed-dark .lof-char-count {
    color: #6b7280 !important;
    font-size: 0.75rem !important;
}

/* Preview */
.lof-embed-dark .lof-preview {
    background: #1c2128 !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 12px !important;
}

.lof-embed-dark .lof-preview img {
    border-radius: 8px !important;
}

/* Alerts/Errors */
.lof-embed-dark .lof-error,
.lof-embed-dark .lof-alert-error {
    background: rgba(127, 29, 29, 0.5) !important;
    border: 1px solid #ef4444 !important;
    color: #fecaca !important;
    padding: 1rem !important;
    border-radius: 8px !important;
}

.lof-embed-dark .lof-success,
.lof-embed-dark .lof-alert-success {
    background: rgba(6, 95, 70, 0.5) !important;
    border: 1px solid #10b981 !important;
    color: #d1fae5 !important;
    padding: 1rem !important;
    border-radius: 8px !important;
}