/* ===== WELCOME SCREEN (Accueil) ===== */
.welcome-screen {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.welcome-screen.hidden {
    display: none;
}

.welcome-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-primary);
}

.welcome-header-logo {
    width: 34px;
    height: 34px;
}

.welcome-header-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.welcome-header-info {
    flex: 1;
}

.welcome-header-title {
    font-weight: 600;
}

.welcome-header-subtitle {
    font-size: 12px;
    color: var(--text-secondary);
}

.new-project-btn-mobile {
    width: 36px;
    height: 36px;
    background: var(--btn-primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    color: var(--btn-primary-text);
    transition: all 0.2s;
}

.new-project-btn-mobile:active {
    transform: scale(0.95);
}

.welcome-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.welcome-logo {
    width: 80px;
    height: 80px;
    background: var(--bg-tertiary);
    border: 2px solid var(--border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    overflow: hidden;
}

.welcome-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.welcome-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
}

.welcome-subtitle {
    color: var(--text-secondary);
    margin-bottom: 40px;
    text-align: center;
}

/* ===== WELCOME STEPS ===== */
.welcome-steps {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
}

.step-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: var(--text-secondary);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.step-card-centered {
    justify-content: center;
}

.step-card-centered .step-content {
    text-align: center;
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--btn-primary);
    color: var(--btn-primary-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}

.step-content {
    flex: 1;
    text-align: left;
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.step-desc {
    font-size: 14px;
    color: var(--text-secondary);
}

.step-arrow {
    flex-shrink: 0;
    font-size: 24px;
    color: var(--text-secondary);
    font-weight: 300;
}

.welcome-input-container {
    width: 100%;
    max-width: 600px;
    display: none;
}

.welcome-input-container.visible {
    display: block;
}

.welcome-textarea {
    width: 100%;
    padding: 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 16px;
    resize: none;
    outline: none;
    min-height: 60px;
    line-height: 1.5;
    overflow: hidden;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.welcome-textarea:focus {
    border-color: var(--text-secondary);
}

.welcome-send {
    margin-top: 16px;
    width: 100%;
    padding: 14px;
    background: var(--btn-primary);
    border: none;
    border-radius: 10px;
    color: var(--btn-primary-text);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s;
}

.welcome-send:hover {
    background: var(--btn-primary-hover);
}

.welcome-send svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}
