/* ========================================
   CHATBOT FULLPAGE
   Page dédiée au chatbot conversationnel
   ======================================== */

.chatbot-fullpage {
    min-height: calc(100vh - 100px); /* Hauteur totale moins le header */
    padding: 20px 20px;
}

.chatbot-fullpage-header {
    max-width: 1600px;
    margin: 0 auto 30px;
    text-align: center;
}

.chatbot-fullpage-title h1 {
    font-size: 2.5rem;
    color: #333;
    margin-top: 0px;
    margin-bottom: 15px;
    font-weight: 600;
}

.chatbot-fullpage-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.chatbot-fullpage-container {
    max-width: 2000px !important; /* Très large pour grands écrans */
    margin: 0 auto;
    padding: 0 40px !important; /* Plus d'espace sur les côtés */
    width: 100%;
}

/* Override homepage chatbot widths for fullpage - FORCE 100% WIDTH */
.chatbot-fullpage .homepage-chatbot-container,
.chatbot-fullpage .homepage-chatbot-section,
.chatbot-fullpage .homepage-chatbot-wrapper,
.chatbot-fullpage-container .homepage-chatbot-wrapper,
div.chatbot-fullpage-wrapper,
.chatbot-fullpage-wrapper.homepage-chatbot-wrapper {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
}

/* Augmenter la largeur des messages pour utiliser tout l'espace */
.chatbot-fullpage .message-content {
    max-width: 85% !important;
}

/* Forcer le fond blanc et améliorer l'apparence */
.chatbot-fullpage .homepage-chatbot-wrapper {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

.chatbot-fullpage .homepage-chatbot-messages {
    background: #ffffff !important;
}

.chatbot-fullpage .homepage-chatbot-input-wrapper {
    background: #f9fafb !important;
}

/* Override height for fullpage version */
.chatbot-fullpage-wrapper {
    height: calc(100vh - 300px) !important; /* Plus de hauteur disponible */
    min-height: 500px;
    max-height: 900px;
}

/* Welcome suggestions buttons */
.welcome-suggestions {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.suggestion-btn {
    padding: 15px 20px;
    background: white;
    border: 2px solid #0066cc;
    border-radius: 12px;
    color: #0066cc;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.suggestion-btn i {
    font-size: 1.2rem;
}

.suggestion-btn:hover {
    background: #0066cc;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* Responsive */
@media (min-width: 1920px) {
    /* Encore plus d'espace sur très grands écrans */
    .chatbot-fullpage-container {
        max-width: 1800px;
    }
}

@media (max-width: 1200px) {
    .chatbot-fullpage-container {
        max-width: 100%;
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .chatbot-fullpage {
        padding: 20px 15px;
    }
    
    .chatbot-fullpage-container {
        padding: 0 15px;
    }

    .chatbot-fullpage-title h1 {
        font-size: 2rem;
    }

    .chatbot-fullpage-title p {
        font-size: 1rem;
    }

    .chatbot-fullpage-wrapper {
        height: calc(100vh - 350px) !important;
        min-height: 400px;
    }

    .welcome-suggestions {
        max-width: 100%;
    }

    .suggestion-btn {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .chatbot-fullpage .message-content {
        max-width: 90% !important;
    }
}

/* Expand button on homepage */
.chatbot-expand-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    border: 2px solid #0066cc;
    color: #0066cc;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.1rem;
    z-index: 10;
}

.chatbot-expand-btn:hover {
    background: #0066cc;
    color: white;
    transform: scale(1.05);
}

.chatbot-expand-btn i {
    pointer-events: none;
}

/* Position relative pour le wrapper homepage */
.homepage-chatbot-wrapper {
    position: relative;
}
