/* Onboarding Styles - Consumer Chassis Flow */

#onboarding-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #d6d6d6;
    z-index: 9999;
    flex-direction: row;
    align-items: stretch;
    font-family: 'Montserrat', sans-serif;
    color: #333;
    overflow: hidden;
}

#onboarding-overlay[style*="flex"] {
    display: flex !important;
}

/* Left: Wizard content */
#wizard-pane {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 2rem 3rem;
    overflow-y: auto;
    max-width: 600px;
}

#wizard-content {
    flex: 1;
}

#wizard-content h1,
#wizard-content h2 {
    font-size: 2rem;
    margin: 0 0 1rem 0;
}

#wizard-content h3 {
    font-size: 1.2rem;
    margin: 0;
}

/* Right: Device preview */
#preview-pane {
    flex: 2;
    background-color: #e8e8ed;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#device-chassis {
    width: 1920px;
    height: 1200px;
    background: #000;
    border-radius: 40px;
    box-shadow: 0 50px 100px rgba(0,0,0,0.3), inset 0 0 0 10px #333;
    position: relative;
    overflow: hidden;
    transform-origin: center center;
}

#preview-grid {
    display: grid;
    width: 100%;
    height: 100%;
    grid-template-columns: repeat(16, 1fr);
    grid-template-rows: repeat(10, 1fr);
    gap: 2px;
    padding: 2px;
    box-sizing: border-box;
}

/* Buttons */
.btn-web {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background-color: #000;
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-ghost {
    background: transparent;
    color: #333;
    border: 1px solid #ddd;
}

.btn-ghost:hover {
    background: #f5f5f5;
}

/* Selection cards (menu step) */
.selection-card:hover {
    background: #f9f9f9;
}

/* Loader / spinner */
.loader {
    width: 30px;
    height: 30px;
    border: 3px solid #eee;
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
