.notifications-dropdown {
position: fixed;
top: 80px;
right: 0px;
background: #1e2433;
border: 1px solid rgba(74, 158, 255, 0.1);
border-radius: 12px;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
opacity: 0;
transform: translateY(-8px) scale(0.95);
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
pointer-events: none;
user-select: none;
display: flex;
flex-direction: column;
width: 380px;
max-width: calc(100vw - 32px);
max-height: 600px;
backdrop-filter: blur(12px);
z-index: 999999;
overflow: hidden;
}
.notifications-dropdown.show {
opacity: 1;
transform: translateY(0) scale(1);
pointer-events: auto;
}
.notifications-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 16px;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.notifications-header-actions {
display: flex;
align-items: center;
gap: 8px;
}
.notifications-mark-all {
background: none;
border: none;
color: #9ca3af;
cursor: pointer;
padding: 6px 10px;
border-radius: 6px;
transition: all 0.2s ease;
font-size: 13px;
display: flex;
align-items: center;
gap: 6px;
}
.notifications-mark-all:hover {
color: #4a9eff;
background: rgba(74, 158, 255, 0.1);
}
.notifications-mark-all i {
font-size: 16px;
}
.notifications-mark-all-text {
font-size: 12px;
font-weight: 500;
}
.notifications-title {
font-size: 16px;
font-weight: 600;
color: white;
margin: 0;
}
.notifications-close {
background: none;
border: none;
color: #9ca3af;
cursor: pointer;
padding: 6px;
border-radius: 6px;
transition: all 0.2s ease;
display: none;
}
.notifications-close:hover {
color: #ffffff;
background: rgba(255, 255, 255, 0.1);
}
.close-icon {
width: 18px;
height: 18px;
}
.notifications-tabs {
display: flex;
gap: 4px;
padding: 8px 12px;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.notifications-tab {
flex: 1;
padding: 6px 12px;
background: none;
border: none;
color: rgba(255, 255, 255, 0.6);
font-size: 13px;
font-weight: 500;
cursor: pointer;
border-radius: 6px;
transition: all 0.2s ease;
}
.notifications-tab:hover {
background: rgba(255, 255, 255, 0.05);
color: rgba(255, 255, 255, 0.8);
}
.notifications-tab.active {
background: rgba(74, 158, 255, 0.15);
color: #4a9eff;
font-weight: 600;
}
.notifications-content {
flex: 1;
overflow-y: auto;
padding: 0;
}
.notifications-content::-webkit-scrollbar {
width: 6px;
}
.notifications-content::-webkit-scrollbar-track {
background: transparent;
}
.notifications-content::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.2);
border-radius: 3px;
}
.notifications-content::-webkit-scrollbar-thumb:hover {
background: rgba(255, 255, 255, 0.3);
}
.notifications-empty {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 60px 40px;
text-align: center;
}
.empty-icon {
width: 64px;
height: 64px;
color: rgba(255, 255, 255, 0.2);
margin-bottom: 16px;
}
.empty-text {
font-size: 16px;
font-weight: 600;
color: rgba(255, 255, 255, 0.8);
margin: 0 0 8px 0;
}
.empty-subtext {
font-size: 13px;
color: rgba(255, 255, 255, 0.4);
margin: 0;
}
.notifications-loading {
display: flex;
align-items: center;
justify-content: center;
padding: 40px;
color: rgba(255, 255, 255, 0.6);
font-size: 14px;
}
.nx {
display: flex;
align-items: flex-start;
gap: 12px;
padding: 12px 16px;
text-decoration: none;
color: inherit;
transition: background 0.15s;
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nx:last-child {
border-bottom: none;
}
.nx:hover {
background: rgba(255, 255, 255, 0.03);
}
.nx.unread {
background: rgba(74, 158, 255, 0.06);
border-left: 3px solid #4a9eff;
padding-left: 13px;
}
.nx-avatar {
width: 36px;
height: 36px;
border-radius: 50%;
object-fit: cover;
flex-shrink: 0;
}
.nx-body {
flex: 1;
min-width: 0;
}
.nx-header {
display: flex;
align-items: center;
gap: 5px;
margin-bottom: 4px;
flex-wrap: wrap;
}
.nx-name {
font-size: 14px;
font-weight: 600;
color: white;
letter-spacing: -0.01em;
}
.nx-action {
font-size: 13px;
color: rgba(255, 255, 255, 0.65);
font-weight: 500;
}
.nx-time {
font-size: 11px;
color: rgba(255, 255, 255, 0.4);
margin-left: auto;
}
.nx-time-bottom {
font-size: 11px;
color: rgba(255, 255, 255, 0.4);
margin-top: 4px;
}
.nx-preview {
font-size: 13px;
color: rgba(255, 255, 255, 0.75);
line-height: 1.5;
display: -webkit-box;
-webkit-line-clamp: 2;
line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
margin-bottom: 4px;
margin-top: 2px;
}
.nx-preview.dim {
color: rgba(255, 255, 255, 0.55);
font-size: 12px;
}
.nx > i {
font-size: 16px;
flex-shrink: 0;
margin-top: 2px;
}
.notifications-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: transparent;
z-index: 999998;
display: none;
}
.notifications-overlay.show {
display: block;
}
@media (max-width: 767px) {
.notifications-dropdown {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100%;
max-width: 100%;
max-height: 100%;
border-radius: 0;
transform: translateY(100%);
z-index: 10003;
border: none;
}
.notifications-dropdown.show {
transform: translateY(0);
}
.notifications-header {
padding: 16px;
}
.notifications-title {
font-size: 18px;
}
.notifications-close {
display: flex;
}
.notifications-tabs {
padding: 8px 0;
}
.notifications-overlay {
background: rgba(0, 0, 0, 0.6);
backdrop-filter: blur(8px);
z-index: 10002;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease, visibility 0.3s ease;
}
.notifications-overlay.show {
opacity: 1;
visibility: visible;
}
}
@media (min-width: 768px) {
.notifications-overlay {
display: none;
}
}

.follow-notif{
background:linear-gradient(135deg,rgba(6,182,212,0.1) 0%,rgba(59,130,246,0.1) 100%);
border-left:3px solid #06b6d4;
}
.follow-notif:hover{
background:linear-gradient(135deg,rgba(6,182,212,0.15) 0%,rgba(59,130,246,0.15) 100%);
}
.follow-notif-avatar-wrapper{
position:relative;
width:40px;
height:40px;
flex-shrink:0;
}
.follow-notif-icon{
position:absolute;
bottom:-2px;
right:-2px;
width:18px;
height:18px;
background:#06b6d4;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
border:2px solid #1e2433;
}
.follow-notif-icon i{
font-size:10px;
color:white;
}
.follow-back-btn{
padding:6px 12px;
background:rgba(6,182,212,0.15);
border:1px solid rgba(6,182,212,0.3);
border-radius:6px;
color:#06b6d4;
font-size:13px;
font-weight:600;
cursor:pointer;
transition:all 0.2s ease;
display:flex;
align-items:center;
gap:4px;
white-space:nowrap;
}
.follow-back-btn:hover{
background:rgba(6,182,212,0.25);
border-color:rgba(6,182,212,0.5);
transform:translateY(-1px);
}
.follow-back-btn:disabled{
opacity:0.6;
cursor:not-allowed;
}
.follow-back-btn.following{
background:rgba(16,185,129,0.15);
border-color:rgba(16,185,129,0.3);
color:#10b981;
}
.follow-back-btn i{
font-size:12px;
}
