.notification-badge {
    position: absolute;
    top: 2px;
    right: -2px;
    min-width: 18px;
    min-height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    padding: 4px;
    transform: translate(30%, -30%);
}

.notifications-menu {
    width: 340px;
    max-height: 420px;
}

.notification-list {
    max-height: 320px;
    overflow-y: auto;
}

.notification-item {
    border-bottom: 1px solid #f3f3f3;
    animation: fadeInUp 0.35s ease;
    padding: 12px 14px;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-pulse {
    animation: pulse 1.5s ease infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(13, 110, 253, 0); }
    100% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.ai-chat-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
    z-index: 1040;
}

.ai-chat-drawer {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 380px;
    max-width: 92vw;
    height: 540px;
    background: #fff;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    z-index: 1041;
    overflow: hidden;
}

.ai-chat-header {
    padding: 16px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ai-chat-body {
    padding: 16px;
    flex: 1;
    overflow-y: auto;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 35%);
}

.ai-chat-message {
    max-width: 90%;
    padding: 12px 14px;
    border-radius: 14px;
    margin-bottom: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}

.ai-chat-message.user {
    margin-left: auto;
    background: #0d6efd;
    color: #fff;
}

.ai-chat-message.assistant {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.ai-chat-footer {
    display: flex;
    gap: 10px;
    padding: 12px 16px;
    border-top: 1px solid #f1f5f9;
    background: #fff;
}

.ai-chat-footer input {
    flex: 1;
}

@media (max-width: 576px) {
    .notifications-menu {
        width: 95vw;
        max-height: 70vh;
    }

    .notification-list {
        max-height: 55vh;
    }

    .notification-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .notification-date {
        align-self: flex-start;
        font-size: 12px;
    }

    .notification-price {
        display: block;
        margin-top: 2px;
    }

    .ai-chat-drawer {
        right: 10px;
        left: 10px;
        width: auto;
        height: 70vh;
    }
}
