/* 
   Wireframe / Low-Fidelity (Lo-Fi) Developer Console CSS
   Provides structural additions and custom layout assets
*/

/* --- Page Transition (overlay fade — tirai putih) --- */
/* Overlay handled via JS + inline style on #page-overlay */
/* Content fade-in setelah overlay selesai */
@keyframes contentFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Reset margins and set zero border radius */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-radius: 0 !important; /* STRICT ZERO-BORDER-RADIUS */
}

body {
    background-color: #f9f9f9; /* Digital blueprint light grey paper background */
    background-image: linear-gradient(90deg, rgba(24, 24, 27, 0.05) 1px, transparent 1px),
                      linear-gradient(rgba(24, 24, 27, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    color: #18181b; /* Charcoal black */
    font-family: 'Space Grotesk', 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.5;
}

/* Font Display — Fraunces (used for hero headings across all pages) */
.font-display {
    font-family: 'Fraunces', Georgia, serif;
}


/* Custom Hide Scrollbar for Horizontal Navigation Scroll on mobile */
.nav-container {
    scrollbar-width: none; /* Firefox */
}
.nav-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

/* --- Wireframe Draft Corner Markers --- */
.corner-marker {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #000000;
    border: 1px solid #ffffff;
    z-index: 20;
}

/* --- Timeline Ledger Dash Line --- */
.timeline-dash-line {
    position: relative;
    padding-left: 24px;
}
.timeline-dash-line::before {
    content: '';
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 4px;
    width: 1px;
    border-left: 2px dashed #18181b;
}

/* --- Indicator Status Dot --- */
@keyframes status-blink {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}
.blink-active {
    animation: status-blink 1.5s infinite ease-in-out;
}

/* --- Admin Panel — White Neo-Brutalist Theme --- */
/* Replaces old dark hacker terminal theme with clean light mode */
.admin-body {
    background-color: #f9fafb !important;
    color: #18181b !important;
    font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif !important;
}
.admin-body input,
.admin-body textarea,
.admin-body select {
    background-color: #ffffff !important;
    color: #18181b !important;
    border: 2px solid #18181b !important;
    color-scheme: light !important;
}
.admin-body input:focus,
.admin-body textarea:focus,
.admin-body select:focus {
    border: 2px solid #2563eb !important;
    background-color: #ffffff !important;
    outline: none !important;
    box-shadow: 2px 2px 0 0 #18181b !important;
}
.admin-body input::placeholder,
.admin-body textarea::placeholder {
    color: #a1a1aa !important;
    opacity: 1 !important;
}
/* autofill fix for Chrome */
.admin-body input:-webkit-autofill,
.admin-body textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
    -webkit-text-fill-color: #18181b !important;
}

/* --- Technical Blueprint Grid Background --- */
.blueprint-grid {
    background-image: linear-gradient(90deg, rgba(24, 24, 27, 0.04) 1px, transparent 1px),
                      linear-gradient(rgba(24, 24, 27, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
}

/* --- Pulse Green Status Indicator --- */
.pulse-green {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #10b981;
    animation: status-blink 1.5s infinite ease-in-out;
}

/* --- Project Drawer Expansion --- */
.drawer-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    opacity: 0;
}
.drawer-content.open {
    max-height: 2000px; /* high enough for full ASCII flowcharts */
    opacity: 1;
    transition: max-height 0.5s ease-in, opacity 0.3s ease-in;
}

/* --- Brutalist Layout Utilities --- */
.shadow-brutal {
    box-shadow: 4px 4px 0px 0px rgba(24, 24, 27, 1) !important;
}
.shadow-brutal-sm {
    box-shadow: 2px 2px 0px 0px rgba(24, 24, 27, 1) !important;
}
.btn-brutal {
    display: inline-block;
    padding: 8px 16px;
    border: 2px solid #18181b;
    background-color: #ffffff;
    color: #18181b;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    box-shadow: 3px 3px 0px 0px rgba(24, 24, 27, 1);
}
.btn-brutal:active {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0px 0px rgba(24, 24, 27, 1);
}
.btn-brutal-sm {
    display: inline-block;
    padding: 4px 8px;
    border: 2px solid #18181b;
    background-color: #ffffff;
    color: #18181b;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 2px 2px 0px 0px rgba(24, 24, 27, 1);
    cursor: pointer;
}
.btn-brutal-sm:active {
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0px 0px rgba(24, 24, 27, 1);
}

/* Corner anchor point layout aliases — hidden */
.anchor-tl, .anchor-tr, .anchor-bl, .anchor-br {
    display: none !important;
}



