@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/**
 * assets/css/app.css
 * Custom styles that extend or supplement Tailwind CSS.
 */

:root {
    --color-bg: #0F1115;
    --color-surface: #171A21;
    --color-text: #E9EAEE;
    --color-primary: #3D8BFF;
    --color-secondary: #F2B84B;
}

/* Base Body settings */
body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* Font helpers */
.font-display {
    font-family: 'Space Grotesk', sans-serif;
}

.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

/* Blueprint Grid Background Pattern */
.blueprint-grid {
    position: relative;
}

.blueprint-grid::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(61, 139, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(61, 139, 255, 0.04) 1px, transparent 1px);
    background-position: center;
}

.blueprint-grid::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-size: 8px 8px;
    background-image: 
        linear-gradient(to right, rgba(61, 139, 255, 0.015) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(61, 139, 255, 0.015) 1px, transparent 1px);
    background-position: center;
    mask-image: radial-gradient(circle, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle, black 40%, transparent 80%);
}

/* Custom Scrollbar for premium aesthetic */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: #2D313F;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* Hide scrollbar utility */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Glassmorphism utility card styling */
.glass-panel {
    background: rgba(23, 26, 33, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(61, 139, 255, 0.08);
}

.glass-panel:hover {
    border-color: rgba(61, 139, 255, 0.2);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Notification Toast animations */
@keyframes slide-in {
    from {
        transform: translateY(1rem);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-slide-in {
    animation: slide-in 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* App locking warning text selection styling */
.user-select-none {
    user-select: none;
    -webkit-user-select: none;
}

/* Interactive focus indicators */
input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 1px;
}
