.agathos-widget {
    background: linear-gradient(135deg,
    rgba(0, 108, 215, 1) 0%,
    rgba(0, 187, 213, 1) 100%);
    border-radius: 12px;
    font-size: 16px;
    margin: 28px auto;
    padding: 2px;
    max-width: 645px;
}

.agathos-widget a {
    color: black;
    line-height: 1;
    text-decoration: none;
}

.aw--content {
    background-color: white;
    border-radius: 10px;
    padding: 16px 20px 24px;
}

.aw--row {
    display: flex;
    flex-direction: row;
    gap: 16px;
}

.aw--row__right {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.aw--thumbnail {
	border-radius: 8px;
    height: 80px;
    width: 80px;
    background: #f3f3f3;
    object-fit: contain;
}

.aw--title__row {
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-top: 7px;
}

.aw--title__row a {
    align-items: center;
    color: #0054bb;
    display: flex;
    flex-direction: row;
    font-weight: 500;
    gap: 3px;
    font-size: 1.2em;
}

.aw--title__row a:hover {
    color: #002c93;
}

.aw--title__row a img {
    height: 18px;
    position: relative;
    top: -1px;
    width: 18px;
}

.aw--title {
    color: black;
    line-height: 1.2;
    font-size: 1.5em;
    font-weight: 600;
}

.aw--title__linktext {
    display: flex;
    flex-direction: column;
    height: 15px;
    overflow: hidden;
    position: relative;
    top: 1px;
}

.aw--host {
    align-items: center;
    color: rgb(51, 51, 51);
    display: flex;
    font-size: 0.9375em;
    line-height: normal;
    margin-block-start: 4px;
}

.aw--host__thumbnail {
    border: 0.5px solid #707070;
    border-radius: 24px;
    height: 24px;
    margin: 0 4px 0 5px;
    position: relative;
    top: -1px;
    width: 24px;
}

.aw--host a {
    align-items: center;
    display: flex;
    font-weight: 400;
}

.aw--progress {
    font-size: 0.9375em;
    margin-top: 12px;
}

.aw--progress__row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.aw--progress strong {
    font-weight: 600;
}

.aw--progress__bar {
    background-color: #e2f4ff;
    border-radius: 4px;
    height: 4px;
    position: relative;
    width: 100%;
}

.aw--progress__pulse {
    animation: pulse-move 2s infinite linear;
    border-radius: 4px;
    clip-path: inset(0 0 0 0);
    height: 100%;
    left: -160px;
    position: absolute;
    top: 0;
    width: 160px;

    background: #00559c;
    background: linear-gradient(to right, #00559c 0%, #3bbaff 50%, #00559c 100%);
}

@keyframes pulse-move {
    0% {
        left: -160px;
    }

    50% {
        left: 50%;
    }

    100% {
        left: 100%;
    }
}

.aw--progress__fill {
    background-color: #00559c;
    border-radius: 4px;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.aw--footer {
    align-items: center;
    display: flex;
    flex-direction: row;
    font-size: 0.875rem;
    justify-content: space-between;
    margin-top: 20px;
}

.aw--footer__left {
    align-items: center;
    display: flex;
    flex-direction: row;
}

.aw--footer a {
    align-items: center;
    display: flex;
    flex-direction: row;
}

.aw--powered-by {
    color: rgba(51, 51, 51, .72);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.04rem;
    position: relative;
    text-transform: uppercase;
    top: 3px;
}

.aw--logo {
    height: 19px;
    margin-left: 5px;
    width: auto;
}

a.aw--btn {
    height: 38px;
    line-height: 1;
    background: #0055B2;
    font-size: 18px;
    font-weight: 600;
    border-radius: 40px;
    padding: 24px 32px;
    transition: all 0.4s ease;
    color: white;
}

a.aw--btn:hover {
    background: linear-gradient(to right,
    rgba(0, 88, 195, 1) 0%,
    rgba(0, 167, 193) 100%);
}

.is__private .aw--row__center,
.is__private .aw--row__right {
    align-items: center;
    flex-direction: row;
}

.is__private .aw--row__center {
    align-items: center;
    display: flex;
    flex-grow: 1;
}

.is__private .aw--title {
    display: flex;
}

.is__private .aw--row__right {
    flex-grow: 0;
}

.is__private a.aw--btn {
    align-items: center;
    display: flex;
    height: 38px;
}

.is__private .aw--footer {
    justify-content: flex-end;
    margin-top: 0;
}

.is__private .aw--footer__right {
    display: none;
}

.is__mobile-only {
    display: none;
}

@media (max-width: 640px) {
    .aw--row__right .aw--footer {
        display: none;
    }

    .is__mobile-only {
        display: flex;
    }

    .agathos-widget p {
        font-size: 16px;
    }

    .aw--content {
        padding: 12px;
    }

    .aw--row {
        gap: 12px;
    }

    .aw--row__left {
        line-height: normal;
    }

    .aw--row__center {
        display: flex;
        flex-direction: row;
    }

    .aw--thumbnail {
        border-radius: 4px;
        height: 52px;
        width: 52px;
    }

    .aw--title {
        font-size: 1.8rem; /* 18px / 10px */
    }

    .aw--title__linktext {
        display: none;
    }

    .aw--host {
        font-size: 1.4rem; /* 14px / 10px */
    }

    .aw--progress {
        font-size: 1.4rem; /* 14px / 10px */
        margin-top: 8px;
    }

    a.aw--btn {
        align-items: center;
        border-radius: 4px;
        display: flex;
        font-size: 1.4rem; /* 14px / 10px */
        justify-content: center;
        line-height: 1;
        min-width: 115px;
        padding: 8px 12px 6px;
    }

    .aw--footer {
        font-size: 1.3rem; /* 13px / 10px */
        margin-top: 18px;
    }

    .aw--footer .aw--logo {
        height: 18px;
        margin-left: 4px;
    }

    .is__private .aw--title__row {
        flex-direction: column;
    }

    .is__private .aw--title,
    .is__private .aw--host {
        flex-grow: 1;
    }

    .is__private .aw--title {
        width: 100%;
    }

    .is__private .aw--title__row a {
        display: none;
    }

    .is__private .aw--footer__right {
        display: flex;
    }

    .is__private .aw--footer {
        margin-top: 8px;
    }
}
