/* Notification System Styles */
.notification-dropdown {
    width: 350px;
    max-height: 400px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.notification-item {
    transition: all 0.3s ease;
    background-color: #fff;
    border-bottom: 1px solid #e9ecef;
    margin: 0;
    padding: 12px 16px;
}

.notification-item:hover {
    background-color: #f8f9fa;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item h6 {
    color: #333;
    font-weight: 600;
    margin-bottom: 4px;
}

.notification-item .btn {
    font-size: 0.75rem;
    padding: 4px 8px;
}

/* Read notification styling */
.notification-item.read {
    opacity: 0.6;
    background-color: #f8f9fa;
}

.notification-item.read h6 {
    color: #6c757d;
}

.notification-item.read .btn-outline-secondary {
    border-color: #28a745;
    color: #28a745;
}

/* Notification badge styling */
.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #dc3545;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Toast notification styling */
.notification-toast {
    min-width: 300px;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.notification-toast.bg-success {
    background-color: #28a745 !important;
}

.notification-toast.bg-tender-purple {
    background-color: var(--tender-purple) !important;
}

/* Notification card styling for dashboard */
.notification-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.notification-card .card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.notification-card .card-body {
    padding: 0;
}

.notification-card .notification-list {
    max-height: 320px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 8px;
}

/* Auction row removal animations */
.auction-row-removing {
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .notification-dropdown {
        width: 300px;
    }
    
    .notification-item {
        padding: 10px 12px;
    }
    
    .notification-item .btn {
        font-size: 0.7rem;
        padding: 3px 6px;
    }
}
