/* Reduced Motion Support Added - 2025-07-23 */ /* Vendor Prefixes Added - 2025-07-23 */ /** * Enhanced Styles for the HVAC Community Events Single Event Summary Template * * @version 2.0.0 */ /* Main Container */ .hvac-event-summary-wrapper { max-width: 1200px; margin: 0 auto; padding: 2rem; /* IE fallback */ padding: var(--hvac-spacing-xl) var(--hvac-spacing-md); /* Page Header */ .hvac-event-summary-header { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; -webkit-box-align: center; -ms-flex-align: center; align-items: center; margin-bottom: 2rem; /* IE fallback */ margin-bottom: var(--hvac-spacing-xl); -ms-flex-wrap: wrap; border-bottom: 1px solid #e0e0e0; /* IE fallback */ border-bottom: 1px solid var(--hvac-border); padding-bottom: 1rem; /* IE fallback */ padding-bottom: var(--hvac-spacing-md); .hvac-event-summary-title h1 { margin: 0 0 0.5rem 0; /* IE fallback */ margin: 0 0 var(--hvac-spacing-sm) 0; color: #333333; /* IE fallback */ color: var(--hvac-text); font-size: 1.8rem; font-weight: 600; .hvac-event-summary-title .event-date { color: #757575; /* IE fallback */ color: var(--hvac-text-light); font-size: 1.1rem; font-weight: 500; .hvac-event-summary-actions { display: -webkit-box; display: -ms-flexbox; display: flex; gap: 0.5rem; /* IE fallback */ gap: var(--hvac-spacing-sm); -ms-flex-wrap: wrap; .hvac-event-summary-actions a { min-width: 120px; text-align: center; /* Quick Stats Cards */ .hvac-event-summary-stats { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; gap: 1rem; /* IE fallback */ gap: var(--hvac-spacing-md); margin-bottom: 2rem; /* IE fallback */ margin-bottom: var(--hvac-spacing-xl); .hvac-event-stat-card { -webkit-box-flex: 1; -ms-flex: 1; min-width: 180px; background-color: white; -webkit-border-radius: 4px; border-radius: 4px; border-radius: 4px; border-radius: 4px; /* IE fallback */ -webkit-border-radius: var(--hvac-border-radius); -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* IE fallback */ -webkit-box-shadow: var(--hvac-shadow); box-shadow: var(--hvac-shadow); padding: 1.5rem; /* IE fallback */ padding: var(--hvac-spacing-lg); text-align: center; border: 1px solid #f0f0f0; /* IE fallback */ border: 1px solid var(--hvac-border-light); -webkit-transition: transform 0.2s, box-shadow 0.2s; .hvac-event-stat-card:hover { -webkit-transform: translateY(-3px); -ms-transform: translateY(-3px); -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* IE fallback */ -webkit-box-shadow: var(--hvac-shadow-lg); .hvac-event-stat-card h3 { margin: 0 0 0.5rem 0; /* IE fallback */ margin: 0 0 var(--hvac-spacing-sm) 0; font-size: 1rem; color: #757575; /* IE fallback */ color: var(--hvac-text-light); font-weight: 600; .hvac-event-stat-card .stat-value { font-size: 2.2rem; font-weight: 700; color: #0274be; /* IE fallback */ color: var(--hvac-primary); line-height: 1.2; margin-bottom: 0.5rem; /* IE fallback */ margin-bottom: var(--hvac-spacing-sm); .hvac-event-stat-card .stat-subtext { font-size: 0.85rem; color: #757575; /* IE fallback */ color: var(--hvac-text-light); /* Event Details Section */ .hvac-event-summary-details { margin-bottom: 2rem; /* IE fallback */ margin-bottom: var(--hvac-spacing-xl); padding: 2rem; /* IE fallback */ padding: var(--hvac-spacing-xl); border: 1px solid #e0e0e0; /* IE fallback */ border: 1px solid var(--hvac-border); border-radius: 4px; /* IE fallback */ border-radius: var(--hvac-border-radius); background-color: white; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* IE fallback */ box-shadow: var(--hvac-shadow); .hvac-event-summary-details h2 { margin-top: 0; margin-bottom: 1.5rem; /* IE fallback */ margin-bottom: var(--hvac-spacing-lg); font-size: 1.4rem; color: #333333; /* IE fallback */ color: var(--hvac-text); padding-bottom: 0.5rem; /* IE fallback */ padding-bottom: var(--hvac-spacing-sm); border-bottom: 1px solid #f0f0f0; /* IE fallback */ border-bottom: 1px solid var(--hvac-border-light); .hvac-event-detail-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem; /* IE fallback */ gap: var(--hvac-spacing-lg); margin-bottom: 1.5rem; /* IE fallback */ margin-bottom: var(--hvac-spacing-lg); .hvac-event-detail-item h3 { margin-top: 0; margin-bottom: 0.5rem; /* IE fallback */ margin-bottom: var(--hvac-spacing-sm); font-size: 1.1rem; color: #54595f; /* IE fallback */ color: var(--hvac-secondary); font-weight: 600; .hvac-event-detail-item p { color: #333333; /* IE fallback */ color: var(--hvac-text); margin: 0; line-height: 1.5; .hvac-event-description { margin-top: 1.5rem; /* IE fallback */ margin-top: var(--hvac-spacing-lg); padding-top: 1.5rem; /* IE fallback */ padding-top: var(--hvac-spacing-lg); border-top: 1px dashed #e0e0e0; /* IE fallback */ border-top: 1px dashed var(--hvac-border); .hvac-event-description h3 { margin-top: 0; margin-bottom: 1rem; /* IE fallback */ margin-bottom: var(--hvac-spacing-md); font-size: 1.2rem; color: #333333; /* IE fallback */ color: var(--hvac-text); /* Attendees Section */ .hvac-event-summary-attendees { margin-bottom: 2rem; /* IE fallback */ margin-bottom: var(--hvac-spacing-xl); padding: 2rem; /* IE fallback */ padding: var(--hvac-spacing-xl); border: 1px solid #e0e0e0; /* IE fallback */ border: 1px solid var(--hvac-border); border-radius: 4px; /* IE fallback */ border-radius: var(--hvac-border-radius); background-color: white; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* IE fallback */ box-shadow: var(--hvac-shadow); .hvac-event-summary-attendees h2 { margin-top: 0; margin-bottom: 1.5rem; /* IE fallback */ margin-bottom: var(--hvac-spacing-lg); font-size: 1.4rem; color: #333333; /* IE fallback */ color: var(--hvac-text); padding-bottom: 0.5rem; /* IE fallback */ padding-bottom: var(--hvac-spacing-sm); border-bottom: 1px solid #f0f0f0; /* IE fallback */ border-bottom: 1px solid var(--hvac-border-light); display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; -webkit-box-align: center; -ms-flex-align: center; align-items: center; .hvac-attendee-count { display: inline-block; padding: 0.3rem 0.8rem; background-color: #e6f3fb; /* IE fallback */ background-color: var(--hvac-primary-light); color: #0274be; /* IE fallback */ color: var(--hvac-primary); border-radius: 4px; /* IE fallback */ border-radius: var(--hvac-border-radius); font-size: 0.9rem; font-weight: 600; /* Table Styling */ .hvac-transactions-table-wrapper { overflow-x: auto; border: 1px solid #e0e0e0; /* IE fallback */ border: 1px solid var(--hvac-border); border-radius: 4px; /* IE fallback */ border-radius: var(--hvac-border-radius); .hvac-transactions-table { width: 100%; border-collapse: collapse; .hvac-transactions-table th { background-color: #f8f9fa; color: #3a3f44; /* IE fallback */ color: var(--hvac-secondary-dark); padding: 1rem; /* IE fallback */ padding: var(--hvac-spacing-md); font-weight: 600; text-align: left; border-bottom: 2px solid #e0e0e0; /* IE fallback */ border-bottom: 2px solid var(--hvac-border); .hvac-transactions-table td { padding: 1rem; /* IE fallback */ padding: var(--hvac-spacing-md); border-bottom: 1px solid #f0f0f0; /* IE fallback */ border-bottom: 1px solid var(--hvac-border-light); vertical-align: middle; .hvac-transactions-table tbody tr:hover { background-color: #e6f3fb; /* IE fallback */ background-color: var(--hvac-primary-light); .hvac-transactions-table .attendee-name { font-weight: 600; color: #333333; /* IE fallback */ color: var(--hvac-text); .hvac-transactions-table .ticket-type { display: inline-block; padding: 0.25rem 0.5rem; background-color: #f0f0f1; /* IE fallback */ background-color: var(--hvac-secondary-light); color: #3a3f44; /* IE fallback */ color: var(--hvac-secondary-dark); -webkit-border-radius: 12px; font-size: 0.75rem; /* Revenue & Transactions Section */ .hvac-event-summary-transactions { margin-bottom: 2rem; /* IE fallback */ margin-bottom: var(--hvac-spacing-xl); padding: 2rem; /* IE fallback */ padding: var(--hvac-spacing-xl); border: 1px solid #e0e0e0; /* IE fallback */ border: 1px solid var(--hvac-border); border-radius: 4px; /* IE fallback */ border-radius: var(--hvac-border-radius); background-color: white; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* IE fallback */ box-shadow: var(--hvac-shadow); .hvac-event-summary-transactions h2 { margin-top: 0; margin-bottom: 1.5rem; /* IE fallback */ margin-bottom: var(--hvac-spacing-lg); font-size: 1.4rem; color: #333333; /* IE fallback */ color: var(--hvac-text); padding-bottom: 0.5rem; /* IE fallback */ padding-bottom: var(--hvac-spacing-sm); border-bottom: 1px solid #f0f0f0; /* IE fallback */ border-bottom: 1px solid var(--hvac-border-light); .hvac-revenue-summary { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; -ms-flex-wrap: wrap; gap: 1rem; /* IE fallback */ gap: var(--hvac-spacing-md); margin-bottom: 1.5rem; /* IE fallback */ margin-bottom: var(--hvac-spacing-lg); padding: 1rem; /* IE fallback */ padding: var(--hvac-spacing-md); background-color: #e6f3fb; /* IE fallback */ background-color: var(--hvac-primary-light); border-radius: 4px; /* IE fallback */ border-radius: var(--hvac-border-radius); .hvac-revenue-item { -webkit-box-flex: 1; -ms-flex: 1; min-width: 180px; text-align: center; .hvac-revenue-item h3 { margin: 0 0 0.25rem 0; /* IE fallback */ margin: 0 0 var(--hvac-spacing-xs) 0; font-size: 0.9rem; color: #757575; /* IE fallback */ color: var(--hvac-text-light); font-weight: 600; .hvac-revenue-item .revenue-value { font-size: 1.5rem; font-weight: 700; color: #0274be; /* IE fallback */ color: var(--hvac-primary); /* No Attendees Message */ .hvac-no-attendees { padding: 1.5rem; /* IE fallback */ padding: var(--hvac-spacing-lg); background-color: #f0f0f1; /* IE fallback */ background-color: var(--hvac-secondary-light); border-radius: 4px; /* IE fallback */ border-radius: var(--hvac-border-radius); text-align: center; color: #3a3f44; /* IE fallback */ color: var(--hvac-secondary-dark); font-weight: 500; /* Certificate Actions */ .hvac-cert-action { display: inline-block; margin-left: 5px; padding: 3px 8px; border-radius: 4px; font-size: 0.75rem; text-decoration: none; color: #ffffff; background-color: var(--hvac-primary, #0073aa); -webkit-transition: background-color 0.2s ease; .hvac-cert-action:hover { background-color: var(--hvac-primary-dark, #005a87); color: #ffffff; text-decoration: none; .hvac-view-certificate { background-color: var(--hvac-secondary, #6c757d); .hvac-view-certificate:hover { background-color: var(--hvac-secondary-dark, #495057); .hvac-email-certificate { background-color: var(--hvac-primary, #0073aa); .hvac-email-certificate:hover { background-color: var(--hvac-primary-dark, #005a87); .hvac-revoke-certificate { background-color: var(--hvac-danger, #dc3545); .hvac-revoke-certificate:hover { background-color: var(--hvac-danger-dark, #bd2130); /* Certificate Modal */ .hvac-modal { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0, 0, 0, 0.5); .hvac-modal-content { background-color: #fefefe; margin: 5% auto; padding: 20px; border: 1px solid #888; width: 80%; max-width: 900px; -webkit-border-radius: var(--hvac-border-radius, 4px); -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); position: relative; .hvac-modal-close { color: #aaa; float: right; font-size: 28px; font-weight: bold; cursor: pointer; position: absolute; top: 10px; right: 15px; .hvac-modal-close:hover, .hvac-modal-close:focus { color: #000; text-decoration: none; .hvac-modal-body { padding: 10px 0; min-height: 200px; .hvac-loading { text-align: center; padding: 20px; font-style: italic; color: #666; .hvac-error { color: #dc3545; padding: 10px; text-align: center; background-color: #f8d7da; border-radius: 4px; margin: 10px 0; /* Responsive Adjustments */ /* Reduced Motion Support Added - WCAG 2.1 Accessibility */ /* Respects user preference for reduced motion to prevent vestibular disorders */ @media (prefers-reduced-motion: reduce) { /* Disable all animations and transitions globally */ *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; /* Remove specific transform animations */ .hvac-animate-fade-in, .hvac-animate-scale-up, .hvac-animate-pulse, .hvac-animate-slide-in-right, .hvac-animate-slide-in-left, .hvac-animate-slide-in-bottom { animation: none !important; opacity: 1 !important; transform: none !important; /* Disable hover transformations */ .hvac-card:hover, .hvac-stat-card:hover, .hvac-event-stat-card:hover, .hvac-button:hover, .hvac-email-submit:hover { transform: none !important; animation: none !important; /* Keep essential visual feedback but remove motion */ .hvac-card:hover, .hvac-stat-card:hover, .hvac-event-stat-card:hover { border-color: var(--hvac-primary, #0274be) !important; box-shadow: 0 0 0 2px rgba(2, 116, 190, 0.2) !important; /* Disable loading spinner animation but keep visibility */ .hvac-loading::after { animation: none !important; border-radius: 50% !important; border: 2px solid rgba(0, 0, 0, 0.2) !important; border-top-color: #333 !important; /* Disable focus pulse animation */ .hvac-button:focus, .hvac-email-submit:focus, .hvac-content button[type="submit"]:focus { animation: none !important; /* Ensure smooth scrolling is disabled */ html { scroll-behavior: auto !important; /* Disable CSS Grid/Flexbox animations if any */ .hvac-dashboard-stats .hvac-stat-card:nth-child(n), .hvac-event-summary-stats .hvac-event-stat-card: nth-child(n) { animation: none !important; opacity: 1 !important; /* Provide alternative visual feedback for reduced motion users */ @media (prefers-reduced-motion: reduce) { /* Enhanced border feedback instead of transform */ .hvac-content button:hover, .hvac-content input[type="submit"]:hover, .hvac-content a:hover { outline: 2px solid var(--hvac-primary, #0274be) !important; outline-offset: 2px !important; /* Enhanced color changes for interactive elements */ .hvac-attendee-item:hover { background-color: var(--hvac-primary-light, #e6f3fb) !important; border-left: 4px solid var(--hvac-primary, #0274be) !important; /* Static loading indicator */ .hvac-loading { opacity: 0.7 !important; .hvac-loading::after { content: "Loading..." !important; display: inline-block !important; font-size: 12px !important; color: #666 !important; border: none !important; background: none !important; border-radius: 0 !important; width: auto !important; height: auto !important; position: static !important; margin-left: 8px !important; @media (max-width: 768px) { .hvac-event-summary-header { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; .hvac-event-summary-actions { margin-top: 1rem; /* IE fallback */ margin-top: var(--hvac-spacing-md); width: 100%; .hvac-event-summary-actions a { -webkit-box-flex: 1; -ms-flex: 1; min-width: unset; .hvac-event-summary-details, .hvac-event-summary-attendees, .hvac-event-summary-transactions { padding: 1rem; /* IE fallback */ padding: var(--hvac-spacing-md); .hvac-event-detail-grid { grid-template-columns: 1fr; gap: 1rem; /* IE fallback */ gap: var(--hvac-spacing-md); .hvac-revenue-item { flex-basis: calc(50% - 1rem); /* IE fallback */ flex-basis: calc(50% - var(--hvac-spacing-md)); @media (max-width: 480px) { .hvac-event-summary-title h1 { font-size: 1.5rem; .hvac-event-stat-card { flex-basis: 100%; .hvac-revenue-item { flex-basis: 100%; margin-bottom: 0.5rem; /* IE fallback */ margin-bottom: var(--hvac-spacing-sm); .hvac-event-summary-attendees h2 { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; .hvac-attendee-count { margin-top: 0.25rem; /* IE fallback */ margin-top: var(--hvac-spacing-xs); /* Focus Management Styles - WCAG 2.1 Compliance */ /* Added for keyboard accessibility and screen reader support */ /* Button Focus Styles */ .hvac-button:focus, .hvac-content .button:focus, .hvac-content button:focus, .hvac-content input[type="submit"]:focus, .hvac-email-submit:focus, .hvac-filter-submit:focus, .hvac-certificate-actions button:focus, .hvac-certificate-actions a:focus { outline: 2px solid #005fcc; outline-offset: 2px; -webkit-box-shadow: 0 0 0 3px rgba(0, 95, 204, 0.2); box-shadow: 0 0 0 3px rgba(0, 95, 204, 0.2); border-radius: 4px; /* Input Focus Styles */ .hvac-form-input:focus, .hvac-content input[type="text"]:focus, .hvac-content input[type="email"]:focus, .hvac-content input[type="password"]:focus, .hvac-content input[type="url"]:focus, .hvac-content textarea:focus, .hvac-content select:focus, .hvac-email-form-row input:focus, .hvac-email-form-row textarea:focus, .hvac-filter-group input:focus, .hvac-filter-group select:focus { outline: 2px solid #005fcc; outline-offset: 2px; border-color: #005fcc; box-shadow: 0 0 0 3px rgba(0, 95, 204, 0.2); /* Link Focus Styles */ .hvac-content a:focus, .hvac-event-link:focus, .hvac-certificate-link:focus, .hvac-attendee-profile-icon:focus, .hvac-dashboard-nav a:focus, .hvac-email-navigation a:focus { outline: 2px solid #005fcc; outline-offset: 2px; text-decoration: underline; background-color: rgba(0, 95, 204, 0.1); -webkit-border-radius: 2px; /* Interactive Element Focus Styles */ .hvac-attendee-checkbox:focus, .hvac-select-all-container input[type="checkbox"]:focus, .hvac-modal-close:focus, .hvac-certificate-table tr:focus { outline: 2px solid #005fcc; outline-offset: 2px; box-shadow: 0 0 0 3px rgba(0, 95, 204, 0.2); /* High Contrast Mode Support */ @media (prefers-contrast: high) { .hvac-content *:focus { outline: 3px solid #000000; outline-offset: 2px; background-color: #ffff00; color: #000000; /* Focus-visible polyfill support */ /* Reset focus for mouse users while preserving keyboard accessibility */ .js-focus-visible:focus:not(.focus-visible) { outline: none; -webkit-box-shadow: none; /* Ensure focus is visible for keyboard users */ .js-focus-visible .focus-visible { outline: 2px solid #005fcc; outline-offset: 2px; /* CSS Grid Fallbacks for IE */ .hvac-stats-row, .hvac-dashboard-stats, .hvac-certificate-stats { display: -ms-grid; -ms-grid-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Progressive enhancement for modern browsers */ @supports (display: grid) { .hvac-stats-row, .hvac-dashboard-stats, .hvac-certificate-stats { display: grid; /* Feature Detection Support */ @supports not (display: flex) { .hvac-content [class*="flex"] { display: table-cell; vertical-align: middle; @supports not (display: grid) { .hvac-content [class*="grid"] { display: block; overflow: hidden; .hvac-content [class*="grid"] > * { float: left; width: 50%; }