/**
 * ====================================================================
 * Pavo Admin Dashboard - Buttons Component Styles
 * Copyright © 2024 RefineThemes.com
 * Author: Saleem Raza
 * Founder: RefineThemes.com
 * License: MIT
 * ====================================================================
 */

        :root {
            --primary: #6f42c1;
            --secondary: #20c997;
            --accent: #fd7e14;
            --dark: #212529;
            --light: #f8f9fa;
             --primary-holo: #6f42c1;
            --secondary-holo: #20c997;
            --accent-holo: #fd7e14;
            --dark-bg: #0f172a;
            --light-text: #e2e8f0;
            --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            --success: #4cc9f0;
            --danger: #f72585;
            --warning: #fca311;
            --info: #4895ef;
            --light: #f8f9fa;
        }
        
        .section {
            background: rgba(30, 41, 59, 0.6);
            border-radius: 20px;
            padding: 2.5rem;
            margin-bottom: 3rem;
            box-shadow: 0 15px 30px rgba(0,0,0,0.3);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,0.05);
        }
        
        .section-title {
            color: #e2e8f0;
            font-weight: 700;
            margin-bottom: 2rem;
            padding-bottom: 1rem;
            border-bottom: 2px solid rgba(255,255,255,0.1);
            display: flex;
            align-items: center;
            gap: 1rem;
        }
        
        .section-title i {
            font-size: 1.8rem;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        .buttons-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 2rem;
        }
        
        .btn-advanced {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.8rem;
            padding: 1.2rem 2rem;
            border-radius: 15px;
            font-weight: 600;
            font-size: 1.1rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            overflow: hidden;
            transition: var(--transition);
            border: none;
            z-index: 1;
            box-shadow: 0 10px 20px rgba(0,0,0,0.2);
            cursor: pointer;
            transform: translateY(0);
        }
        
        .btn-advanced:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.3);
        }
        
        .btn-advanced:active {
            transform: translateY(0);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }
        
        .btn-advanced::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            z-index: -1;
            transition: var(--transition);
        }
        
        /* Button Variations */
        .btn-gradient-1 {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
        }
        
        .btn-gradient-2 {
            background: linear-gradient(135deg, #ff6b6b, #fd7e14);
        }
        
        .btn-gradient-3 {
            background: linear-gradient(135deg, #20c997, #0ea5e9);
        }
        
        .btn-gradient-4 {
            background: linear-gradient(135deg, #8b5cf6, #ec4899);
        }
        
        .btn-gradient-5 {
            background: linear-gradient(135deg, #0ea5e9, #8b5cf6);
        }
        
        .btn-gradient-6 {
            background: linear-gradient(135deg, #fd7e14, #f43f5e);
        }
        
        .btn-neon {
            background: rgba(15, 23, 42, 0.7);
            border: 2px solid var(--primary);
            color: #c084fc;
        }
        
        .btn-neon:hover {
            box-shadow: 0 0 15px rgba(139, 92, 246, 0.7);
        }
        
        .btn-glass {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,0.15);
            color: #e2e8f0;
        }
        
        .btn-glass:hover {
            background: rgba(255, 255, 255, 0.15);
        }
        
        .btn-icon-animate i {
            transition: var(--transition);
        }
        
        .btn-icon-animate:hover i {
            transform: rotate(15deg) scale(1.2);
        }
        
        .btn-pulse:hover {
            animation: pulse 1.5s infinite;
        }
        
        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(32, 201, 151, 0.7); }
            70% { box-shadow: 0 0 0 15px rgba(32, 201, 151, 0); }
            100% { box-shadow: 0 0 0 0 rgba(32, 201, 151, 0); }
        }
        
        .btn-border-anim::before {
            opacity: 0;
        }
        
        .btn-border-anim:hover::before {
            opacity: 1;
        }
        
        .btn-border-anim::after {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            background: linear-gradient(45deg, #ff6b6b, #fd7e14, #20c997, #0ea5e9, #8b5cf6);
            z-index: -2;
            border-radius: 17px;
            background-size: 400%;
            animation: borderAnim 3s linear infinite;
        }
        
        @keyframes borderAnim {
            0% { background-position: 0%; }
            100% { background-position: 400%; }
        }
        
        .btn-3d {
            transform: perspective(500px) rotateX(10deg);
            box-shadow: 0 20px 30px rgba(0,0,0,0.4);
        }
        
        .btn-3d:hover {
            transform: perspective(500px) rotateX(0);
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
        }
        
        .btn-loading {
            position: relative;
            overflow: hidden;
        }
        
        .btn-loading::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255,255,255,0.2);
            transform: translateX(-100%);
            transition: transform 0.6s ease;
        }
        
        .btn-loading.loading::after {
            transform: translateX(100%);
        }
        
        .btn-hover-expand:hover {
            letter-spacing: 3px;
        }
        
        .btn-social {
            border-radius: 50%;
            width: 70px;
            height: 70px;
            padding: 0;
        }
        
        .btn-social i {
            font-size: 1.8rem;
            margin: 0;
        }
        
        .counter {
            font-size: 2.5rem;
            font-weight: 700;
            margin: 2rem 0;
            color: var(--light);
            text-align: center;
        }
        
        /* Responsive adjustments */
        @media (max-width: 768px) {
            .header h1 {
                font-size: 2.5rem;
            }
            
            .buttons-grid {
                grid-template-columns: 1fr;
            }
            
            .section {
                padding: 1.5rem;
            }
        }
        .buttons-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2.5rem;
            margin-bottom: 4rem;
        }
        
        /* HOLOGRAPHIC BUTTON */
        .holo-btn {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
            padding: 1.5rem 2.5rem;
            border-radius: 18px;
            font-weight: 700;
            font-size: 1.2rem;
            letter-spacing: 1.5px;
            overflow: hidden;
            transition: var(--transition);
            border: none;
            z-index: 1;
            cursor: pointer;
            transform: translateY(0) perspective(800px) rotateX(0);
            background: rgba(30, 41, 59, 0.5);
            box-shadow: 
                0 15px 35px rgba(0, 0, 0, 0.5),
                inset 0 0 15px rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            color: var(--light-text);
            text-transform: uppercase;
        }
        
        .holo-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                45deg,
                rgba(111, 66, 193, 0.3),
                rgba(32, 201, 151, 0.3),
                rgba(253, 126, 20, 0.3)
            );
            z-index: -1;
            opacity: 0.7;
            transition: var(--transition);
        }
        
        .holo-btn::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(
                to right,
                rgba(255, 255, 255, 0) 0%,
                rgba(255, 255, 255, 0.2) 50%,
                rgba(255, 255, 255, 0) 100%
            );
            transform: rotate(30deg) translateY(-200%);
            z-index: -1;
            transition: var(--transition);
        }
        
        .holo-btn:hover {
            transform: translateY(-8px) perspective(800px) rotateX(15deg);
            box-shadow: 
                0 25px 45px rgba(0, 0, 0, 0.6),
                inset 0 0 20px rgba(255, 255, 255, 0.15),
                0 0 30px rgba(111, 66, 193, 0.4);
        }
        
        .holo-btn:hover::after {
            transform: rotate(30deg) translateY(200%);
        }
        
        .holo-btn i {
            transition: var(--transition);
        }
        
        .holo-btn:hover i {
            transform: scale(1.3) rotate(15deg);
            text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
        }
        
        /* PARTICLE EMITTER */
        .particle-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 0;
            overflow: hidden;
            border-radius: 18px;
        }
        
        .particle {
            position: absolute;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.8);
            animation: float 3s ease-in-out infinite;
            opacity: 0;
        }
        
        @keyframes float {
            0% {
                transform: translateY(0) translateX(0) scale(0);
                opacity: 0.8;
            }
            100% {
                transform: translateY(-100px) translateX(20px) scale(1);
                opacity: 0;
            }
        }
        
        /* MORPHING BUTTON */
        .morph-btn {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
            padding: 1.5rem 2.5rem;
            border-radius: 50px;
            font-weight: 700;
            font-size: 1.2rem;
            letter-spacing: 1.5px;
            overflow: hidden;
            transition: var(--transition);
            border: none;
            z-index: 1;
            cursor: pointer;
            background: linear-gradient(135deg, #8b5cf6, #ec4899);
            color: white;
            box-shadow: 0 15px 35px rgba(139, 92, 246, 0.4);
            text-transform: uppercase;
        }
        
        .morph-btn:hover {
            border-radius: 18px;
            box-shadow: 0 25px 45px rgba(139, 92, 246, 0.6);
        }
        
        .morph-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.1);
            z-index: -1;
            clip-path: circle(0% at 50% 50%);
            transition: clip-path 0.8s ease;
        }
        
        .morph-btn:hover::before {
            clip-path: circle(100% at 50% 50%);
        }
        
        /* LIQUID FILL BUTTON */
        .liquid-btn {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
            padding: 1.5rem 2.5rem;
            border-radius: 18px;
            font-weight: 700;
            font-size: 1.2rem;
            letter-spacing: 1.5px;
            overflow: hidden;
            transition: var(--transition);
            border: 2px solid #20c997;
            z-index: 1;
            cursor: pointer;
            background: transparent;
            color: #20c997;
            text-transform: uppercase;
        }
        
        .liquid-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 0%;
            background: #20c997;
            z-index: -1;
            transition: height 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
        }
        
        .liquid-btn:hover {
            color: #0f172a;
            box-shadow: 0 0 30px rgba(32, 201, 151, 0.6);
        }
        
        .liquid-btn:hover::before {
            height: 100%;
        }
        
        /* GLITCH BUTTON */
        .glitch-btn {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
            padding: 1.5rem 2.5rem;
            border-radius: 18px;
            font-weight: 700;
            font-size: 1.2rem;
            letter-spacing: 1.5px;
            overflow: hidden;
            transition: var(--transition);
            border: none;
            z-index: 1;
            cursor: pointer;
            background: #0ea5e9;
            color: white;
            text-transform: uppercase;
            box-shadow: 0 15px 35px rgba(14, 165, 233, 0.4);
        }
        
        .glitch-btn::before,
        .glitch-btn::after {
            content: attr(data-text);
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
            padding: 1.5rem 2.5rem;
            overflow: hidden;
            z-index: -1;
        }
        
        .glitch-btn::before {
            left: 3px;
            text-shadow: -3px 0 #ff6b6b;
            clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
        }
        
        .glitch-btn::after {
            left: -3px;
            text-shadow: 3px 0 #20c997;
            clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
        }
        
        .glitch-btn:hover::before {
            animation: glitch-anim 0.8s infinite linear alternate-reverse;
        }
        
        .glitch-btn:hover::after {
            animation: glitch-anim2 0.8s infinite linear alternate-reverse;
        }
        
        @keyframes glitch-anim {
            0% { transform: translateX(0); }
            100% { transform: translateX(3px); }
        }
        
        @keyframes glitch-anim2 {
            0% { transform: translateX(0); }
            100% { transform: translateX(-3px); }
        }
        
        /* NEURAL NETWORK BUTTON */
        .neural-btn {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
            padding: 1.5rem 2.5rem;
            border-radius: 18px;
            font-weight: 700;
            font-size: 1.2rem;
            letter-spacing: 1.5px;
            overflow: hidden;
            transition: var(--transition);
            border: none;
            z-index: 1;
            cursor: pointer;
            background: rgba(15, 23, 42, 0.7);
            color: #f43f5e;
            text-transform: uppercase;
            border: 1px solid rgba(244, 63, 94, 0.3);
            box-shadow: 0 0 15px rgba(244, 63, 94, 0.2);
        }
        
        .neural-btn:hover {
            box-shadow: 0 0 30px rgba(244, 63, 94, 0.5);
        }
        
        .neural-grid {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            background-image: 
                linear-gradient(rgba(244, 63, 94, 0.1) 1px, transparent 1px),
                linear-gradient(90deg, rgba(244, 63, 94, 0.1) 1px, transparent 1px);
            background-size: 30px 30px;
            opacity: 0.5;
            transition: var(--transition);
        }
        
        .neural-btn:hover .neural-grid {
            background-size: 20px 20px;
            opacity: 0.8;
        }
        
        .neural-node {
            position: absolute;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #f43f5e;
            box-shadow: 0 0 10px #f43f5e;
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0% { transform: scale(1); opacity: 0.8; }
            50% { transform: scale(1.5); opacity: 0.4; }
            100% { transform: scale(1); opacity: 0.8; }
        }
        
        
        /* Responsive design */
        @media (max-width: 768px) {
            .header h1 {
                font-size: 2.5rem;
            }
            
            .buttons-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            
            .holo-btn, .morph-btn, .liquid-btn, .glitch-btn, .neural-btn {
                padding: 1.2rem 2rem;
                font-size: 1.1rem;
            }
        }
        
        
        .buttons-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
        }
        
        /* BASE BUTTON STYLE */
        .flat-btn {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.8rem;
            padding: 1.1rem 1.8rem;
            border-radius: 12px;
            font-weight: 600;
            font-size: 1rem;
            letter-spacing: 0.5px;
            overflow: hidden;
            transition: var(--transition);
            border: none;
            z-index: 1;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            cursor: pointer;
            transform: translateY(0);
            text-transform: uppercase;
        }
        
        .flat-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.12);
        }
        
        .flat-btn:active {
            transform: translateY(1px);
        }
        
        .flat-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            transition: var(--transition);
        }
        
        /* COLOR VARIATIONS */
        .btn-primary-flat {
            background: var(--primary);
            color: white;
        }
        
        .btn-secondary-flat {
            background: var(--secondary);
            color: white;
        }
        
        .btn-success-flat {
            background: var(--success);
            color: white;
        }
        
        .btn-danger-flat {
            background: var(--danger);
            color: white;
        }
        
        .btn-warning-flat {
            background: var(--warning);
            color: var(--dark);
        }
        
        .btn-info-flat {
            background: var(--info);
            color: white;
        }
        
        .btn-dark-flat {
            background: var(--dark);
            color: white;
        }
        
        .btn-light-flat {
            background: var(--light);
            color: var(--dark);
        }
        
        /* OUTLINE BUTTONS */
        .btn-outline-primary-flat {
            background: transparent;
            color: var(--primary);
            border: 2px solid var(--primary);
        }
        
        .btn-outline-secondary-flat {
            background: transparent;
            color: var(--secondary);
            border: 2px solid var(--secondary);
        }
        
        .btn-outline-success-flat {
            background: transparent;
            color: var(--success);
            border: 2px solid var(--success);
        }
        
        .btn-outline-danger-flat {
            background: transparent;
            color: var(--danger);
            border: 2px solid var(--danger);
        }
        
        /* ICON BUTTONS */
        .btn-icon {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            padding: 0;
        }
        
        .btn-icon i {
            margin: 0;
            font-size: 1.5rem;
        }
        
        /* ANIMATED BUTTONS */
        .btn-hover-grow:hover {
            transform: scale(1.05) translateY(-3px);
        }
        
        .btn-hover-shrink:active {
            transform: scale(0.95);
        }
        
        .btn-icon-spin:hover i {
            animation: spin 0.6s ease;
        }
        
        @keyframes spin {
            0% { transform: rotate(0); }
            100% { transform: rotate(360deg); }
        }
        
        .btn-underline::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 3px;
            background: white;
            transition: var(--transition);
        }
        
        .btn-underline:hover::after {
            width: 70%;
        }
        
        .btn-underline.btn-outline-primary-flat::after {
            background: var(--primary);
        }
        
        .btn-underline.btn-outline-secondary-flat::after {
            background: var(--secondary);
        }
        
        /* RIPPLE EFFECT */
        .ripple {
            position: absolute;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.4);
            transform: scale(0);
            animation: ripple 0.6s linear;
        }
        
        @keyframes ripple {
            to {
                transform: scale(2.5);
                opacity: 0;
            }
        }
        
        /* COUNTER */
        .counter {
            font-size: 2rem;
            font-weight: 700;
            margin: 2rem 0;
            color: var(--dark);
            text-align: center;
        }
        
        .counter span {
            color: var(--primary);
        }
        
        .footer {
            text-align: center;
            margin-top: 4rem;
            padding: 2rem;
            color: #6c757d;
            font-size: 1rem;
        }
        
        /* RESPONSIVE ADJUSTMENTS */
        @media (max-width: 768px) {
            .header h1 {
                font-size: 2.2rem;
            }
            
            .buttons-grid {
                grid-template-columns: 1fr;
            }
            
            .section {
                padding: 1.5rem;
            }
        }