:root {
--wpws-primary: #2563eb;
--wpws-button: #16a34a;
--wpws-form-bg: #ffffff;
--wpws-text: #1f2937;
}
.wpws-form-wrapper {
max-width: 720px;
margin: 0 auto;
padding: 20px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
}
.wpws-form-header {
text-align: center;
margin-bottom: 32px;
}
.wpws-form-logo {
max-width: 180px;
height: auto;
margin-bottom: 16px;
}
.wpws-form-header h2 {
color: var(--wpws-text);
font-size: 28px;
font-weight: 700;
margin: 0 0 8px;
}
.wpws-form-header p {
color: #6b7280;
font-size: 15px;
margin: 0;
} #wpws-waiver-form {
background: var(--wpws-form-bg);
border-radius: 12px;
box-shadow: 0 4px 24px rgba(0,0,0,0.08);
overflow: hidden;
}
.wpws-form-section {
padding: 28px 32px;
border-bottom: 1px solid #e5e7eb;
}
.wpws-form-section:last-child {
border-bottom: none;
}
.wpws-form-section h3 {
font-size: 18px;
font-weight: 600;
color: var(--wpws-text);
margin: 0 0 20px;
padding-bottom: 12px;
border-bottom: 2px solid var(--wpws-primary);
display: inline-block;
} .wpws-field-group {
margin-bottom: 18px;
}
.wpws-field-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px;
}
.wpws-field-group label {
display: block;
font-size: 14px;
font-weight: 600;
color: var(--wpws-text);
margin-bottom: 6px;
}
.wpws-field-group label .wpws-required {
color: #dc2626;
margin-left: 2px;
}
.wpws-field-group input[type="text"],
.wpws-field-group input[type="email"],
.wpws-field-group input[type="tel"],
.wpws-field-group input[type="date"],
.wpws-field-group input[type="number"],
.wpws-field-group textarea,
.wpws-field-group select {
width: 100%;
padding: 12px 14px;
border: 2px solid #d1d5db;
border-radius: 8px;
font-size: 15px;
color: var(--wpws-text);
background: #fff;
transition: border-color 0.2s, box-shadow 0.2s;
box-sizing: border-box;
}
.wpws-field-group input:focus,
.wpws-field-group textarea:focus,
.wpws-field-group select:focus {
outline: none;
border-color: var(--wpws-primary);
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.wpws-field-group textarea {
resize: vertical;
min-height: 80px;
} .wpws-waiver-text-section {
background: #f9fafb;
}
#wpws-waiver-text-scroll {
max-height: 500px;
overflow-y: auto;
padding: 24px 28px;
background: #fff;
border: 2px solid #e5e7eb;
border-radius: 8px;
font-size: 14px;
line-height: 1.7;
color: #374151;
position: relative;
}
#wpws-waiver-text-scroll strong {
color: #111827;
display: inline-block;
margin-top: 8px;
}
#wpws-waiver-text-scroll em {
color: #991b1b;
font-style: italic;
}
#wpws-waiver-text-scroll hr {
border: none;
border-top: 2px solid #e5e7eb;
margin: 20px 0;
} .wpws-live-field {
display: inline-block;
min-width: 60px;
border-bottom: 1px solid #9ca3af;
padding: 0 4px;
color: #9ca3af;
font-style: italic;
transition: all 0.25s ease;
}
.wpws-live-field.wpws-live-filled {
color: #1d4ed8;
font-weight: 600;
font-style: normal;
border-bottom-color: #1d4ed8;
background: #eff6ff;
border-radius: 2px;
padding: 1px 6px;
}
.wpws-live-field[data-field="signature_line"] {
min-width: 200px;
min-height: 20px;
vertical-align: middle;
}
.wpws-live-field[data-field="signature_line"] img {
max-height: 50px;
max-width: 250px;
vertical-align: middle;
}
.wpws-live-field[data-field="full_name"],
.wpws-live-field[data-field="printed_name"] {
min-width: 180px;
}
.wpws-live-field[data-field="email"] {
min-width: 160px;
}
.wpws-live-field[data-field="address"],
.wpws-live-field[data-field="emergency_contact"] {
min-width: 220px;
}
#wpws-waiver-text-scroll.wpws-scrolled {
border-color: var(--wpws-primary);
}
#wpws-scroll-notice {
text-align: center;
padding: 10px;
background: #fef3c7;
border-radius: 6px;
margin-top: 10px;
font-size: 13px;
color: #92400e;
} .wpws-agreements-section {
padding: 0;
}
.wpws-agreement-item {
display: flex;
align-items: flex-start;
gap: 12px;
padding: 14px 0;
border-bottom: 1px solid #f3f4f6;
}
.wpws-agreement-item:last-child {
border-bottom: none;
}
.wpws-agreement-item input[type="checkbox"] {
width: 20px;
height: 20px;
margin-top: 2px;
flex-shrink: 0;
accent-color: var(--wpws-primary);
cursor: pointer;
}
.wpws-agreement-item label {
font-size: 14px;
line-height: 1.5;
color: var(--wpws-text);
cursor: pointer;
font-weight: 400 !important;
margin-bottom: 0 !important;
} .wpws-minor-toggle {
display: flex;
align-items: center;
gap: 12px;
padding: 14px 16px;
background: #eff6ff;
border-radius: 8px;
margin-bottom: 18px;
}
.wpws-minor-toggle input[type="checkbox"] {
width: 20px;
height: 20px;
accent-color: var(--wpws-primary);
}
.wpws-minor-toggle label {
font-weight: 600 !important;
margin-bottom: 0 !important;
}
#wpws-minor-fields {
display: none;
padding: 18px;
background: #f0f9ff;
border-radius: 8px;
border: 1px solid #bfdbfe;
}
.wpws-minor-entry {
padding: 14px 0;
border-bottom: 1px solid #bfdbfe;
margin-bottom: 4px;
}
.wpws-minor-entry:last-of-type {
border-bottom: none;
}
.wpws-minor-entry-header {
font-size: 14px;
font-weight: 700;
color: var(--wpws-primary);
margin-bottom: 10px;
display: flex;
align-items: center;
justify-content: space-between;
}
.wpws-remove-minor {
background: none;
border: 1px solid #dc2626;
color: #dc2626;
width: 26px;
height: 26px;
border-radius: 50%;
cursor: pointer;
font-size: 16px;
line-height: 1;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.2s;
}
.wpws-remove-minor:hover {
background: #fef2f2;
}
.wpws-add-minor-btn {
display: block;
width: 100%;
padding: 10px;
margin-top: 8px;
background: #fff;
border: 2px dashed #93c5fd;
border-radius: 8px;
color: var(--wpws-primary);
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: background 0.2s, border-color 0.2s;
}
.wpws-add-minor-btn:hover {
background: #eff6ff;
border-color: var(--wpws-primary);
} .wpws-signature-section {
text-align: center;
}
#wpws-signature-wrapper {
margin: 0 auto;
max-width: 100%;
}
#wpws-signature-canvas {
width: 100%;
height: 200px;
border: 2px dashed #d1d5db;
border-radius: 8px;
background: #fff;
cursor: crosshair;
touch-action: none;
}
#wpws-signature-canvas:hover {
border-color: var(--wpws-primary);
}
.wpws-signature-actions {
margin-top: 10px;
display: flex;
justify-content: space-between;
align-items: center;
}
.wpws-signature-hint {
font-size: 13px;
color: #9ca3af;
}
#wpws-clear-signature {
padding: 6px 16px;
border: 1px solid #d1d5db;
border-radius: 6px;
background: #fff;
color: #374151;
cursor: pointer;
font-size: 13px;
transition: background 0.2s;
}
#wpws-clear-signature:hover {
background: #f3f4f6;
} .wpws-submit-section {
text-align: center;
padding: 32px;
background: #f9fafb;
}
.wpws-submit-btn {
display: inline-block;
width: 100%;
max-width: 400px;
padding: 16px 48px;
background: #000000 !important;
color: #ffffff !important;
border: none;
border-radius: 100px !important;
font-size: 18px;
font-weight: 700;
cursor: pointer;
transition: background-color 0.2s, color 0.2s, transform 0.1s;
letter-spacing: 0.3px;
}
.wpws-submit-btn:hover {
background: #A0C800 !important;
color: #ffffff !important;
opacity: 1;
}
.wpws-submit-btn:active {
transform: scale(0.98);
}
.wpws-submit-btn:disabled {
opacity: 0.6;
cursor: not-allowed;
}
.wpws-submit-note {
margin-top: 12px;
font-size: 16px;
font-weight: 700;
color: #000000;
} .wpws-field-error {
color: #dc2626;
font-size: 13px;
margin-top: 4px;
padding: 4px 0;
}
.wpws-field-invalid {
border-color: #dc2626 !important;
}
.wpws-field-invalid input,
.wpws-field-invalid textarea {
border-color: #dc2626 !important;
}
.wpws-form-error {
background: #fef2f2;
border: 1px solid #fecaca;
color: #991b1b;
padding: 14px 20px;
border-radius: 8px;
margin: 16px 32px;
font-size: 14px;
}
#wpws-age-warning {
display: none;
background: #fef3c7;
border: 1px solid #fde68a;
color: #92400e;
padding: 12px 16px;
border-radius: 8px;
margin-top: 8px;
font-size: 13px;
} .wpws-success-message {
text-align: center;
padding: 60px 40px;
}
.wpws-success-icon {
width: 80px;
height: 80px;
background: #dcfce7;
color: #16a34a;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 40px;
margin: 0 auto 24px;
line-height: 1;
}
.wpws-success-message h2 {
font-size: 28px;
color: var(--wpws-text);
margin: 0 0 12px;
}
.wpws-success-message p {
font-size: 16px;
color: #6b7280;
} .wpws-qr-code {
text-align: center;
padding: 20px;
}
.wpws-qr-code img {
border: 4px solid #e5e7eb;
border-radius: 12px;
padding: 12px;
background: #fff;
}
.wpws-qr-code p {
margin-top: 10px;
font-size: 14px;
color: #6b7280;
} @media (max-width: 640px) {
.wpws-form-wrapper {
padding: 10px;
}
.wpws-form-section {
padding: 20px 18px;
}
.wpws-field-row {
grid-template-columns: 1fr;
gap: 0;
}
.wpws-form-header h2 {
font-size: 22px;
}
#wpws-signature-canvas {
height: 160px;
}
.wpws-submit-btn {
font-size: 16px;
padding: 14px 32px;
}
.wpws-submit-section {
padding: 24px 18px;
}
}