/* Peetri Köök live-chat light and dark storefront themes. */
.fob-live-chat {
    --fob-primary: #f59f00 !important;
    --fob-primary-hover: #252629 !important;
    --fob-primary-light: rgba(245, 159, 0, .18) !important;
    --fob-bg: #ffffff !important;
    --fob-bg-secondary: #faf7f1 !important;
    --fob-text: #252629 !important;
    --fob-text-secondary: #68707b !important;
    --fob-border: #decaa5 !important;
    --fob-visitor-bg: #f59f00 !important;
    --fob-visitor-text: #171717 !important;
    --fob-admin-bg: #f1ece3 !important;
    --fob-admin-text: #252629 !important;
    --fob-shadow: 0 18px 55px rgba(25, 28, 33, .24) !important;
    color-scheme: light;
}

.fob-live-chat .fob-chat-window {
    border: 1px solid #decaa5;
    box-shadow: 0 20px 60px rgba(25, 28, 33, .24), 0 0 0 1px rgba(245, 159, 0, .08);
}

.fob-live-chat .fob-chat-header {
    background: linear-gradient(135deg, #f59f00 0%, #ffae1a 100%) !important;
    color: #171717 !important;
}

.fob-live-chat .fob-chat-title,
.fob-live-chat .fob-chat-status,
.fob-live-chat .fob-chat-header svg {
    color: #171717 !important;
    stroke: currentColor !important;
}

.fob-live-chat .fob-chat-avatar {
    background: #252629 !important;
    border: 1px solid rgba(255, 255, 255, .55);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
    color: #f59f00 !important;
}

.fob-live-chat .fob-chat-close {
    background: rgba(37, 38, 41, .12) !important;
    color: #171717 !important;
}

.fob-live-chat .fob-chat-close:hover,
.fob-live-chat .fob-chat-close:focus-visible {
    background: #252629 !important;
    color: #ffffff !important;
}

.fob-live-chat .fob-chat-start,
.fob-live-chat .fob-chat-body {
    background: var(--fob-bg-secondary) !important;
}

.fob-live-chat .fob-chat-start-icon {
    color: #f59f00 !important;
}

.fob-live-chat .fob-chat-start-text {
    color: var(--fob-text) !important;
    font-weight: 600;
}

.fob-live-chat .fob-input {
    background: var(--fob-bg) !important;
    border: 1px solid var(--fob-border) !important;
    color: var(--fob-text) !important;
}

.fob-live-chat .fob-input::placeholder {
    color: var(--fob-text-secondary) !important;
    opacity: 1;
}

.fob-live-chat .fob-input:focus {
    border-color: #f59f00 !important;
    box-shadow: 0 0 0 3px rgba(245, 159, 0, .2) !important;
}

.fob-live-chat .fob-btn-primary,
.fob-live-chat .fob-btn-send,
.fob-live-chat .fob-chat-button {
    background: #f59f00 !important;
    color: #171717 !important;
}

.fob-live-chat .fob-btn-primary:hover:not(:disabled),
.fob-live-chat .fob-btn-primary:focus-visible,
.fob-live-chat .fob-btn-send:hover,
.fob-live-chat .fob-btn-send:focus-visible,
.fob-live-chat .fob-chat-button:hover,
.fob-live-chat .fob-chat-button:focus-visible {
    background: #252629 !important;
    box-shadow: 0 10px 28px rgba(245, 159, 0, .3) !important;
    color: #ffffff !important;
}

.fob-live-chat .fob-btn-primary svg,
.fob-live-chat .fob-btn-send svg,
.fob-live-chat .fob-chat-button svg {
    color: inherit !important;
    stroke: currentColor !important;
}

.fob-live-chat .fob-chat-footer,
.fob-live-chat .fob-chat-powered {
    background: var(--fob-bg) !important;
    border-color: var(--fob-border) !important;
}

.fob-live-chat .fob-chat-powered {
    color: var(--fob-text-secondary) !important;
}

.fob-live-chat .fob-chat-powered a {
    color: #d98c00 !important;
    font-weight: 600;
}

.fob-live-chat .fob-msg-visitor .fob-msg-content {
    box-shadow: 0 5px 14px rgba(245, 159, 0, .18);
}

.fob-live-chat .fob-msg-admin .fob-msg-content {
    border: 1px solid var(--fob-border);
}

.fob-live-chat .fob-chat-messages::-webkit-scrollbar-thumb {
    background: rgba(245, 159, 0, .42) !important;
}

html.pk-store-dark .fob-live-chat {
    --fob-primary: #f59f00 !important;
    --fob-primary-hover: #34373d !important;
    --fob-primary-light: rgba(245, 159, 0, .2) !important;
    --fob-bg: #252629 !important;
    --fob-bg-secondary: #2b2e34 !important;
    --fob-text: #f3f4f6 !important;
    --fob-text-secondary: #b7bec8 !important;
    --fob-border: #4b5058 !important;
    --fob-visitor-bg: #f59f00 !important;
    --fob-visitor-text: #171717 !important;
    --fob-admin-bg: #34373d !important;
    --fob-admin-text: #f3f4f6 !important;
    --fob-shadow: 0 22px 65px rgba(0, 0, 0, .52) !important;
    color-scheme: dark;
}

html.pk-store-dark .fob-live-chat .fob-chat-window {
    background: #252629 !important;
    border-color: #555b65 !important;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .58), 0 0 0 1px rgba(245, 159, 0, .1) !important;
}

html.pk-store-dark .fob-live-chat .fob-chat-start,
html.pk-store-dark .fob-live-chat .fob-chat-body {
    background: #2b2e34 !important;
}

html.pk-store-dark .fob-live-chat .fob-input {
    background: #1b222d !important;
    border-color: #505866 !important;
    color: #f3f4f6 !important;
}

html.pk-store-dark .fob-live-chat .fob-input:hover {
    border-color: #6a7380 !important;
}

html.pk-store-dark .fob-live-chat .fob-chat-footer,
html.pk-store-dark .fob-live-chat .fob-chat-powered {
    background: #252629 !important;
    border-color: #4b5058 !important;
}

html.pk-store-dark .fob-live-chat .fob-chat-powered a {
    color: #f59f00 !important;
}

html.pk-store-dark .fob-live-chat .fob-msg-admin .fob-msg-content {
    background: #34373d !important;
    border-color: #4b5058 !important;
    color: #f3f4f6 !important;
}

html.pk-store-dark .fob-live-chat .fob-msg-sender {
    color: #b7bec8 !important;
}

html.pk-store-dark .fob-live-chat .fob-btn-primary:hover:not(:disabled),
html.pk-store-dark .fob-live-chat .fob-btn-primary:focus-visible,
html.pk-store-dark .fob-live-chat .fob-btn-send:hover,
html.pk-store-dark .fob-live-chat .fob-btn-send:focus-visible,
html.pk-store-dark .fob-live-chat .fob-chat-button:hover,
html.pk-store-dark .fob-live-chat .fob-chat-button:focus-visible {
    background: #34373d !important;
    box-shadow: inset 0 0 0 1px #f59f00, 0 10px 30px rgba(0, 0, 0, .32) !important;
    color: #ffffff !important;
}

html.pk-store-dark .fob-live-chat .fob-chat-close:hover,
html.pk-store-dark .fob-live-chat .fob-chat-close:focus-visible {
    background: #252629 !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
    color: #ffffff !important;
}

html.pk-store-dark .fob-live-chat .fob-chat-badge {
    background: #f59f00 !important;
    border-color: #252629 !important;
    color: #171717 !important;
}

@media (max-width: 480px) {
    .fob-live-chat .fob-chat-window {
        border-radius: 16px 16px 0 0 !important;
    }
}

