/**
 * ====================================================================
 * Pavo Admin Dashboard - Notifications Component Styles
 * Copyright © 2024 RefineThemes.com
 * Author: Saleem Raza
 * Founder: RefineThemes.com
 * License: MIT
 * ====================================================================
 */

:root {
            --primary: #6366f1;
            --secondary: #8b5cf6;
            --success: #10b981;
            --danger: #ef4444;
            --warning: #f59e0b;
            --info: #3b82f6;
            --dark: #1e293b;
            --light: #f8fafc;
        }
        
        /* Notification Center */
        .notification-center {
            position: fixed;
            top: 20px;
            right: 20px;
            width: 380px;
            z-index: 9999;
        }
        
        /* Notification Item */
        .notification {
            position: relative;
            background: white;
            border-radius: 12px;
            box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
            margin-bottom: 15px;
            overflow: hidden;
            transform: translateX(400px);
            opacity: 0;
            transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            border-left: 4px solid var(--primary);
        }
        
        .notification.show {
            transform: translateX(0);
            opacity: 1;
        }
        
        .notification-header {
            display: flex;
            align-items: center;
            padding: 15px;
            border-bottom: 1px solid rgba(0,0,0,0.05);
        }
        
        .notification-type {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            margin-right: 10px;
        }
        
        .notification-type.primary { background: var(--primary); }
        .notification-type.success { background: var(--success); }
        .notification-type.danger { background: var(--danger); }
        .notification-type.warning { background: var(--warning); }
        .notification-type.info { background: var(--info); }
        
        .notification-title {
            font-weight: 600;
            font-size: 14px;
            flex-grow: 1;
        }
        
        .notification-time {
            font-size: 12px;
            color: #64748b;
        }
        
        .notification-close {
            background: none;
            border: none;
            color: #94a3b8;
            cursor: pointer;
            margin-left: 10px;
        }
        
        .notification-body {
            padding: 15px;
        }
        
        .notification-content {
            display: flex;
            align-items: flex-start;
        }
        
        .notification-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
            margin-right: 12px;
            flex-shrink: 0;
        }
        
        .notification-text {
            font-size: 14px;
            line-height: 1.5;
            flex-grow: 1;
        }
        
        .notification-text strong {
            font-weight: 600;
        }
        
        .notification-post {
            margin-top: 10px;
            border-radius: 8px;
            overflow: hidden;
            border: 1px solid #e2e8f0;
        }
        
        .notification-post-image {
            width: 100%;
            height: 120px;
            object-fit: cover;
        }
        
        .notification-post-content {
            padding: 10px;
            font-size: 13px;
            color: #64748b;
        }
        
        .notification-actions {
            display: flex;
            padding: 10px 15px;
            border-top: 1px solid rgba(0,0,0,0.05);
        }
        
        .notification-action {
            flex: 1;
            text-align: center;
            padding: 8px;
            color: var(--primary);
            font-weight: 500;
            font-size: 13px;
            cursor: pointer;
            border-radius: 6px;
            transition: all 0.2s;
        }
        
        .notification-action:hover {
            background: rgba(99, 102, 241, 0.1);
        }
        
        .notification-action + .notification-action {
            margin-left: 5px;
        }
        
        /* Notification Badge */
        .notification-badge {
            position: relative;
            display: inline-block;
        }
        
        .badge-count {
            position: absolute;
            top: -5px;
            right: -5px;
            background-color: var(--danger);
            color: white;
            border-radius: 50%;
            width: 18px;
            height: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 10px;
            font-weight: bold;
        }
        
        .control-panel {
            background: white;
            border-radius: 12px;
            padding: 25px;
            box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
        }
        
        .control-section {
            margin-bottom: 25px;
        }
        
        .control-section h3 {
            font-size: 18px;
            margin-bottom: 15px;
            padding-bottom: 8px;
            border-bottom: 1px solid #e2e8f0;
        }
        
        .btn-notification {
            margin: 5px;
            min-width: 180px;
            border-radius: 8px;
            padding: 10px 15px;
            font-weight: 500;
            transition: all 0.2s;
        }
        
        /* Animations */
        @keyframes slideInRight {
            from { transform: translateX(400px); opacity: 0; }
            to { transform: translateX(0); opacity: 1; }
        }
        
        @keyframes fadeOut {
            from { opacity: 1; }
            to { opacity: 0; }
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .notification-center {
                width: 90%;
                left: 5%;
                right: auto;
            }
        }
        
        /* Notification Item */
        .notification {
            position: relative;
            background: white;
            border-radius: 12px;
            box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
            margin-bottom: 15px;
            overflow: hidden;
            transform: translateX(400px);
            opacity: 0;
            transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            border-left: 4px solid var(--primary);
        }
        
        .notification.show {
            transform: translateX(0);
            opacity: 1;
        }
        
        .notification-header {
            display: flex;
            align-items: center;
            padding: 15px;
            border-bottom: 1px solid rgba(0,0,0,0.05);
        }
        
        .notification-type {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            margin-right: 10px;
        }
        
        .notification-type.primary { background: var(--primary); }
        .notification-type.success { background: var(--success); }
        .notification-type.danger { background: var(--danger); }
        .notification-type.warning { background: var(--warning); }
        .notification-type.info { background: var(--info); }
        
        .notification-title {
            font-weight: 600;
            font-size: 14px;
            flex-grow: 1;
        }
        
        .notification-time {
            font-size: 12px;
            color: #64748b;
        }
        
        .notification-close {
            background: none;
            border: none;
            color: #94a3b8;
            cursor: pointer;
            margin-left: 10px;
        }
        
        .notification-body {
            padding: 15px;
        }
        
        .notification-content {
            display: flex;
            align-items: flex-start;
        }
        
        .notification-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
            margin-right: 12px;
            flex-shrink: 0;
        }
        
        .notification-text {
            font-size: 14px;
            line-height: 1.5;
            flex-grow: 1;
        }
        
        .notification-text strong {
            font-weight: 600;
        }
        
        .notification-post {
            margin-top: 10px;
            border-radius: 8px;
            overflow: hidden;
            border: 1px solid #e2e8f0;
        }
        
        .notification-post-image {
            width: 100%;
            height: 120px;
            object-fit: cover;
        }
        
        .notification-post-content {
            padding: 10px;
            font-size: 13px;
            color: #64748b;
        }
        
        .notification-actions {
            display: flex;
            padding: 10px 15px;
            border-top: 1px solid rgba(0,0,0,0.05);
        }
        
        .notification-action {
            flex: 1;
            text-align: center;
            padding: 8px;
            color: var(--primary);
            font-weight: 500;
            font-size: 13px;
            cursor: pointer;
            border-radius: 6px;
            transition: all 0.2s;
        }
        
        .notification-action:hover {
            background: rgba(99, 102, 241, 0.1);
        }
        
        .notification-action + .notification-action {
            margin-left: 5px;
        }
        
        /* Progress notification */
        .notification-progress {
            height: 4px;
            background: rgba(0,0,0,0.05);
            width: 100%;
            overflow: hidden;
        }
        
        .notification-progress-bar {
            height: 100%;
            background: var(--primary);
            width: 100%;
            animation: progressBar linear forwards;
        }
        
        @keyframes progressBar {
            from { width: 100%; }
            to { width: 0%; }
        }
        
        /* Interactive notification */
        .notification-interactive {
            cursor: pointer;
            transition: transform 0.2s;
        }
        
        .notification-interactive:hover {
            transform: translateY(-3px);
        }
        
        /* Notification with dropdown */
        .notification-dropdown {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-out;
        }
        
        .notification-dropdown-content {
            padding: 10px 15px;
            background: #f8fafc;
        }
        
        /* Floating action button */
        .notification-fab {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: var(--primary);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.2);
            cursor: pointer;
            z-index: 999;
            transition: all 0.2s;
        }
        
        .notification-fab:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 15px rgba(0,0,0,0.3);
        }
        
        .notification-badge {
            position: absolute;
            top: -5px;
            right: -5px;
            background: var(--danger);
            color: white;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: bold;
        }
        
        .control-panel {
            background: white;
            border-radius: 12px;
            padding: 25px;
            box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
        }
        
        .control-section {
            margin-bottom: 25px;
        }
        
        .control-section h3 {
            font-size: 18px;
            margin-bottom: 15px;
            padding-bottom: 8px;
            border-bottom: 1px solid #e2e8f0;
        }
        
        .btn-notification {
            margin: 5px;
            min-width: 180px;
            border-radius: 8px;
            padding: 10px 15px;
            font-weight: 500;
            transition: all 0.2s;
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .notification-center {
                width: 90%;
                left: 5%;
                right: auto;
            }
        }