/* Custom Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(-3deg); }
}

@keyframes float-slower {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

@keyframes drift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(10px, -10px) rotate(3deg); }
    66% { transform: translate(-10px, 10px) rotate(-3deg); }
}

@keyframes drift-slow {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-15px, -15px) rotate(-5deg); }
}

.float-animation { animation: float 6s ease-in-out infinite; }
.float-animation-slow { animation: float-slow 8s ease-in-out infinite; }
.float-animation-slower { animation: float-slower 10s ease-in-out infinite; }
.drift-animation { animation: drift 12s ease-in-out infinite; }
.drift-animation-slow { animation: drift-slow 15s ease-in-out infinite; }

/* Wave Pattern Background */
.wave-pattern {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    position: relative;
    overflow: hidden;
}

.wave-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(96, 165, 250, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(147, 197, 253, 0.1) 0%, transparent 50%);
}

/* Global Typography */
body {
    font-family: 'Outfit', sans-serif !important;
}

/* Magnificent Card Designs */
.mag-card {
    background: white;
    border-radius: 1.5rem; /* rounded-3xl */
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(243, 244, 246, 0.6);
}

.mag-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.1);
}

.dark .mag-card {
    background: #1f2937;
    border-color: #374151;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

/* Card Variants */
.mag-card-emerald {
    background: linear-gradient(145deg, #ffffff 0%, #ecfdf5 100%);
    border-bottom: 4px solid #10b981;
}

.mag-card-blue {
    background: linear-gradient(145deg, #ffffff 0%, #eff6ff 100%);
    border-bottom: 4px solid #3b82f6;
}

.mag-card-orange {
    background: linear-gradient(145deg, #ffffff 0%, #fff7ed 100%);
    border-bottom: 4px solid #f97316;
}

.mag-card-purple {
    background: linear-gradient(145deg, #ffffff 0%, #faf5ff 100%);
    border-bottom: 4px solid #a855f7;
}

.dark .mag-card-emerald { background: linear-gradient(145deg, #1f2937 0%, #064e3b 100%); }
.dark .mag-card-blue { background: linear-gradient(145deg, #1f2937 0%, #1e3a8a 100%); }
.dark .mag-card-orange { background: linear-gradient(145deg, #1f2937 0%, #7c2d12 100%); }
.dark .mag-card-purple { background: linear-gradient(145deg, #1f2937 0%, #581c87 100%); }

/* Magnificent Buttons */
.mag-btn-primary {
    padding: 0.5rem 1rem;
    background-color: #10b981;
    color: white;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s;
    box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.2), 0 2px 4px -1px rgba(16, 185, 129, 0.1);
}

.mag-btn-primary:hover {
    background-color: #059669;
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3), 0 4px 6px -2px rgba(16, 185, 129, 0.1);
}

.mag-btn-secondary {
    padding: 0.5rem 1rem;
    background-color: #f3f4f6;
    color: #374151;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.mag-btn-secondary:hover {
    background-color: #e5e7eb;
    color: #111827;
}

.dark .mag-btn-secondary {
    background-color: #374151;
    color: #d1d5db;
}

.dark .mag-btn-secondary:hover {
    background-color: #4b5563;
    color: white;
}

/* Notification Panel Styles */
.notification-panel {
    position: absolute;
    top: 4rem; /* Below topbar */
    right: 1.5rem;
    width: 24rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    z-index: 50;
    overflow: hidden;
    animation: slideDown 0.2s ease-out;
}

.dark .notification-panel {
    background: #1f2937;
    border: 1px solid #374151;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.notification-tab {
    padding-bottom: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.notification-tab:hover { color: #374151; }
.dark .notification-tab:hover { color: #d1d5db; }

.notification-tab.active {
    color: #10b981;
    border-bottom-color: #10b981;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.dark .custom-scrollbar::-webkit-scrollbar-track {
    background: #374151;
}

.dark .custom-scrollbar::-webkit-scrollbar-thumb {
    background: #4b5563;
}

/* Redesign Additions */
.shadow-subtle {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}
