
/* =========================================
   DESIGNER EFFECTS & UI ENHANCEMENTS
   ========================================= */

:root {
    --neon-primary: #10b981;
    --neon-secondary: #3b82f6;
    --neon-accent: #8b5cf6;
    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
}

/* 1. Enhanced Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--neon-primary), var(--neon-secondary));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #059669, #2563eb);
}

/* 2. Glowing Text Effects */
.linke-title, h1, h2 {
    background: linear-gradient(to right, #fff, var(--neon-primary), var(--neon-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
    animation: shimmer 3s infinite linear;
    background-size: 200% auto;
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

/* 3. Glassmorphism Cards with Neon Borders */
.tab-content, .advanced-options, .linke-tabs, .custom-modal-content {
    background: rgba(30, 41, 59, 0.7) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37), 
                inset 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tab-content:hover, .advanced-options:hover {
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.15), 
                inset 0 0 0 1px rgba(16, 185, 129, 0.2) !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
}

/* 4. Input Field Enhancements */
input[type="text"], 
input[type="datetime-local"], 
textarea, 
select {
    background: rgba(15, 23, 42, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    color: #e2e8f0 !important;
}

input:focus, textarea:focus, select:focus {
    background: rgba(15, 23, 42, 0.95) !important;
    border-color: var(--neon-primary) !important;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15),
                0 0 20px rgba(16, 185, 129, 0.1) !important;
    transform: translateY(-2px);
}

/* 5. Button Enhancements */
.linke-button, .custom-modal-button-primary, .tab-button.active {
    position: relative;
    overflow: hidden;
    z-index: 1;
    background-size: 200% auto;
    transition: 0.5s;
}

.linke-button:hover, .custom-modal-button-primary:hover, .tab-button.active:hover {
    background-position: right center;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px) scale(1.02);
}

/* Ripple Effect for Buttons */
.linke-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 1;
    }
    20% {
        transform: scale(25, 25);
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: scale(40, 40);
    }
}

/* 6. Loading/Processing Animation */
@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.processing {
    animation: pulse-glow 2s infinite;
}

/* 7. Tooltip/Hover Info Styles */
[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid var(--neon-primary);
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
