| @@ -69,21 +69,41 @@ | ||
| 69 | 69 | .email-blocker { |
| 70 | 70 | display: flex; |
| 71 | 71 | flex-direction: column; |
| 72 | 72 | align-items: center; |
| 73 | - justify-content: center; | |
| 73 | + /* No justify-content: center here — on an overflowing flex container it | |
| 74 | + pushes content past BOTH edges, making the top unreachable by scroll. | |
| 75 | + The auto margins on the first/last children below center the content | |
| 76 | + when there is room and collapse to flex-start when there is not. */ | |
| 74 | 77 | border-radius: 12px; |
| 75 | 78 | padding: 30px 20px; |
| 76 | 79 | max-width: 100%; |
| 80 | + max-height: 100%; | |
| 81 | + overflow-y: auto; | |
| 82 | + scrollbar-width: thin; | |
| 77 | 83 | margin: auto; |
| 78 | 84 | text-align: center; |
| 79 | 85 | animation: fadeIn 0.5s ease-in-out; |
| 80 | 86 | } |
| 81 | 87 | |
| 88 | +.email-blocker::-webkit-scrollbar { | |
| 89 | + width: 5px; | |
| 90 | +} | |
| 91 | + | |
| 92 | +.email-blocker::-webkit-scrollbar-thumb { | |
| 93 | + background-color: #212121; | |
| 94 | + border-radius: 20px; | |
| 95 | +} | |
| 96 | + | |
| 82 | 97 | .email-blocker-header { |
| 98 | + margin-top: auto; | |
| 83 | 99 | margin-bottom: 20px; |
| 84 | 100 | } |
| 85 | 101 | |
| 102 | +.email-blocker .email-collection-form { | |
| 103 | + margin-bottom: auto; | |
| 104 | +} | |
| 105 | + | |
| 86 | 106 | .email-blocker-logo { |
| 87 | 107 | max-width: 80px; |
| 88 | 108 | margin-bottom: 10px; |
| 89 | 109 | } |
| @@ -118,8 +138,40 @@ | ||
| 118 | 138 | .email-blocker .mxchat-name-input:focus { |
| 119 | 139 | border-color: #0073aa; |
| 120 | 140 | box-shadow: 0 0 8px rgba(0, 115, 170, 0.3); |
| 121 | 141 | outline: none; |
| 142 | +} | |
| 143 | + | |
| 144 | +/* Consent checkbox row (b062c4). Left-aligned inside the centered form so a | |
| 145 | + multi-line label reads naturally; sized to stay compact on 320-390px. */ | |
| 146 | +.email-blocker .mxchat-consent-row { | |
| 147 | + display: flex; | |
| 148 | + align-items: flex-start; | |
| 149 | + gap: 8px; | |
| 150 | + width: 100%; | |
| 151 | + margin-bottom: 15px; | |
| 152 | + text-align: left; | |
| 153 | +} | |
| 154 | + | |
| 155 | +.email-blocker .mxchat-consent-checkbox { | |
| 156 | + flex-shrink: 0; | |
| 157 | + width: 16px; | |
| 158 | + height: 16px; | |
| 159 | + margin: 2px 0 0; | |
| 160 | + accent-color: #0073aa; | |
| 161 | + cursor: pointer; | |
| 162 | +} | |
| 163 | + | |
| 164 | +.email-blocker .mxchat-consent-label { | |
| 165 | + font-size: 13px; | |
| 166 | + line-height: 1.45; | |
| 167 | + color: #555555; | |
| 168 | + cursor: pointer; | |
| 169 | +} | |
| 170 | + | |
| 171 | +.email-blocker .mxchat-consent-label a { | |
| 172 | + color: #0073aa; | |
| 173 | + text-decoration: underline; | |
| 122 | 174 | } |
| 123 | 175 | |
| 124 | 176 | .email-blocker button { |
| 125 | 177 | background-color: #0073aa; |