/* --- START OF assets/css/style.css --- */
/* Purpose: Unified FlowLogix.ai Design System */

:root {
    --bg-dark: #0A0A0A;
    --zinc-50: #FAFAFA;
    --zinc-400: #A1A1AA;
    --zinc-700: #3F3F46;
    --accent-blue: #00BFFF;
    /* DeepSkyBlue */
    --accent-glow: rgba(0, 191, 255, 0.15);

}

/* Navbar */
.navbar {
    background-color: rgba(10, 10, 10, 0.95) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--zinc-50) !important;
}

/* Forms */
.form-control,
.form-select {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border-radius: 8px;
}

.form-control:focus,
.form-select:focus {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--accent-blue) !important;
    box-shadow: 0 0 0 2px var(--accent-glow);
}

/* Utilities */
.text-muted {
    color: #D4D4D8 !important;
    /* Zinc-300 for high visibility */
}

.text-glow {
    text-shadow: 0 0 20px rgba(0, 191, 255, 0.4);
    color: #fff;
}

/* Welcome Glass */
.welcome-glass {
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid var(--zinc-700);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark) !important;
    color: var(--zinc-50);
    margin: 0;
    overflow-x: hidden;
}

/* Background Grid Animation */
/* Background Grid Animation */
.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background-image:
        linear-gradient(rgba(0, 191, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 191, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    animation: pan-grid 60s linear infinite;
    pointer-events: none;
}

@keyframes pan-grid {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-50px, -50px);
    }
}

h1,
h2 {
    font-family: 'Space+Grotesk', sans-serif;
    color: var(--zinc-50);
}

h3,
h4,
h5 {
    font-family: 'Space+Grotesk', sans-serif;
    color: var(--accent-blue);
}

.nav-link-logout {
    color: var(--zinc-50) !important;
    transition: all 0.3s ease;
}

.nav-link-logout:hover {
    color: var(--accent-blue) !important;
    text-shadow: 0 0 10px var(--accent-blue);
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(0, 191, 255, 0.05) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 191, 255, 0.2);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.1);
}

/* High-Contrast Buttons */
.cta-button {
    background-color: var(--accent-blue);
    color: var(--bg-dark);
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.4);
    border: none;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 191, 255, 0.6);
    color: var(--bg-dark) !important;
}

/* Table Hover States - Fix for Readability */
/* Table Hover States - Fix for Readability */
.table-sleek,
.table-sleek thead,
.table-sleek tbody,
.table-sleek tr,
.table-sleek td,
.table-sleek th {
    background-color: transparent !important;
    border-color: var(--zinc-700);
}

.table-sleek {
    --bs-table-bg: transparent;
    --bs-table-color: var(--zinc-50);
    border-collapse: separate;
    border-spacing: 0 8px;
}

.table-sleek thead th {
    background-color: transparent !important;
    color: var(--zinc-50);
    border-bottom: 1px solid var(--zinc-700);
    border-top: none;
}

.table-sleek tbody tr {
    background: rgba(255, 255, 255, 0.03) !important;
    border: none;
    transition: all 0.2s ease;
}

.table-sleek tbody tr:hover {
    background: rgba(0, 191, 255, 0.1) !important;
    color: var(--zinc-50) !important;
}

.table-sleek td {
    background-color: transparent !important;
    border-bottom: none;
    color: var(--zinc-50);
}

/* Ghost Buttons */
/* Ghost Buttons */
.btn-ghost-reset {
    background: transparent;
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    transition: all 0.3s ease;
    border-radius: 12px;
    padding: 0.5rem 0.75rem;
    /* Interpreting 0.75rem padding as balanced */
}

.btn-ghost-reset:hover {
    background: var(--accent-blue);
    color: var(--bg-dark);
}

.btn-ghost-delete {
    background: transparent;
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    transition: all 0.3s ease;
    border-radius: 12px;
    padding: 0.5rem 0.75rem;
}

.btn-ghost-delete:hover {
    background: transparent;
    border-color: var(--zinc-50);
    color: var(--zinc-50);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}


/* FORCE VISIBILITY FOR ALL CARD HEADINGS */
.glass-card .card-title,
.card-title,
.glass-card .card-header,
.glass-card h5,
.glass-card h2 {
    color: #00BFFF !important;
    font-family: 'Space Grotesk', sans-serif !important;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.3) !important;
    opacity: 1 !important;
}

/* Ensure sub-labels within cards are readable white */
.glass-card .form-label,
.glass-card .text-muted {
    color: var(--zinc-50) !important;
    opacity: 0.9 !important;
}

/* --- END OF assets/css/style.css --- */