
#chatgpt-chat-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-family: 'Helvetica Neue', sans-serif;
    z-index: 9999;
}

#chatgpt-chat-button {
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    text-align: center;
    line-height: 60px;
    cursor: pointer;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: background 0.3s;
}

#chatgpt-chat-button:hover {
    background-color: #20c154;
}

#chatgpt-chat-box {
    display: none;
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 340px;
    height: 480px;
    background: #ece5dd;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

#chatgpt-chat-box.open {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

#chatgpt-chat-header {
    background: #075e54;
    color: white;
    padding: 14px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

#chatgpt-chat-messages {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    background: #ece5dd;
    display: flex;
    flex-direction: column;
}

#chatgpt-chat-input-area {
    display: flex;
    padding: 8px;
    background: #f0f0f0;
    border-top: 1px solid #ddd;
}

#chatgpt-user-input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 20px;
    font-size: 16px;
    outline: none;
}

#chatgpt-send-button {
    background: #25d366;
    border: none;
    color: white;
    padding: 10px 16px;
    margin-left: 10px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s;
}

#chatgpt-send-button:hover {
    background: #20c154;
}

.msg {
    margin: 5px 0;
    display: flex;
}

.user-msg {
    justify-content: flex-end;
}

.bot-msg {
    justify-content: flex-start;
}

.bubble {
    max-width: 75%;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
    animation: fadeIn 0.3s ease-in-out;
    position: relative;
}

.user-msg .bubble {
    background: #dcf8c6;
    border-bottom-right-radius: 0;
}

.bot-msg .bubble {
    background: white;
    border-bottom-left-radius: 0;
}

@keyframes fadeIn {
    from {opacity: 0; transform: scale(0.95);}
    to {opacity: 1; transform: scale(1);}
}

#chatgpt-chat-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: #075e54;
    color: white;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
}

#chatgpt-chat-header::before {
    content: '';
    display: inline-block;
    background-image: url('../img/avatar.png');
    background-size: cover;
    background-position: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 10px;
}
