:root { --primary: #002F6D; --accent: #c9ac6f; --bg: #E5E0D8; --error: #ef4444; }
* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', system-ui, sans-serif; }
body { background-color: var(--bg); min-height: 100vh; display: flex; flex-direction: column; align-items: center; }

.site-header { width: 100%; padding: 15px 50px; background: linear-gradient(135deg, #002f6d 0%, #001f4a 100%); border-bottom: 4px solid var(--accent); display: flex; align-items: center; justify-content: center; gap: 15px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.site-header h1 { color: #ffffff; font-size: 1.1rem; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; }
.main-content { flex: 1; display: flex; align-items: center; justify-content: center; width: 100%; padding: 20px; }

.wizard-container { width: 600px !important; height: 650px !important; min-width: 550px !important; min-height: 350px !important; background: #ffffff; border-radius: 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-top: 8px solid var(--primary); overflow: hidden; display: flex; flex-direction: column; }
.progress-track { height: 6px; background: #eef2f5; width: 100%; flex-shrink: 0; }
.progress-bar { height: 100%; background: var(--accent); width: 15%; transition: 0.4s ease; }
.form-window { flex: 1; display: block; width: 100%; position: relative; overflow: hidden; }
.form-step { padding: 24px 40px 10px 40px; display: none; animation: fadeIn 0.3s ease-in; text-align: center; height: 100%; box-sizing: border-box; flex-direction: column; align-items: center; justify-content: flex-start; }
.form-step.active { display: flex; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.compliance-icon { font-size: 3rem; color: var(--primary); margin-bottom: 10px; }
h2 { color: var(--primary); font-size: 1.35rem; margin-top: 0; margin-bottom: 4px; width: 100%; }
p.step-instruction { color: #64748b; font-size: 0.88rem; margin-top: 0; margin-bottom: 16px; max-width: 480px; }

input[type="text"], textarea, .custom-component-wrapper { width: 480px !important; max-width: 480px !important; min-width: 480px !important; margin: 4px auto !important; text-align: left; }
input[type="text"], textarea { padding: 12px 16px; border: 1.5px solid #E2E8F0; border-radius: 12px; background: #F8FAFC; transition: 0.3s; font-size: 0.9rem; color: #334155; display: block; }
input:focus, textarea:focus { border-color: var(--accent); outline: none; background: #fff; box-shadow: 0 0 0 4px rgba(201, 172, 111, 0.15); }

.disclaimer-box { background: #f8fafc; border: 1px solid #e2e8f0; padding: 15px; border-radius: 12px; font-size: 0.8rem; color: #475569; text-align: left; margin: 10px auto; max-height: 200px; overflow-y: auto; }
.checkbox-container { margin: 15px auto; font-size: 0.85rem; color: #334155; cursor: pointer; display: flex; align-items: center; gap: 10px; }
.choice-group { display: flex; gap: 20px; justify-content: center; margin: 10px 0; }

.field-error { border-color: var(--error) !important; background-color: #fff5f5 !important; animation: shake 0.4s ease-in-out !important; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.custom-component-wrapper { position: relative; display: block; margin-top: 8px !important; }
.interactive-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 12px 42px; border: 1.5px solid #E2E8F0; border-radius: 12px; background: #F8FAFC; cursor: pointer; transition: 0.3s; font-size: 0.9rem; color: #64748b; font-weight: 500; position: relative; width: 100%; }
.interactive-header i.lead-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--primary); font-size: 1.05rem; }
.interactive-header i.action-icon { color: var(--primary); transition: transform 0.3s ease; font-size: 0.85rem; }
.custom-component-wrapper.open .interactive-header { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(201, 172, 111, 0.15); color: #334155; }
.custom-component-wrapper.open .interactive-header i.action-icon { transform: rotate(180deg); }
.dropdown-menu-panel { position: absolute; top: calc(100% + 6px); left: 0; width: 480px !important; background: #ffffff; border: 1.5px solid #c9ac6f; border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); display: none; z-index: 100; animation: fadeIn 0.2s ease; overflow: hidden; }
.custom-component-wrapper.open .dropdown-menu-panel { display: block; }
.category-item { padding: 10px 14px; border-radius: 8px; cursor: pointer; font-size: 0.9rem; color: #334155; transition: 0.2s; display: flex; align-items: center; justify-content: space-between; }
.category-item:hover { background: rgba(0, 47, 109, 0.06); color: var(--primary); }

.calendar-container-inner { padding: 10px; width: 100%; }
.calendar-ctrl { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.calendar-ctrl span { font-weight: 700; color: var(--primary); font-size: 0.88rem; }
.calendar-ctrl button { background: none; border: none; color: var(--primary); cursor: pointer; padding: 4px 10px; border-radius: 6px; }
.calendar-days { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.calendar-day { padding: 8px 0; font-size: 0.8rem; border-radius: 6px; cursor: pointer; transition: 0.2s; }
.calendar-day:hover:not(.empty):not(.disabled) { background: rgba(0, 47, 109, 0.06); color: var(--primary); }
.calendar-day.selected { background: var(--primary) !important; color: white !important; }
.calendar-day.empty { cursor: default; }
.calendar-day.disabled { color: #cbd5e1; cursor: not-allowed; background: transparent; }

.file-drop-zone { border: 2px dashed #cbd5e1; padding: 24px; border-radius: 12px; cursor: pointer; color: #64748b; width: 480px; max-width: 100%; transition: 0.3s; margin: 4px auto; display: none; }
.file-drop-zone.visible { display: block; }
.file-drop-zone:hover { border-color: var(--primary); background: #f1f5f9; }

.review-list { width: 100%; list-style: none; text-align: left; margin-top: 10px; padding: 0 40px; }
.review-item { padding: 12px; border-bottom: 1px solid #e2e8f0; cursor: pointer; transition: 0.2s; border-radius: 8px; }
.review-item:hover { background: #f8fafc; }
.review-item strong { display: block; color: var(--primary); font-size: 0.75rem; text-transform: uppercase; }
.review-item span { color: #334155; font-size: 0.9rem; }

.wizard-footer { padding: 16px 40px; background: #F8FAFC; display: flex; justify-content: space-between; align-items: center; width: 100%; border-top: 1px solid #e2e8f0; }
.btn { padding: 10px 24px; border-radius: 10px; border: none; cursor: pointer; font-weight: 600; font-size: 0.9rem; }
.btn-next { background: var(--primary); color: white; }
.btn-prev { background: #e2e8f0; color: #475569; }
.site-footer { padding: 16px; background-color: #c9ac6f; color: #002F6D; font-weight: 700; font-size: 0.85rem; text-align: center; width: 100%; margin-top: auto; }
.success-box { text-align: center; padding: 40px; display: flex; flex-direction: column; justify-content: center; align-items: center; height: 100%; }
.success-box i { font-size: 3.5rem; color: #22c55e; margin-bottom: 20px; }