.sg-demo-form-wrapper { max-width: 400px; margin: 20px auto; padding: 20px; border: 1px solid #ddd; border-radius: 8px; background: #fff; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.sg-demo-form-wrapper label { display: block; margin-bottom: 5px; font-weight: 600; }
.sg-demo-form-wrapper input[type="email"], .sg-demo-form-wrapper input[type="text"] { width: 100%; padding: 10px; margin-bottom: 15px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; }
.sg-demo-form-wrapper button { width: 100%; padding: 10px; background: #0073aa; color: #fff; border: none; border-radius: 4px; font-size: 16px; cursor: pointer; }
.sg-demo-form-wrapper button:hover { background: #005177; }
.sg-demo-form-msg { margin-top: 15px; padding: 10px; border-radius: 4px; display: none; }
.sg-demo-form-msg.error { background: #f8d7da; color: #721c24; display: block; }
.sg-demo-form-msg.success { background: #d4edda; color: #155724; display: block; }
.sg-demo-website-field { display: none !important; } /* Honeypot */

/* Loading spinner */
.sg-demo-loading { position: relative; color: transparent !important; pointer-events: none; }
.sg-demo-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    margin: -9px 0 0 -9px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: sg-demo-spin 0.6s linear infinite;
}
@keyframes sg-demo-spin { to { transform: rotate(360deg); } }

/* Progress overlay for instant provisioning */
.sg-demo-progress-overlay { position: absolute; inset: 0; background: rgba(255,255,255,0.96); display: flex; align-items: center; justify-content: center; border-radius: 8px; z-index: 10; }
.sg-demo-progress-inner { text-align: center; padding: 20px; max-width: 300px; }
.sg-demo-progress-spinner { width: 36px; height: 36px; border: 3px solid #e2e8f0; border-top-color: #0073aa; border-radius: 50%; margin: 0 auto 16px; animation: sg-demo-spin 0.7s linear infinite; }
.sg-demo-progress-status { font-size: 14px; font-weight: 600; color: #1d2327; margin: 0 0 12px; }
.sg-demo-progress-bar-wrap { background: #e2e8f0; border-radius: 8px; height: 6px; overflow: hidden; margin-bottom: 8px; }
.sg-demo-progress-bar-fill { background: linear-gradient(90deg, #0073aa, #005177); height: 100%; width: 5%; border-radius: 8px; transition: width 0.5s ease; }
.sg-demo-progress-note { font-size: 12px; color: #646970; margin: 0; }

/* Popup overlay */
.sg-demo-popup-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 999999; justify-content: center; align-items: center; }
.sg-demo-popup-content { position: relative; background: #fff; border-radius: 8px; padding: 30px; max-width: 460px; width: 90%; }
.sg-demo-popup-close { position: absolute; top: 8px; right: 12px; background: none; border: none; font-size: 24px; cursor: pointer; color: #666; }
