/* Inter Font Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #0A0A14;
    color: #F3F4F6;
    overflow-x: hidden;
}

/* Glassmorphism Components */
.glass-panel {
    background: rgba(18, 18, 30, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(147, 51, 234, 0.3);
    box-shadow: 0 10px 30px -10px rgba(147, 51, 234, 0.25);
    transform: translateY(-2px);
}

/* Glowing Elements */
.text-glow-purple {
    text-shadow: 0 0 10px rgba(147, 51, 234, 0.5);
}

.text-glow-yellow {
    text-shadow: 0 0 10px rgba(234, 179, 8, 0.5);
}

.glow-btn-purple {
    background: linear-gradient(135deg, #9333EA 0%, #4F46E5 100%);
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.4);
    transition: all 0.2s ease-in-out;
}

.glow-btn-purple:hover {
    box-shadow: 0 6px 20px rgba(147, 51, 234, 0.6);
    transform: translateY(-1px);
}

.glow-btn-danger {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
    transition: all 0.2s ease-in-out;
}

.glow-btn-danger:hover {
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.6);
    transform: translateY(-1px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #0A0A14;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(147, 51, 234, 0.5);
}

/* Background Gradients */
.bg-gradient-radial {
    background-image: radial-gradient(circle at top right, rgba(147, 51, 234, 0.15) 0%, transparent 60%),
                      radial-gradient(circle at bottom left, rgba(79, 70, 229, 0.1) 0%, transparent 50%);
}

/* Slide-over Drawer Transition */
.drawer-transition {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Pulse animation for active dot */
.pulse-green {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulse-green-anim 2s infinite;
}

@keyframes pulse-green-anim {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Table styling fixes */
th {
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* iOS Chat Bubble Style */
.chat-bubble-me {
    background: linear-gradient(135deg, #9333EA 0%, #4F46E5 100%);
    color: white;
    border-radius: 18px 18px 4px 18px;
}

.chat-bubble-other {
    background: rgba(255, 255, 255, 0.08);
    color: #F3F4F6;
    border-radius: 18px 18px 18px 4px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}
