.border-animate {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.50) 50%, transparent 50%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.50) 50%, transparent 50%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.50) 50%, transparent 50%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.50) 50%, transparent 50%);
    background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
    background-size: 16px 1px, 16px 1px, 1px 16px, 1px 16px;
    background-position: 0 0, 100% 100%, 0 100%, 100% 0;
    border-radius: 6px;
    animation: dash 30s linear infinite;
}

@keyframes dash {
    to {
        background-position: 100% 0, 0 100%, 0 0, 100% 100%;
    }
}

.task-container {
    margin: 25px 0;
    position: relative;
    height: 180px;
    width: 100%;
    border-radius: 12px;
    background: #F8FAFC;
    overflow: hidden;
    animation: fadeIn 0.5s ease;
}

.note {
    position: absolute;
    width: 40px;
    height: 40px;
    background: #3B82F6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0);
}
.note.visible {
    opacity: 1;
    animation: notePulse 3s infinite ease-in-out;
}
.note:hover {
    transform: scale(1.1);
    animation: none;
}
@keyframes notePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.bot {
    position: absolute;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4338CA;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0);
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-size: 20px;
    animation: float 3s infinite ease-in-out;
}
.bot.visible {
    opacity: 1;
    transform: scale(1);
}
@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}
.bot:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.icon-element {
    position: absolute;
    font-size: 30px;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0;
    transform: scale(0);
}
.icon-element.visible {
    opacity: 1;
    transform: scale(1);
}
.icon-element:hover {
    transform: scale(1.1);
}

.score-container {
    margin: 25px 0;
    position: relative;
    height: 200px;
    border-radius: 12px;
    background: #F8FAFC;
    overflow: hidden;
}

.score {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
    color: #F59E0B;
    font-weight: bold;
}

.particle {
    position: fixed;
    pointer-events: none;
    animation: particleAnim 0.8s forwards ease-out;
}
@keyframes particleAnim {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(0);
        opacity: 0;
    }
}

.continue-button {
    background: #22C55E;
    color: white;
    border: none;
    padding: 12px 28px;
    font-size: 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}
.continue-button:hover {
    background: #16A34A;
    transform: translateY(-1px);
}

.overlay {
    background-color: rgba(0,0,0,0.5);
    position: fixed;
    left:0;
    top: 0;
    width: 100%;
    height: 100%;
    animation: fadeIn 0.5s ease;
}

.pointer {
    animation: fadeIn 0.5s ease;
    position: absolute;
    top: 180px;
    right: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.pointer .arrow {
    transform: translate(0%, -30%) rotate(180deg);
    cursor: pointer;
    height: 100px;
}

.pointer .arrow span {
    display: block;
    width: 40px;
    height: 40px;
    border-bottom: 5px solid white;
    border-right: 5px solid white;
    transform: rotate(45deg);
    margin: -10px;
    animation: pointerArrowAnimate 2s infinite;
}

.pointer .arrow span:nth-child(2) {
    animation-delay: -0.2s;
}

.pointer .arrow span:nth-child(3) {
    animation-delay: -0.4s;
}

@keyframes pointerArrowAnimate {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-20px, -20px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(20px, 20px);
    }
}

.overlay-pointer,
.overlay-pointer-area {
    position: fixed;
    left:0;
    top: 0;
    width: 100%;
    height: 100%;
    animation: fadeIn 0.5s ease;
}

.overlay-pointer {
    background-color: rgba(0,0,0,0.5);
}

.pointer-area {
    position: absolute;
    top: 60px;
    right: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    padding: 15px;
    color: #000;
    min-height: 200px;
    background-size: 30px 2px, 30px 2px, 2px 30px, 2px 30px;
    outline: 2px solid #FFF;
    background-color: #F6F6F7;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.5);
}

.pointer h3,
.pointer p,
.pointer-area h3,
.pointer-area p {
    text-align: center;
}

@media screen and (max-width: 700px) {
    .pointer {
        top: 150px;
        right: 0;
        width: 100%;
    }

    .pointer .arrow span {
        width: 30px;
        height: 30px;
    }

    .overlay-pointer-area {
        display: flex;
        justify-content: center;
    }

    .pointer-area {
        right: inherit;
    }
}

@media screen and (max-width: 1580px) and (max-height: 780px) {
    .overlay-pointer-area {
        background-color: #F6F6F7;
    }

    .overlay-pointer {
        background-color: #7B7B7B;
    }
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.text-center {
    text-align: center;
}

.p-4 {
    padding: 1rem;
}
.bg-gray-200 {
    --tw-bg-opacity: 1;
    background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1));
}
.rounded-md {
    border-radius: calc(0.5rem - 2px);
}

.space-y-4 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(1rem* calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(1rem* var(--tw-space-y-reverse));
}

.text-gray-800 {
    --tw-text-opacity: 1;
    color: rgb(31 41 55 / var(--tw-text-opacity, 1));
}
.font-medium {
    font-weight: 500;
}
.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.space-y-1 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(0.25rem* calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(0.25rem* var(--tw-space-y-reverse));
}
.text-gray-500 {
    --tw-text-opacity: 1;
    color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}
.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.space-y-4 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(1rem* calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(1rem* var(--tw-space-y-reverse));
}
.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}
.ring-offset-background {
    --tw-ring-offset-color: hsl(var(--background));
}
.text-primary-foreground {
    color: #ffffff;
}
.font-medium {
    font-weight: 500;
}
.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}
.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}
.bg-blue-400 {
    --tw-bg-opacity: 1;
    background-color: rgb(96 165 250 / var(--tw-bg-opacity, 1));
}
.whitespace-nowrap {
    white-space: nowrap;
}
.gap-2 {
    gap: 0.5rem;
}
.justify-center {
    justify-content: center;
}
.items-center {
    align-items: center;
}
.h-10 {
    height: 2.5rem;
}
.inline-flex {
    display: inline-flex
;
}
