.dtj-call-widget,
.dtj-call-widget * {
    box-sizing: border-box;
}

.dtj-call-widget {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 10050;
    visibility: hidden;
    color: #172a45;
    font-family: Arimo, Arial, Helvetica, sans-serif;
    line-height: 1.4;
}

.dtj-call-widget--ready {
    visibility: visible;
}

.dtj-call-widget [hidden] {
    display: none !important;
}

.dtj-call-widget__panel {
    width: 360px;
    max-width: calc(100vw - 32px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(17, 24, 39, .22), 0 0 0 1px rgba(0, 0, 0, .04);
    animation: dtj-call-widget-enter 280ms cubic-bezier(.2, .8, .2, 1) both;
}

.dtj-call-widget__header {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    min-height: 132px;
    padding: 20px 20px 54px;
    overflow: hidden;
    color: #fff;
    background: #4c6b99;
}

.dtj-call-widget__header::after {
    position: absolute;
    top: -80px;
    right: -55px;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    content: "";
}

.dtj-call-widget__heading {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dtj-call-widget__phone-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 14px;
    background: rgba(255, 255, 255, .14);
}

.dtj-call-widget__phone-icon svg,
.dtj-call-widget__launcher svg,
.dtj-call-widget__button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.dtj-call-widget__eyebrow,
.dtj-call-widget__title,
.dtj-call-widget__instruction,
.dtj-call-widget__number,
.dtj-call-widget__hint {
    display: block;
}

.dtj-call-widget__eyebrow {
    margin-bottom: 2px;
    color: rgba(255, 255, 255, .68);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.dtj-call-widget__title {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.01em;
}

.dtj-call-widget__close,
.dtj-call-widget__launcher {
    margin: 0;
    border: 0;
    color: #fff;
    cursor: pointer;
    font: inherit;
}

.dtj-call-widget__close {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: -4px -4px 0 0;
    padding: 0;
    border-radius: 50%;
    background: transparent;
    transition: background-color .2s ease;
}

.dtj-call-widget__close:hover,
.dtj-call-widget__close:focus {
    outline: 0;
    background: rgba(255, 255, 255, .16);
}

.dtj-call-widget__close:focus-visible,
.dtj-call-widget__launcher:focus-visible,
.dtj-call-widget__button:focus-visible {
    outline: 3px solid rgba(118, 147, 189, .55);
    outline-offset: 3px;
}

.dtj-call-widget__close svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 2;
}

.dtj-call-widget__body {
    position: relative;
    z-index: 3;
    margin-top: -36px;
    padding: 0 20px 18px;
}

.dtj-call-widget__card {
    padding: 16px;
    border: 1px solid #d8e0eb;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .08);
}

.dtj-call-widget__contact-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.dtj-call-widget__qr {
    flex: 0 0 auto;
    width: 118px;
    height: 118px;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
}

.dtj-call-widget__qr svg {
    display: block;
    width: 100%;
    height: 100%;
}

.dtj-call-widget__copy {
    min-width: 0;
    flex: 1 1 auto;
}

.dtj-call-widget__instruction {
    color: #607089;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}

.dtj-call-widget__number {
    margin-top: 8px;
    color: #172a45;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.01em;
    white-space: nowrap;
}

.dtj-call-widget__hint {
    margin-top: 4px;
    color: #607089;
    font-size: 11px;
    line-height: 1.45;
}

.dtj-call-widget__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 44px;
    margin-top: 16px;
    border-radius: 12px;
    color: #fff !important;
    background: #4c6b99;
    box-shadow: 0 3px 8px rgba(46, 75, 116, .2);
    font-size: 14px;
    font-weight: 700;
    gap: 8px;
    text-decoration: none !important;
    transition: background-color .2s ease, transform .2s ease;
}

.dtj-call-widget__button:hover,
.dtj-call-widget__button:focus {
    color: #fff !important;
    background: #3f5d89;
    text-decoration: none !important;
}

.dtj-call-widget__button:active {
    transform: translateY(1px);
}

.dtj-call-widget__dismiss-hint {
    margin: 11px 0 0;
    color: #607089;
    font-size: 11px;
    text-align: center;
}

.dtj-call-widget__launcher {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 50%;
    background: #4c6b99;
    box-shadow: 0 14px 35px rgba(76, 107, 153, .42);
    animation: dtj-call-widget-enter 280ms cubic-bezier(.2, .8, .2, 1) both;
    transition: background-color .2s ease, transform .2s ease;
}

.dtj-call-widget__launcher:hover,
.dtj-call-widget__launcher:focus {
    outline: 0;
    background: #3f5d89;
    transform: translateY(-1px);
}

@keyframes dtj-call-widget-enter {
    from {
        opacity: 0;
        transform: translateY(14px) scale(.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 480px) {
    .dtj-call-widget {
        right: 12px;
        bottom: 12px;
    }

    .dtj-call-widget__panel {
        max-width: calc(100vw - 24px);
    }
}

@media (max-width: 350px) {
    .dtj-call-widget__header {
        padding-right: 16px;
        padding-left: 16px;
    }

    .dtj-call-widget__body {
        padding-right: 14px;
        padding-left: 14px;
    }

    .dtj-call-widget__card {
        padding: 12px;
    }

    .dtj-call-widget__contact-row {
        gap: 10px;
    }

    .dtj-call-widget__qr {
        width: 104px;
        height: 104px;
    }

    .dtj-call-widget__number {
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dtj-call-widget__panel,
    .dtj-call-widget__launcher {
        animation: none;
    }

    .dtj-call-widget__close,
    .dtj-call-widget__button,
    .dtj-call-widget__launcher {
        transition: none;
    }
}
