/* GrantFlow extras that do not require npm rebuild (FTP-safe). */

.notification-dropdown.has-unread .notification-dropdown__badge {
    animation: gf-badge-pulse 1.2s ease-in-out infinite;
}

.notification-dropdown__toggle.is-blinking {
    animation: gf-bell-blink 1.4s ease-in-out infinite;
    border-color: #0B6E4F;
}

@keyframes gf-badge-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(192, 57, 43, 0.55); }
    50% { transform: scale(1.12); box-shadow: 0 0 0 6px rgba(192, 57, 43, 0); }
}

@keyframes gf-bell-blink {
    0%, 100% { background: #fff; }
    50% { background: rgba(11, 110, 79, 0.18); }
}

@keyframes gf-unread-glow {
    0%, 100% { background: rgba(11, 110, 79, 0.06); }
    50% { background: rgba(11, 110, 79, 0.16); }
}

.notification-item {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0;
}

.notification-item__body {
    display: block;
    flex: 1;
    padding: 0.7rem 0.85rem;
    color: inherit;
    text-decoration: none;
    min-width: 0;
}

.notification-item__body:hover {
    background: rgba(11, 110, 79, 0.06);
}

.notification-item--unread {
    border-left: 3px solid #0B6E4F;
    animation: gf-unread-glow 1.6s ease-in-out infinite;
}

.notification-item__open {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #0B6E4F;
}

.notification-item__action {
    padding: 0.55rem 0.55rem 0 0;
}

.notification-item__check {
    width: 32px;
    height: 32px;
    border: 1px solid #d0d5dd;
    border-radius: 999px;
    background: #fff;
    color: #0B6E4F;
    font-weight: 700;
    cursor: pointer;
}

.notification-item__check:hover {
    background: #0B6E4F;
    color: #fff;
    border-color: #0B6E4F;
}

.rt-wrap {
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.rt-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    padding: 0.35rem 0.4rem;
    border-bottom: 1px solid #eaf5f0;
    background: #f7fbf9;
}

.rt-toolbar__btn {
    min-width: 32px;
    height: 28px;
    padding: 0 0.45rem;
    border: 1px solid #d0d5dd;
    border-radius: 6px;
    background: #fff;
    color: #1f2937;
    font-size: 0.78rem;
    cursor: pointer;
}

.rt-toolbar__btn:hover {
    border-color: #0B6E4F;
    color: #0B6E4F;
}

.rt-editor {
    min-height: 8rem;
    padding: 0.65rem 0.75rem;
    outline: none;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    line-height: 1.55;
}

.rt-editor ul,
.rich-text-content ul {
    margin: 0.35rem 0 0.35rem 1.2rem;
    padding: 0;
    list-style: disc;
}

.rt-editor ol,
.rich-text-content ol {
    margin: 0.35rem 0 0.35rem 1.2rem;
    padding: 0;
    list-style: decimal;
}

.rt-editor p,
.rich-text-content p {
    margin: 0 0 0.55rem;
}

.rt-source {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

.rich-text-content {
    line-height: 1.55;
    color: inherit;
}
