.wptlc-chat-button {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #0088cc;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.wptlc-chat-button:hover {
    transform: scale(1.1);
}

.wptlc-chat-icon {
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H6l-2 2V4h16v12z"/></svg>');
    background-size: 30px;
    background-position: center;
    background-repeat: no-repeat;
}

/* Pulse animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 136, 204, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(0, 136, 204, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 136, 204, 0);
    }
}

.wptlc-pulse {
    animation: pulse 2s infinite;
}

.wptlc-chat-modal {
    display: none;
    position: fixed;
    bottom: 100px;
    left: 30px;
    z-index: 9998;
    width: 350px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

.wptlc-chat-modal-content {
    display: flex;
    flex-direction: column;
    height: 500px;
}

.wptlc-chat-header {
    background: #0088cc;
    color: white;
    padding: 15px 20px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wptlc-chat-header h3 {
    margin: 0;
    font-size: 18px;
    color: white;
}

.wptlc-close {
    cursor: pointer;
    font-size: 24px;
    color: white;
}

.wptlc-chat-messages {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f5f5f5;
}

.wptlc-message {
    margin-bottom: 15px;
    padding: 10px 15px;
    border-radius: 15px;
    max-width: 80%;
    word-wrap: break-word;
}

.wptlc-user-message {
    background: #0088cc;
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 5px;
}

.wptlc-admin-message {
    background: white;
    color: #333;
    margin-right: auto;
    border-bottom-left-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.wptlc-error-message {
    background: #ff6b6b;
    color: white;
    margin: 10px auto;
    text-align: center;
}

.wptlc-chat-form {
    padding: 20px;
    background: white;
    border-top: 1px solid #eee;
    border-radius: 0 0 12px 12px;
}

.wptlc-chat-form input,
.wptlc-chat-form textarea {
    width: 100%;
    margin-bottom: 10px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.wptlc-chat-form input:disabled {
    background: #f5f5f5;
    cursor: not-allowed;
}

.wptlc-chat-form textarea {
    height: 80px;
    resize: none;
}

.wptlc-chat-form button {
    width: 100%;
    padding: 10px;
    background: #0088cc;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.wptlc-chat-form button:hover {
    background: #006699;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .wptlc-chat-modal {
        width: calc(100% - 40px);
        left: 20px;
        right: 20px;
        bottom: 90px;
    }
    
    .wptlc-chat-button {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
    }
    
    .wptlc-chat-icon {
        background-size: 25px;
    }
} 