:root {
--wr-purple:     #534AB7;
--wr-purple-l:   #EEEDFE;
--wr-purple-d:   #3C3489;
--wr-teal:       #0F6E56;
--wr-teal-l:     #E1F5EE;
--wr-coral:      #993C1D;
--wr-coral-l:    #FAECE7;
--wr-amber:      #854F0B;
--wr-amber-l:    #FAEEDA;
--wr-gray:       #5F5E5A;
--wr-gray-l:     #F5F5F3;
--wr-white:      #ffffff;
--wr-border:     #dddbe8;
--wr-radius:     14px;
--wr-radius-sm:  8px;
--wr-shadow:     0 8px 40px rgba(0,0,0,.18);
--wr-font:       -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
} #wrsvp-overlay {
position: fixed;
inset: 0;
background: rgba(20, 18, 40, 0.72);
backdrop-filter: blur(4px);
-webkit-backdrop-filter: blur(4px);
z-index: 999990;
display: flex;
align-items: center;
justify-content: center;
padding: 16px;
animation: wrsvpFadeIn .25s ease;
}
@keyframes wrsvpFadeIn { from { opacity: 0; } to { opacity: 1; } } #wrsvp-modal {
background: var(--wr-white);
border-radius: var(--wr-radius);
box-shadow: var(--wr-shadow);
width: 100%;
max-width: 520px;
max-height: 92vh;
overflow-y: auto;
position: relative;
animation: wrsvpSlideUp .3s cubic-bezier(.22,1,.36,1);
font-family: var(--wr-font);
}
@keyframes wrsvpSlideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } } .wrsvp-modal-header {
padding: 28px 28px 0;
text-align: center;
}
.wrsvp-modal-header .wrsvp-hearts {
font-size: 28px;
margin-bottom: 12px;
display: block;
}
.wrsvp-modal-header h2 {
margin: 0 0 6px;
font-size: 22px;
font-weight: 700;
color: #1a1920;
line-height: 1.3;
}
.wrsvp-modal-header p {
margin: 0;
font-size: 14px;
color: var(--wr-gray);
line-height: 1.6;
} .wrsvp-dismiss {
position: absolute;
top: 14px;
right: 16px;
background: none;
border: none;
font-size: 20px;
color: var(--wr-gray);
cursor: pointer;
line-height: 1;
padding: 4px;
border-radius: 4px;
transition: color .15s;
}
.wrsvp-dismiss:hover { color: #1a1920; } .wrsvp-modal-body {
padding: 24px 28px 28px;
} .wrsvp-progress {
display: flex;
align-items: center;
gap: 0;
margin-bottom: 24px;
}
.wrsvp-progress-step {
display: flex;
flex-direction: column;
align-items: center;
flex: 1;
position: relative;
}
.wrsvp-progress-step:not(:last-child)::after {
content: '';
position: absolute;
top: 14px;
left: 50%;
width: 100%;
height: 2px;
background: var(--wr-border);
z-index: 0;
}
.wrsvp-progress-step.done:not(:last-child)::after,
.wrsvp-progress-step.active:not(:last-child)::after { background: var(--wr-purple); }
.wrsvp-progress-dot {
width: 28px;
height: 28px;
border-radius: 50%;
background: var(--wr-border);
border: 2px solid var(--wr-border);
display: flex;
align-items: center;
justify-content: center;
font-size: 11px;
font-weight: 700;
color: var(--wr-gray);
position: relative;
z-index: 1;
transition: all .2s;
}
.wrsvp-progress-step.done .wrsvp-progress-dot  { background: var(--wr-purple); border-color: var(--wr-purple); color: #fff; }
.wrsvp-progress-step.active .wrsvp-progress-dot { background: var(--wr-purple-l); border-color: var(--wr-purple); color: var(--wr-purple); }
.wrsvp-progress-label {
font-size: 10px;
color: var(--wr-gray);
margin-top: 4px;
text-align: center;
max-width: 56px;
line-height: 1.3;
}
.wrsvp-progress-step.active .wrsvp-progress-label { color: var(--wr-purple); font-weight: 600; } .wrsvp-panel { display: none; }
.wrsvp-panel.active { display: block; animation: wrsvpFadeIn .2s ease; } .wrsvp-field {
margin-bottom: 16px;
}
.wrsvp-field label {
display: block;
font-size: 13px;
font-weight: 600;
color: #2a2840;
margin-bottom: 5px;
}
.wrsvp-field label .wrsvp-required { color: var(--wr-coral); margin-left: 2px; }
.wrsvp-field input[type="text"],
.wrsvp-field input[type="email"],
.wrsvp-field input[type="tel"],
.wrsvp-field input[type="number"],
.wrsvp-field input[type="date"],
.wrsvp-field select,
.wrsvp-field textarea {
width: 100%;
padding: 10px 13px;
border: 1.5px solid var(--wr-border);
border-radius: var(--wr-radius-sm);
font-size: 14px;
color: #1a1920;
background: #fff;
box-sizing: border-box;
transition: border-color .15s, box-shadow .15s;
font-family: var(--wr-font);
}
.wrsvp-field input:focus,
.wrsvp-field select:focus,
.wrsvp-field textarea:focus {
outline: none;
border-color: var(--wr-purple);
box-shadow: 0 0 0 3px rgba(83,74,183,.12);
}
.wrsvp-field .wrsvp-helper { font-size: 12px; color: var(--wr-gray); margin-top: 4px; }
.wrsvp-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .wrsvp-radio-group, .wrsvp-checkbox-group { display: flex; flex-direction: column; gap: 8px; }
.wrsvp-radio-group label, .wrsvp-checkbox-group label {
display: flex; align-items: center; gap: 8px;
font-size: 14px; font-weight: 400; color: #2a2840; cursor: pointer;
}
.wrsvp-radio-group input, .wrsvp-checkbox-group input { width: auto; accent-color: var(--wr-purple); } .wrsvp-toggle-field { display: flex; gap: 10px; }
.wrsvp-toggle-btn {
flex: 1; padding: 10px; border: 1.5px solid var(--wr-border);
border-radius: var(--wr-radius-sm); background: #fff;
font-size: 14px; font-weight: 600; cursor: pointer; text-align: center;
color: var(--wr-gray); transition: all .15s;
}
.wrsvp-toggle-btn.selected { border-color: var(--wr-purple); background: var(--wr-purple-l); color: var(--wr-purple); }
.wrsvp-toggle-btn:hover:not(.selected) { border-color: var(--wr-purple); color: var(--wr-purple); } .wrsvp-attend-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0; }
.wrsvp-attend-btn {
padding: 16px; border: 2px solid var(--wr-border); border-radius: var(--wr-radius-sm);
background: #fff; font-size: 15px; font-weight: 600; cursor: pointer;
text-align: center; color: var(--wr-gray); transition: all .15s; line-height: 1.3;
}
.wrsvp-attend-btn .wrsvp-attend-icon { display: block; font-size: 26px; margin-bottom: 6px; }
.wrsvp-attend-btn.selected-yes { border-color: var(--wr-teal); background: var(--wr-teal-l); color: var(--wr-teal); }
.wrsvp-attend-btn.selected-no  { border-color: var(--wr-coral); background: var(--wr-coral-l); color: var(--wr-coral); } .wrsvp-info-screen { text-align: center; padding: 8px 0; }
.wrsvp-info-screen .wrsvp-couple { font-size: 22px; font-weight: 700; color: var(--wr-purple-d); margin-bottom: 4px; }
.wrsvp-info-screen .wrsvp-event-date { font-size: 15px; color: var(--wr-gray); margin-bottom: 4px; }
.wrsvp-info-screen .wrsvp-event-venue { font-size: 14px; color: var(--wr-gray); margin-bottom: 16px; }
.wrsvp-info-divider { border: none; border-top: 1px solid var(--wr-border); margin: 16px 0; }
.wrsvp-info-body { font-size: 14px; color: #2a2840; line-height: 1.7; text-align: left; }
.wrsvp-dress-code-box { background: var(--wr-purple-l); border-radius: var(--wr-radius-sm); padding: 12px 14px; margin-top: 14px; }
.wrsvp-dress-code-box strong { display: block; font-size: 12px; color: var(--wr-purple); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 2px; }
.wrsvp-dress-code-box span { font-size: 15px; font-weight: 600; color: var(--wr-purple-d); } .wrsvp-wish-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.wrsvp-wish-tab {
padding: 7px 14px; border: 1.5px solid var(--wr-border); border-radius: 20px;
font-size: 13px; font-weight: 600; cursor: pointer; color: var(--wr-gray);
background: #fff; transition: all .15s;
}
.wrsvp-wish-tab.active { border-color: var(--wr-purple); background: var(--wr-purple-l); color: var(--wr-purple); }
.wrsvp-wish-panel { display: none; }
.wrsvp-wish-panel.active { display: block; } .wrsvp-recorder { text-align: center; padding: 16px; background: var(--wr-gray-l); border-radius: var(--wr-radius-sm); }
.wrsvp-recorder-timer { font-size: 32px; font-weight: 700; color: var(--wr-purple); font-variant-numeric: tabular-nums; margin-bottom: 12px; }
.wrsvp-recorder-status { font-size: 12px; color: var(--wr-gray); margin-bottom: 12px; }
.wrsvp-recorder-preview { width: 100%; max-height: 220px; border-radius: var(--wr-radius-sm); display: none; margin-bottom: 10px; }
audio.wrsvp-recorder-preview { max-height: unset; } .wrsvp-hotel-cards { display: flex; flex-direction: column; gap: 10px; margin: 8px 0; }
.wrsvp-hotel-card {
border: 2px solid var(--wr-border); border-radius: var(--wr-radius-sm);
padding: 14px 16px; cursor: pointer; transition: all .15s;
display: flex; align-items: flex-start; gap: 12px;
}
.wrsvp-hotel-card:hover { border-color: var(--wr-purple); }
.wrsvp-hotel-card.selected { border-color: var(--wr-purple); background: var(--wr-purple-l); }
.wrsvp-hotel-card-radio { width: 18px; height: 18px; border: 2px solid var(--wr-border); border-radius: 50%; flex-shrink: 0; margin-top: 2px; display: flex; align-items: center; justify-content: center; transition: all .15s; }
.wrsvp-hotel-card.selected .wrsvp-hotel-card-radio { border-color: var(--wr-purple); background: var(--wr-purple); }
.wrsvp-hotel-card.selected .wrsvp-hotel-card-radio::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.wrsvp-hotel-card-name { font-size: 14px; font-weight: 600; color: #1a1920; margin-bottom: 2px; }
.wrsvp-hotel-card-location { font-size: 12px; color: var(--wr-gray); }
.wrsvp-hotel-card-link { font-size: 12px; color: var(--wr-purple); text-decoration: none; margin-top: 4px; display: inline-block; } .wrsvp-btn-row { display: flex; gap: 10px; margin-top: 20px; }
.wrsvp-btn {
flex: 1; padding: 12px 20px; border-radius: var(--wr-radius-sm);
font-size: 15px; font-weight: 600; cursor: pointer; border: none;
transition: all .15s; font-family: var(--wr-font);
}
.wrsvp-btn-primary { background: var(--wr-purple); color: #fff; }
.wrsvp-btn-primary:hover { background: var(--wr-purple-d); }
.wrsvp-btn-primary:disabled { background: #b0acd9; cursor: not-allowed; }
.wrsvp-btn-secondary { background: var(--wr-gray-l); color: var(--wr-gray); border: 1.5px solid var(--wr-border); flex: 0 0 auto; }
.wrsvp-btn-secondary:hover { background: var(--wr-border); }
.wrsvp-btn-record { background: #fff; border: 2px solid var(--wr-coral); color: var(--wr-coral); }
.wrsvp-btn-record.recording { background: var(--wr-coral); color: #fff; animation: wrsvpPulse 1.2s infinite; }
@keyframes wrsvpPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(153,60,29,.3); } 50% { box-shadow: 0 0 0 8px rgba(153,60,29,0); } } .wrsvp-outcome { text-align: center; padding: 12px 0 8px; }
.wrsvp-outcome-icon { font-size: 48px; margin-bottom: 10px; display: block; }
.wrsvp-outcome h3 { font-size: 18px; font-weight: 700; color: #1a1920; margin: 0 0 8px; }
.wrsvp-outcome p  { font-size: 14px; color: var(--wr-gray); line-height: 1.7; margin: 0 0 16px; }
.wrsvp-outcome-approved { color: var(--wr-teal); }
.wrsvp-outcome-pending  { color: var(--wr-amber); }
.wrsvp-outcome-notfound { color: var(--wr-purple); } .wrsvp-notice {
padding: 10px 14px; border-radius: var(--wr-radius-sm);
font-size: 13px; margin-bottom: 14px; display: none; line-height: 1.5;
}
.wrsvp-notice.error   { background: var(--wr-coral-l); color: var(--wr-coral); border: 1px solid #f5c4b3; }
.wrsvp-notice.success { background: var(--wr-teal-l);  color: var(--wr-teal);  border: 1px solid #9FE1CB; }
.wrsvp-notice.visible { display: block; } .wrsvp-thankyou { text-align: center; padding: 16px 0; }
.wrsvp-thankyou-icon { font-size: 52px; margin-bottom: 12px; display: block; }
.wrsvp-thankyou h3 { font-size: 20px; font-weight: 700; color: #1a1920; margin: 0 0 8px; }
.wrsvp-thankyou p  { font-size: 14px; color: var(--wr-gray); line-height: 1.7; margin: 0; } .wrsvp-closed { text-align: center; padding: 24px 0; }
.wrsvp-closed-icon { font-size: 40px; margin-bottom: 12px; display: block; }
.wrsvp-closed h3 { font-size: 18px; font-weight: 700; color: #1a1920; margin: 0 0 8px; }
.wrsvp-closed p  { font-size: 14px; color: var(--wr-gray); line-height: 1.6; margin: 0; } .wrsvp-consent-label {
display: flex; align-items: flex-start; gap: 10px;
background: var(--wr-purple-l); border-radius: var(--wr-radius-sm);
padding: 12px 14px; cursor: pointer; margin-top: 12px;
}
.wrsvp-consent-label input { margin-top: 2px; accent-color: var(--wr-purple); flex-shrink: 0; }
.wrsvp-consent-label span { font-size: 13px; color: var(--wr-purple-d); line-height: 1.5; } .wrsvp-spinner {
display: inline-block; width: 16px; height: 16px;
border: 2px solid rgba(255,255,255,.4); border-top-color: #fff;
border-radius: 50%; animation: wrsvpSpin .7s linear infinite; margin-right: 6px; vertical-align: middle;
}
@keyframes wrsvpSpin { to { transform: rotate(360deg); } } .wrsvp-singlepage-form .wrsvp-section-divider { border: none; border-top: 1px solid var(--wr-border); margin: 20px 0; }
.wrsvp-singlepage-form .wrsvp-section-title { font-size: 13px; font-weight: 700; color: var(--wr-purple); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; } @media (max-width: 540px) {
.wrsvp-modal-header, .wrsvp-modal-body { padding-left: 18px; padding-right: 18px; }
.wrsvp-field-row { grid-template-columns: 1fr; }
.wrsvp-attend-btns { grid-template-columns: 1fr 1fr; }
.wrsvp-progress-label { display: none; }
.wrsvp-btn-row { flex-direction: column; }
.wrsvp-btn-secondary { flex: 1; }
}