/* Chatbot widget styling for Head Hunters Incorporated */
#site-chatbot-toggle {
    position: fixed;
    right: 24px;
    bottom: 90px;
    z-index: 2147483647;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3a61ff, #5ff8d4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 16px 40px rgba(0,0,0,0.18);
    animation: site-chatbot-pulse 2.4s infinite ease-in-out;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: none;
    outline: none;
}
#site-chatbot-toggle:focus {
    outline: 2px solid #5ff8d4;
    outline-offset: 2px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.18), 0 0 0 4px rgba(95,248,212,0.3);
}
#site-chatbot-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
#site-chatbot-toggle:hover {
    transform: scale(1.08);
}
#site-chatbot-panel {
    position: fixed;
    right: 24px;
    bottom: 100px;
    width: 340px;
    max-height: 470px;
    border-radius: 24px;
    background: #f8f9ff;
    border: 1px solid #3a61ff;
    box-shadow: 0 24px 60px rgba(0,0,0,0.25);
    overflow: hidden;
    z-index: 2147483647;
    display: flex;
    flex-direction: column;
    transform: translateY(30px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.28s ease, max-height 0.4s ease, width 0.4s ease;
}
#site-chatbot-panel.expanded {
    max-height: 600px;
    width: 400px;
}
#site-chatbot-panel.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}
#site-chatbot-panel header {
    padding: 16px 18px;
    background: linear-gradient(135deg, #3a61ff, #5ff8d4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#site-chatbot-panel header h4 {
    margin: 0;
    font-size: 16px;
    letter-spacing: 0.02em;
}
#site-chatbot-close {
    border: none;
    background: transparent;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}
#site-chatbot-close:hover, #site-chatbot-close:focus {
    background-color: rgba(255,255,255,0.2);
    outline: 2px solid #fff;
    outline-offset: 2px;
}
#site-chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 18px;
    background: linear-gradient(180deg, #eef6ff 0%, #f8fdff 100%);
}
.site-chatbot-message {
    display: block;
    margin-bottom: 14px;
    opacity: 0;
    animation: site-chatbot-fadein 0.35s forwards ease;
}
.site-chatbot-message.user .bubble {
    margin-left: auto;
    background: #3a61ff;
    color: #fff;
    border-radius: 18px 18px 6px 18px;
}
.site-chatbot-message.bot .bubble {
    margin-right: auto;
    background: #f1f5ff;
    color: #0f1f49;
    border-radius: 18px 18px 18px 6px;
}
.site-chatbot-message .bubble {
    display: inline-block;
    max-width: 76%;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.4;
    box-shadow: 0 12px 22px rgba(58,97,255,0.12);
}
.site-chatbot-panel .quick-actions {
    padding: 16px 18px 18px;
    background: #fff;
    border-top: 1px solid rgba(15,31,73,0.08);
}
.site-chatbot-panel .quick-actions p {
    margin: 0 0 10px;
    font-size: 13px;
    color: #475569;
}
.site-chatbot-panel .quick-actions button {
    border: none;
    background: #f5f7ff;
    color: #1f2937;
    padding: 10px 14px;
    margin: 4px 4px 0 0;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
    font-size: 13px;
    outline: none;
}
.site-chatbot-panel .quick-actions button:focus {
    outline: 2px solid #3a61ff;
    outline-offset: 2px;
    box-shadow: 0 0 0 2px rgba(58,97,255,0.2);
}
.site-chatbot-panel .quick-actions button:hover {
    transform: translateY(-1px);
    background: #3a61ff;
    color: #fff;
}
.site-chatbot-panel .quick-actions button:hover {
    transform: translateY(-1px);
    background: #3a61ff;
    color: #fff;
}
.site-chatbot-panel .quick-actions.hidden {
    display: none;
}
#site-chatbot-back {
    border: none;
    background: linear-gradient(135deg, #3a61ff, #5ff8d4);
    color: #fff;
    padding: 12px 18px;
    margin: 12px 18px 0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: transform 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease;
    width: calc(100% - 36px);
    outline: none;
}
#site-chatbot-back:focus {
    outline: 2px solid #5ff8d4;
    outline-offset: 2px;
    box-shadow: 0 8px 20px rgba(58,97,255,0.3), 0 0 0 2px rgba(95,248,212,0.3);
}
#site-chatbot-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(58,97,255,0.3);
}
#site-chatbot-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(58,97,255,0.3);
}
#site-chatbot-panel .help-tag {
    font-size: 12px;
    margin-top: 10px;
    color: #64748b;
}
@keyframes site-chatbot-pulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(95,248,212,0.48); }
    50% { box-shadow: 0 0 0 18px rgba(95,248,212,0.08); }
}
@keyframes site-chatbot-fadein {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 600px) {
    #site-chatbot-panel {
        right: 16px;
        left: 16px;
        width: auto;
        bottom: 90px;
    }
    #site-chatbot-panel.expanded {
        max-height: 70vh;
        width: auto;
    }
    #site-chatbot-toggle {
        right: 16px;
        bottom: 16px;
    }
    .site-chatbot-message .bubble {
        max-width: 86%;
    }
}
