#gcw-chat-bubble {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #5b21b6;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 10000;
    transition: transform 0.3s;
}

#gcw-chat-bubble:hover {
    transform: scale(1.1);
}

#gcw-chat-container {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 380px;
    height: 620px;
    background: #0C2084;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    z-index: 10000;
    overflow: hidden;
    transition: all 0.3s;
}

@media (max-height: 700px) {
    #gcw-chat-container {
        height: 90vh;
    }
}

.gcw-hidden {
    display: none !important;
}

#gcw-chat-header {
    background: rgba(217, 217, 217, 0.2);
    color: white;
    padding: 20px;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    position: relative;
}

#gcw-close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: #c4b5fd;
    color: #312e81;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.2s;
}

#gcw-close:hover {
    transform: translateY(-50%) scale(1.1);
}

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

.gcw-message {
    margin: 12px 8px;
    padding: 12px 18px;
    border-radius: 24px;
    max-width: 80%;
    width: fit-content;
    word-wrap: break-word;
    font-size: 14px;
    animation: fadeIn 0.5s forwards;
}

.gcw-message.user {
    background: rgba(72, 0, 255, 0.5);
    color: white;
    margin-left: auto;
}

.gcw-message.bot {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

.gcw-message img {
    max-width: 200px;
    border-radius: 12px;
    margin: 8px 0;
    display: block;
}

#gcw-suggestions {
    display: flex;
    gap: 10px;
    padding: 15px 15px 5px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

#gcw-suggestions::-webkit-scrollbar {
    display: none;
}

.gcw-suggestion {
    background: rgba(166, 98, 255, 0.3);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    flex-shrink: 0;
    transition: all 0.2s;
}

.gcw-suggestion:hover {
    transform: scale(1.05);
}

.gcw-suggestion:active {
    transform: scale(0.95);
}

/* Calendly button */
.gcw-calendly-btn {
    background: rgba(166, 98, 255, 0.6);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 15px;
    margin: 5px 15px 5px;
    align-self: flex-start;
    transition: all 0.2s;
}

.gcw-calendly-btn:hover {
    transform: scale(1.05);
    background: rgba(166, 98, 255, 0.8);
}

.gcw-calendly-btn:active {
    transform: scale(0.95);
}

/* Learn More button - blue */
.gcw-learn-more-btn {
    background: rgba(0, 102, 255, 0.6);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 15px;
    margin: 5px 15px 5px;
    align-self: flex-start;
    transition: all 0.2s;
}

.gcw-learn-more-btn:hover {
    transform: scale(1.05);
    background: rgba(0, 102, 255, 0.8);
}

.gcw-learn-more-btn:active {
    transform: scale(0.95);
}

/* Input area - current layout with mic & attachment */
#gcw-chat-input-area {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px;
}

.gcw-input-wrapper {
    position: relative;
    flex: 1;
    background: rgba(217, 217, 217, 0.4);
    border-radius: 30px;
    height: 38px;
    display: flex;
    align-items: center;
}

#gcw-user-input {
    flex: 1;
    height: 100%;
    padding: 0 80px 0 16px;
    background: transparent;
    color: white;
    border: none;
    font-size: 13px;
    outline: none;
    line-height: 38px;
    box-sizing: border-box;
}

#gcw-user-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

#gcw-attach-btn,
#gcw-voice-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    transition: opacity 0.2s;
}

#gcw-attach-btn {
    right: 48px;
}

#gcw-voice-btn {
    right: 16px;
}

#gcw-attach-btn:hover,
#gcw-voice-btn:hover {
    opacity: 0.7;
}

#gcw-voice-btn.recording {
    color: #ff4d4d;
    animation: pulse 1.5s infinite;
}

/* Send button - separate circle */
#gcw-send-btn {
    background: white;
    color: #5b21b6;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

#gcw-send-btn:hover {
    transform: scale(1.1);
}

#gcw-send-btn:active {
    transform: scale(0.9);
}

/* Pending image previews */
#gcw-pending-preview {
    display: none;
    padding: 0 15px 8px;
    gap: 8px;
    flex-wrap: wrap;
}

#gcw-pending-preview.visible {
    display: flex;
}

.gcw-preview-item {
    position: relative;
}

.gcw-preview-item img {
    max-width: 80px;
    border-radius: 12px;
    display: block;
}

.gcw-preview-item button {
    position: absolute;
    top: -8px;
    right: -8px;
    background: white;
    color: black;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}