/* Bolderline Chatbot - Styles WordPress */

/* Bouton déclencheur */
.bolderline-chatbot-btn {
    background: #000;
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.bolderline-chatbot-btn:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.bolderline-chatbot-btn:active {
    transform: translateY(0);
}

/* Modal overlay */
.bolderline-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    animation: fadeIn 0.3s ease;
}

.bolderline-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

/* Modal content */
.bolderline-modal-content {
    position: relative;
    background: white;
    width: 90%;
    max-width: 700px;
    height: 90%;
    max-height: 900px;
    margin: 5vh auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

/* Bouton fermeture */
.bolderline-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f0f0f0;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bolderline-close-btn:hover {
    background: #e0e0e0;
    transform: rotate(90deg);
}

/* Container chatbot */
#bolderline-chatbot-container {
    width: 100%;
    height: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .bolderline-modal-content {
        width: 95%;
        height: 95%;
        margin: 2.5vh auto;
    }
    
    .bolderline-chatbot-btn {
        padding: 14px 24px;
        font-size: 15px;
        width: 100%;
        max-width: 300px;
    }
}

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

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

/* Mode inline */
.bolderline-chatbot-inline {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    min-height: 600px;
}
