/* Notification dropdown styles */
.notification-dropdown {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
}

.notification-item {
    padding: 12px 16px;
    border-bottom: 1px solid #f8f9fa;
    background: white;
    transition: background-color 0.2s ease;
}

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

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

#notification-badge {
    font-size: 0.7rem;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
}

/* Search dropdown styles */
.search-dropdown {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #dee2e6;
    max-height: 300px;
    overflow-y: auto;
    border-radius: 0.375rem;
}

.search-result-item {
    padding: 8px 12px;
    border-bottom: 1px solid #f8f9fa;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

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

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

/* Loading spinner in notifications */
.notification-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Error states */
.notification-error {
    color: #dc3545;
    text-align: center;
    padding: 12px;
    font-size: 0.9rem;
}

.search-error {
    color: #dc3545;
    text-align: center;
    padding: 8px;
    font-size: 0.9rem;
}

/* Button states */
.accept-friend-request:disabled,
.deny-friend-request:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .notification-dropdown {
        width: 300px !important;
        max-width: 90vw;
    }
    
    .search-dropdown {
        max-height: 200px;
    }
}
