@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

#sentry-feedback {
    --inset: auto 150px 0 auto;
}

/* ui.css is a prebuilt Tailwind build without this utility; the page wrapper
   in frontend/base.html needs it so the content area scrolls. */
.min-h-0 {
    min-height: 0;
}

/* TipTap Editor */
.tiptap {
    background-color: rgb(241 245 249);
    border: 1px solid rgb(226 232 240);
    border-radius: 0.25rem;
    max-height: 500px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0.5rem 1rem;
}

.tiptap:focus {
    background-color: white;
    border: 1px solid rgb(203 213 225);
    outline: none;
}

.tiptap p {
    margin: 10px 0;
}

.tiptap h1 {
    font-size: 1.5rem;
}

.tiptap h2 {
    font-size: 1.25rem;
}

.tiptap h3 {
    font-size: 1.125rem;
}

.tiptap ul {
    list-style-type: disc;
    margin-left: 1rem;
}

.tiptap ol {
    list-style-type: decimal;
    margin-left: 1rem;
}

.tiptap a {
    color: #6366f1;
    cursor: pointer;
}

.tiptap a:hover {
    text-decoration: underline;
}

.is-active-editor-button {
    background-color: rgb(226 232 240);
}

/* Offer content notification */
.offer-content .loader {
    height: 4px;
    margin-top: 15px;
    --c: no-repeat linear-gradient(rgb(99 102 241) 0 0);
    background: var(--c), var(--c), rgb(199 210 254);
    background-size: 60% 100%;
    animation: l16 3s infinite;
}

@keyframes l16 {
    0% {
        background-position: -150% 0, -150% 0
    }
    66% {
        background-position: 250% 0, -150% 0
    }
    100% {
        background-position: 250% 0, 250% 0
    }
}

.offer-content .notification {
    position: relative;
    /*background-color: rgb(30 41 59); */
    color: #ffffff;
    padding: 15px 15px;
    width: 340px;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    margin: 5px 0;
}

.offer-content .notification-text {
    color: #ffffff;
    margin-bottom: 5px;
    font-size: 14px;
}

.offer-content .notification-title {
    display: block;
    font-size: 24px;
    font-weight: 700;
}

.offer-content .notification-text .text-slate-400 {
    display: block;
    color: rgba(30, 41, 59, 1);
    font-weight: 200;
    text-decoration: none;
    margin-top: 10px;
    margin-bottom: -5px;
}

.offer-content .notification-text .text-slate-400:hover {
    text-decoration: underline;
}

.offer-content .close-btn {
    position: absolute;
    top: 12px;
    right: 15px;
    background-color: transparent;
    color: #ffffff;
    border: none;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
}

.bg-slate-150 {
    background-color: rgb(231 238 244);
}

.popup-arrow-border::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 7px;
    border-style: solid;
    border-color: transparent transparent #e5e7eb transparent;
}

.popup-arrow-background::after {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 7px;
    border-style: solid;
    border-color: transparent transparent white transparent;
}

#animated-dot {
    display: block;
    position: absolute;
    animation: moveToTarget 1s forwards cubic-bezier(0.42, 0, 0.58, 1);
}

@keyframes moveToTarget {
    to {
        transform: translate(var(--translate-x), var(--translate-y));
    }
}

.notification-pulse {
    width: 24px;
    height: 24px;
    background: linear-gradient(rgb(244 63 94), rgb(244 63 94));
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 12px;
    color: #fff;
}

.notification-pulse:before,
.notification-pulse:after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: rgb(244 63 94);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.7;
}

@keyframes pulse {
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.notification-pulse:before {
    animation: pulse 2s ease-out infinite;
}

.notification-pulse:after {
    animation: pulse 2s 1s ease-out infinite;
}

.btn-v2 {
    align-items:center;
    border-color:transparent;
    border-radius: 9999px;
    border-width:1px;
    display: inline-flex;
    font-size: 16px;
    font-weight:500;
    justify-content:center;
    padding: 14px 30px;
    line-height: 25px;
}

.btn-v2-color-primary {
    background: linear-gradient(90deg, #132CB1 0%, #5F77F7 100%);
    color: white;
}

.dropdown-v2 {
    border-radius: 26px;
    border-color: #DCDCDC;
    border-width: 1px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
    font-size: 16px;
    padding: 14px 30px;
    line-height: 25px;
}

.dropdown-options-v2 {
    background-color: white;
    border-radius: 26px;
    border-color: #DCDCDC;
    border-width: 1px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
    font-size: 16px;
}
/* Expanded website row in the direct-buy and publisher-profile tables. */
.service-row-open {
    background-color: #ecf7f1;
}
