.roadmap-chat-section {
    padding: 0 0 60px;
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

.roadmap-chat-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.roadmap-chat-container {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.roadmap-chat-messages {
    padding: 24px;
    min-height: 180px;
    max-height: 450px;
    overflow-y: auto;
    background: #f8faf9;
}

.roadmap-msg {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    animation: roadmapFadeIn 0.3s ease;
}

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

.roadmap-msg.user {
    flex-direction: row-reverse;
}

.roadmap-msg-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
}

.roadmap-msg.assistant .roadmap-msg-avatar {
    background: linear-gradient(135deg, #03AC4F, #8DC63F);
    color: #fff;
}

.roadmap-msg.user .roadmap-msg-avatar {
    background: #e8f5ee;
    color: #03AC4F;
}

.roadmap-msg-bubble {
    max-width: 85%;
    line-height: 1.6;
    font-size: 15px;
}

.roadmap-msg.assistant .roadmap-msg-bubble {
    color: #334155;
}

.roadmap-msg.assistant .roadmap-msg-bubble p {
    margin: 0 0 8px;
}

.roadmap-msg.assistant .roadmap-msg-bubble h3 {
    color: #03AC4F;
    font-size: 16px;
    margin: 12px 0 8px;
}

.roadmap-msg.assistant .roadmap-msg-bubble strong {
    color: #1e293b;
}

.roadmap-msg.assistant .roadmap-msg-bubble ol,
.roadmap-msg.assistant .roadmap-msg-bubble ul {
    padding-left: 20px;
    margin: 8px 0;
}

.roadmap-msg.assistant .roadmap-msg-bubble li {
    margin-bottom: 6px;
}

.roadmap-msg.user .roadmap-msg-bubble {
    background: #03AC4F;
    color: #fff;
    padding: 10px 16px;
    border-radius: 16px 16px 4px 16px;
}

.roadmap-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.roadmap-suggestion {
    background: #fff;
    border: 1px solid #03AC4F;
    color: #03AC4F;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.roadmap-suggestion:hover {
    background: #03AC4F;
    color: #fff;
}

.roadmap-chat-input {
    display: flex;
    gap: 8px;
    padding: 16px 24px;
    border-top: 1px solid #e2e8f0;
    background: #fff;
}

.roadmap-chat-input input {
    flex: 1;
    background: #f8faf9;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 12px 18px;
    color: #1e293b;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}

.roadmap-chat-input input::placeholder {
    color: #9ca3af;
}

.roadmap-chat-input input:focus {
    border-color: #03AC4F;
    box-shadow: 0 0 0 2px rgba(3, 172, 79, 0.15);
}

.roadmap-chat-input button {
    background: linear-gradient(135deg, #03AC4F, #8DC63F);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 12px 18px;
    cursor: pointer;
    font-size: 16px;
    transition: opacity 0.2s;
}

.roadmap-chat-input button:hover {
    opacity: 0.9;
}

.roadmap-chat-input button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.roadmap-typing {
    display: flex;
    gap: 4px;
    padding: 4px 0;
}

.roadmap-typing span {
    width: 8px;
    height: 8px;
    background: #03AC4F;
    border-radius: 50%;
    animation: roadmapBlink 1.4s infinite;
}

.roadmap-typing span:nth-child(2) { animation-delay: 0.2s; }
.roadmap-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes roadmapBlink {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
}

.roadmap-accept-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #03AC4F, #8DC63F);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    animation: roadmapFadeIn 0.4s ease;
}

.roadmap-accept-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(3, 172, 79, 0.4);
}

.roadmap-accept-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.roadmap-accept-btn.accepted {
    background: #03AC4F;
    cursor: default;
}

@media (max-width: 768px) {
    .roadmap-chat-section {
        padding: 0 12px 40px;
        margin-top: -20px;
    }

    .roadmap-chat-messages {
        padding: 16px;
        max-height: 350px;
    }

    .roadmap-suggestion {
        font-size: 12px;
        padding: 6px 12px;
    }

    .roadmap-chat-input {
        padding: 12px 16px;
    }
}
