/* cw.css */ /* Container */ #cw-chatToggle { position: fixed; bottom: 24px; right: 24px; color: white; padding: 12px 16px; border-radius: 25px; font-weight: 600; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; z-index: 100000; border: none; user-select: none; transition: background-color 0.3s ease; width: 100px; height: 50px; box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px; } #cw-chatToggle:hover { transform: translateY(-5px); } #cw-chatToggle div { display: flex; align-items: center; gap: 8px; } #cw-chatToggle img { image-rendering: pixelated; image-rendering: optimizeQuality; image-rendering: -webkit-optimize-contrast; /* Chrome */ image-rendering: crisp-edges; /* Fallback */ } #cw-chatToggle span.text-sm { font-weight: 500; font-size: 0.875rem; /* 14px */ } #cw-chatToggle span.text-xs { font-size: 0.75rem; /* 12px */ } /* Chat widget container */ #cw-chatWidget { display: none; position: fixed; bottom: 100px; right: 24px; width: 500px; max-height: 70vh; background: white; border: 1px solid #ccc; border-radius: 12px; flex-direction: column; z-index: 100000; font-family: system-ui, sans-serif; } #cw-chatWidget.active { display: flex; } /* Logo container */ #cw-chatWidget .logo-container { display: flex; justify-content: center; padding-top: 16px; padding-bottom: 10px; } #cw-chatWidget .logo-container img { height: 60px; user-select: none; image-rendering: optimizeQuality; image-rendering: pixelated; image-rendering: -webkit-optimize-contrast; /* Chrome */ image-rendering: crisp-edges; /* Fallback */ } /* Header */ #cw-status { padding: 10px 10px; background-color: #f0f0f0; border-bottom: 1px solid #ddd; max-height: 0; transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out; } #cw-chatWidget .header { background-color: #0070c0; color: white; padding: 8px 16px; font-weight: 600; text-align: center; user-select: none; } /* Messages container */ #cw-chatMessages { flex: 1 1 auto; overflow-y: auto; padding: 16px; font-size: 0.875rem; line-height: 1.4; user-select: text; scroll-behavior: smooth; background: #fafafa; } /* Chat form */ #cw-chatForm { display: flex; margin: 0px; border-top: 1px solid #ddd; } #cw-chatInput { flex: 1; border: none; padding: 8px 20px; font-size: 1rem; outline-offset: 2px; border-radius: 0 0 0 12px; } #cw-chatInput:focus { outline: 0px solid #0070c0; } #cw-chatForm button { background-color: #0070c0; border: none; color: white; padding: 0 16px; cursor: pointer; font-weight: 600; border-radius: 0 0 12px 0; transition: background-color 0.3s ease; } #cw-chatForm button:hover { background-color: #005a9e; } /* Message bubbles */ .cw-message { max-width: 75%; margin-bottom: 8px; padding: 8px 12px; border-radius: 12px; word-wrap: break-word; white-space: pre-wrap; } .cw-message.user { background-color: #DCF8C6; color: #333; margin-left: auto; text-align: right; } .cw-message.bot { background-color: #E0E0E0; color: #333; margin-right: auto; text-align: left; } .button { display: inline-block; padding: 12px 24px; background-color: #4CAF50; /* Green */ color: white; text-align: center; text-decoration: none; border-radius: 8px; font-size: 16px; font-weight: bold; transition: background-color 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } .button:hover { background-color: #45a049; box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); } .button:active { background-color: #3e8e41; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); } /* Headline above the wizard */ .wizard-headline { text-align: center; font-size: 24px; font-weight: bold; padding: 20px 0; background-color: #f8f9f9; color: #2c3e50; border-bottom: 2px solid #ddd; } /* Main wizard container */ .wizard { display: flex; justify-content: space-between; list-style: none; padding: 0; margin: 0; width: 100%; background-color: #e0e0e0; } /* Each step box */ .wizard li { flex: 1; display: flex; flex-direction: column; border-right: 2px solid #fff; color: white; box-sizing: border-box; } .wizard li:last-child { border-right: none; } /* Header inside each box (icon + label) */ .wizard .header { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 10px; font-weight: bold; font-size: 16px; text-align: center; } /* Detail text area inside the box */ .wizard .text { padding: 20px 10px; text-align: center; font-size: 14px; flex-grow: 1; } /* DARK GREY: Open */ .wizard li.open { background-color: #7f8c8d; } .wizard li.open .header { background-color: #5d6d7e; } /* DARK GREEN: Done */ .wizard li.done { background-color: #1e8449; } .wizard li.done .header { background-color: #145a32; } /* Icon style */ .wizard i { font-size: 18px; }