:root {
    --chat-primary-color: #007bff;
    --chat-secondary-color: #f8f9fa;
    --chat-text-color: #333;
    --chat-bg-color: #fff;
}

#chat-widget-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

#chat-toggle-button {
    background-color: var(--chat-primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
}

#chat-window {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    max-width: 90vw;
    height: 500px;
    max-height: 70vh;
    background-color: var(--chat-bg-color);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    flex-direction: column;
    overflow: hidden;
}

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

.chat-header {
    background-color: var(--chat-primary-color);
    color: white;
    padding: 15px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#chat-close-button {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

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

.chat-message {
    margin-bottom: 15px;
    padding: 10px;
    background-color: var(--chat-secondary-color);
    border-radius: 8px;
    color: var(--chat-text-color);
}

.chat-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-option-button {
    background-color: var(--chat-bg-color);
    color: var(--chat-primary-color);
    border: 1px solid var(--chat-primary-color);
    padding: 10px 15px;
    border-radius: 20px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s, color 0.3s;
}

.chat-option-button:hover {
    background-color: var(--chat-primary-color);
    color: white;
}

#contact-form-container {
    display: none;
    flex-direction: column;
    gap: 10px;
}

#contact-form-container input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#contact-form-container button {
    background-color: var(--chat-primary-color);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}
