/* SilverKey's visitor assistant. All component styles are isolated from Bootstrap. */
.sk-chat {
    --sk-chat-navy: #103d53;
    --sk-chat-ink: #17445c;
    --sk-chat-muted: #657a90;
    --sk-chat-orange: #ff771b;
    --sk-chat-line: #dce5ed;
    --sk-chat-wash: #f1f5f9;
    position: fixed;
    z-index: 1060;
    inset-inline-end: 28px;
    bottom: 26px;
    color: var(--sk-chat-ink);
    font: 14px/1.55 "Cairo", "Segoe UI", Arial, sans-serif;
    text-align: start;
    -webkit-font-smoothing: antialiased;
}

.sk-chat *, .sk-chat *::before, .sk-chat *::after {
    box-sizing: border-box;
}

.sk-chat [hidden], .sk-chat[hidden] {
    display: none !important;
}

.sk-chat button, .sk-chat input, .sk-chat textarea {
    font: inherit;
}

.sk-chat button {
    cursor: pointer;
}

.sk-chat button:disabled {
    cursor: wait;
    opacity: .55;
}

.sk-chat a {
    color: inherit;
}

.sk-chat button:focus-visible, .sk-chat a:focus-visible, .sk-chat input:focus-visible, .sk-chat textarea:focus-visible, .sk-chat summary:focus-visible {
    outline: 3px solid #ff9e59;
    outline-offset: 3px;
}

.sk-chat-symbols {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.sk-chat-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sk-chat-launcher {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    padding: 0;
    margin-inline-start: auto;
    border: 1px solid #164a61;
    border-radius: 50%;
    color: white;
    background: linear-gradient(145deg, #18516a, #082f43);
    box-shadow: 0 3px 9px #12364d25;
    transition: transform .18s ease, box-shadow .18s ease;
}

.sk-chat-launcher:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px #12364d35;
}

.sk-chat-launcher .sk-chat-icon {
    width: 26px;
    height: 26px;
}

.sk-chat-launcher-dot {
    display: none;
    position: absolute;
    inset-inline-end: 1px;
    top: 3px;
    width: 13px;
    height: 13px;
    background: var(--sk-chat-orange);
    border-radius: 50%;
    border: 2px solid white;
}

.sk-chat-launcher.has-unread .sk-chat-launcher-dot {
    display: block;
}

.sk-chat-window {
    position: absolute;
    inset-inline-end: 0;
    bottom: 74px;
    display: flex;
    flex-direction: column;
    width: 380px;
    max-height: min(650px, calc(100dvh - 124px));
    min-height: 408px;
    overflow: hidden;
    background: white;
    border: 1px solid #e1e8ed;
    border-radius: 14px;
    box-shadow: 0 8px 30px #16394c26;
    animation: sk-chat-in .2s ease-out;
}

.sk-chat-header {
    display: grid;
    grid-template-columns: 39px minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 2px 10px;
    flex-shrink: 0;
    min-height: 58px;
    padding: 12px 16px;
    color: white;
    background: linear-gradient(110deg, #12465e, #0c3549);
}

.sk-chat-brand-mark {
    grid-column: 1;
    grid-row: 1 / 3;
    display: block;
    overflow: hidden;
    width: 39px;
    height: 30px;
    flex-shrink: 0;
}

.sk-chat-brand-mark img {
    display: block;
    width: 38px;
    max-width: none;
    height: 30px;
}

.sk-chat-heading {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    flex: 1;
}

.sk-chat-heading h2 {
    margin: 0;
    overflow-wrap: anywhere;
    color: inherit;
    font: 700 15px/1.3 "Cairo", "Segoe UI", Arial, sans-serif;
}

.sk-chat-status {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #c9dbe7;
    font-size: 11px;
    overflow-wrap: anywhere;
}

.sk-chat-status::before {
    content: "";
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #66d268;
}

.sk-chat-status.is-unavailable::before {
    background: #e7b078;
}

.sk-chat-header-actions {
    grid-column: 3;
    grid-row: 1 / 3;
    display: flex;
    align-items: center;
    gap: 2px;
}

.sk-chat-icon-button {
    width: 28px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    border: 0;
    border-radius: 5px;
    color: inherit;
    background: transparent;
}

.sk-chat-icon-button:hover {
    background: #ffffff15;
}

.sk-chat-icon-button .sk-chat-icon {
    width: 19px;
    height: 19px;
}

.sk-chat-body {
    flex: 1 1 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    min-height: 0;
    padding: 22px 20px 14px;
    scrollbar-width: thin;
    scrollbar-color: #cddae4 transparent;
}

.sk-chat-welcome {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 22px;
}

.sk-chat-avatar {
    width: 42px;
    height: 44px;
    flex-shrink: 0;
}

.sk-chat-bubble {
    padding: 12px 15px;
    border-radius: 20px 20px 20px 4px;
    background: var(--sk-chat-wash);
    color: var(--sk-chat-ink);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

[dir="rtl"] .sk-chat-bubble {
    border-radius: 20px 20px 4px 20px;
}

.sk-chat-bubble p {
    margin: 0;
}

.sk-chat-message {
    margin: 12px 0;
    max-width: 93%;
}

.sk-chat-message.is-user {
    margin-inline-start: auto;
    background: #e6f0f4;
    border-radius: 18px 18px 4px 18px;
}

.sk-chat-message a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sk-chat-answer, .sk-chat-sources {
    white-space: normal;
    font-size: 14px;
}

/* Keep the site's global paragraph and list typography out of chat answers. */
.sk-chat-answer p, .sk-chat-answer ul, .sk-chat-answer ol, .sk-chat-answer li, .sk-chat-answer a,
.sk-chat-answer pre, .sk-chat-answer blockquote {
    font-size: inherit;
}

.sk-chat-answer > * {
    margin: 0 0 10px;
}

.sk-chat-answer > :last-child, .sk-chat-answer li > :last-child {
    margin-bottom: 0;
}

.sk-chat-answer h4 {
    color: inherit;
    font: 700 14px/1.5 "Cairo", "Segoe UI", Arial, sans-serif;
}

.sk-chat-answer p + p {
    margin-top: 10px;
}

.sk-chat-answer > p:not(:last-child) {
    margin-bottom: 10px;
}

.sk-chat-answer ul, .sk-chat-answer ol {
    padding-inline-start: 22px;
}

.sk-chat-answer li + li, .sk-chat-answer li > ul, .sk-chat-answer li > ol {
    margin-top: 6px;
}

.sk-chat-answer code {
    color: inherit;
    font-size: inherit;
    background: #dfe9ef;
    border-radius: 4px;
    padding: 1px 4px;
    overflow-wrap: anywhere;
}

.sk-chat-answer pre {
    max-width: 100%;
    padding: 10px;
    overflow-x: auto;
    white-space: pre;
    background: #e4edf2;
    border-radius: 8px;
    direction: ltr;
    text-align: left;
}

.sk-chat-answer pre code {
    padding: 0;
    background: none;
}

.sk-chat-answer blockquote {
    margin-inline: 0;
    padding-inline-start: 12px;
    border-inline-start: 3px solid #b5c8d6;
}

.sk-chat-sources {
    margin-top: 12px;
    border-top: 1px solid var(--sk-chat-line);
    padding-top: 8px;
    font-size: 14px;
}

.sk-chat-sources > summary {
    cursor: pointer;
    font-weight: 600;
}

.sk-chat-question {
    margin: 0 0 8px;
}

.sk-chat-question-heading {
    display: flex;
    align-items: baseline;
    gap: 9px;
    margin: 0 0 14px;
}

.sk-chat-question-heading h3 {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    margin: 0;
    color: var(--sk-chat-ink);
    font: 600 14px/1.55 "Cairo", "Segoe UI", Arial, sans-serif;
}

.sk-chat-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 24px;
    height: 24px;
    padding: 0 5px;
    border-radius: 50%;
    color: white;
    background: #15506b;
    font-size: 12px;
    font-weight: 600;
}

.sk-chat-choices {
    display: grid;
    gap: 10px;
}

.sk-chat-choice {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 49px;
    padding: 10px 17px;
    border: 1px solid #7899b0;
    border-radius: 28px;
    color: var(--sk-chat-ink);
    background: white;
    text-align: start;
    font-weight: 500;
    transition: background .15s, border-color .15s;
}

.sk-chat-choice-icon {
    flex: 0 0 22px;
    width: 22px;
    font-size: 22px;
    line-height: 1;
    text-align: center;
}

.sk-chat-choice > span {
    flex: 1;
}

.sk-chat-choice:hover {
    background: #f0f6fa;
    border-color: #1b5875;
}

.sk-chat-choice .sk-chat-icon:last-child {
    width: 15px;
    height: 15px;
}

[dir="rtl"] .sk-chat-choice .sk-chat-icon:last-child, [dir="rtl"] .sk-chat-composer button .sk-chat-icon, [dir="rtl"] .sk-chat-primary > .sk-chat-icon {
    transform: rotate(180deg);
}

.sk-chat-helper {
    margin: 22px 0 4px;
    padding-top: 15px;
    border-top: 1px solid var(--sk-chat-line);
    color: var(--sk-chat-muted);
    font-size: 12px;
}

.sk-chat-answer-form {
    display: grid;
    gap: 12px;
}

.sk-chat-input {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid #b5c8d6;
    border-radius: 12px;
    background: #fcfdfe;
    color: var(--sk-chat-ink);
    resize: vertical;
}

textarea.sk-chat-input {
    min-height: 86px;
    max-height: 180px;
}

.sk-chat-input::placeholder {
    color: #8294a4;
}

.sk-chat-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 43px;
    padding: 10px 20px;
    border: 1px solid var(--sk-chat-navy);
    border-radius: 24px;
    color: white !important;
    background: var(--sk-chat-navy);
    font-weight: 600;
    text-decoration: none;
}

.sk-chat-primary:hover {
    background: #1e536b;
    color: white;
}

.sk-chat-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 38px;
    padding: 7px 12px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--sk-chat-muted);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sk-chat-secondary:hover {
    background: var(--sk-chat-wash);
    color: var(--sk-chat-ink);
}

.sk-chat-back {
    margin-top: 12px;
    font-size: 12px;
}

.sk-chat-summary {
    margin: 0 0 18px;
    padding: 10px 13px;
    border: 1px solid var(--sk-chat-line);
    border-radius: 13px;
    background: #fbfcfd;
}

.sk-chat-summary > summary {
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    color: #527287;
}

.sk-chat-summary dl {
    margin: 10px 0 0;
}

.sk-chat-review dl {
    margin: 0 0 16px;
}

.sk-chat-summary-row {
    position: relative;
    padding: 11px 0;
    border-bottom: 1px solid var(--sk-chat-line);
}

.sk-chat-summary-row:last-child {
    border-bottom: 0;
}

.sk-chat-summary-row dt {
    padding-inline-end: 45px;
    color: #728496;
    font-size: 11px;
    line-height: 1.5;
    font-weight: 500;
}

.sk-chat-summary-row dd {
    margin: 4px 0 0;
    padding-inline-end: 40px;
    color: var(--sk-chat-ink);
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.sk-chat-edit {
    position: absolute;
    top: 11px;
    inset-inline-end: 0;
    border: 0;
    padding: 2px 0 2px 5px;
    color: #246080;
    background: transparent;
    font-size: 11px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sk-chat-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 4px 0 12px;
}

.sk-chat-consent input {
    margin-top: 5px;
    width: 17px;
    height: 17px;
    accent-color: var(--sk-chat-navy);
}

.sk-chat-composer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 20px 12px;
    padding: 6px 7px 6px 14px;
    border: 1px solid #d3dfe8;
    border-radius: 28px;
    background: #f9fbfd;
}

.sk-chat-composer input {
    flex: 1;
    min-width: 0;
    width: 100%;
    padding: 5px 0;
    border: 0;
    outline: none;
    color: var(--sk-chat-ink);
    background: transparent;
    font-size: 12px;
}

.sk-chat-composer input:focus-visible {
    outline-offset: 1px;
    border-radius: 3px;
}

.sk-chat-composer button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: white;
    background: var(--sk-chat-navy);
}

.sk-chat-composer .sk-chat-icon {
    width: 18px;
    height: 18px;
}

.sk-chat-footer {
    display: flex;
    justify-content: center;
    gap: 7px;
    flex-shrink: 0;
    padding: 10px 12px;
    color: #8091a2;
    font-size: 10px;
}

.sk-chat-footer a {
    color: #587489;
    text-decoration: none;
}

.sk-chat-footer a:hover {
    text-decoration: underline;
}

.sk-chat-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    color: var(--sk-chat-muted);
    font-size: 12px;
}

.sk-chat-loading p {
    margin: 13px 0 0;
}

.sk-chat-loading-dots {
    display: flex;
    gap: 5px;
}

.sk-chat-loading-dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4b819c;
    animation: sk-chat-dot 1s infinite alternate;
}

.sk-chat-loading-dots i:nth-child(2) {
    animation-delay: .2s;
}

.sk-chat-loading-dots i:nth-child(3) {
    animation-delay: .4s;
}

.sk-chat-error {
    flex-shrink: 0;
    padding: 10px 16px;
    margin: 4px 20px 12px;
    border: 1px solid #f3d3bf;
    border-radius: 10px;
    background: #fff8f3;
    color: #8b492b;
    font-size: 12px;
}

.sk-chat-error p {
    margin: 0;
}

.sk-chat-error button {
    padding: 4px 0 0;
    border: 0;
    color: inherit;
    background: none;
    text-decoration: underline;
}

.sk-chat-empty, .sk-chat-success {
    padding: 14px 5px 24px;
    text-align: center;
}

.sk-chat-empty img {
    width: 66px;
    height: 66px;
    margin-bottom: 14px;
}

.sk-chat-empty h3, .sk-chat-success h3 {
    margin: 0 0 10px;
    color: var(--sk-chat-ink);
    font-size: 19px;
    line-height: 1.4;
}

.sk-chat-empty p, .sk-chat-success p {
    margin: 0 0 20px;
    color: var(--sk-chat-muted);
    font-size: 13px;
}

.sk-chat-success-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 57px;
    height: 57px;
    margin: 0 0 17px;
    border-radius: 50%;
    background: #eaf4ef;
    color: #2f8063;
}

.sk-chat-success-icon .sk-chat-icon {
    width: 28px;
    height: 28px;
}

.sk-chat-reference {
    display: block;
    margin-top: 12px;
    font: 11px/1.5 monospace;
    color: #7d8e9c;
    overflow-wrap: anywhere;
}

.sk-chat-confirm {
    display: flex;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: #123d5380;
    backdrop-filter: blur(3px);
}

.sk-chat-confirm-card {
    display: grid;
    gap: 10px;
    padding: 25px;
    border-radius: 16px;
    background: white;
    box-shadow: 0 10px 30px #10374f25;
}

.sk-chat-confirm-card h3 {
    margin: 0;
    font-size: 18px;
    color: var(--sk-chat-ink);
}

.sk-chat-confirm-card p {
    margin: 0 0 8px;
    color: var(--sk-chat-muted);
    font-size: 13px;
}

.sk-chat-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@keyframes sk-chat-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes sk-chat-dot {
    to {
        opacity: .3;
        transform: translateY(-3px);
    }
}

@media (max-width: 540px) {
    .sk-chat {
        inset-inline-end: 16px;
        bottom: max(16px, env(safe-area-inset-bottom));
    }

    .sk-chat-launcher {
        width: 56px;
        height: 56px;
    }

    .sk-chat-window {
        position: fixed;
        inset-inline: 10px;
        bottom: max(10px, env(safe-area-inset-bottom));
        width: auto;
        min-height: 0;
        height: min(650px, calc(100dvh - 20px));
        max-height: calc(100dvh - 20px);
        border-radius: 16px;
    }

    .sk-chat-body {
        padding: 22px 20px;
    }

    .sk-chat-header {
        min-height: 64px;
    }

    .sk-chat-composer {
        margin-bottom: 12px;
    }

    .sk-chat-composer input, .sk-chat-input {
        font-size: 16px;
    }

    body.sk-chat-mobile-open {
        overflow: hidden;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sk-chat *, .sk-chat *::before, .sk-chat *::after {
        animation: none !important;
        transition: none !important;
    }
}

.sk-chat-restart-link {
    border: 0;
    padding: 0;
    background: none;
    color: #587489;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sk-chat-results {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.sk-chat-result {
    border-top: 1px solid #cbdbe3;
    padding-top: 10px;
}

.sk-chat-result-link {
    color: #07516a;
    font-size: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}

.sk-chat-result-link:focus-visible {
    outline: 2px solid #07516a;
    outline-offset: 3px;
}

.sk-chat-result-excerpt {
    margin: 5px 0 0;
    font-size: 14px;
    line-height: 1.5;
}

.sk-chat-workflow-body {
    margin-block: 12px 18px;
    overflow-wrap: anywhere;
}

/* Preferred call time: a request for team confirmation, independent of availability. */
.sk-chat-call { display: grid; gap: 12px; margin-block: 14px; }
.sk-chat-call-note { margin: 0; color: var(--sk-chat-muted); font-size: 13px; line-height: 1.65; }
.sk-chat-call-label { display: block; font-size: 12px; font-weight: 700; color: var(--sk-chat-ink); }
.sk-chat-calendar { padding: 12px; border: 1px solid var(--sk-chat-line); border-radius: 14px; background: linear-gradient(145deg, #fff, #f6f9fc); }
.sk-chat-calendar-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.sk-chat-calendar-toolbar strong { font-size: 14px; }
.sk-chat-calendar-nav { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 1px solid var(--sk-chat-line); border-radius: 9px; background: white; color: var(--sk-chat-navy); font-size: 23px; line-height: 1; }
.sk-chat-calendar-nav:disabled { opacity: .35; cursor: default; }
.sk-chat-calendar-weekdays, .sk-chat-calendar-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.sk-chat-calendar-weekdays { margin-bottom: 6px; color: var(--sk-chat-muted); font-size: 10px; text-align: center; }
.sk-chat-calendar-day { position: relative; min-width: 0; height: 33px; padding: 0; border: 1px solid transparent; border-radius: 9px; background: transparent; color: var(--sk-chat-ink); font-size: 12px; font-weight: 600; }
.sk-chat-calendar-day:hover:not(:disabled) { background: #e6eff5; }
.sk-chat-calendar-day[aria-current="date"] { border-color: #96afc0; }
.sk-chat-calendar-day[aria-pressed="true"], .sk-chat-calendar-day[aria-pressed="true"]:hover { color: white; background: var(--sk-chat-navy); border-color: var(--sk-chat-navy); box-shadow: 0 3px 8px #12364d26; }
.sk-chat-calendar-day:disabled { color: #b2bec8; opacity: .65; cursor: default; }
.sk-chat-call-fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.sk-chat-call-field { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.sk-chat-call-field .sk-chat-input { box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; min-height: 44px; padding: 9px 8px; font-size: 14px; border-radius: 9px; background-color: white; }
.sk-chat-call-field select.sk-chat-input {
    -webkit-appearance: none;
    appearance: none;
    padding-inline: 12px 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='m1 1 6 6 6-6' fill='none' stroke='%23657a90' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}
.sk-chat-call-field select.sk-chat-input:dir(rtl) { background-position: left 14px center; }
.sk-chat-call-selection { margin: 0; padding: 10px 12px; border-inline-start: 3px solid var(--sk-chat-orange); border-radius: 6px; background: #fff7f0; color: var(--sk-chat-ink); font-size: 12px; }
.sk-chat-call-error { margin: 0; color: #a32621; font-size: 12px; }
.sk-chat-call-confirmation { margin-top: 12px; font-size: 13px; }

.sk-chat-call > .sk-chat-primary:disabled { cursor: default; }

/* Keep iOS form controls readable and inside the chat at narrow widths. */
.sk-chat-call-time-field legend { margin-bottom: 6px; padding: 0; }
.sk-chat-call-time { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: center; }
.sk-chat-call-time-separator { font-weight: 700; color: var(--sk-chat-muted); }
@media (max-width: 540px) {
    .sk-chat-call-field .sk-chat-input { font-size: 16px; }
}
