#grc-launcher-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1d63b8, #0f468a);
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(15, 70, 138, 0.35);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 26px;
    z-index: 999999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#grc-launcher-btn:hover {
    transform: scale(1.1) rotate(5deg);
}

#grc-chat-panel {
    position: fixed;
    bottom: 95px;
    right: 25px;
    width: 380px;
    height: 520px;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.12);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 999999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    border: 1px solid rgba(0,0,0,0.05);
}

.grc-chat-header {
    background: linear-gradient(135deg, #1d63b8, #0f468a);
    color: #ffffff;
    padding: 16px 20px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.grc-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.grc-online-dot {
    width: 8px;
    height: 8px;
    background-color: #25d366;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.4);
    animation: grc-pulse 1.8s infinite;
}

.grc-chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: #f8fafd;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.grc-msg {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.5;
    word-wrap: break-word;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.grc-msg p {
    margin: 0 0 10px 0;
}

.grc-msg p:last-child {
    margin-bottom: 0;
}

.grc-msg.bot {
    background-color: #ffffff;
    color: #2d3748;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    border: 1px solid #e2e8f0;
}

.grc-msg.user {
    background-color: #1d63b8;
    color: #ffffff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.grc-msg a {
    color: #1d63b8;
    text-decoration: underline;
    font-weight: 500;
}

.grc-msg.user a {
    color: #ffffff;
}

.grc-chat-footer {
    padding: 14px 18px;
    border-top: 1px solid #edf2f7;
    display: flex;
    gap: 10px;
    background: #ffffff;
    align-items: center;
}

.grc-chat-footer input {
    flex: 1;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 10px 18px;
    outline: none;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.grc-chat-footer input:focus {
    border-color: #1d63b8;
}

.grc-chat-footer button {
    background-color: #1d63b8;
    color: white;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: background-color 0.2s ease;
}

.grc-chat-footer button:hover {
    background-color: #0f468a;
}

.grc-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #25d366;
    color: white !important;
    text-decoration: none !important;
    padding: 10px 18px;
    border-radius: 20px;
    font-weight: 600;
    margin-top: 10px;
    font-size: 13px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
    transition: background-color 0.2s ease;
}

.grc-cta-link:hover {
    background-color: #128c7e;
}

.grc-typing-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 12px 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    border-bottom-left-radius: 4px;
    align-self: flex-start;
}

.grc-typing-dot {
    width: 6px;
    height: 6px;
    background: #a0aec0;
    border-radius: 50%;
    animation: grc-bounce 1.4s infinite ease-in-out both;
}

.grc-typing-dot:nth-child(1) { animation-delay: -0.32s; }
.grc-typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes grc-pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(37, 211, 102, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes grc-bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1.0); }
}