/* N8tive.io Project Manager - Custom Styles */

/* ============================================
   SPLASH SCREEN ANIMATIONS
   ============================================ */

/* Splash Screen Container */
#splashScreen {
    animation: splashFadeOut 1.2s ease-in-out 7s forwards;
}

.splash-content {
    position: relative;
    text-align: center;
}

/* Background Particles */
.splash-particles {
    position: absolute;
    inset: -50%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.8), transparent);
    border-radius: 50%;
    animation: particleFloat 3s infinite ease-in-out;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 3s; }
.particle:nth-child(2) { left: 80%; top: 30%; animation-delay: 0.5s; animation-duration: 3.5s; }
.particle:nth-child(3) { left: 20%; top: 70%; animation-delay: 1s; animation-duration: 4s; }
.particle:nth-child(4) { left: 90%; top: 60%; animation-delay: 1.5s; animation-duration: 3.2s; }
.particle:nth-child(5) { left: 50%; top: 10%; animation-delay: 0.8s; animation-duration: 3.8s; }
.particle:nth-child(6) { left: 40%; top: 90%; animation-delay: 1.2s; animation-duration: 3.3s; }

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    50% {
        transform: translateY(-30px) scale(1.5);
        opacity: 1;
    }
}

/* Logo Container */
.splash-logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
    animation: logoZoomIn 1.5s ease-out forwards;
}

@keyframes logoZoomIn {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    60% {
        transform: scale(1.1) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* Animated Rings */
.splash-ring,
.splash-ring-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid rgba(167, 139, 250, 0.3);
    animation: ringExpand 2s ease-out infinite;
}

.splash-ring {
    width: 140px;
    height: 140px;
}

.splash-ring-2 {
    width: 160px;
    height: 160px;
    animation-delay: 0.5s;
    border-color: rgba(96, 165, 250, 0.3);
}

@keyframes ringExpand {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0;
    }
}

/* Logo SVG */
.splash-logo {
    position: relative;
    z-index: 10;
    filter: drop-shadow(0 0 20px rgba(167, 139, 250, 0.5));
}

/* Logo Fill Animation */
.logo-fill {
    opacity: 0;
    animation: fillAppear 1s ease-out 0.5s forwards;
}

@keyframes fillAppear {
    to {
        opacity: 0.2;
    }
}

/* Hexagon Stroke Animation */
.logo-hexagon {
    stroke-dasharray: 180;
    stroke-dashoffset: 180;
    animation: drawHexagon 2.2s ease-out 0.8s forwards;
}

@keyframes drawHexagon {
    to {
        stroke-dashoffset: 0;
    }
}

/* Line Animations */
.logo-line-vertical,
.logo-line-diagonal-1,
.logo-line-diagonal-2 {
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
}

.logo-line-vertical {
    animation: drawLine 0.8s ease-out 2.5s forwards;
}

.logo-line-diagonal-1 {
    animation: drawLine 0.8s ease-out 2.9s forwards;
}

.logo-line-diagonal-2 {
    animation: drawLine 0.8s ease-out 3.3s forwards;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

/* Dot Animations (5 dots total) */
.logo-dot {
    opacity: 0;
    transform: scale(0);
}

/* Center blue dot appears first */
.logo-dot-center { 
    animation: dotAppear 0.6s ease-out 3.7s forwards; 
}

/* 4 purple corner dots appear sequentially */
.logo-dot-1 { animation: dotAppear 0.5s ease-out 4.0s forwards; }
.logo-dot-2 { animation: dotAppear 0.5s ease-out 4.3s forwards; }
.logo-dot-3 { animation: dotAppear 0.5s ease-out 4.6s forwards; }
.logo-dot-4 { animation: dotAppear 0.5s ease-out 4.9s forwards; }

@keyframes dotAppear {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        transform: scale(1.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Glow Effect */
.splash-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.3), transparent 70%);
    border-radius: 50%;
    animation: glowPulse 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes glowPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

/* Text Animations */
.splash-text {
    animation: textSlideUp 0.8s ease-out 1s backwards;
}

@keyframes textSlideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.splash-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #a78bfa, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.splash-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

/* Loading Bar */
.splash-loader {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.splash-loader-bar {
    height: 100%;
    background: linear-gradient(90deg, #a78bfa, #60a5fa);
    border-radius: 10px;
    animation: loaderProgress 5s ease-in-out forwards;
    box-shadow: 0 0 10px rgba(167, 139, 250, 0.5);
}

@keyframes loaderProgress {
    0% {
        width: 0%;
        transform: translateX(0);
    }
    100% {
        width: 100%;
        transform: translateX(0);
    }
}

/* Splash Screen Fade Out */
@keyframes splashFadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* Optional custom CSS overrides */

/* Prevent horizontal scroll */
body {
    overflow-x: hidden;
    max-width: 100vw;
}

#mainContent {
    overflow-x: hidden;
    max-width: 100%;
}

#sidebar {
    overflow-x: hidden;
    max-width: 100%;
}

/* Ensure all views respect viewport width */
.view-content {
    max-width: 100%;
    overflow-x: hidden;
}

/* Ensure modals don't cause overflow */
.modal {
    max-width: 100vw;
}

/* Sidebar button overflow prevention */
.filter-btn, .nav-btn {
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 1px solid transparent;
}

/* Smooth transitions for drag and drop */
.drag-over {
    background-color: rgba(107, 70, 193, 0.1);
    border: 2px dashed rgba(107, 70, 193, 0.5);
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(156, 163, 175, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(156, 163, 175, 0.7);
}

/* Dark mode scrollbar */
.dark ::-webkit-scrollbar-thumb {
    background: rgba(75, 85, 99, 0.5);
}

.dark ::-webkit-scrollbar-thumb:hover {
    background: rgba(75, 85, 99, 0.7);
}

/* Horizontal scroll for Kanban board */
.kanban-board-container {
    scrollbar-width: thin;
    scrollbar-color: rgba(107, 70, 193, 0.6) rgba(243, 244, 246, 0.3);
    scroll-behavior: smooth;
    max-width: 100%;
}

.dark .kanban-board-container {
    scrollbar-color: rgba(107, 70, 193, 0.6) rgba(31, 41, 55, 0.3);
}

/* Make horizontal scrollbar more visible */
.kanban-board-container::-webkit-scrollbar {
    height: 12px;
}

.kanban-board-container::-webkit-scrollbar-track {
    background: rgba(243, 244, 246, 0.3);
    border-radius: 6px;
}

.kanban-board-container::-webkit-scrollbar-thumb {
    background: rgba(107, 70, 193, 0.6);
    border-radius: 6px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.kanban-board-container::-webkit-scrollbar-thumb:hover {
    background: rgba(107, 70, 193, 0.8);
    background-clip: padding-box;
}

.dark .kanban-board-container::-webkit-scrollbar-track {
    background: rgba(31, 41, 55, 0.3);
}

.dark .kanban-board-container::-webkit-scrollbar-thumb {
    background: rgba(107, 70, 193, 0.6);
}

.dark .kanban-board-container::-webkit-scrollbar-thumb:hover {
    background: rgba(107, 70, 193, 0.8);
}

/* Line clamp utility for task descriptions */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Ensure smooth color transitions */
* {
    transition-property: background-color, border-color, color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

/* Prevent transition on page load */
.preload * {
    transition: none !important;
}

/* Custom focus styles */
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #6b46c1;
    outline-offset: 2px;
}

/* Pulse animation for empty states */
@keyframes pulse-subtle {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.animate-pulse-subtle {
    animation: pulse-subtle 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Empty State Glass Enhancement */
#emptyStateOverlay > div {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    box-shadow: 
        0 20px 60px rgba(107, 70, 193, 0.15),
        inset 0 2px 0 rgba(255, 255, 255, 0.8),
        inset 0 -2px 0 rgba(0, 0, 0, 0.05) !important;
}

.dark #emptyStateOverlay > div {
    background: rgba(31, 41, 55, 0.95) !important;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 2px 0 rgba(255, 255, 255, 0.1),
        inset 0 -2px 0 rgba(0, 0, 0, 0.3) !important;
}

/* Ensure empty state is responsive and fits properly */
#emptyStateOverlay {
    z-index: 10;
}

/* Make sure kanban container has proper overflow handling */
#kanbanContainer {
    position: relative;
}

/* Collapse button styling - no permanent purple background */
#collapseBtn {
    background: transparent !important;
}

#collapseBtn:hover {
    background: rgba(147, 51, 234, 0.1) !important;
}

.dark #collapseBtn:hover {
    background: rgba(147, 51, 234, 0.2) !important;
}

/* Task card hover effect */
.bg-gray-50.dark\:bg-gray-700:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease;
}

/* Modal backdrop animation */
#detailModal.flex,
#editModal.flex {
    animation: fadeIn 0.2s ease-out;
}

/* File attachment hover effect */
#detailFiles .bg-gray-50:hover {
    background-color: rgba(243, 244, 246, 0.8);
}

.dark #detailFiles .dark\:bg-gray-700:hover {
    background-color: rgba(55, 65, 81, 0.8);
}

/* Icon sizes - Match the expanded sidebar icons (Tailwind w-6 = 24px, w-7 = 28px) */
/* These rules ensure icons stay the same size in both states */

/* Fix hover and active state alignment when sidebar is collapsed */
.sidebar-collapsed .nav-btn,
.sidebar-collapsed .filter-btn {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0.5rem !important; /* Tighter padding around icons (8px) */
    margin: 0 auto !important; /* Center the button itself */
    width: fit-content !important;
}

/* Enhanced glassy hover effect for navigation buttons */
.nav-btn:hover,
.filter-btn:hover {
    background: rgba(147, 51, 234, 0.15) !important;
    backdrop-filter: blur(12px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(150%) !important;
    border: 1px solid rgba(147, 51, 234, 0.3) !important;
    box-shadow: 
        0 4px 16px rgba(147, 51, 234, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-1px) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.dark .nav-btn:hover,
.dark .filter-btn:hover {
    background: rgba(147, 51, 234, 0.25) !important;
    backdrop-filter: blur(12px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(150%) !important;
    border: 1px solid rgba(147, 51, 234, 0.4) !important;
    box-shadow: 
        0 4px 16px rgba(147, 51, 234, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

/* Enhanced glassy active state */
.nav-btn.bg-purple-600,
.filter-btn.bg-purple-600 {
    background: linear-gradient(
        135deg,
        rgba(147, 51, 234, 0.85) 0%,
        rgba(107, 70, 193, 0.85) 100%
    ) !important;
    backdrop-filter: blur(16px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 
        0 8px 24px rgba(107, 70, 193, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        inset 0 -2px 0 rgba(0, 0, 0, 0.2) !important;
}

.dark .nav-btn.bg-purple-600,
.dark .filter-btn.bg-purple-600 {
    background: linear-gradient(
        135deg,
        rgba(147, 51, 234, 0.9) 0%,
        rgba(107, 70, 193, 0.9) 100%
    ) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 
        0 8px 24px rgba(107, 70, 193, 0.5),
        inset 0 2px 0 rgba(255, 255, 255, 0.2),
        inset 0 -2px 0 rgba(0, 0, 0, 0.3) !important;
}

/* Make sure hover backgrounds are centered when collapsed */
.sidebar-collapsed .nav-btn:hover,
.sidebar-collapsed .filter-btn:hover {
    margin: 0 auto !important;
}

/* Ensure active state is perfectly centered with tight padding */
.sidebar-collapsed .nav-btn.bg-purple-600,
.sidebar-collapsed .filter-btn.bg-purple-600 {
    margin: 0 auto !important;
}

/* Remove active state from non-selected buttons */
.nav-btn:not(.bg-purple-600),
.filter-btn:not(.bg-purple-600) {
    background: transparent !important;
}

.dark .nav-btn:not(.bg-purple-600),
.dark .filter-btn:not(.bg-purple-600) {
    background: transparent !important;
}

/* ============================================
   LIQUID GLASS UI - Glassmorphism Effects
   ============================================ */

/* Base glass effect with purple/blue tint */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 32px 0 rgba(107, 70, 193, 0.1),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.5);
}

.dark .glass-card {
    background: rgba(31, 41, 55, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.3),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
}

/* Frosted glass for sidebar and header */
.glass-frosted {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.8) 0%,
        rgba(255, 255, 255, 0.6) 100%
    );
    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    border-right: 1px solid rgba(107, 70, 193, 0.1);
    box-shadow: 
        4px 0 24px rgba(107, 70, 193, 0.05),
        inset -1px 0 0 rgba(255, 255, 255, 0.6);
}

.dark .glass-frosted {
    background: linear-gradient(
        135deg,
        rgba(17, 24, 39, 0.85) 0%,
        rgba(31, 41, 55, 0.7) 100%
    );
    border-right: 1px solid rgba(107, 70, 193, 0.2);
    box-shadow: 
        4px 0 24px rgba(0, 0, 0, 0.3),
        inset -1px 0 0 rgba(255, 255, 255, 0.03);
}

/* Glass shine effect - liquid reflection */
.glass-shine {
    position: relative;
    overflow: hidden;
}

.glass-shine::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-shine:hover::before {
    left: 100%;
}

/* Shimmer animation for loading states */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.glass-shimmer {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    background-size: 1000px 100%;
    animation: shimmer 2s infinite linear;
}

.dark .glass-shimmer {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0) 100%
    );
}

/* Glossy buttons with purple gradient */
.glass-button {
    background: linear-gradient(
        135deg,
        rgba(147, 51, 234, 0.9) 0%,
        rgba(107, 70, 193, 0.9) 100%
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 16px rgba(107, 70, 193, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-button:hover {
    background: linear-gradient(
        135deg,
        rgba(147, 51, 234, 1) 0%,
        rgba(107, 70, 193, 1) 100%
    );
    box-shadow: 
        0 6px 24px rgba(107, 70, 193, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Glass panel for modals and overlays */
.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 16px 64px rgba(107, 70, 193, 0.15),
        inset 0 2px 0 rgba(255, 255, 255, 0.6),
        inset 0 -2px 0 rgba(0, 0, 0, 0.05);
}

.dark .glass-panel {
    background: rgba(17, 24, 39, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 16px 64px rgba(0, 0, 0, 0.5),
        inset 0 2px 0 rgba(255, 255, 255, 0.05),
        inset 0 -2px 0 rgba(0, 0, 0, 0.2);
}

/* Liquid gradient background */
.glass-gradient-bg {
    background: 
        radial-gradient(circle at 20% 50%, rgba(147, 51, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(107, 70, 193, 0.08) 0%, transparent 50%);
}

.dark .glass-gradient-bg {
    background: 
        radial-gradient(circle at 20% 50%, rgba(147, 51, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(107, 70, 193, 0.12) 0%, transparent 50%);
}

/* Enhanced scrollbars with glass effect */
.glass-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(
        135deg,
        rgba(147, 51, 234, 0.4),
        rgba(107, 70, 193, 0.4)
    );
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.glass-scroll::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        135deg,
        rgba(147, 51, 234, 0.6),
        rgba(107, 70, 193, 0.6)
    );
}

/* Reflective surface effect */
.glass-reflect {
    position: relative;
}

.glass-reflect::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.15) 0%,
        transparent 100%
    );
    pointer-events: none;
    border-radius: inherit;
}

.dark .glass-reflect::after {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.05) 0%,
        transparent 100%
    );
}

/* Liquid border animation */
@keyframes liquid-border {
    0%, 100% {
        border-color: rgba(147, 51, 234, 0.3);
        box-shadow: 0 0 20px rgba(147, 51, 234, 0.2);
    }
    50% {
        border-color: rgba(59, 130, 246, 0.3);
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
    }
}

.glass-liquid-border {
    animation: liquid-border 3s ease-in-out infinite;
}

/* Polished glass input fields */
.glass-input {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.05),
        0 2px 8px rgba(107, 70, 193, 0.1);
}

.glass-input:focus {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(107, 70, 193, 0.5);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.05),
        0 0 0 3px rgba(107, 70, 193, 0.1),
        0 4px 12px rgba(107, 70, 193, 0.2);
}

.dark .glass-input {
    background: rgba(31, 41, 55, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        0 2px 8px rgba(107, 70, 193, 0.2);
}

.dark .glass-input:focus {
    background: rgba(31, 41, 55, 0.8);
    border-color: rgba(107, 70, 193, 0.6);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        0 0 0 3px rgba(107, 70, 193, 0.2),
        0 4px 12px rgba(107, 70, 193, 0.3);
}
