:root {
    --uce-bg: #08111F;
    --uce-acc: #F97316;
    --uce-brd: rgba(255, 255, 255, 0.08);
}

body { background: var(--uce-bg); color: #fff; font-family: 'Inter', sans-serif; margin: 0; padding: 0; box-sizing: border-box; }
* { box-sizing: inherit; }

/* Desktop Wrapper - Premium Side-by-Side (Untouched) */
.uce-wizard-wrapper {
    display: flex;
    max-width: 1100px;
    margin: 40px auto;
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid var(--uce-brd);
    border-radius: 24px;
    overflow: hidden;
    min-height: 650px;
}

/* Sidebar Desktop */
.uce-wizard-sidebar { width: 320px; background: rgba(0, 0, 0, 0.2); border-right: 1px solid var(--uce-brd); padding: 40px; flex-shrink: 0; }
.uce-progress-track { display: flex; flex-direction: column; gap: 30px; }
.uce-progress-node { display: flex; align-items: center; gap: 15px; opacity: 0.3; }
.uce-progress-node.active { opacity: 1; }
.node-icon { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--uce-brd); display: flex; align-items: center; justify-content: center; background: #0B192E; }
.uce-progress-node.active .node-icon { background: var(--uce-acc); color: #fff; border-color: var(--uce-acc); }
.node-title { font-weight: 700; font-size: 0.9rem; }

/* Content Area */
.uce-wizard-content { flex: 1; padding: 60px; }
.uce-step { display: none !important; }
.uce-step.active { display: block !important; }
.uce-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 25px; }
.uce-field { display: flex; flex-direction: column; gap: 8px; }
.uce-field[data-size="full"] { grid-column: 1 / -1; }
input, select, textarea { background: rgba(255,255,255,0.05); border: 1px solid var(--uce-brd); border-radius: 10px; padding: 14px; color: #fff; font-size: 1rem; width: 100%; }

/* Navigation */
.uce-navigation { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--uce-brd); display: flex; justify-content: space-between; }
.uce-btn-primary { background: var(--uce-acc); color: #fff; border: none; padding: 16px 40px; border-radius: 12px; font-weight: 700; cursor: pointer; flex: 1; max-width: 250px; text-align: center; }
.uce-btn-secondary { background: rgba(255,255,255,0.05); color: #fff; border: 1px solid var(--uce-brd); padding: 16px 40px; border-radius: 12px; cursor: pointer; flex: 1; max-width: 200px; text-align: center; }
.uce-hidden { display: none !important; }

/* ---------------------------------------------------
   MOBILE FIX - ACTIVATES AUTOMATICALLY
--------------------------------------------------- */
@media screen and (max-width: 992px) {
    .uce-wizard-wrapper { 
        flex-direction: column !important; /* Forces Sidebar to TOP */
        margin: 10px; 
        min-height: auto; 
    }
    .uce-wizard-sidebar { 
        width: 100% !important; /* Sidebar full width on top */
        border-right: none; 
        border-bottom: 1px solid var(--uce-brd); 
        padding: 20px; 
    }
    .uce-progress-track { 
        flex-direction: row !important; /* Icons move left-to-right */
        justify-content: space-around; 
    }
    .node-title { display: none; } /* Hide text to avoid squashing icons */
    .uce-wizard-content { padding: 30px 20px; }
    .uce-form-grid { grid-template-columns: 1fr; } /* Inputs go vertical */
    .uce-navigation { flex-direction: column-reverse; gap: 15px; }
    .uce-btn-primary, .uce-btn-secondary { max-width: 100%; width: 100%; }
}

.uce-success-modal { position: fixed; inset: 0; background: var(--uce-bg); z-index: 9999; display: flex; align-items: center; justify-content: center; text-align: center; }