/** * HVAC Custom Event Edit Form Styles * Matches the styling patterns of other trainer pages */ /* CSS Custom Properties / Variables */ :root { /* Spacing */ --hvac-spacing-1: 0.25rem; --hvac-spacing-2: 0.5rem; --hvac-spacing-3: 0.75rem; --hvac-spacing-4: 1rem; --hvac-spacing-5: 1.5rem; --hvac-spacing-6: 2rem; --hvac-spacing-8: 3rem; /* Colors */ --hvac-primary: #0073aa; --hvac-primary-dark: #005a87; --hvac-text: #333333; --hvac-border: #dddddd; --hvac-border-light: #eeeeee; /* Shadows */ --hvac-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); --hvac-shadow-lg: 0 4px 6px rgba(0, 0, 0, 0.1); } /* Fix navigation bar z-index issue */ .hvac-event-edit-page .hvac-trainer-menu-wrapper { position: relative; z-index: 100; background: #fff; margin-bottom: 0; } /* Ensure breadcrumbs appear correctly */ .hvac-event-edit-page .hvac-breadcrumbs { position: relative; z-index: 90; background: #fff; padding: 15px 0; } /* Main container - match other trainer pages width */ .hvac-event-edit-page .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; } /* Event edit wrapper - increase width to match dashboard */ .hvac-event-edit-wrapper { max-width: 100%; margin: 0 auto; padding: 30px 0; } /* Form sections */ .hvac-form-section { background: #fff; border: 1px solid var(--hvac-border-light); border-radius: 8px; padding: 25px; margin-bottom: 25px; box-shadow: var(--hvac-shadow); } .hvac-form-section h2 { margin: 0 0 20px 0; padding-bottom: 15px; border-bottom: 2px solid var(--hvac-border-light); font-size: 20px; color: var(--hvac-text); font-weight: 600; } /* Form rows */ .hvac-form-row { margin-bottom: 20px; } .hvac-form-row label { display: block; margin-bottom: 8px; font-weight: 600; color: #555; font-size: 14px; } .hvac-form-row label.required::after { content: ' *'; color: #d63638; } /* Form inputs */ .hvac-form-row input[type="text"], .hvac-form-row input[type="email"], .hvac-form-row input[type="url"], .hvac-form-row input[type="tel"], .hvac-form-row input[type="date"], .hvac-form-row input[type="time"], .hvac-form-row textarea, .hvac-form-row select { width: 100%; padding: 10px 12px; border: 1px solid var(--hvac-border); border-radius: 4px; font-size: 14px; transition: border-color 0.2s; } .hvac-form-row input:focus, .hvac-form-row textarea:focus, .hvac-form-row select:focus { outline: none; border-color: var(--hvac-primary); box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1); } /* Two column layout */ .hvac-row-half { display: flex; gap: 20px; } .hvac-row-half .hvac-col { flex: 1; } /* Checkboxes */ .hvac-checkbox-label { display: inline-block; margin-right: 20px; margin-bottom: 10px; font-weight: normal; cursor: pointer; font-size: 14px; } .hvac-checkbox-label input[type="checkbox"] { margin-right: 6px; vertical-align: middle; } /* Input group (for currency) */ .hvac-input-group { display: flex; align-items: center; } .hvac-input-prefix { padding: 10px 12px; background: #f5f5f5; border: 1px solid var(--hvac-border); border-right: none; border-radius: 4px 0 0 4px; font-weight: 600; } .hvac-input-group input { border-radius: 0 4px 4px 0 !important; } /* Form actions */ .hvac-form-actions { display: flex; gap: 15px; padding-top: 30px; border-top: 2px solid var(--hvac-border-light); margin-top: 30px; } /* Buttons */ .hvac-button { padding: 12px 24px; border: none; border-radius: 4px; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-block; transition: all 0.2s; } .hvac-button-primary { background: var(--hvac-primary); color: white; } .hvac-button-primary:hover { background: var(--hvac-primary-dark); transform: translateY(-1px); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); } .hvac-button-secondary { background: #f0f0f1; color: var(--hvac-text); } .hvac-button-secondary:hover { background: #e0e0e1; color: var(--hvac-text); } /* Success notice */ .hvac-notice { padding: 15px 20px; margin-bottom: 25px; border-left: 4px solid; background: #fff; border-radius: 4px; } .hvac-notice-success { border-color: #46b450; background: #ecf7ed; } .hvac-notice p { margin: 0; font-weight: 500; } /* WordPress editor overrides */ .hvac-form-row .wp-editor-wrap { border: 1px solid var(--hvac-border); border-radius: 4px; overflow: hidden; } .hvac-form-row .wp-editor-container { border: none; } /* Responsive adjustments */ @media (max-width: 768px) { .hvac-event-edit-page .container { padding: 0 15px; } .hvac-form-section { padding: 20px; margin-bottom: 20px; } .hvac-row-half { flex-direction: column; gap: 0; } .hvac-checkbox-label { display: block; margin-bottom: 12px; } .hvac-form-actions { flex-direction: column; } .hvac-button { width: 100%; text-align: center; } } @media (max-width: 480px) { .hvac-form-section { padding: 15px; border-radius: 0; border-left: 0; border-right: 0; } .hvac-form-section h2 { font-size: 18px; } } /* Ensure proper stacking order */ .hvac-event-edit-page { position: relative; } /* Fix for overlapping headers */ .site-header, .ast-main-header-wrap, .ast-above-header-wrap, .ast-below-header-wrap { position: relative; z-index: 50; } /* Venue and Organizer field groups */ .hvac-venue-fields, .hvac-organizer-fields { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--hvac-border-light); } /* Category checkboxes grid */ .hvac-checkbox-group { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; } @media (max-width: 768px) { .hvac-checkbox-group { grid-template-columns: 1fr; } } /* Page title styling */ .hvac-event-edit-wrapper h1.entry-title { font-size: 28px; color: var(--hvac-text); margin-bottom: 25px; font-weight: 600; } /* Ensure full width on larger screens */ @media (min-width: 1400px) { .hvac-event-edit-page .container { max-width: 1320px; } } /* Fix z-index layering with site navigation */ .hvac-event-edit-page > * { position: relative; } .hvac-event-edit-page .hvac-trainer-menu-wrapper { margin-top: 0; padding-top: 20px; } /* Ensure navigation doesn't get hidden */ @media (max-width: 921px) { .hvac-event-edit-page .hvac-trainer-menu-wrapper { position: relative; z-index: 1000; } }