/* Notification Styles */
.notification-dropdown {
    width: 320px;
    max-height: 520px;
    overflow-y: auto;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    z-index: 1050;
    display: none;
}

.notification-header {
    padding: 10px 15px;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-header h6 {
    margin: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.notification-body {
    max-height: 350px;
    overflow-y: auto;
}

.notification-item {
    padding: 10px 15px;
    border-bottom: 1px solid #333;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.notification-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.notification-item.unread {
    background-color: rgba(52, 152, 219, 0.1);
    border-left: 3px solid #3498db;
}

.notification-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.notification-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.notification-content {
    font-size: 14px;
}

.notification-footer {
    padding: 10px 15px;
    border-top: 1px solid #333;
    text-align: center;
}

.notification-footer a {
    color: #3498db;
    font-size: 14px;
    text-decoration: none;
}

.notification-footer a:hover {
    text-decoration: underline;
}

.notification-count {
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

.notification-bell {
    position: relative;
}

/* Notifications Page Styles */
.notifications-page-list {
    margin-bottom: 20px;
}

.notifications-page-list .notification-item {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    color: #fff;
}

.notifications-page-list .notification-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
    background: #2a2a2a;
}

.notifications-page-list .notification-item.bg-light {
    background-color: #2c2c2c !important;
    border-left: 4px solid #3498db !important;
}

.notifications-page-list .notification-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.notifications-page-list .notification-content {
    color: #ccc;
    line-height: 1.5;
}

.notifications-page-list .btn {
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 4px;
}

.notifications-page-list .btn-sm {
    font-size: 11px;
    padding: 3px 10px;
}

.notifications-page-list .text-muted {
    font-size: 12px;
    color: #999;
}

.notifications-page-list .card-body {
    background: #1a1a1a;
    color: #fff;
}

.notifications-page-list .card {
    background: #1a1a1a;
    border: 1px solid #333;
}

.notifications-page-list .alert-info {
    background-color: #2c2c2c;
    border-color: #3498db;
    color: #fff;
}

/* Pagination dark mode */
.notifications-page-list + .d-flex .pagination {
    background: transparent;
}

.notifications-page-list + .d-flex .page-link {
    background-color: #2c2c2c;
    border-color: #333;
    color: #fff;
}

.notifications-page-list + .d-flex .page-link:hover {
    background-color: #3498db;
    border-color: #3498db;
    color: #fff;
}

.notifications-page-list + .d-flex .page-item.active .page-link {
    background-color: #3498db;
    border-color: #3498db;
}

.notifications-page-list + .d-flex .page-item.disabled .page-link {
    background-color: #1a1a1a;
    border-color: #333;
    color: #666;
}

/* Button dark mode */
.notifications-page-list .btn-primary {
    background-color: #3498db;
    border-color: #3498db;
    color: #fff;
}

.notifications-page-list .btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

.notifications-page-list .btn-outline-secondary {
    color: #ccc;
    border-color: #666;
    background-color: transparent;
}

.notifications-page-list .btn-outline-secondary:hover {
    background-color: #666;
    border-color: #666;
    color: #fff;
}

.notifications-page-list .btn-outline-primary {
    color: #3498db;
    border-color: #3498db;
    background-color: transparent;
}

.notifications-page-list .btn-outline-primary:hover {
    background-color: #3498db;
    border-color: #3498db;
    color: #fff;
}

/* Responsive for notifications page */
@media (max-width: 768px) {
    .notifications-page-list .notification-item {
        margin-bottom: 10px;
    }
    
    .notifications-page-list .notification-title {
        font-size: 14px;
    }
    
    .notifications-page-list .notification-content {
        font-size: 13px;
    }
}

/* Animation effects */
.shake {
    animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
}

@keyframes shake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
}

.blink {
    animation: blink-animation 1s steps(5, start) infinite;
}

@keyframes blink-animation {
    to { visibility: hidden; }
}

/* Dark mode specific styles */
.bg-dark-light {
    background-color: #2c3e50;
}

/* Notification types */
.notification-type-follow { color: #3498db; }
.notification-type-comment { color: #2ecc71; }
.notification-type-like { color: #e74c3c; }
.notification-type-product { color: #f39c12; }
.notification-type-admin { color: #9b59b6; }
.notification-type-payment { color: #1abc9c; }
