@import url('https://googleapis.com');

/* Match your native WordPress Global Preset Constants exactly */
:root {
    --wp--preset--color--base: #ffffff;
    --wp--preset--color--contrast: #404040;
    --wp--preset--color--primary: #ff4800; /* Burnt Orange Accent */
    --wp--preset--font-family--urbanist: 'Urbanist', sans-serif;
    --wp--preset--spacing--50: 1.5rem;
}

body {
    font-family: var(--wp--preset--font-family--urbanist), -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #f8f9fa;
    color: var(--wp--preset--color--contrast);
    margin: 0;
    padding: 20px 20px;
    -webkit-font-smoothing: antialiased;
}

/* Applied your clean font sizing scale criteria */
@media (min-width: 768px) {
    body, p, label, select, option {
        font-size: 1.0rem !important;
    }
}

.wizard-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--wp--preset--color--base);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid #eaeaea;
}

.badge {
    background-color: #f1f3f5;
    color: #495057;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85em;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

/* Global Heading Overrides using your primary color scheme variables */
h1, h2, h3, .wp-block-heading {
    font-family: var(--wp--preset--font-family--urbanist), sans-serif;
    color: var(--wp--preset--color--primary) !important; /* Forces Burnt Orange Across UI elements */
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

h1 { font-size: 2.0rem; letter-spacing: -0.5px; }
h2 { font-size: 1.8rem; }
h3.wp-block-heading { font-size: 1.5rem; letter-spacing: -0.3px; }

.has-text-align-center {
    text-align: center;
}

p.subtitle {
    color: var(--wp--preset--color--contrast); /* Changes from light slate gray to sharp charcoal gray */
    margin: 0 0 40px 0;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 30px;
}

label {
    display: block;
    font-weight: 700;
    margin-bottom: 12px;
    color: #212529;
}

select {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background-color: #ffffff;
    color: #111111;
    cursor: pointer;
    outline: none;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

select:focus {
    border-color: var(--wp--preset--color--primary);
    background-color: #ffffff;
}

details {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.2s ease;
}

details[open] {
    border-color: var(--wp--preset--color--primary);
    background: #ffffff;
}

summary {
    padding: 16px 20px;
    font-weight: 700;
    cursor: pointer;
    outline: none;
    user-select: none;
    background: #f8f9fa;
    border-bottom: 0 solid transparent;
}

details[open] summary {
    background: #ffffff;
    border-bottom: 2px solid #e0e0e0;
}

.condition-body {
    padding: 25px 20px;
}

.btn-submit {
    background-color: var(--wp--preset--color--primary) !important;
    color: #ffffff;
    border: none;
    padding: 14px 30px;
    font-family: var(--wp--preset--font-family--urbanist);
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
    transition: background-color 0.2s;
}

.btn-submit:hover { 
    background-color: #e03f00 !important;
}

.live-preview-panel {
    margin-top: 50px;
    padding: 25px;
    background-color: #000000;
    color: #ffffff;
    border-radius: 12px;
    font-family: "SFMono-Regular", Consolas, Menlo, monospace;
    font-size: 1rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.preview-title {
    color: #6c757d;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    font-weight: 700;
}

.expression-text {
    color: #00ff66;
    word-break: break-all;
    font-weight: 500;
}
