/**
 * User Dropdown Menu Styles
 * X/Twitter inspired dropdown
 */

/* Purple icon styling */
.dropdown-icon.purple {
    filter: hue-rotate(280deg) saturate(1.5);
}

/* Crimson bell styling */
.dropdown-icon.crimson,
.bell-crimson {
    filter: hue-rotate(-30deg) saturate(2) brightness(1.1);
    text-shadow: 0 0 8px #dc143c, 0 0 15px #dc143c, 0 0 25px #ff4444;
}

/* Dropdown Container */
.user-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 20px;
    transition: background 0.2s;
}

.dropdown-trigger:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dropdown-arrow {
    font-size: 10px;
    opacity: 0.6;
    transition: transform 0.2s;
}

.user-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    background: #16181c;
    border: 1px solid #2f3336;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
    overflow: hidden;
}

.user-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown Items */
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: #e7e9ea;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: background 0.15s;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.dropdown-item.active {
    background: rgba(29, 155, 240, 0.1);
    color: #1d9bf0;
}

.dropdown-item.logout {
    color: #f4212e;
}

.dropdown-item.logout:hover {
    background: rgba(244, 33, 46, 0.1);
}

.dropdown-icon {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

/* Badge for notifications */
.dropdown-badge {
    background: #f4212e;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    margin-left: auto;
}

/* Divider */
.dropdown-divider {
    height: 1px;
    background: #2f3336;
    margin: 4px 0;
}

/* ============================================
   NOTIFICATIONS PAGE
   ============================================ */

.notifications-page {
    max-width: 600px;
    margin: 40px auto;
    padding: 0 20px;
}

.notifications-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #2f3336;
}

.notifications-header h1 {
    color: #e7e9ea;
    font-size: 22px;
    margin: 0;
}

.btn-mark-read {
    color: #1d9bf0;
    font-size: 14px;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    transition: background 0.2s;
}

.btn-mark-read:hover {
    background: rgba(29, 155, 240, 0.1);
}

.notifications-empty {
    text-align: center;
    padding: 60px 20px;
    color: #71767b;
}

.notifications-empty .empty-icon {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.notifications-empty h3 {
    color: #e7e9ea;
    margin-bottom: 10px;
}

/* Notification List */
.notification-list {
    display: flex;
    flex-direction: column;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid #2f3336;
    text-decoration: none;
    transition: background 0.2s;
}

.notification-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.notification-item.unread {
    background: rgba(29, 155, 240, 0.05);
    border-left: 3px solid #1d9bf0;
}

.notification-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2f3336;
    border-radius: 50%;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-text {
    color: #e7e9ea;
    font-size: 15px;
    line-height: 1.4;
}

.notification-text strong {
    color: #1d9bf0;
}

.notification-subtext {
    color: #71767b;
    font-size: 13px;
    margin-top: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notification-time {
    color: #71767b;
    font-size: 13px;
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 600px) {
    .notifications-page {
        margin: 20px auto;
    }
    
    .notification-item {
        padding: 12px;
    }
}
