/* Modern wizard styles */
.wonda-modern { max-width: 800px; margin: 0 auto; background: #fff; border-radius: 24px; padding: 30px; box-shadow: 0 20px 35px -10px rgba(0,0,0,0.1); }
.wonda-modern h2 { margin-top: 0; color: #1e293b; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; color: #0f172a; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #e2e8f0; border-radius: 12px; font-size: 16px; }
.button-primary { background: #2b6ef0; border: none; padding: 12px 24px; border-radius: 40px; color: white; font-weight: bold; cursor: pointer; transition: 0.2s; }
.button-primary:hover { background: #1a56d6; transform: translateY(-2px); }
.loader { text-align: center; margin-top: 20px; }
.spinner { border: 4px solid #f3f3f3; border-top: 4px solid #2b6ef0; border-radius: 50%; width: 40px; height: 40px; animation: spin 1s linear infinite; margin: 0 auto 10px; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.success-card { text-align: center; margin-top: 30px; padding: 20px; background: #e6f7e6; border-radius: 24px; }
.pulse-button { display: inline-block; background: #00c853; color: white; font-size: 24px; padding: 20px 40px; border-radius: 60px; text-decoration: none; animation: pulse 1s infinite; margin: 20px 0; }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }
.example-gallery { display: flex; flex-wrap: wrap; gap: 20px; margin: 20px 0; }
.example-card { border: 2px solid #e2e8f0; border-radius: 12px; overflow: hidden; cursor: pointer; transition: 0.2s; width: calc(33% - 20px); }
.example-card.selected { border-color: #2b6ef0; box-shadow: 0 0 0 3px rgba(43,110,240,0.3); }
.example-card iframe { width: 100%; height: 200px; pointer-events: none; border: none; }
.example-card p { text-align: center; padding: 8px; margin: 0; background: #f8fafc; }

/* Editor layout – equal height sidebar and preview */
.editor-container {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    align-items: stretch;
}
.editor-sidebar {
    flex: 1;
    background: #f8fafc;
    padding: 20px;
    border-radius: 20px;
    overflow-y: auto;
    max-height: 80vh;
}
.editor-preview {
    flex: 2;
    display: flex;
    flex-direction: column;
}
.editor-preview iframe {
    width: 100%;
    flex: 1;
    min-height: 500px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
}

.wonda-editor h2 { margin-top: 0; }
.wonda-dashboard table { width: 100%; border-collapse: collapse; }
.wonda-dashboard th, .wonda-dashboard td { padding: 10px; border-bottom: 1px solid #ddd; text-align: left; }