.chat-toggle {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #4db6c9;
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.chat-toggle:hover {
    transform: scale(1.1);
    background-color: #4f46e5;
}

.chat-window {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    z-index: 9999;
}

.chat-header {
    padding: 15px;
    background: #4f46e5;
    color: white;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    margin: 0;
    font-size: 16px;
}

.close-chat {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
}

.message {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 10px;
    max-width: 80%;
}

.message.user {
    background: #8f969c;
    margin-left: auto;
}

.message.bot {
    background: #4f46e5;
    color: white;
}

.chat-input {
    padding: 15px;
    border-top: 1px solid #dee2e6;
    display: flex;
    gap: 10px;
}

.chat-input input {
    flex: 1;
    padding: 8px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
}

.chat-input button {
    background: #4f46e5;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
}

.chat-input button:hover {
    background: #7c3aed;
}

.show {
    display: flex;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 4px;
    color: white;
    font-size: 14px;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification.success {
    background-color: #28a745;
    box-shadow: 0 2px 10px rgba(40, 167, 69, 0.2);
}

.notification.error {
    background-color: #dc3545;
    box-shadow: 0 2px 10px rgba(220, 53, 69, 0.2);
}

.notification.show {
    opacity: 1;
    transform: translateY(0);
}

/* Ajout des styles responsives pour le chat */
@media (max-width: 768px) {
    .chat-window {
        width: 90%;
        height: 80vh;
        right: 5%;
        left: 5%;
        bottom: 70px;
    }

    .chat-toggle {
        bottom: 20px;
        right: 80px;
    }

    .theme-toggle {
        bottom: 20px;
        right: 20px;
    }

    .floating-buttons {
        gap: 15px;
        bottom: 20px;
        right: 20px;
        left: auto;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
    }

    .chat-messages {
        height: calc(100% - 120px);
    }

    .message {
        max-width: 90%;
        font-size: 14px;
    }

    .notification {
        width: 90%;
        right: 5%;
        left: 5%;
        text-align: center;
    }
} 