@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
    body {
        @apply antialiased;
    }
}

/* Custom Scrollbar */
@layer utilities {
    .scrollbar-thin {
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
    }

    .scrollbar-thin::-webkit-scrollbar {
        width: 6px;
    }

    .scrollbar-thin::-webkit-scrollbar-track {
        background: transparent;
    }

    .scrollbar-thin::-webkit-scrollbar-thumb {
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 20px;
    }

    .scrollbar-thin::-webkit-scrollbar-thumb:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse-subtle {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-pulse-subtle {
    animation: pulse-subtle 4s ease-in-out infinite;
}

/* Management Interface */
@layer components {
    .nav-link {
        @apply flex items-center space-x-3 px-3 py-2.5 rounded-xl text-white/70 hover:bg-white/5 hover:text-white transition-all duration-300;
    }

    .nav-link.active {
        @apply bg-glory-pink-500/10 text-glory-pink-400;
    }

    .nav-icon {
        @apply w-5 text-center;
    }

    .stat-card {
        @apply bg-black/20 backdrop-blur-xl rounded-2xl border border-white/5 p-6 hover:border-glory-pink-500/20 transition-all duration-300;
    }

    .stat-icon {
        @apply w-12 h-12 rounded-xl bg-glory-pink-500/10 flex items-center justify-center text-glory-pink-400;
    }

    .stat-value {
        @apply text-3xl font-bold text-white;
    }

    .stat-label {
        @apply text-white font-medium;
    }

    .stat-sublabel {
        @apply text-white/50 text-sm mt-1;
    }

    .content-card {
        @apply bg-black/20 backdrop-blur-xl rounded-2xl border border-white/5 overflow-hidden;
    }

    .card-header {
        @apply p-6 border-b border-white/5 flex items-center space-x-3;
    }

    .header-icon {
        @apply w-10 h-10 rounded-xl bg-glory-pink-500/10 flex items-center justify-center text-glory-pink-400;
    }

    .header-title {
        @apply text-xl font-medium text-white;
    }

    .message-item {
        @apply p-4 hover:bg-white/5 transition-colors;
    }

    .message-avatar {
        @apply w-10 h-10 rounded-xl;
    }

    .message-content {
        @apply text-white/70 mt-1 break-words;
    }

    .message-meta {
        @apply text-white/30 text-sm;
    }

    .user-profile {
        @apply flex items-center space-x-3 p-2 rounded-xl bg-white/5;
    }

    .profile-avatar {
        @apply w-8 h-8 rounded-lg ring-2 ring-glory-pink-500/20;
    }

    .profile-name {
        @apply text-sm font-medium text-white truncate;
    }

    .profile-action {
        @apply text-white/50 text-xs hover:text-glory-pink-400 transition-colors;
    }
} 