.page-customer-survey { --sw-bg: var(--elco-premium-bg, #0f1a32); --sw-bg-deep: var(--elco-premium-bg-deep, #0a1224); --sw-surface: var(--elco-premium-surface, rgba(15, 26, 50, 0.92)); --sw-surface-elevated: rgba(22, 34, 64, 0.72); --sw-text: var(--elco-premium-text, #ffffff); --sw-muted: var(--elco-premium-muted, rgba(255, 255, 255, 0.72)); --sw-border: var(--elco-premium-border, rgba(72, 96, 140, 0.28)); --sw-accent: var(--elco-gold, #d4af37); --sw-accent-bright: var(--elco-gold-bright, #e8cc6a); --sw-option-bg: rgba(255, 255, 255, 0.04); --sw-option-hover: rgba(255, 255, 255, 0.08); --sw-success: #34d399; --sw-success-text: #a7f3d0; --sw-error: #f87171; --sw-btn-bg: linear-gradient(135deg, var(--elco-navy-light, #162240), var(--elco-navy-mid, #0f1a32)); --sw-btn-text: #fff; --sw-radius: 16px; --sw-shadow: 0 16px 48px rgba(0, 0, 0, 0.28); } html[data-color-scheme="light"] body.page-customer-survey { --sw-bg: var(--elco-light-page, #eef0f3); --sw-bg-deep: var(--elco-light-page-deep, #e8eaee); --sw-surface: #ffffff; --sw-surface-elevated: #f8f9fb; --sw-text: var(--elco-light-text, #0c1833); --sw-muted: var(--elco-light-muted, #5c6370); --sw-border: rgba(72, 96, 140, 0.18); --sw-option-bg: rgba(15, 26, 50, 0.03); --sw-option-hover: rgba(15, 26, 50, 0.06); --sw-success: #059669; --sw-success-text: #047857; --sw-error: #dc2626; --sw-btn-bg: linear-gradient(180deg, #1a2844 0%, #0f1a32 52%, #0c1224 100%); --sw-shadow: 0 12px 36px rgba(12, 18, 36, 0.1); } .page-customer-survey #main-content { padding: 0; } .page-customer-survey #main-content > .container { max-width: none; padding: 0; } .survey-wizard-page { min-height: calc(100vh - var(--header-height, 72px)); min-height: calc(100dvh - var(--header-height, 72px)); background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(212, 175, 55, 0.08), transparent 55%), linear-gradient(180deg, var(--sw-bg) 0%, var(--sw-bg-deep) 100%); display: flex; flex-direction: column; padding: 0 0 1.5rem; } .survey-wizard-page__inner { width: 100%; max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; flex: 1; } .survey-wizard-page__bar { background: linear-gradient(135deg, var(--elco-navy-mid, #0f1a32) 0%, var(--elco-navy-deep, #0a1224) 100%); color: #fff; text-align: center; padding: 0.85rem 1rem; border-bottom: 1px solid rgba(212, 175, 55, 0.2); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); } html[data-color-scheme="light"] body.page-customer-survey .survey-wizard-page__bar { background: linear-gradient(135deg, #0f1a32 0%, #0a1224 100%); } .survey-wizard-page__title { margin: 0; font-size: 1rem; font-weight: 700; letter-spacing: 0.01em; color: #fff; } html[data-color-scheme="light"] body.elco-theme-premium.page-customer-survey #main-content .survey-wizard-page__bar .survey-wizard-page__title { color: #fff !important; } .survey-wizard { flex: 1; display: flex; flex-direction: column; width: 100%; padding: 0; } .survey-wizard__shell { flex: 1; display: flex; flex-direction: column; background: var(--sw-surface); border: 1px solid var(--sw-border); box-shadow: var(--sw-shadow); } .survey-wizard__card { background: transparent; border: 0; border-radius: 0; padding: 1.35rem 1.15rem 1.15rem; flex: 1; display: flex; flex-direction: column; position: relative; } .survey-wizard__card::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--sw-accent), transparent); opacity: 0.85; } .survey-wizard__intro { font-size: 0.95rem; line-height: 1.9; color: var(--sw-text); } .survey-wizard__intro p { margin-bottom: 0.75rem; color: var(--sw-muted); } .survey-wizard__intro strong { color: var(--sw-text); } .survey-wizard__intro p, .survey-wizard__intro li, .survey-wizard__intro span, .survey-wizard__intro div { color: var(--sw-muted) !important; } .survey-wizard__intro strong, .survey-wizard__intro b, .survey-wizard__intro h1, .survey-wizard__intro h2, .survey-wizard__intro h3 { color: var(--sw-text) !important; } .survey-wizard__success-body p, .survey-wizard__success-body li, .survey-wizard__success-body span, .survey-wizard__success-body div { color: var(--sw-success-text) !important; } .survey-wizard__question { font-size: 1.05rem; font-weight: 700; line-height: 1.75; color: var(--sw-text); margin: 0 0 1.25rem; } .survey-wizard__options { display: flex; flex-direction: column; gap: 0.65rem; } .survey-wizard__option { display: flex; align-items: center; gap: 0.75rem; width: 100%; padding: 0.9rem 1rem; border: 1px solid var(--sw-border); border-radius: 12px; background: var(--sw-option-bg); color: var(--sw-text); cursor: pointer; text-align: inherit; transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.12s; } .survey-wizard__option:hover { background: var(--sw-option-hover); border-color: rgba(212, 175, 55, 0.35); } .survey-wizard__option.is-selected { background: linear-gradient(135deg, rgba(212, 175, 55, 0.22), rgba(212, 175, 55, 0.1)); border-color: rgba(212, 175, 55, 0.55); color: var(--sw-text); box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.15); } html[data-color-scheme="light"] body.page-customer-survey .survey-wizard__option.is-selected { background: linear-gradient(135deg, rgba(212, 175, 55, 0.14), rgba(212, 175, 55, 0.06)); color: var(--sw-text); } .survey-wizard__option-radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(212, 175, 55, 0.45); background: transparent; flex-shrink: 0; display: flex; align-items: center; justify-content: center; } .survey-wizard__option.is-selected .survey-wizard__option-radio { border-color: var(--sw-accent); background: var(--sw-accent); } .survey-wizard__option.is-selected .survey-wizard__option-radio::after { content: ''; width: 6px; height: 10px; border: solid var(--elco-navy-deep, #0a1224); border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-1px); } html[data-color-scheme="light"] body.page-customer-survey .survey-wizard__option.is-selected .survey-wizard__option-radio::after { border-color: #fff; } .survey-wizard__option-label { flex: 1; font-size: 0.95rem; line-height: 1.55; } .survey-wizard__success { text-align: center; padding: 2rem 1rem; } .survey-wizard__success-body { color: var(--sw-success-text); line-height: 1.85; } .survey-wizard__success-body p { margin-bottom: 0.65rem; } .survey-wizard__footer { background: var(--sw-surface-elevated); margin-top: auto; padding: 0.85rem 1.15rem 1.1rem; border-top: 1px solid var(--sw-border); } .survey-wizard__progress-track { height: 4px; background: rgba(255, 255, 255, 0.08); border-radius: 999px; overflow: hidden; margin-bottom: 0.85rem; } html[data-color-scheme="light"] body.page-customer-survey .survey-wizard__progress-track { background: rgba(15, 26, 50, 0.08); } .survey-wizard__progress-bar { height: 100%; background: linear-gradient(90deg, var(--sw-accent-dark, #9a7b1a), var(--sw-accent), var(--sw-accent-bright)); transition: width 0.25s ease; width: 0; border-radius: 999px; } .survey-wizard__footer-row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; } .survey-wizard__counter { font-size: 0.85rem; color: var(--sw-muted); white-space: nowrap; font-weight: 600; } .survey-wizard__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: flex-end; flex: 1; } .survey-wizard__btn { border: 1px solid rgba(212, 175, 55, 0.35); border-radius: 999px; padding: 0.6rem 1.35rem; font-size: 0.9rem; font-weight: 700; cursor: pointer; background: var(--sw-btn-bg); color: var(--sw-btn-text); min-width: 96px; transition: opacity 0.15s, transform 0.12s, box-shadow 0.15s; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2); } .survey-wizard__btn:hover:not(:disabled) { opacity: 0.95; transform: translateY(-1px); } .survey-wizard__btn:disabled { opacity: 0.55; cursor: not-allowed; } .survey-wizard__btn--ghost { background: transparent; color: var(--sw-text); border-color: var(--sw-border); box-shadow: none; } .survey-wizard__btn--ghost:hover:not(:disabled) { background: var(--sw-option-hover); border-color: rgba(212, 175, 55, 0.35); } .survey-wizard__modal-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; z-index: 1050; padding: 1rem; } .survey-wizard__modal { background: var(--sw-surface); border: 1px solid var(--sw-border); border-radius: 14px; max-width: 400px; width: 100%; padding: 1.35rem; box-shadow: var(--sw-shadow); color: var(--sw-text); } .survey-wizard__modal-title { font-size: 1.05rem; font-weight: 800; margin: 0 0 0.5rem; color: var(--sw-text); } .survey-wizard__modal-text { color: var(--sw-muted); margin-bottom: 1.15rem; line-height: 1.7; } .survey-wizard__modal-actions { display: flex; gap: 0.5rem; justify-content: flex-end; } .survey-wizard__modal-btn { border: none; border-radius: 999px; padding: 0.55rem 1.15rem; font-weight: 700; cursor: pointer; } .survey-wizard__modal-btn--primary { background: var(--sw-btn-bg); color: #fff; border: 1px solid rgba(212, 175, 55, 0.35); } .survey-wizard__modal-btn--muted { background: var(--sw-option-bg); color: var(--sw-text); border: 1px solid var(--sw-border); } .survey-wizard__error { color: var(--sw-error); font-size: 0.85rem; margin-top: 0.75rem; font-weight: 600; } .survey-wizard__error.is-hidden { display: none; } @media (min-width: 768px) { .survey-wizard-page { padding: 1.25rem 1rem 2rem; } .survey-wizard-page__inner { max-width: 680px; } .survey-wizard-page__title { font-size: 1.08rem; } .survey-wizard__shell { border-radius: var(--sw-radius); overflow: hidden; } .survey-wizard-page__bar { border-radius: var(--sw-radius) var(--sw-radius) 0 0; } .survey-wizard__card { padding: 1.75rem 1.65rem 1.35rem; } .survey-wizard__question { font-size: 1.12rem; } .survey-wizard__footer { padding: 1rem 1.65rem 1.35rem; } } @media (min-width: 992px) { .survey-wizard-page { padding: 2rem 1.5rem 3rem; align-items: center; } .survey-wizard-page__inner { max-width: 760px; } .survey-wizard-page__bar { padding: 1.1rem 1.75rem; } .survey-wizard-page__title { font-size: 1.2rem; } .survey-wizard__card { padding: 2rem 2rem 1.5rem; min-height: 18rem; } .survey-wizard__question { font-size: 1.2rem; margin-bottom: 1.5rem; } .survey-wizard__options { gap: 0.75rem; } .survey-wizard__option { padding: 1rem 1.15rem; } .survey-wizard__intro { font-size: 1rem; max-width: 42rem; } .survey-wizard__footer-row { flex-wrap: nowrap; } .survey-wizard__actions { justify-content: flex-end; } .survey-wizard__btn { min-width: 110px; padding: 0.65rem 1.5rem; } } @media (min-width: 1200px) { .survey-wizard-page__inner { max-width: 820px; } .survey-wizard__options--many { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; } }