.notifications {
    cursor: pointer;
    display: flex;
    align-items: center;
}

.notification-dropdown {
    display: none;
    position: absolute;
    top: 65px;
    right: 20px;
    width: 350px;
    max-height: 500px;
    background: var(--background-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    border: 1px solid var(--cliM-border-color);
}

.climanage-dash-container {
    position: relative;
}

.notification-header {
    padding: 15px;
    border-bottom: 1px solid var(--cliM-border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-header h3 {
    margin: 0;
    font-size: 16px;
    color: var(--color);
}

.mark-all-read{
    background: none;
    border: none;
    color: #2196f3;
    cursor: pointer;
    font-size: 14px;
}

.mark-all-read svg {
    height: 20px;
    width: auto;
    fill: #2196f3;
}

.notification-list {
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    padding: 15px;
    border-bottom: 1px solid var(--cliM-border-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background-color 0.2s;
}

.notification-item:last-child {
    border: none;
}

.notification-item:hover {
    background-color: var(--hover-background);
}

.notification-item.unread {
    background-color: #65bbfa45;
    border: none;
}

.notification-item.unread:hover{
    background-color: #65bbfa52;
}

.notification-dropdown:has(.notification-item.unread) .mark-all-read svg {
    fill: #2196f3; 
}

.notification-dropdown:not(:has(.notification-item.unread)) .mark-all-read svg {
    fill: var(--color); 
}

.notification-content {
    flex: 1;
}

.notification-message {
    color: var(--color);
    margin-bottom: 5px;
}

.notification-time {
    color: var(--sub-color);
    font-size: 12px;
}

.unread-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #2196f3;
    margin-left: 10px;
}

.notification-badge {
    position: absolute;
    top: 15px;
    right: 70px;
    background: #f44336;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    min-width: 18px;
    text-align: center;
}

.loading, .error, .no-notifications {
    padding: 20px;
    text-align: center;
    color: #666;
}

.error {
    color: #f44336;
} 