@import url('styles.css');

/* Chat Widget Styles */
.chat-widget-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chat-fab {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.chat-fab:hover {
    transform: scale(1.1);
    background-color: #d81b07;
}

.chat-fab .icon-main,
.chat-fab .icon-close {
    transition: transform 0.3s ease, opacity 0.3s ease;
    position: absolute;
}

.chat-fab .icon-close {
    transform: rotate(-90deg) scale(0.8);
    opacity: 0;
}

.chat-fab.open .icon-main {
    transform: rotate(90deg) scale(0.8);
    opacity: 0;
}

.chat-fab.open .icon-close {
    transform: rotate(0deg) scale(1);
    opacity: 1;
}


.chat-popup {
    position: absolute;
    bottom: 80px; /* Above the FAB */
    right: 0;
    width: 280px;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.chat-popup.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.chat-header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 20px;
    font-weight: 600;
}

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

.chat-option {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    transition: background-color 0.2s ease;
    border: 1px solid #eee;
}

.chat-option:hover {
    background-color: #f4f4f4;
}

.chat-option i {
    font-size: 20px;
    margin-right: 15px;
    width: 25px;
    text-align: center;
    color: var(--primary-color);
}

.chat-option.whatsapp i {
    color: #25D366;
}
