/* ── Phone script slide-over panel ── */
.phone-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.35);
z-index: 9998;
opacity: 0;
pointer-events: none;
transition: opacity 0.25s;
}
.phone-overlay.open {
opacity: 1;
pointer-events: auto;
}
.phone-panel {
position: fixed;
top: 0;
right: 0;
bottom: 0;
width: min(520px, 92vw);
max-width: min(520px, 92vw);
background: #fff;
z-index: 9999;
transform: translateX(100%);
transition: transform 0.3s ease;
display: flex;
flex-direction: column;
}
/* Email drawer only: 50% viewport width */
.phone-panel.phone-panel--email {
width: 50vw;
max-width: 50vw;
}
.phone-panel.open {
transform: translateX(0);
}
.phone-panel-close {
position: absolute;
top: 12px;
right: 14px;
font-size: 1.6em;
background: none;
border: none;
cursor: pointer;
color: #666;
line-height: 1;
}
/* Drag handle: hidden on desktop, shown on mobile for bottom sheet */
.phone-panel-handle {
display: none;
}
.phone-panel-handle-pill {
width: 40px;
height: 4px;
border-radius: 2px;
background: #ccc;
}
.phone-panel.dragging {
transition: none;
}
.phone-panel-title-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 10px 12px 6px;
border-bottom: 1px solid #e0e0e0;
}
.phone-panel-title {
padding: 0;
margin: 0;
font-size: 1.15em;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.phone-panel-title-extra {
flex-shrink: 0;
}
.drawer-header-constituent .drawer-constituent-checkbox-wrap {
white-space: nowrap;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.drawer-step-strip {
display: flex;
align-items: center;
gap: 8px;
padding: 0;
margin: 0 4px;
flex-shrink: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.drawer-step-link {
background: none;
border: none;
padding: 0;
font-size: 0.95em;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
color: #9ca3af;
cursor: pointer;
text-decoration: none;
transition: color 0.15s, font-weight 0.15s;
}
.drawer-step-link:hover {
color: #6b7280;
}
.drawer-step-link.drawer-step-link-active {
font-weight: 600;
color: #111;
text-decoration: underline;
text-underline-offset: 3px;
}
.drawer-step-sep {
color: #c0c0c0;
font-weight: 300;
user-select: none;
}
.phone-panel-body {
flex: 1;
min-height: 0;
display: flex;
flex-direction: column;
padding: 0 24px 20px 24px;
overflow-y: auto;
font-size: 0.95em;
line-height: 1.7;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
/* Email drawer: single scroll (textarea only); prevent panel scrollbar */
.phone-panel-body.drawer-email-open {
overflow: hidden;
}
.phone-script-to {
margin-bottom: 8px;
}
.phone-script-number {
margin-bottom: 16px;
font-size: 1.3em;
}
.phone-script-number a {
color: #1a6b3c;
font-weight: bold;
text-decoration: none;
}
.phone-script-body {
background: #f8faf8;
border: 1px solid #d0e0d0;
border-radius: 6px;
padding: 16px;
line-height: 1.7;
}
.phone-script-sections {
margin-top: 12px;
}
.script-section {
margin-bottom: 14px;
padding: 10px 12px;
background: #f8faf8;
border: 1px solid #d0e0d0;
border-radius: 6px;
}
.script-section strong {
display: block;
font-size: 0.8em;
text-transform: uppercase;
letter-spacing: 0.04em;
color: #2a5a2a;
margin-bottom: 4px;
}
.script-section p {
margin: 0;
line-height: 1.6;
}
.email-notice {
padding: 12px 14px;
margin-bottom: 16px;
background: #fff8e1;
border: 1px solid #ffca28;
border-radius: 6px;
font-size: 0.9em;
line-height: 1.5;
}
.email-template label {
display: block;
font-weight: bold;
font-size: 0.85em;
margin: 10px 0 4px;
}
.email-subject {
font-size: 0.95em;
padding: 8px;
background: #f5f5f5;
border-radius: 4px;
margin-bottom: 8px;
word-break: break-word;
}
.email-body {
white-space: pre-wrap;
word-break: break-word;
font-family: inherit;
font-size: 0.9em;
padding: 12px;
background: #f5f5f5;
border: 1px solid #ddd;
border-radius: 4px;
margin: 0 0 12px;
line-height: 1.6;
}
.email-pdf {
margin-top: 12px;
font-size: 0.9em;
}
.email-pdf a {
color: #2a5aad;
}
.phone-panel-done {
padding: 8px 24px;
background: #333;
color: #fff;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 0.92em;
}
.phone-panel-done:hover {
background: #555;
}
/* ── Advocacy drawer content (call script + after-call form, email template) ── */
.drawer-loading,
.drawer-error {
color: #666;
padding: 1em 0;
}
.drawer-error-banner {
padding: 8px 12px;
margin-bottom: 8px;
background: #fef2f2;
color: #991b1b;
border-radius: 4px;
font-size: 0.9em;
}
/* iMessage-style call header: light gray bar, centered photo circle then name then number */
.drawer-call-header {
background: #f2f2f7;
padding: 20px 24px 14px;
margin: 0 -24px 0 -24px;
border-bottom: 1px solid #c6c6c8;
text-align: center;
}
.drawer-call-header-inner {
margin-bottom: 12px;
}
.drawer-call-photo {
width: 72px;
height: 72px;
border-radius: 50%;
object-fit: cover;
display: block;
margin: 0 auto 12px;
background: #e5e5ea;
}
.drawer-call-title {
margin: 0 0 2px;
font-size: 0.8em;
font-weight: 600;
color: #6d6d72;
text-transform: uppercase;
letter-spacing: 0.04em;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.drawer-call-photo-placeholder {
width: 72px;
height: 72px;
margin-left: auto;
margin-right: auto;
}
.drawer-call-name {
margin: 0 0 8px;
font-size: 1.15em;
font-weight: 700;
color: #1c1c1e;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.drawer-call-number {
margin: 0;
font-size: 1em;
line-height: 1.3;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.drawer-call-number-pill {
display: inline-block;
padding: 8px 18px;
background: #248a3d;
color: #fff;
font-weight: 600;
text-decoration: none;
border-radius: 9999px;
position: relative;
animation: phone-pill-ring 2s ease-in-out infinite, phone-pill-pulse 2s ease-in-out infinite;
}
.drawer-call-number-pill:hover {
background: #1e7a33;
color: #fff;
animation: phone-pill-ring 2s ease-in-out infinite, phone-pill-pulse 1.2s ease-in-out infinite;
}
/* Stop ring/pulse once user has ended the call (Wrap Up visible) */
.drawer-call-number-pill.drawer-call-number-pill-ended {
animation: none;
box-shadow: none;
}
.drawer-call-header .drawer-script-intro {
margin: 0;
padding: 0;
font-size: 0.8em;
line-height: 1.4;
color: #8e8e93;
font-weight: 400;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
/* Minimal no-answer hint: below header, above script — visible but not alarming */
.drawer-no-answer-hint {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 10px 24px;
margin: 0 -24px;
background: #fafafa;
border-bottom: 1px solid #eee;
font-size: 0.8em;
color: #8e8e93;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.drawer-no-answer-hint-text {
font-weight: 400;
}
.drawer-no-answer-hint-btn {
background: none;
border: none;
padding: 0;
font-size: inherit;
font-family: inherit;
color: #248a3d;
font-weight: 500;
text-decoration: underline;
text-underline-offset: 2px;
cursor: pointer;
}
.drawer-no-answer-hint-btn:hover {
color: #1e7a33;
}
/* Constituent checkbox: same component on call and email drawer — one size, centered */
.drawer-constituent-hint {
padding: 6px 0;
color: #3a3a3c;
justify-self: center;
font-size: 1em;
}
/* Match height of Send code button (32px) so checkbox row aligns in email drawer and call script */
.drawer-constituent-checkbox-wrap {
display: inline-flex;
align-items: center;
gap: 8px;
cursor: pointer;
font-size: 1em;
min-height: 32px;
box-sizing: border-box;
}
.drawer-constituent-checkbox {
width: 20px;
height: 20px;
accent-color: #1a73e8;
flex-shrink: 0;
}
.drawer-constituent-label {
font-size: .9em;
font-weight: 500;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.gmail-constituent-row {
margin-bottom: 8px;
display: flex;
align-items: center;
gap: 12px;
flex-wrap: wrap;
padding: 10px 20px;
}
/* Voicemail script view (toggled in place; same bubble styles) */
.drawer-voicemail {
display: flex;
flex-direction: column;
gap: 8px;
margin-top: 4px;
}
.drawer-voicemail[hidden] {
display: none !important;
}
.drawer-voicemail-single {
max-width: 95%;
}
.drawer-voicemail-single p {
margin: 0 0 0.75em 0;
}
.drawer-voicemail-single p:last-child {
margin-bottom: 0;
}
.drawer-voicemail-reminder-bubble {
margin-top: 8px;
background: #ebebf0 !important;
}
.drawer-voicemail-reminder-bubble[hidden] {
display: none !important;
}
.drawer-voicemail-reminder-bubble .drawer-reminder-link {
color: #1a5fb4;
}
.drawer-voicemail-reminder-bubble .drawer-reminder-link:hover {
color: #0d4a8f;
}
.drawer-voicemail-reminder-bubble .drawer-reminder-or {
color: #8e8e93;
}
/* In-chat reminder (iMessage-style): date/time + Add to Calendar in the conversation */
.drawer-reminder-inline {
margin-top: 8px;
background: #ebebf0 !important;
max-width: 92%;
}
.drawer-reminder-inline[hidden] {
display: none !important;
}
.drawer-reminder-inline-copy {
margin: 0 0 12px 0;
font-size: 0.95em;
line-height: 1.45;
color: #1c1c1e;
}
.drawer-reminder-inline-fields {
margin-bottom: 10px;
}
.drawer-reminder-inline-row {
display: flex;
flex-direction: column;
gap: 4px;
}
.drawer-reminder-inline-label {
font-size: 0.8em;
font-weight: 600;
color: #3a3a3c;
}
.drawer-reminder-inline-inputs {
display: flex;
gap: 8px;
align-items: center;
}
.drawer-reminder-inline-date,
.drawer-reminder-inline-time {
flex: 1;
min-width: 0;
padding: 8px 10px;
border: 1px solid #c6c6c8;
border-radius: 10px;
font-size: 0.9em;
font-family: inherit;
background: #fff;
}
.drawer-reminder-inline-link {
font-size: 0.75em;
color: #8e8e93;
margin: 0 0 12px 0;
word-break: break-all;
line-height: 1.35;
}
.drawer-reminder-inline-ctas {
display: flex;
flex-wrap: nowrap;
gap: 8px;
align-items: center;
justify-content: space-between;
}
.drawer-reminder-inline-btn {
padding: 10px 16px;
border-radius: 20px;
font-size: 0.9em;
font-weight: 600;
cursor: pointer;
border: none;
font-family: inherit;
transition: transform 0.12s ease, opacity 0.15s ease;
}
.drawer-reminder-inline-btn:active {
transform: scale(0.98);
}
.drawer-reminder-inline-btn-primary {
background: #34c759;
color: #fff;
}
.drawer-reminder-inline-btn-primary:hover {
background: #2db84e;
}
.drawer-reminder-inline-btn-ghost {
background: transparent;
color: #1a5fb4;
}
.drawer-reminder-inline-btn-ghost:hover {
text-decoration: underline;
}
.drawer-reminder-inline-just-in {
animation: drawer-reminder-in 0.35s ease;
}
/* In-chat wrap up (iMessage-style) when they answered */
.drawer-wrapup-inline {
margin-top: 8px;
display: flex;
flex-direction: column;
gap: 8px;
}
.drawer-wrapup-inline[hidden] {
display: none !important;
}
.drawer-wrapup-inline-intro {
font-size: 0.95em;
line-height: 1.45;
color: #1c1c1e;
}
.drawer-wrapup-inline-form-bubble {
background: #ebebf0 !important;
width: 100%;
max-width: 100%;
padding: 14px 16px;
}
.drawer-wrapup-form-inline {
display: flex;
flex-direction: column;
gap: 12px;
}
.drawer-wrapup-inline-rows {
display: flex;
flex-direction: column;
gap: 10px;
}
.drawer-wrapup-inline-row,
.drawer-wrapup-inline-note-row {
display: flex;
flex-direction: column;
gap: 4px;
}
.drawer-wrapup-inline-label {
font-size: 0.8em;
font-weight: 600;
color: #3a3a3c;
}
.drawer-wrapup-inline-input {
padding: 8px 12px;
border: 1px solid #c6c6c8;
border-radius: 10px;
font-size: 0.9em;
font-family: inherit;
background: #fff;
}
.drawer-wrapup-inline-input:focus {
outline: none;
border-color: #1a5fb4;
}
.drawer-wrapup-inline-textarea {
padding: 8px 12px;
border: 1px solid #c6c6c8;
border-radius: 10px;
font-size: 0.9em;
font-family: inherit;
background: #fff;
resize: vertical;
min-height: 56px;
}
.drawer-wrapup-inline-textarea:focus {
outline: none;
border-color: #1a5fb4;
}
.drawer-wrapup-inline-cta {
padding: 12px 20px;
border-radius: 22px;
font-size: 0.95em;
font-weight: 600;
cursor: pointer;
border: none;
font-family: inherit;
background: #34c759;
color: #fff;
transition: transform 0.12s ease, background 0.15s ease;
align-self: flex-start;
}
.drawer-wrapup-inline-cta:hover {
background: #2db84e;
}
.drawer-wrapup-inline-cta:active {
transform: scale(0.98);
}
.drawer-wrapup-inline-just-in {
animation: drawer-reminder-in 0.35s ease;
}
.drawer-bubble-delayed[hidden] {
display: none !important;
}
.drawer-bubble-just-in {
animation: drawer-reminder-in 0.35s ease;
}
.drawer-draft-followup-wrap {
margin-top: 16px;
}
.drawer-draft-followup-note-block {
display: flex;
justify-content: flex-end;
margin-bottom: 16px;
}
.drawer-note-sticky-input {
display: block;
position: relative;
width: 100%;
max-width: 280px;
padding: 18px 20px 22px;
background: linear-gradient(180deg, #fffde7 0%, #fff9c4 45%, #fff59d 100%);
border-radius: 2px;
box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);
transform: rotate(0.8deg);
}
.drawer-note-sticky-input::before {
content: '';
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
width: 50%;
height: 14px;
background: rgba(255, 255, 255, 0.65);
border-radius: 1px;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.drawer-note-sticky-label {
display: block;
font-size: 0.8em;
font-weight: 600;
color: #5d4037;
margin-bottom: 8px;
position: relative;
z-index: 1;
}
.drawer-note-sticky-textarea {
display: block;
width: 100%;
min-height: 100px;
padding: 10px 12px;
border: none;
border-radius: 2px;
background: rgba(255, 255, 255, 0.5);
font-size: 0.95em;
font-family: inherit;
line-height: 1.4;
resize: vertical;
color: #3e2723;
position: relative;
z-index: 1;
}
.drawer-note-sticky-textarea::placeholder {
color: #6d4c41;
opacity: 0.8;
}
.drawer-note-sticky-textarea:focus {
outline: none;
background: rgba(255, 255, 255, 0.85);
box-shadow: 0 0 0 2px rgba(93, 64, 55, 0.25);
}
.drawer-draft-followup-cta-block {
display: flex;
justify-content: flex-start;
}
.drawer-draft-followup-cta-block.drawer-draft-followup-cta-staggered {
opacity: 0;
transition: opacity 0.35s ease;
}
.drawer-draft-followup-cta-block.drawer-draft-followup-cta-staggered.drawer-draft-followup-cta-visible {
opacity: 1;
}
.drawer-draft-followup-btn {
padding: 12px 20px;
border-radius: 22px;
font-size: 0.95em;
font-weight: 600;
cursor: pointer;
border: none;
font-family: inherit;
background: #34c759;
color: #fff;
transition: transform 0.12s ease, background 0.15s ease;
}
.drawer-draft-followup-btn:hover {
background: #2db84e;
}
.drawer-draft-followup-btn:active {
transform: scale(0.98);
}
.drawer-draft-followup-btn.drawer-draft-followup-link-loading {
opacity: 0.8;
pointer-events: none;
}
.drawer-voicemail-reminder-just-in {
animation: drawer-reminder-in 0.35s ease;
}
@keyframes drawer-reminder-in {
from {
opacity: 0;
transform: translateY(6px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.drawer-voicemail-reminder {
margin-top: 12px;
padding: 10px 14px;
background: #f5f5f7;
border-radius: 12px;
font-size: 0.9em;
color: #333;
}
.drawer-reminder-link {
color: #1a5fb4;
font-weight: 500;
text-decoration: underline;
text-underline-offset: 2px;
}
.drawer-reminder-link:hover {
color: #0d4a8f;
}
.drawer-reminder-or {
color: #8e8e93;
margin: 0 4px;
}
.drawer-voicemail-outcome {
margin-top: 8px;
}
/* iMessage-style chat bubbles */
.drawer-chat {
display: flex;
flex-direction: column;
gap: 8px;
margin-top: 4px;
}
.drawer-chat[hidden] {
display: none !important;
}
.drawer-call-content {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.chat-bubble {
max-width: 88%;
padding: 10px 14px;
border-radius: 18px;
font-size: 0.92em;
line-height: 1.55;
position: relative;
word-break: break-word;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.chat-bubble strong {
font-weight: 700;
}
.chat-label {
display: block;
font-size: 0.7em;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.04em;
margin-bottom: 3px;
}
/* You = single blue for all your bubbles, high contrast white text */
.chat-you {
background: #0070e0;
color: #fff;
align-self: flex-end;
border-bottom-right-radius: 4px;
}
.chat-you .chat-label {
color: #fff;
opacity: 0.9;
}
.chat-you strong {
color: #fff;
font-weight: 700;
}
/* Staffer = gray bubble, dark text for readability */
.chat-them {
background: #ebebf0;
color: #1a1a1a;
align-self: flex-start;
border-bottom-left-radius: 4px;
}
.chat-them .chat-label {
color: #333;
}
.chat-branch {
font-style: italic;
font-size: 0.88em;
}
.chat-branch .chat-label {
font-style: normal;
}
/* Wrap Up panel — centered modal overlay over everything */
.drawer-wrapup-panel {
position: fixed;
inset: 0;
z-index: 10001;
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
box-sizing: border-box;
opacity: 0;
visibility: hidden;
pointer-events: none;
transition: opacity 0.3s ease, visibility 0.3s ease;
}
.drawer-wrapup-panel.drawer-wrapup-panel-visible {
opacity: 1;
visibility: visible;
pointer-events: auto;
}
.drawer-wrapup-backdrop {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.45);
}
.drawer-wrapup-panel-inner {
position: relative;
z-index: 1;
width: 100%;
max-width: 380px;
transform: translateY(10px);
transition: transform 0.3s ease;
}
.drawer-wrapup-panel.drawer-wrapup-panel-visible .drawer-wrapup-panel-inner {
transform: translateY(0);
}
/* End Call button — full-width red with phone icon */
.drawer-end-call-btn {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
width: 100%;
padding: 14px 20px;
margin-top: 20px;
border: none;
border-radius: 14px;
background: #ff3b30;
color: #fff;
font-size: 1em;
font-weight: 600;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
cursor: pointer;
transition: background 0.15s ease;
}
.drawer-end-call-btn:hover {
background: #e0332b;
}
.drawer-end-call-btn:active {
background: #cc2d27;
}
.drawer-end-call-btn svg {
flex-shrink: 0;
transform: rotate(135deg);
}
/* Wrap-up CTA area */
.drawer-wrapup-ctas {
display: flex;
flex-direction: column;
gap: 10px;
}
.drawer-wrapup-alt-ctas[hidden] {
display: none !important;
}
.drawer-wrapup-alt-ctas {
display: flex;
flex-direction: column;
gap: 10px;
}
.drawer-wrapup-cta-reminder {
text-decoration: none;
text-align: center;
background: #248a3d !important;
}
.drawer-wrapup-cta-reminder:hover {
background: #1e7a33 !important;
}
.drawer-wrapup-cta-secondary {
width: 100%;
padding: 13px 20px;
border: 1px solid #c6c6c8;
border-radius: 12px;
background: #f2f2f7;
color: #1c1c1e;
font-size: 0.95em;
font-weight: 600;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
cursor: pointer;
transition: background 0.15s ease;
}
.drawer-wrapup-cta-secondary:hover {
background: #e5e5ea;
}
/* Reminder modal: date/time + Google Calendar / email / copy link */
.reminder-modal {
position: fixed;
inset: 0;
z-index: 10002;
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
}
.reminder-modal[hidden] {
display: none !important;
}
.reminder-modal-backdrop {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.4);
}
.reminder-modal-card {
position: relative;
background: #fff;
border-radius: 16px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
padding: 24px;
max-width: 400px;
width: 100%;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.reminder-modal-title {
font-size: 1.25em;
margin: 0 0 8px;
color: #1c1c1e;
}
.reminder-modal-hint {
font-size: 0.9em;
color: #8e8e93;
margin: 0 0 18px;
line-height: 1.4;
}
.reminder-modal-fields {
display: flex;
flex-direction: column;
gap: 14px;
margin-bottom: 16px;
}
.reminder-modal-row {
display: flex;
flex-direction: column;
gap: 4px;
}
.reminder-modal-label {
font-size: 0.85em;
font-weight: 600;
color: #3a3a3c;
}
.reminder-modal-input {
padding: 10px 12px;
border: 1px solid #c6c6c8;
border-radius: 10px;
font-size: 1em;
}
.reminder-link-preview {
font-size: 0.8em;
color: #8e8e93;
margin: 0 0 18px;
word-break: break-all;
}
.reminder-modal-ctas {
display: flex;
flex-direction: column;
gap: 10px;
}
.reminder-modal-btn {
padding: 12px 18px;
border-radius: 12px;
font-size: 0.95em;
font-weight: 600;
cursor: pointer;
border: none;
font-family: inherit;
transition: background 0.15s ease;
}
.reminder-modal-btn-primary {
background: #248a3d;
color: #fff;
}
.reminder-modal-btn-primary:hover {
background: #1e7a33;
}
.reminder-modal-btn-secondary {
background: #f2f2f7;
color: #1c1c1e;
}
.reminder-modal-btn-secondary:hover {
background: #e5e5ea;
}
.reminder-modal-btn-ghost {
background: transparent;
color: #8e8e93;
}
.reminder-modal-btn-ghost:hover {
background: #f2f2f7;
}
/* Outcome step (legacy — kept for voicemail outcome if needed) */
.drawer-outcome-step {
margin-top: 20px;
padding: 16px;
background: #fff;
border: 1px solid #c6c6c8;
border-radius: 14px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
text-align: center;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.drawer-outcome-step.drawer-outcome-chosen {
opacity: 0.5;
pointer-events: none;
transition: opacity 0.3s ease;
}
.drawer-outcome-question {
margin: 0 0 14px;
font-size: 0.95em;
font-weight: 600;
color: #1c1c1e;
}
.drawer-outcome-btns {
display: flex;
gap: 10px;
}
.drawer-outcome-btn {
flex: 1;
padding: 12px 10px;
border: none;
border-radius: 12px;
font-size: 0.9em;
font-weight: 600;
cursor: pointer;
transition: background-color 0.2s ease, opacity 0.2s ease;
-webkit-appearance: none;
appearance: none;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.drawer-outcome-btn-yes {
background: #25D366;
/* WhatsApp-style light green */
color: #fff;
}
.drawer-outcome-btn-yes:hover {
background: #20bd5a;
}
.drawer-outcome-btn-no {
background: #f2f2f7;
color: #1c1c1e;
border: 1px solid #c6c6c8;
}
.drawer-outcome-btn-no:hover {
background: #e5e5ea;
}
/* No-answer screen */
.drawer-no-answer-content {
padding: 8px 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.drawer-no-answer-card {
padding: 16px;
background: #fff;
border: 1px solid #c6c6c8;
border-radius: 14px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
margin-bottom: 16px;
}
.drawer-no-answer-headline {
margin: 0 0 12px;
font-size: 1.05em;
font-weight: 600;
color: #1c1c1e;
}
.drawer-no-answer-steps {
margin: 0;
padding-left: 20px;
font-size: 0.92em;
line-height: 1.6;
color: #3c3c43;
}
.drawer-no-answer-steps li {
margin-bottom: 8px;
}
.drawer-no-answer-steps li:last-child {
margin-bottom: 0;
}
.drawer-no-answer-actions {
display: flex;
flex-direction: column;
gap: 10px;
}
.drawer-no-answer-cta {
width: 100%;
padding: 14px 20px;
border-radius: 12px;
font-size: 1em;
font-weight: 600;
}
.drawer-no-answer-actions .drawer-btn-secondary {
width: 100%;
padding: 12px 20px;
border-radius: 12px;
font-size: 0.95em;
}
/* Fade in/out blue border to indicate "type here" — only one field pulses at a time (see JS) */
@keyframes drawer-capture-pulse {
0%,
100% {
box-shadow: 0 0 0 2px rgba(0, 112, 224, 0);
}
50% {
box-shadow: 0 0 0 2px rgba(0, 112, 224, 0.55);
}
}
/* Phone pill: ring + pulse to draw attention without words */
@keyframes phone-pill-ring {
0%,
100% {
transform: scale(1);
}
15% {
transform: scale(1.04);
}
30% {
transform: scale(1);
}
45% {
transform: scale(1.03);
}
60%,
100% {
transform: scale(1);
}
}
@keyframes phone-pill-pulse {
0%,
100% {
box-shadow: 0 0 0 0 rgba(36, 138, 61, 0.45);
}
50% {
box-shadow: 0 0 0 12px rgba(36, 138, 61, 0);
}
}
.drawer-capture-input.drawer-capture-pulse {
animation: drawer-capture-pulse 2.25s ease-in-out infinite;
}
.drawer-capture-input:focus,
.drawer-capture-input.drawer-capture-pulse:focus {
animation: none;
box-shadow: 0 0 0 2px rgba(34, 197, 94, var(--drawer-focus-green-opacity, 0.45));
transition: box-shadow 0.4s ease, background 0.25s ease;
}
/* iOS/iMessage-style email capture — right-aligned, ~75% width */
.drawer-email-capture-wrap {
margin: 10px 0 12px;
padding: 0 4px;
margin-left: auto;
width: 75%;
max-width: 75%;
}
.drawer-email-capture {
width: 100%;
box-sizing: border-box;
padding: 12px 16px;
font-size: 0.95em;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
color: #1c1c1e;
background: #ebebf0;
border: none;
border-radius: 20px;
outline: none;
-webkit-appearance: none;
appearance: none;
transition: box-shadow 0.4s ease, background 0.25s ease;
}
.drawer-email-capture::placeholder {
color: #8e8e93;
}
.drawer-email-capture:focus {
background: #ebebf0;
}
/* Name capture under "wrap up" — right-aligned, ~75% width */
.drawer-name-capture-wrap {
margin: 10px 0 12px;
padding: 0 4px;
margin-left: auto;
width: 75%;
max-width: 75%;
}
.drawer-name-capture {
width: 100%;
box-sizing: border-box;
padding: 12px 16px;
font-size: 0.95em;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
color: #1c1c1e;
background: #ebebf0;
border: none;
border-radius: 20px;
outline: none;
-webkit-appearance: none;
appearance: none;
transition: box-shadow 0.4s ease, background 0.25s ease;
}
.drawer-name-capture::placeholder {
color: #8e8e93;
}
.drawer-name-capture:focus {
background: #ebebf0;
}
/* Email saved — blue pill with checkmark (replaces input once typed); click to edit */
.drawer-email-saved {
display: none;
margin: 10px 0 12px;
padding: 0 4px;
cursor: pointer;
text-align: right;
}
.drawer-email-capture-wrap.drawer-email-saved-visible .drawer-email-capture {
display: none;
}
.drawer-email-capture-wrap.drawer-email-saved-visible .drawer-email-saved {
display: block;
}
.drawer-email-saved-pill {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 10px 16px 10px 14px;
background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
color: #0d47a1;
border-radius: 20px;
font-size: 0.95em;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
border: 1px solid rgba(13, 71, 161, 0.25);
}
.drawer-email-saved-check {
display: inline-flex;
align-items: center;
justify-content: center;
width: 20px;
height: 20px;
background: #1565c0;
color: #fff;
border-radius: 50%;
font-size: 0.75em;
font-weight: 700;
line-height: 1;
}
.drawer-email-saved-text {
font-weight: 500;
word-break: break-all;
}
/* Name saved — minimal contact card (replaces input once typed); click to edit */
.drawer-name-saved {
display: none;
margin: 10px 0 12px;
padding: 0 4px;
cursor: pointer;
text-align: right;
}
.drawer-name-capture-wrap.drawer-name-saved-visible .drawer-name-capture {
display: none;
}
.drawer-name-capture-wrap.drawer-name-saved-visible .drawer-name-saved {
display: block;
}
.drawer-contact-card {
display: inline-flex;
align-items: center;
gap: 12px;
padding: 10px 14px 10px 12px;
background: linear-gradient(180deg, #f4f4f7 0%, #e8e8ec 28%, #e0e0e5 50%, #e4e4e9 78%, #ebebef 100%);
border: 1px solid rgba(0, 0, 0, 0.08);
border-radius: 12px;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 1px 3px rgba(0, 0, 0, 0.08);
max-width: 100%;
}
.drawer-contact-card-icon {
font-size: 1.25em;
line-height: 1;
opacity: 0.75;
}
.drawer-contact-card-body {
display: flex;
flex-direction: column;
gap: 2px;
min-width: 0;
}
.drawer-contact-card-label {
font-size: 0.7em;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
color: #8e8e93;
}
.drawer-contact-card-name {
font-size: 0.95em;
font-weight: 500;
color: #1c1c1e;
}
/* Sticky note — reserved for user notes (actual notes the user wants to take). Reuse .drawer-note-sticky when adding a notes feature. */
.drawer-note-sticky {
display: inline-block;
position: relative;
padding: 14px 20px 18px;
background: linear-gradient(180deg, #fffde7 0%, #fff9c4 50%, #fff59d 100%);
color: #5d4037;
font-family: "Caveat", "Comic Sans MS", "Segoe Print", cursive;
font-size: 1.35em;
font-weight: 600;
line-height: 1.3;
border-radius: 2px;
box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);
transform: rotate(-1.2deg);
max-width: 100%;
}
.drawer-note-sticky::before {
content: '';
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
width: 40%;
height: 12px;
background: rgba(255, 255, 255, 0.7);
border-radius: 1px;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.drawer-note-sticky-text {
position: relative;
z-index: 1;
}
/* Divider line between sections */
.chat-divider {
display: flex;
align-items: center;
gap: 10px;
margin: 6px 0;
}
.chat-divider::before,
.chat-divider::after {
content: '';
flex: 1;
border-top: 1px solid #ddd;
}
.chat-divider span {
font-size: 0.72em;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.06em;
color: #999;
white-space: nowrap;
}
/* iOS-style Wrap Up card */
.drawer-wrapup-card {
position: relative;
margin-top: 0;
padding: 16px;
background: #fff;
border: 1px solid #c6c6c8;
border-radius: 14px;
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.drawer-wrapup-title {
margin: 0 0 12px;
font-size: 0.85em;
font-weight: 600;
color: #6d6d72;
text-transform: uppercase;
letter-spacing: 0.04em;
}
.drawer-interest-row {
margin-bottom: 14px;
}
.drawer-interest-question {
margin: 0 0 8px;
font-size: 1em;
color: #1c1c1e;
}
.drawer-interest-pills {
display: flex;
flex-direction: column;
gap: 6px;
}
.drawer-interest-pill {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
padding: 12px 14px;
border-radius: 12px;
border: 1px solid transparent;
border-right: none;
font-size: 1.05em;
font-weight: 600;
cursor: pointer;
transition: background 0.35s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
text-align: left;
position: relative;
overflow: hidden;
}
.drawer-interest-pill:not(.poll-voted):hover {
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.drawer-interest-pill-label {
flex: 1;
position: relative;
z-index: 1;
}
.drawer-interest-pill-dot {
width: 22px;
height: 22px;
border-radius: 50%;
border: 2px solid currentColor;
opacity: 0.9;
flex-shrink: 0;
margin-left: 10px;
transition: background 0.2s, border-color 0.2s, opacity 0.2s;
position: relative;
z-index: 1;
}
.drawer-interest-pill[aria-pressed="true"] .drawer-interest-pill-dot {
background: currentColor;
opacity: 1;
border-color: transparent;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
background-size: 14px;
background-position: center;
background-repeat: no-repeat;
}
/* Poll results mode: pills become bar chart bars; fill animates via ::after */
.drawer-interest-pill.poll-voted {
cursor: default;
pointer-events: none;
transition: background 0.2s ease;
background: rgba(0, 0, 0, 0.03);
}
.drawer-interest-pill.poll-voted::after {
content: '';
position: absolute;
left: 0;
top: 0;
bottom: 0;
width: var(--pill-fill-pct, 0);
background: var(--pill-fill, transparent);
border-radius: inherit;
z-index: 0;
transition: width 1.2s ease-out 0.25s;
}
@media (prefers-reduced-motion: reduce) {
.drawer-interest-pill.poll-voted::after {
transition-duration: 0.2s;
transition-delay: 0.1s;
}
}
.drawer-interest-pill.poll-voted[aria-pressed="true"] {
border: 2px solid currentColor;
border-right: none;
}
.drawer-interest-pill-stats {
display: none;
align-items: center;
gap: 8px;
font-size: 1.05em;
font-weight: 700;
opacity: 0.95;
margin-left: 10px;
flex-shrink: 0;
position: relative;
z-index: 1;
border: none;
}
.drawer-interest-pill.poll-voted .drawer-interest-pill-stats {
display: flex;
}
.drawer-interest-pill.poll-voted .drawer-interest-pill-dot {
display: none;
}
.drawer-interest-pill-pct {
min-width: 2.5em;
text-align: right;
}
.drawer-interest-pill-count {
opacity: 0.7;
}
/* Interest poll pills: same semantic colors as results, full opacity; default and poll-voted use dark accent text */
.drawer-interest-pill-score-1 {
background: rgba(230, 57, 70, 0.28);
color: #C1121F;
}
.drawer-interest-pill-score-1:not(.poll-voted):hover {
background: rgba(230, 57, 70, 0.38);
}
.drawer-interest-pill-score-1[aria-pressed="true"]:not(.poll-voted) {
background: rgba(230, 57, 70, 0.28);
color: #C1121F;
border-color: #E63946;
}
.drawer-interest-pill-score-1.poll-voted {
color: #C1121F;
}
.drawer-interest-pill-score-1.poll-voted[aria-pressed="true"] {
color: #C1121F;
}
.drawer-interest-pill-score-2 {
background: rgba(249, 115, 22, 0.28);
color: #EA580C;
}
.drawer-interest-pill-score-2:not(.poll-voted):hover {
background: rgba(249, 115, 22, 0.38);
}
.drawer-interest-pill-score-2[aria-pressed="true"]:not(.poll-voted) {
background: rgba(249, 115, 22, 0.28);
color: #EA580C;
border-color: #F97316;
}
.drawer-interest-pill-score-2.poll-voted {
color: #EA580C;
}
.drawer-interest-pill-score-2.poll-voted[aria-pressed="true"] {
color: #EA580C;
}
.drawer-interest-pill-score-3 {
background: rgba(107, 114, 128, 0.22);
color: #4B5563;
}
.drawer-interest-pill-score-3:not(.poll-voted):hover {
background: rgba(107, 114, 128, 0.32);
}
.drawer-interest-pill-score-3[aria-pressed="true"]:not(.poll-voted) {
background: rgba(107, 114, 128, 0.22);
color: #4B5563;
border-color: #6B7280;
}
.drawer-interest-pill-score-3.poll-voted {
color: #4B5563;
}
.drawer-interest-pill-score-3.poll-voted[aria-pressed="true"] {
color: #4B5563;
}
.drawer-interest-pill-score-4 {
background: rgba(34, 197, 94, 0.28);
color: #15803D;
}
.drawer-interest-pill-score-4:not(.poll-voted):hover {
background: rgba(34, 197, 94, 0.38);
}
.drawer-interest-pill-score-4[aria-pressed="true"]:not(.poll-voted) {
background: rgba(34, 197, 94, 0.28);
color: #15803D;
border-color: #22C55E;
}
.drawer-interest-pill-score-4.poll-voted {
color: #15803D;
}
.drawer-interest-pill-score-4.poll-voted[aria-pressed="true"] {
color: #15803D;
}
.drawer-interest-pill-score-5 {
background: rgba(234, 179, 8, 0.32);
color: #A16207;
}
.drawer-interest-pill-score-5:not(.poll-voted):hover {
background: rgba(234, 179, 8, 0.42);
}
.drawer-interest-pill-score-5[aria-pressed="true"]:not(.poll-voted) {
background: rgba(234, 179, 8, 0.32);
color: #A16207;
border-color: #EAB308;
text-shadow: none;
}
.drawer-interest-pill-score-5[aria-pressed="true"]:not(.poll-voted) .drawer-interest-pill-dot {
background-color: #92400E;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
}
.drawer-interest-pill-score-5.poll-voted {
color: #A16207;
text-shadow: none;
}
.drawer-interest-pill-score-5.poll-voted[aria-pressed="true"] {
color: #A16207;
text-shadow: none;
}
/* 0% bars: slightly subdued so they're visible but clearly empty */
.drawer-interest-pill.poll-voted.poll-bar-zero {
opacity: 0.78;
}
.drawer-wrapup-interest.drawer-interest-row {
margin-bottom: 16px;
}
/* Interest poll: bubble styling and results area (reference: clean question + stacked pills) */
.drawer-interest-poll-bubble .chat-label {
font-size: 0.75em;
color: #6d6d72;
text-transform: uppercase;
letter-spacing: 0.04em;
display: block;
margin-bottom: 4px;
}
.drawer-interest-poll-bubble .drawer-interest-question {
margin-bottom: 12px;
font-size: 0.95em;
color: #1c1c1e;
line-height: 1.35;
}
.drawer-interest-poll-results {
margin-top: 12px;
padding: 10px 12px;
border-radius: 10px;
font-size: 0.88em;
line-height: 1.4;
min-height: 2.5em;
}
.drawer-interest-poll-results[hidden] {
display: none !important;
}
.drawer-interest-poll-results.poll-zero {
background: #f0f9ff;
border: 1px solid #bae6fd;
color: #0369a1;
}
.drawer-interest-poll-results.poll-has-results {
background: #f8fafc;
border: 1px solid #e2e8f0;
color: #334155;
}
.drawer-interest-poll-results .poll-zero-title {
font-weight: 700;
display: block;
margin-bottom: 2px;
}
.drawer-interest-poll-results .poll-breakdown {
margin-top: 6px;
display: flex;
flex-wrap: wrap;
gap: 8px;
align-items: center;
}
.drawer-interest-poll-results .poll-breakdown-item {
display: inline-flex;
align-items: center;
gap: 4px;
font-size: 0.95em;
}
.drawer-interest-poll-results .poll-breakdown-count {
font-weight: 700;
color: #1e293b;
}
.drawer-wrapup-rows {
display: flex;
flex-direction: column;
gap: 0;
margin-bottom: 16px;
background: #f2f2f7;
border-radius: 10px;
overflow: hidden;
border: 1px solid #e5e5ea;
}
.drawer-wrapup-row {
display: flex;
align-items: center;
justify-content: space-between;
min-height: 44px;
padding: 0 14px;
gap: 12px;
cursor: text;
background: #fff;
border-bottom: 1px solid #e5e5ea;
transition: background-color 0.2s ease;
}
.drawer-wrapup-row:last-child {
border-bottom: none;
}
.drawer-wrapup-row:focus-within {
background: #f9f9f9;
}
.drawer-wrapup-label {
font-size: 0.92em;
color: #1c1c1e;
flex-shrink: 0;
}
.drawer-wrapup-input {
flex: 1;
min-width: 0;
border: none;
background: transparent;
font-size: 0.92em;
color: #1c1c1e;
text-align: right;
padding: 10px 0;
}
.drawer-wrapup-input::placeholder {
color: #8e8e93;
}
.drawer-wrapup-input:focus {
outline: none;
}
.drawer-wrapup-note-block {
margin-bottom: 16px;
}
.drawer-wrapup-note-label {
display: block;
font-size: 0.92em;
color: #1c1c1e;
margin-bottom: 6px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.drawer-wrapup-textarea {
width: 100%;
min-height: 72px;
padding: 10px 12px;
border: 1px solid #e5e5ea;
border-radius: 10px;
background: #f2f2f7;
font-size: 0.92em;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
color: #1c1c1e;
resize: vertical;
box-sizing: border-box;
}
.drawer-wrapup-textarea::placeholder {
color: #8e8e93;
}
.drawer-wrapup-textarea:focus {
outline: none;
border-color: #0070e0;
background: #fff;
}
.drawer-wrapup-cta {
width: 100%;
padding: 14px 20px;
border-radius: 12px;
font-size: 1em;
font-weight: 600;
border: none;
background: #0070e0;
color: #fff;
cursor: pointer;
transition: background-color 0.2s ease, opacity 0.2s ease;
-webkit-appearance: none;
appearance: none;
}
.drawer-wrapup-cta:hover {
background: #005bb5;
}
.drawer-wrapup-cta:active {
opacity: 0.9;
}
