/* 
 * Modern Design System - OurBotBuilder.com
 * Custom Utilities to complement Tailwind CSS
 */

:root {
    --primary: #4F46E5;
    --primary-glow: rgba(79, 70, 229, 0.4);
    --secondary: #06B6D4;
    --accent: #F472B6;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.15);
    --dark-bg: #0F172A;
    --dark-card: rgba(30, 41, 59, 0.9);
}

/* Base Transitions */
* {
    transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

/* Glassmorphism Classes */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

.dark .glass-effect {
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Glowing Effects */
.glow-primary {
    box-shadow: 0 0 15px var(--primary-glow);
}

.text-glow {
    text-shadow: 0 0 8px currentColor;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

.animate-pulse-glow {
    animation: pulse-glow 3s ease-in-out infinite;
}

/* Responsive Table Solution */
@media (max-width: 768px) {
    .responsive-table tr {
        display: flex;
        flex-direction: column;
        margin-bottom: 1rem;
        border: 1px solid #e2e8f0;
        border-radius: 0.75rem;
        padding: 1rem;
        background: white;
    }

    .responsive-table td {
        display: flex;
        justify-content: space-between;
        padding: 0.5rem 0;
        border: none;
    }

    .responsive-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #64748b;
    }

    .responsive-table thead {
        display: none;
    }
}

/* Premium Buttons */
.btn-premium {
    background: linear-gradient(135deg, var(--primary) 0%, #6366F1 100%);
    box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.39);
}

.btn-premium:hover {
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.23);
    transform: translateY(-1px);
}

/* Scrollbar Hide */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Premium Layout Utilities */
.neo-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 2.5rem;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.neo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.dark-neo-card {
    background: #0F172A;
    border-radius: 2.5rem;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.status-badge {
    text-transform: uppercase;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}