.demo-modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:9999;box-sizing:border-box;background:#00000080;justify-content:center;align-items:center;padding:20px;animation:.2s ease-out fadeIn;display:flex;position:fixed;inset:0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.demo-modal-container{overscroll-behavior:contain;background:#fff;border-radius:16px;width:100%;max-width:520px;max-height:calc(100dvh - 40px);animation:.3s ease-out slideUp;position:relative;overflow-y:auto;box-shadow:0 25px 50px -12px #00000040}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.demo-modal-container::-webkit-scrollbar{width:6px}.demo-modal-container::-webkit-scrollbar-track{background:#f1f5f9;border-radius:3px}.demo-modal-container::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.demo-modal-container::-webkit-scrollbar-thumb:hover{background:#94a3b8}.demo-modal-close{color:#64748b;cursor:pointer;z-index:10;background:#f1f5f9;border:none;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;transition:all .2s;display:flex;position:absolute;top:16px;right:16px}.demo-modal-close:hover{color:#334155;background:#e2e8f0}.demo-modal-header{border-bottom:1px solid #e2e8f0;padding:24px 64px 20px 24px}.demo-modal-title{color:#1e293b;margin:0;font-size:20px;font-weight:600}.demo-modal-subtitle{color:#64748b;margin:8px 0 0;font-size:14px}.demo-modal-form{padding:20px 24px 24px}.demo-form-error{color:#dc2626;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;margin-bottom:16px;padding:12px 16px;font-size:14px}.demo-form-group{margin-bottom:16px}.demo-form-row{grid-template-columns:1fr 1fr;gap:12px;display:grid}@media (max-width:600px){.demo-form-row{grid-template-columns:1fr}}.demo-form-label{color:#374151;align-items:center;gap:6px;margin-bottom:6px;font-size:14px;font-weight:500;display:flex}.demo-form-label .required{color:#ef4444}.demo-form-input,.demo-form-select,.demo-form-textarea{color:#1f2937;box-sizing:border-box;background:#fff;border:1px solid #d1d5db;border-radius:8px;width:100%;padding:12px 14px;font-size:14px;transition:all .2s}.demo-form-input::placeholder,.demo-form-textarea::placeholder{color:#9ca3af}.demo-form-input:focus,.demo-form-select:focus,.demo-form-textarea:focus{border-color:var(--brand-primary);outline:none;box-shadow:0 0 0 3px #1d328d26}.demo-form-select{cursor:pointer;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;background-size:16px;padding-right:40px}.demo-form-select option{color:#1f2937;background:#fff}.demo-form-textarea{resize:vertical;min-height:80px}.demo-form-submit{background:linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-hover) 100%);color:#fff;cursor:pointer;border:none;border-radius:8px;justify-content:center;align-items:center;gap:8px;width:100%;margin-top:8px;padding:14px 24px;font-size:15px;font-weight:600;transition:all .2s;display:flex}.demo-form-submit:hover:not(:disabled){background:var(--brand-primary-hover);transform:translateY(-1px);box-shadow:0 4px 12px #1d328d4d}.demo-form-submit:disabled{opacity:.6;cursor:not-allowed}.demo-form-submit .spin{animation:1s linear infinite spin}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.demo-modal-success{text-align:center;padding:48px 24px}.demo-success-icon{color:#22c55e;background:#dcfce7;border-radius:50%;justify-content:center;align-items:center;width:72px;height:72px;margin:0 auto 20px;font-size:36px;animation:.3s ease-out scaleIn;display:flex}@keyframes scaleIn{0%{transform:scale(0)}to{transform:scale(1)}}.demo-modal-success h3{color:#1e293b;margin:0 0 8px;font-size:20px;font-weight:600}.demo-modal-success p{color:#64748b;margin:0;font-size:14px}.demo-captcha-container{flex-direction:column;gap:12px;display:flex}.demo-captcha-image{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;align-items:center;gap:12px;padding:8px 12px;display:flex}.demo-captcha-svg{flex:1;justify-content:center;align-items:center;min-height:50px;display:flex}.demo-captcha-svg svg{max-width:100%;height:auto}.demo-captcha-loading{min-height:50px;color:var(--brand-primary);flex:1;justify-content:center;align-items:center;display:flex}.demo-captcha-refresh{color:#475569;cursor:pointer;background:#e2e8f0;border:none;border-radius:8px;justify-content:center;align-items:center;width:40px;height:40px;transition:all .2s;display:flex}.demo-captcha-refresh:hover:not(:disabled){background:var(--brand-primary);color:#fff}.demo-captcha-refresh:disabled{opacity:.5;cursor:not-allowed}@media (max-width:600px){.demo-modal-container{border-radius:12px}.demo-modal-header{padding:20px 60px 20px 16px}.demo-modal-title{font-size:18px}.demo-modal-form{padding:16px}.demo-form-input,.demo-form-select,.demo-form-textarea{padding:10px 12px;font-size:14px}.demo-captcha-image{flex-direction:column;gap:8px}.demo-captcha-refresh{width:100%;height:36px}}
