
#gemini-chat-widget {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

#gemini-chat-toggle {
    background-color: #2563eb;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

#gemini-chat-toggle:hover {
    transform: scale(1.05);
}

#gemini-chat-toggle svg {
    width: 30px;
    height: 30px;
}

#gemini-chat-window {
    display: none;
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e5e5e5;
}

#gemini-chat-window.open {
    display: flex;
}

.gemini-chat-header {
    background-color: #2563eb;
    color: white;
    padding: 15px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gemini-chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f9f9f9;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gemini-message {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.4;
}

.gemini-message.user {
    background-color: #2563eb;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.gemini-message.bot {
    background-color: #e5e5e5;
    color: #333;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.gemini-chat-input-area {
    padding: 15px;
    border-top: 1px solid #eee;
    background: white;
    display: flex;
    gap: 10px;
}

.gemini-chat-input-area input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
}

.gemini-chat-input-area button {
    background-color: #2563eb;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
}

.gemini-chat-input-area button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
