﻿
.error {
    border: 1px red solid;
}


/* Applies to all repeated dynamic blocks */
.repeat-block:not(:first-child) {
    margin-top: 24px; /* spacing between blocks */
    padding-top: 24px;
    border-top: 1px dashed #d1d5db; /* subtle dotted/dashed line */
}


.autocomplete {
    margin-top: 50px;
    height: 250px;
    overflow: auto;
    z-index: 1;
}

    .autocomplete::-webkit-scrollbar {
        width: 6px;
    }

    .autocomplete::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 6px;
    }

        .autocomplete::-webkit-scrollbar-thumb:hover {
            background: #94a3b8;
        }


.autocomplete-item {
    border-bottom: 1px dotted lightgray;
}





.notification-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 9999px;
    display: none;
    animation: pulse 1.5s infinite;
}

.notification-count {
    position: absolute;
    top: -4px;
    right: -6px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 9999px;
    display: none;
    font-weight: 600;
}

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

    70% {
        transform: scale(1.4);
        opacity: 0.6;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Subtle bell animation */
.bell-animate {
    animation: bellRing 0.5s ease;
}

@keyframes bellRing {
    0% {
        transform: rotate(0);
    }

    25% {
        transform: rotate(12deg);
    }

    50% {
        transform: rotate(-12deg);
    }

    75% {
        transform: rotate(6deg);
    }

    100% {
        transform: rotate(0);
    }
}


.mention-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    background: #EEF4FF;
    color: #1B84FF;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    margin: 0 2px;
}








.note-editor {
    min-height: 24px;
    max-height: 180px;
    overflow-y: auto;
    position: relative;
    padding: 0;
    margin: 0;
    line-height: 1.5;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

    .note-editor:focus,
    .note-editor:focus-visible,
    .note-editor:active {
        outline: none !important;
        border: none !important;
        box-shadow: none !important;
    }

    .note-editor.empty::before {
        content: attr(data-placeholder);
        color: #9ca3af;
        position: absolute;
        left: 0;
        top: 0;
        pointer-events: none;
    }