/* Chronoslex Wizard Stylesheet */
.wizard-page {
    background: #020617;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text-white);
}

.split-container {
    display: flex;
    height: 100vh;
    width: 100%;
}

.wizard-main {
    flex: 6;
    background: #0f172a;
    padding: 40px 60px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.wizard-sidebar {
    flex: 4;
    background: #1e293b;
    border-left: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
}

/* Header & Steps */
.wizard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 20px;
}

.wizard-header .logo img {
    height: 35px;
}

.steps-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
}

.step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-gray);
    transition: var(--transition);
}

.step-num.active {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--primary);
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.4);
}

.step-line {
    width: 30px;
    height: 2px;
    background: rgba(255,255,255,0.1);
}

/* Wizard Content */
.step-section {
    display: none;
    max-width: 650px;
    animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-section.active {
    display: block;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.step-section h1 {
    font-size: 2.2rem;
    margin-bottom: 12px;
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(135deg, #fff 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.step-section p {
    color: var(--text-gray);
    margin-bottom: 35px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.input-select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.input-select:focus {
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.08);
}

.chat-input {
    padding: 20px;
    background: rgba(15, 23, 42, 0.6);
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    gap: 12px;
    align-items: center;
}

.chat-input textarea {
    flex: 1;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 12px 16px;
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    resize: none;
    font-family: inherit;
    min-height: 48px;
    max-height: 120px;
    line-height: 1.5;
    transition: var(--transition);
}

.chat-input textarea:focus {
    border-color: var(--secondary);
    background: rgba(255,255,255,0.08);
}

.chat-input button {
    background: var(--secondary);
    color: var(--primary);
    border: none;
    height: 48px;
    padding: 0 20px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.chat-input button:hover {
    background: #fff;
    transform: translateY(-2px);
}

/* Chat Sidebar */
.chat-header {
    padding: 24px;
    background: rgba(15, 23, 42, 0.4);
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.laura-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--primary);
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}

.laura-info h3 { font-size: 1.1rem; margin-bottom: 2px; font-family: 'Outfit', sans-serif; }
.laura-info span { font-size: 0.8rem; color: var(--text-gray); }

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.msg {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.95rem;
    line-height: 1.5;
    word-break: break-word;
}

.msg.bot {
    align-self: flex-start;
    background: rgba(255,255,255,0.05);
    color: #fff;
    border-bottom-left-radius: 2px;
    border: 1px solid rgba(255,255,255,0.05);
}

.msg.user {
    align-self: flex-end;
    background: var(--secondary);
    color: var(--primary);
    border-bottom-right-radius: 2px;
    font-weight: 500;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,255,255,0.05);
    border-radius: 50%;
    border-top-color: var(--secondary);
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

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

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.input-group input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 12px 16px;
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
}

.input-group input:focus {
    outline: none;
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.08);
}

.laura-guidance {
    border-left: 4px solid var(--secondary);
    background: rgba(251, 191, 36, 0.05);
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.laura-guidance p {
    margin: 0 !important;
    font-size: 0.95em !important;
    color: var(--text-white) !important;
}

.glass-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
}

.legal-notice {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-gray);
    border-left: 3px solid rgba(255, 255, 255, 0.2);
    padding-left: 12px;
}

@media (max-width: 968px) {
    .split-container {
        flex-direction: column;
        overflow-y: auto;
        height: auto;
    }
    .wizard-main {
        flex: none;
        height: auto;
        padding: 30px 20px;
    }
    .wizard-sidebar {
        flex: none;
        height: 500px;
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.05);
    }
}
