#dw-wpmcs-survey-form-wrap { --wpmcs-paper: #ffffff; --wpmcs-glass: rgba(255, 255, 255, 0.68); --wpmcs-glass-border: rgba(255, 255, 255, 0.55); --wpmcs-ink: #1d2327; --wpmcs-muted: rgba(0, 0, 0, 0.6); --wpmcs-line: #e7e7e7; --wpmcs-accent: #3164e4; --wpmcs-accent-hover: #2954c8; --wpmcs-accent-soft: rgba(49, 100, 228, 0.08); --wpmcs-danger: #c00000; --wpmcs-danger-soft: rgba(192, 0, 0, 0.08); display: none; position: fixed; inset: 0; z-index: 100000; background: rgba(12, 16, 24, 0.4); backdrop-filter: blur(3px); animation: dwWpmcsFadeIn 0.16s ease-out; overflow-y: auto; padding: 40px 16px; } @keyframes dwWpmcsFadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes dwWpmcsPopIn { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } } #dw-wpmcs-survey-form { box-sizing: border-box; width: 100%; max-width: 560px; margin: 0 auto; background: var(--wpmcs-glass); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%); border: 1px solid var(--wpmcs-glass-border); padding: 28px; border-radius: 14px; box-shadow: 0 24px 60px rgba(12, 16, 24, 0.22), 0 2px 8px rgba(12, 16, 24, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.6); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.55; color: var(--wpmcs-ink); animation: dwWpmcsPopIn 0.2s cubic-bezier(0.16, 1, 0.3, 1); } #dw-wpmcs-survey-form h2 { font-size: 19px; font-weight: 700; margin: 0 0 8px; letter-spacing: -0.01em; text-wrap: balance; } #dw-wpmcs-survey-form > p { font-size: 14px; color: var(--wpmcs-muted); margin: 0 0 20px; } /* macOS System Settings-style grouped list: one rounded container, hairline dividers between rows, no per-row card/border */ #dw-wpmcs-survey-form .dw-wpmcs-reason { display: flex; flex-direction: column; margin-bottom: 4px; background: rgba(255, 255, 255, 0.4); border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 10px; overflow: hidden; } #dw-wpmcs-survey-form .dw-wpmcs-reason label { display: flex; align-items: center; gap: 10px; padding: 10px 14px; margin-bottom: 0; border-bottom: 1px solid var(--wpmcs-line); font-size: 13.5px; cursor: pointer; transition: background-color 0.1s ease; } #dw-wpmcs-survey-form .dw-wpmcs-reason label:last-child { border-bottom: none; } #dw-wpmcs-survey-form .dw-wpmcs-reason label:hover { background: rgba(49, 100, 228, 0.06); } #dw-wpmcs-survey-form .dw-wpmcs-reason label:has(input:checked) { background: rgba(49, 100, 228, 0.09); font-weight: 590; } #dw-wpmcs-survey-form .dw-wpmcs-reason input[type="radio"] { accent-color: var(--wpmcs-accent); width: 15px; height: 15px; margin: 0; flex-shrink: 0; } #dw-wpmcs-survey-form .dw-wpmcs-comments { margin-top: 14px; } #dw-wpmcs-survey-form .dw-wpmcs-comments textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--wpmcs-line); border-radius: 10px; font-size: 13.5px; font-family: inherit; color: var(--wpmcs-ink); background: var(--wpmcs-paper); resize: none; transition: border-color 0.12s ease, box-shadow 0.12s ease; } #dw-wpmcs-survey-form .dw-wpmcs-comments textarea:focus { outline: none; border-color: var(--wpmcs-accent); box-shadow: 0 0 0 3px var(--wpmcs-accent-soft); } #dw-wpmcs-survey-form .dw-wpmcs-comments textarea.has-error { border-color: var(--wpmcs-danger); } #dw-wpmcs-survey-form .dw-wpmcs-comments textarea.has-error:focus { box-shadow: 0 0 0 3px var(--wpmcs-danger-soft); } #dw-wpmcs-survey-form .dw-wpmcs-comments p { font-size: 12.5px; color: var(--wpmcs-muted); margin: 8px 0 0; } #dw-wpmcs-survey-form .dw-wpmcs-comments p a { color: var(--wpmcs-accent); } @keyframes dwWpmcsErrorIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } } #dw-wpmcs-error { display: none; align-items: flex-start; gap: 8px; color: var(--wpmcs-danger); background: var(--wpmcs-danger-soft); font-size: 12.5px; font-weight: 600; line-height: 1.4; padding: 10px 12px; margin: 0; border-radius: 8px; border-left: 3px solid var(--wpmcs-danger); } #dw-wpmcs-error.is-visible { display: flex; margin: 14px 0 0; animation: dwWpmcsErrorIn 0.15s ease-out; } #dw-wpmcs-error svg { flex-shrink: 0; width: 15px; height: 15px; margin-top: 1px; } #dw-wpmcs-survey-form .dw-wpmcs-actions { margin-top: 22px; display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; } /* macOS-style capsule push buttons */ .dw-button { display: inline-flex; align-items: center; justify-content: center; min-height: 30px; padding: 6px 18px; font-size: 13px; font-weight: 590; font-family: inherit; text-decoration: none; border: 1px solid transparent; border-radius: 999px; cursor: pointer; transition: transform 0.08s ease, box-shadow 0.12s ease, background-color 0.12s ease, filter 0.12s ease; } .dw-button:active { transform: scale(0.97); } .dw-primary { background: linear-gradient(180deg, color-mix(in srgb, var(--wpmcs-accent) 92%, white 8%), var(--wpmcs-accent)); color: #ffffff; box-shadow: 0 1px 1px rgba(12, 16, 24, 0.18), 0 0 0 0.5px rgba(12, 16, 24, 0.05); } .dw-primary:hover { filter: brightness(1.06); } .dw-primary:disabled { opacity: 0.5; cursor: not-allowed; filter: none; box-shadow: none; } .dw-secondary { background-color: rgba(120, 120, 128, 0.14); color: var(--wpmcs-ink); } .dw-secondary:hover { background-color: rgba(120, 120, 128, 0.22); } .dw-skip { background: none; color: var(--wpmcs-muted); font-weight: 500; padding-left: 6px; padding-right: 6px; } .dw-skip:hover { color: var(--wpmcs-ink); text-decoration: underline; } @media (prefers-reduced-motion: reduce) { #dw-wpmcs-survey-form-wrap, #dw-wpmcs-survey-form, #dw-wpmcs-error.is-visible { animation: none; } }