/* Glassmorphism/futuristische darkmode stijl voor UtileHelp */

.utilehelp-chatbot {
    background: rgba(26,29,33,0.85);
    color: #ececf1;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(16,163,127,0.10), 0 1.5px 8px rgba(0,0,0,0.20);
    width: 100%;
    margin: 48px auto;
    padding: 0;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    /*border: 1.5px solid rgba(16,163,127,0.18);*/
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    position: relative;
    overflow: hidden;
}

.utilehelp-chat-header {
    background: rgba(145,21,84,.88);
    padding: 20px 24px 12px 24px;
    border-radius: 20px 20px 0 0;
    border-bottom: 1.5px solid rgba(16,163,127,0.18);
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
}
.utilehelp-chat-header:hover {
    background: rgba(145,21,84,1);
}
.utilehelp-chat-header-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #565858 60%, #23272f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(16,163,127,0.18);
}
.utilehelp-chat-header-title {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #ffffff;
    text-shadow: 0 1px 8px rgba(16,163,127,0.10);
}
.utilehelp-chat-header-desc {
    font-size: 0.98rem;
    color: #ececf1;
    opacity: 0.75;
    margin-left: 8px;
    font-weight: 400;
}

.utilehelp-chat-window {
    background: transparent;
    min-height: 320px;
    max-height: 420px;
    overflow-y: auto;
    padding: 28px 24px 18px 24px;
    width: 100%;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

.utilehelp-user-msg,
.utilehelp-ai-msg {
    margin-bottom: 18px;
    padding: 14px 18px;
    border-radius: 12px;
    max-width: 82%;
    word-break: break-word;
    font-size: 1.06rem;
    line-height: 1.6;
    box-shadow: 0 2px 8px rgba(16,163,127,0.06);
    border: 1px solid rgba(16,163,127,0.08);
    backdrop-filter: blur(4px);
}

.utilehelp-user-msg {
    background: rgba(52,53,65,0.92);
    color: #ececf1;
    margin-left: auto;
    text-align: right;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 16px;
    border-left: 2.5px solid rgba(145,21,84,.88);;
}

.utilehelp-ai-msg {
    background: rgba(35,39,47,0.92);
    color: #ececf1;
    margin-right: auto;
    text-align: left;
    border-top-left-radius: 2px;
    border-bottom-left-radius: 16px;
    border-right: 2.5px solid rgba(145,21,84,1);;
}

.utilehelp-error {
    background: rgba(255,76,76,0.92);
    color: #fff;
    padding: 12px 18px;
    border-radius: 10px;
    margin: 14px 0;
    font-size: 1rem;
    border: 1.5px solid #ff4c4c;
    box-shadow: 0 2px 8px rgba(255,76,76,0.10);
}

.utilehelp-chat-form {
    display: flex;
    gap: 10px;
    padding: 18px 18px;
    background: rgba(26,29,33,0.92);
    width: 100%;
    box-sizing: border-box;
    align-items: center;
    margin: 0px auto;
    max-width: 90%;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(16,163,127,0.13), 0 1.5px 8px rgba(0,0,0,0.13);
    justify-content: center;
    align-items: center;
    display: flex;
}

.utilehelp-chat-input {
    flex: 1;
    padding: 14px 16px;
    border-radius: 10px;
    border: none !important;
    background: rgba(35,39,47,0.92);
    color: #ececf1;
    font-size: 1.06rem;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 4px rgba(16,163,127,0.06);
}

.utilehelp-chat-input:focus {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    /* ...optioneel: geen andere focus styles... */
}

.utilehelp-chat-send {
    background: linear-gradient(135deg, #787978 60%, #a3107e 100%);
    color: #fff;
    border: none;
    border-radius: 50%;
    padding: 0;
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 8px rgba(16,163,127,0.10);
    transition: background 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    opacity: 0.5;
    pointer-events: none;
    filter: grayscale(0.5);
}

.utilehelp-chat-send.utilehelp-active {
    opacity: 1;
    pointer-events: auto;
    filter: none;
    box-shadow: 0 2px 12px rgba(145,21,84,0.18);
    transition: box-shadow 0.2s, opacity 0.2s;
}

.utilehelp-chat-send svg {
    width: 1.8em;
    height: 1.8em;
    display: block;
    fill: #fff;
    /*transform: rotate(-90deg);*/
}

.utilehelp-chat-send:hover {
    background: linear-gradient(135deg, rgba(145,21,84,.88) 80%, #a3107e 100%);
    box-shadow: 0 4px 16px rgba(16,163,127,0.18);
}

.utilehelp-chat-loading {
    color: rgba(145,21,84,.88);
    padding: 10px 0 0 24px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    opacity: 0.85;
}

.utilehelp-chatbot.utilehelp-collapsed .utilehelp-chat-body {
    display: none !important;
}
.utilehelp-chatbot.utilehelp-open .utilehelp-chat-body {
    display: block !important;
    animation: utilehelp-fadein 0.25s;
}
@keyframes utilehelp-fadein {
    from { opacity: 0; transform: translateY(-12px);}
    to { opacity: 1; transform: translateY(0);}
}

.utilehelp-chat-start-btn {
    background: linear-gradient(135deg, #787978 60%, #a3107e 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 1rem;
    font-weight: 600;
    margin-left: 18px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(16,163,127,0.10);
    transition: background 0.2s, box-shadow 0.2s;
}
.utilehelp-chat-start-btn:hover {
    background: linear-gradient(135deg, rgba(145,21,84,.88) 80%, #a3107e 100%);
    box-shadow: 0 4px 16px rgba(16,163,127,0.18);
}

.utilehelp-beta-label {
    display: inline-block;
    background: #fff;
    color: #a3107e;
    font-size: 0.72em;
    font-weight: 700;
    border-radius: 6px;
    padding: 2px 8px;
    margin-left: 8px;
    letter-spacing: 0.04em;
    vertical-align: middle;
    box-shadow: 0 1px 4px rgba(145,21,84,0.10);
    border: 1px solid #a3107e;
}

.utilehelp-chat-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.utilehelp-chat-disclaimer {
    margin: 18px auto 8px auto;
    color: #ececf1;
    opacity: 0.7;
    font-size: 0.93em;
    text-align: center;
    line-height: 1.5;
    max-width: 70%;
    display: block;
    padding-bottom: 10px;
}

.utilehelp-chat-typing {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0 0 18px 0;
    min-height: 38px;
    height: 38px;
}

.utilehelp-chat-typing-dot {
    width: 12px;
    height: 12px;
    margin-right: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a3107e 60%, #787978 100%);
    opacity: 0.8;
    animation: utilehelp-dot-blink 1s infinite alternate;
}

.usp-list a {
    pointer-events: auto !important;
}

.utilehelp-chat-typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}
.utilehelp-chat-typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes utilehelp-dot-blink {
    0% { opacity: 0.3; transform: scale(0.8);}
    100% { opacity: 1; transform: scale(1.2);}
}

@media (max-width: 600px) {
    .utilehelp-chatbot {
        
        margin: 0;
    }
    .utilehelp-chat-header,
    .utilehelp-chat-window,
    .utilehelp-chat-form {
        padding-left: 8px;
        padding-right: 8px;
    }
 .utilehelp-chat-header-logo{
    display: none   ;
 }
 .utilehelp-chat-header-title {
  font-size: 1.18rem;
  margin-left: 5px;
}
.utilehelp-beta-label {

  margin-left: 0px;

}
}