#gc-chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1050;
}

.gc-chat-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #c0392b;
    color: #fff;
    border: none;
    font-size: 1.5rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    transition: transform .15s ease;
}

.gc-chat-btn:hover {
    transform: scale(1.06);
}

.gc-chat-window {
    position: fixed;
    bottom: 96px;
    right: 24px;
    width: 350px;
    max-width: 92vw;
    height: 480px;
    max-height: 75vh;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.gc-chat-header {
    background-color: #111111;
    color: #fff;
    padding: 12px 16px;
    flex-shrink: 0;
}

.gc-chat-status {
    color: #8fd19e;
}

.gc-chat-status::before {
    content: "●";
    color: #2ecc71;
    margin-right: 4px;
}

.gc-chat-mensajes {
    flex: 1;
    padding: 14px;
    overflow-y: auto;
    background: #f7f7f8;
    display: flex;
    flex-direction: column;
}

.gc-chat-msg {
    max-width: 82%;
    padding: 8px 12px;
    border-radius: 14px;
    margin-bottom: 8px;
    font-size: 0.88rem;
    white-space: pre-line;
    line-height: 1.35;
}

.gc-chat-msg.bot {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.gc-chat-lista {
    margin: 4px 0 4px 18px;
    padding: 0;
}

.gc-chat-lista li {
    margin-bottom: 2px;
}

.gc-chat-msg.user {
    background: #c0392b;
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.gc-chat-rating {
    padding: 0 14px;
    background: #fff;
    border-top: 1px solid #eee;
    flex-shrink: 0;
}

.gc-chat-form {
    display: flex;
    gap: 8px;
    border-top: 1px solid #eee;
    padding: 10px;
    flex-shrink: 0;
}

.gc-chat-form input {
    flex: 1;
}

@media (max-width: 420px) {
    .gc-chat-window {
        right: 12px;
        left: 12px;
        width: auto;
    }
    #gc-chat-widget {
        right: 12px;
    }
}