        .notification {
            position: absolute;
            top: 9px;
            right: 100px;
            width: 40px;
            height: 40px;
            cursor: pointer;
            border-radius: 50%;
            transition: all 0.3s ease;
            z-index: 999;
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .notification:hover {
            background-color: #04AA6D;
            transform: scale(1.05);
            box-shadow: 0 4px 12px rgba(4, 170, 109, 0.3);
        }

        .notification-caption {
            position: absolute;
            top: -5px;
            right: -5px;
            font-size: 11px;
            font-weight: 700;
            color: #fff;
            background: linear-gradient(135deg, #ff4757, #ff3742);
            min-width: 20px;
            height: 20px;
            border-radius: 10px;
            display: flex;
            justify-content: center;
            align-items: center;
            border: 2px solid #fff;
            box-shadow: 0 2px 6px rgba(255, 71, 87, 0.4);
            animation: pulse 2s infinite;
        }

        #notificationIcon {
            width: 24px;
            height: 24px;
            filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%);
        }

        .notifi-box {
            width: 380px;
            opacity: 0;
            position: absolute;
            top: 55px;
            right: 20px;
            background: linear-gradient(145deg, #ffffff, #f8f9fa);
            box-shadow:
                0 20px 40px rgba(0, 0, 0, 0.1),
                0 10px 25px rgba(0, 0, 0, 0.05),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
            border-radius: 16px;
            display: none;
            z-index: 10000;
            border: 1px solid rgba(0, 0, 0, 0.05);
            overflow: hidden;
            backdrop-filter: blur(20px);
            transform: translateY(-10px);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .notifi-box.open {
            opacity: 1;
            display: block;
            transform: translateY(0);
        }

        .notifi-box::before {
            content: 'Notificações';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            padding: 16px 20px;
            background: linear-gradient(135deg, #04AA6D, #028a56);
            color: white;
            font-weight: 600;
            font-size: 16px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            z-index: 1;
        }

        #notifi-items-container {
            display: flex;
            flex-direction: column;
            gap: 8px;
            max-height: 340px;
            overflow-y: auto;
            overflow-x: hidden;
            padding: 60px 16px 16px 16px;
            margin: 0;
            position: relative;
        }

        #notifi-items-container.has-scroll::after {
            content: '';
            position: sticky;
            bottom: 0;
            left: 0;
            right: 0;
            height: 20px;
            background: linear-gradient(to top, rgba(255, 255, 255, 0.9), transparent);
            pointer-events: none;
            z-index: 1;
        }

        #notifi-items-container::-webkit-scrollbar {
            width: 8px;
        }

        #notifi-items-container::-webkit-scrollbar-track {
            background: rgba(0, 0, 0, 0.08);
            border-radius: 4px;
            margin: 5px 0;
        }

        #notifi-items-container::-webkit-scrollbar-thumb {
            background: linear-gradient(to bottom, #04AA6D, #028a56);
            border-radius: 4px;
            transition: all 0.3s ease;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        #notifi-items-container::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(to bottom, #028a56, #026b45);
            width: 10px;
        }

        #notifi-items-container {
            scrollbar-width: thin;
            scrollbar-color: #04AA6D rgba(0, 0, 0, 0.08);
        }

        .notifi-item {
            display: flex;
            align-items: flex-start;
            width: 100%;
            min-height: 75px;
            max-height: 95px;
            padding: 12px;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            background: linear-gradient(135deg, #ffffff, #fafbfc);
            border: 1px solid rgba(0, 0, 0, 0.06);
            position: relative;
            overflow: hidden;
            flex-shrink: 0;
        }

        .notifi-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 100%;
            background: linear-gradient(to bottom, #04AA6D, #028a56);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.3s ease;
        }

        .notifi-item:hover {
            transform: translateX(4px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        }

        .notifi-item:hover::before {
            transform: scaleX(1);
        }

        .notifi-item.read {
            opacity: 0.6;
            background: linear-gradient(135deg, #f8f9fa, #e9ecef);
        }

        .notifi-item .icon {
            margin-right: 12px;
            padding: 8px;
            border-radius: 50%;
            background: rgba(4, 170, 109, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: all 0.3s ease;
        }

        .notifi-item:hover .icon {
            transform: scale(1.1);
            background: rgba(4, 170, 109, 0.2);
        }

        .notifi-item .icon img {
            width: 24px;
            height: 24px;
            filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
        }

        .notifi-item .text {
            flex: 1;
            min-width: 0;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            height: 100%;
        }

        .notifi-item .text h4 {
            font-size: 13px;
            font-weight: 600;
            margin: 0 0 4px 0;
            color: #2d3748;
            line-height: 1.3;
            display: -webkit-box;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .notifi-item .text p {
            font-size: 12px;
            margin: 0 0 4px 0;
            color: #4a5568;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .notifi-item .text p:last-child {
            font-size: 11px;
            color: #718096;
            font-weight: 500;
            margin: 0;
            margin-top: auto;
        }

        #markAsReadButton {
            position: absolute;
            top: 16px;
            right: 16px;
            font-size: 12px;
            padding: 6px 12px;
            border: none;
            background: linear-gradient(135deg, #04AA6D, #028a56);
            color: white;
            border-radius: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 500;
            box-shadow: 0 2px 8px rgba(4, 170, 109, 0.3);
            z-index: 2;
        }

        #markAsReadButton:hover {
            background: linear-gradient(135deg, #028a56, #026b45);
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(4, 170, 109, 0.4);
        }

        .more-notifications-indicator {
            position: absolute;
            bottom: 10px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 11px;
            color: #718096;
            background: rgba(255, 255, 255, 0.95);
            padding: 4px 12px;
            border-radius: 12px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            z-index: 2;
            display: none;
        }

        .more-notifications-indicator.show {
            display: block;
            animation: bounce 2s infinite;
        }

        .no-notifications {
            color: #6c757d;
            font-size: 14px;
            text-align: center;
            margin: 20px;
            padding: 32px 20px;
            background: linear-gradient(135deg, #f8f9fa, #ffffff);
            border-radius: 12px;
            border: 2px dashed #dee2e6;
            position: relative;
        }

        .no-notifications::before {
            content: '🔔';
            display: block;
            font-size: 48px;
            margin-bottom: 16px;
            opacity: 0.5;
        }

        .no-notifications::after {
            font-weight: 500;
            color: #495057;
        }

        @keyframes bounce {

            0%,
            100% {
                transform: translateX(-50%) translateY(0);
            }

            50% {
                transform: translateX(-50%) translateY(-5px);
            }
        }

        @keyframes shake {

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

            10%,
            30%,
            50%,
            70%,
            90% {
                transform: rotate(-8deg);
            }

            20%,
            40%,
            60%,
            80% {
                transform: rotate(8deg);
            }
        }

        @keyframes pulse {

            0%,
            100% {
                transform: scale(1);
            }

            50% {
                transform: scale(1.1);
            }
        }

        .shake-animation {
            animation: shake 0.6s ease-in-out infinite;
        }

        @media (max-width: 768px) {
            .notifi-box {
                width: 90vw;
                right: 5vw;
                left: 5vw;
                max-width: 400px;
            }

            .notification {
                right: 20px;
            }

            #notifi-items-container {
                max-height: 300px;
            }
        }

        @media (prefers-color-scheme: dark) {
            .notifi-box {
                background: linear-gradient(145deg, #2d3748, #1a202c);
                border: 1px solid rgba(255, 255, 255, 0.1);
            }

            .notifi-item {
                background: linear-gradient(135deg, #2d3748, #374151);
                border-color: rgba(255, 255, 255, 0.1);
            }

            .notifi-item .text h4 {
                color: #f7fafc;
            }

            .notifi-item .text p {
                color: #cbd5e0;
            }

            .notifi-item .text p:last-child {
                color: #a0aec0;
            }

            #notifi-items-container::-webkit-scrollbar-track {
                background: rgba(255, 255, 255, 0.05);
            }

            .more-notifications-indicator {
                background: rgba(45, 55, 72, 0.95);
                color: #cbd5e0;
            }
        }