/* Retro Hacker Console - Neo-Brutalist Steel Styles */
:root {
    --bg-dark: #111215;
    --panel-bg: #A3A8A8;
    --border-color: #000000;
    --text-color: #000000;
    --code-bg: #1e1e24;
    --input-bg: #c1c7c7;
    --font-mono: 'Space Mono', monospace;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* --- Custom Scrollbar Styling (Neo-Brutalist Steel) --- */
/* Global scrollbar track & thumb */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
    border-left: 2px solid var(--border-color);
}

/* Scrollbar track for inner containers */
.col-left::-webkit-scrollbar-track,
.chat-history::-webkit-scrollbar-track,
.code-container::-webkit-scrollbar-track,
.admin-panel::-webkit-scrollbar-track {
    background: var(--input-bg);
    border-left: 2px solid var(--border-color);
}

::-webkit-scrollbar-thumb {
    background: var(--panel-bg);
    border: 2px solid var(--border-color);
    box-shadow: 2px 2px 0px var(--border-color);
    border-radius: 0px; /* Monospace blocky neo-brutalist theme */
}

::-webkit-scrollbar-thumb:hover {
    background: #ea580c; /* Orange accent highlight */
}

::-webkit-scrollbar-thumb:active {
    background: #000000;
}

/* Firefox standard scrollbar support */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--panel-bg) var(--bg-dark);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-color);
    font-family: var(--font-mono);
    min-height: 100vh;
    padding: 0;
    display: flex;
    justify-content: center;
    overflow-x: hidden;
}

/* Master Layout Container */
.app-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

/* System Header Bar */
.dev-header {
    background-color: var(--panel-bg);
    border: 2px solid var(--border-color);
    display: grid;
    grid-template-columns: 2.5fr 5fr 2.5fr;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.5);
}

.dev-header > div, .dev-header > a {
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
}

.header-left {
    border-right: 2px solid var(--border-color);
    text-decoration: none;
    color: inherit;
}

.header-center {
    justify-content: center;
    border-right: 2px solid var(--border-color);
    color: #b91c1c; /* Highlight state */
}

.header-right {
    justify-content: flex-end;
    color: #15803d; /* Sync active status color */
}

/* Main Dashboard Grid */
.dashboard-body {
    display: flex;
    gap: 1.5rem;
}

/* Sidebar Column */
.col-left {
    flex: 0 0 28%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 1.5rem;
    align-self: start;
    max-height: calc(100vh - 3rem);
    overflow-y: auto;
}

/* Profile Header Layout (Picture on left half, name on right half, right-aligned) */
.profile-header {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 1rem;
}

.profile-pic-container {
    flex: 0 0 60%;
    width: 60%;
    aspect-ratio: 1 / 1;
    border: 2px solid var(--border-color);
    background: #000;
    margin-bottom: 0 !important;
    overflow: hidden;
    line-height: 0;
}

.profile-pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.35); /* Zoom in to crop left/right background and focus on face */
    transform-origin: center 25%;
    filter: grayscale(100%) contrast(115%) brightness(95%);
    display: block;
}

.profile-name-container {
    flex: 0 0 40%;
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}

.profile-name-container .panel-title {
    text-align: right;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    line-height: 1.2;
    font-size: 1.25rem; /* Safe font-size to prevent overflow in 40% width column */
    letter-spacing: -0.02em;
    font-weight: 800;
}

.profile-socials-row {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    justify-content: flex-end;
    width: 100%;
}

.social-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 2px solid var(--border-color);
    box-shadow: 2px 2px 0px #000;
    transition: all 0.1s ease;
    cursor: pointer;
    background-color: #c8c8c8; /* Default Gray */
    color: #000000; /* Default Black icon */
}

.social-badge svg {
    width: 16px;
    height: 16px;
    display: block;
}

.upwork-badge svg {
    fill: currentColor;
}
.linkedin-badge svg, .github-badge svg {
    stroke: currentColor;
}

/* Hover: Black background, Orange accent icon */
.social-badge:hover {
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0px #000;
    background-color: #000000;
    color: #ea580c;
}

/* Alternate Gold Accent Theme (B&G: Black & Gold) */
.social-badge.gold-theme {
    background-color: #d4af37; /* Metallic Gold */
    color: #000000;
}
.social-badge.gold-theme:hover {
    background-color: #000000;
    color: #d4af37;
}

.social-icon {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Content Column */
.col-right {
    flex: 0 0 72%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Base Panel Styling */
.panel {
    background-color: var(--panel-bg);
    border: 2px solid var(--border-color);
    padding: 1.25rem;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s, box-shadow 0.2s;
    position: relative;
}

.panel:hover {
    border-color: #f8fafc;
    box-shadow: 8px 8px 0px #ff3e3e;
}

/* Panel Header Titles */
.panel-title {
    font-size: 1.1rem;
    font-weight: 800;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.panel-subtitle {
    font-size: 0.9rem;
    font-weight: 800;
    background: #000;
    color: #fff;
    padding: 0.25rem 0.5rem;
    margin-bottom: 0.75rem;
    display: inline-block;
    width: fit-content;
}

/* Navigation Links */
.brutal-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.brutal-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    border-bottom: 1px dashed var(--border-color);
    padding: 0.25rem 0;
    display: block;
}

.brutal-nav a:hover, .brutal-nav a.active {
    border-bottom-style: solid;
    border-bottom-width: 2px;
}

/* Recent Activity Terminal Panel */
.code-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.code-block {
    background-color: var(--code-bg);
    border: 2px solid var(--border-color);
    padding: 0.75rem;
    border-radius: 2px;
    color: #a9b1d6;
    font-size: 0.7rem;
    overflow-x: auto;
    font-family: var(--font-mono);
    white-space: pre-wrap;
    line-height: 1.4;
}

/* Code syntax styling */
.keyword { color: #ff9e64; font-weight: bold; }
.function { color: #7aa2f7; }
.method { color: #7abc6f; }
.string { color: #9ece6a; }
.comment { color: #565f89; font-style: italic; }

/* Skills Matrix Table Grid */
.matrix-table {
    display: grid;
    border: 2px solid var(--border-color);
}

.matrix-row {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    border-bottom: 2px solid var(--border-color);
}

.matrix-row:last-child {
    border-bottom: none;
}

.matrix-label {
    font-weight: 700;
    padding: 0.5rem;
    border-right: 2px solid var(--border-color);
    background: rgba(0, 0, 0, 0.08);
    font-size: 0.75rem;
}

.matrix-value {
    padding: 0.5rem;
    font-size: 0.75rem;
}

/* Projects Layout Panel */
.projects-panel {
    flex-grow: 1;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 0.5rem;
}

.project-card {
    background: var(--panel-bg);
    border: 2px solid var(--border-color);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 3px 3px 0px var(--border-color);
    transition: transform 0.2s, box-shadow 0.2s;
}

.project-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0px var(--border-color);
}

.project-num {
    font-size: 0.65rem;
    font-weight: 700;
    color: #4b5563;
}

.project-title {
    font-size: 0.95rem;
    font-weight: 800;
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.project-desc {
    font-size: 0.75rem;
    color: #1f2937;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    flex-grow: 1;
}

.project-tags {
    font-size: 0.65rem;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.05);
    padding: 0.2rem 0.4rem;
    border: 1px solid var(--border-color);
    margin-bottom: 0.75rem;
    display: block;
    width: fit-content;
}

.project-links {
    display: flex;
    gap: 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
}

.project-links a {
    color: var(--text-color);
    text-decoration: underline;
}

/* Bottom Row Layout */
.bottom-row {
    display: flex;
    gap: 1.5rem;
}

.status-panel {
    flex: 0 0 28%;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--panel-bg);
}

.contact-panel {
    flex: 0 0 72%;
}

/* Brutalist Form Controls */
.brutal-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    background-color: var(--input-bg);
    border: 2px solid var(--border-color);
    padding: 0.5rem 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-color);
    outline: none;
    resize: none;
}

.form-group input:focus, .form-group textarea:focus {
    background-color: #ffffff;
}

.form-group textarea {
    height: 80px;
}

.send-btn {
    align-self: flex-start;
    background-color: var(--panel-bg);
    border: 2px solid var(--border-color);
    padding: 0.5rem 1.5rem;
    font-family: var(--font-mono);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    cursor: pointer;
    box-shadow: 3px 3px 0px var(--border-color);
    transition: transform 0.1s, box-shadow 0.1s;
}

.send-btn:hover {
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0px var(--border-color);
}

.send-btn:active {
    transform: translate(2px, 2px);
    box-shadow: 0px 0px 0px var(--border-color);
}

/* Theme Console Switcher */
.theme-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.theme-btn-console {
    background-color: var(--input-bg);
    border: 2px solid var(--border-color);
    padding: 0.5rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: 3px 3px 0px var(--border-color);
    transition: transform 0.1s, box-shadow 0.1s;
}

.theme-btn-console:hover {
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0px var(--border-color);
}

.theme-btn-console.active {
    background-color: #000;
    color: #fff;
    box-shadow: none;
    transform: none;
}

/* --- Subpages Layout Specifics --- */
.content-body {
    font-size: 0.85rem;
    line-height: 1.6;
}
@media (min-width: 1025px) {
    .content-body {
        padding-right: 170px; /* Keep content clear of the floating navigation menu */
    }
}

.content-body h2 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.25rem;
}

.content-body p {
    margin-bottom: 1rem;
}

/* Timeline & Company Details */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.timeline-item {
    border-left: 2px solid var(--border-color);
    padding-left: 1rem;
    margin-left: 0.5rem;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

/* Blog layouts */
.blog-feed {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.blog-card {
    border-bottom: 2px dashed var(--border-color);
    padding-bottom: 1.5rem;
}

.blog-card:last-child {
    border-bottom: none;
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.blog-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-color);
    text-decoration: none;
    text-transform: uppercase;
}

.blog-title:hover {
    text-decoration: underline;
}

.blog-date {
    font-size: 0.75rem;
    color: #4b5563;
    font-weight: 700;
}

.blog-desc {
    font-size: 0.8rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

/* Admin Styling */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    border: 2px solid var(--border-color);
}

.admin-table th, .admin-table td {
    border: 1.5px solid var(--border-color);
    padding: 0.5rem;
    font-size: 0.75rem;
    text-align: left;
}

.admin-table th {
    background-color: rgba(0, 0, 0, 0.08);
    font-weight: 700;
}

.admin-actions {
    display: flex;
    gap: 0.5rem;
}

.admin-btn {
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    padding: 0.2rem 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-color);
}

.admin-btn:hover {
    background: #ffffff;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .dev-header {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .dev-header > div, .dev-header > a {
        justify-content: center;
        border-right: none;
        border-bottom: 2px solid var(--border-color);
    }
    .dev-header > div:last-child, .dev-header > a:last-child {
        border-bottom: none;
    }
    
    .dashboard-body {
        flex-direction: column;
    }
    .col-left, .col-right {
        flex: 0 0 100%;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bottom-row {
        flex-direction: column;
    }
    .status-panel, .contact-panel {
        flex: 0 0 100%;
    }

    /* Fixed bottom navigation on smaller screens */
    .floating-nav {
        position: fixed !important;
        bottom: 1.5rem !important;
        left: 50% !important;
        top: auto !important;
        transform: translateX(-50%) !important;
        flex-direction: row !important;
        gap: 0.75rem !important;
        width: auto !important;
    }
}

@media (max-width: 640px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

#post-title {
    text-transform: uppercase;
}

/* --- System Operations & Metrics Console Elements --- */
.console-widget {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0.5rem 0;
}

/* Metrics Section */
.console-metrics-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.console-metric-card {
    background-color: var(--input-bg);
    border: 2px solid var(--border-color);
    padding: 0.6rem 0.8rem;
    box-shadow: 3px 3px 0px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.console-metric-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #6b7280;
    font-family: var(--font-mono);
}

.console-metric-value {
    font-size: 1.1rem;
    font-weight: 800;
    font-family: var(--font-mono);
    color: #000;
}

/* Terminal Section */
.console-terminal {
    background-color: #000;
    border: 2px solid var(--border-color);
    box-shadow: 3px 3px 0px rgba(0,0,0,0.5);
    padding: 0.8rem;
    font-family: var(--font-mono);
    min-height: 180px;
    max-height: 250px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    position: relative;
}

.console-terminal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #1f2937;
    padding-bottom: 0.4rem;
    margin-bottom: 0.4rem;
}

.console-terminal-title {
    font-size: 0.6rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
}

.console-status-indicator {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.6rem;
    color: #10b981;
    font-weight: 700;
    text-transform: uppercase;
}

.console-status-dot {
    width: 6px;
    height: 6px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 4px #10b981;
    animation: console-blink 1.5s infinite;
}

@keyframes console-blink {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.console-log-line {
    font-size: 0.7rem;
    color: #10b981;
    line-height: 1.3;
    word-break: break-all;
    font-family: var(--font-mono);
}

.console-log-line.system {
    color: #f59e0b; /* Amber/Orange for system logs */
}

/* --- Premium Blog Content Blocks --- */
.post-content p {
    margin-bottom: 1.25rem;
}

.post-content ul, .post-content ol {
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.post-content ul {
    list-style: none; /* remove default circle bullets */
}

.post-content li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    position: relative;
    padding-left: 0.5rem;
}

.post-content ul > li::before {
    content: "■"; /* Orange neobrutalist square bullet marker */
    color: var(--border-color);
    display: inline-block;
    position: absolute;
    left: -1rem;
    font-size: 0.75rem;
    top: 0.05rem;
}

.content-callout {
    background-color: #1e1e24;
    border: 2px solid var(--border-color);
    color: #9ece6a;
    padding: 0.75rem 1rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    margin: 1.5rem 0;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.5);
    line-height: 1.4;
}

.content-callout.alert {
    color: #ff3e3e;
    border-color: #b91c1c;
}

.content-editor {
    background-color: #000;
    border: 2px solid var(--border-color);
    color: #a9b1d6;
    padding: 1rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    margin: 1.5rem 0;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.5);
    position: relative;
}

.content-editor::before {
    content: "SANDBOX // CODE EDITOR";
    display: block;
    font-size: 0.6rem;
    font-weight: 700;
    color: #6b7280;
    border-bottom: 1px solid #1f2937;
    padding-bottom: 0.4rem;
    margin-bottom: 0.6rem;
}

.content-step-list {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.content-step-list li {
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Media query check to reset back to single column on mobile/tablet viewports */
@media (max-width: 1024px) {
    .post-reader-page .col-left,
    .post-reader-page .col-right {
        flex: 0 0 100%;
    }
}

/* CMS Console Access Button */
.cms-btn-console {
    background-color: #ea580c;
    border: 2px solid var(--border-color);
    padding: 0.75rem 0.5rem;
    text-align: center;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    box-shadow: 4px 4px 0px var(--border-color);
    transition: transform 0.1s, box-shadow 0.1s;
    display: block;
    text-transform: uppercase;
}

.cms-btn-console:hover {
    transform: translate(-1px, -1px);
    box-shadow: 5px 5px 0px var(--border-color);
    background-color: #f97316; /* slightly lighter orange */
}

.cms-btn-console:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px var(--border-color);
}

/* --- Floating Navigation Bar --- */
.floating-nav {
    position: absolute;
    top: 2rem;
    right: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: var(--panel-bg);
    border: 2px solid #000;
    padding: 0.5rem;
    box-shadow: 4px 4px 0px #000;
    z-index: 9999;
    font-family: 'Space Mono', monospace;
    border-radius: 4px;
    width: 140px;
    align-items: stretch;
}

.floating-nav a {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border: 2px solid #000;
    background: #fff;
    color: #000;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.15s ease-in-out;
    box-shadow: 2px 2px 0px #000;
    text-align: center;
}

.floating-nav a:hover {
    background: var(--text-color);
    color: var(--panel-bg);
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0px #000;
}

.floating-nav a:active, .floating-nav a.active {
    background: #000;
    color: #fff;
    transform: translate(2px, 2px);
    box-shadow: 0px 0px 0px #000;
}

/* Ensure body has some padding at the bottom so content isn't covered by the floating nav */
body {
    padding-bottom: 6rem;
}

/* --- Bento Biography Card --- */
.bio-card {
    grid-column: span 2;
    background-color: var(--panel-bg);
    border: 2px solid var(--border-color);
    padding: 1.25rem;
    box-shadow: 3px 3px 0px var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    font-family: 'Space Mono', monospace;
    transition: transform 0.2s, box-shadow 0.2s;
}

.bio-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0px var(--border-color);
}

@media (max-width: 640px) {
    .bio-card {
        grid-column: span 1 !important;
    }
}

/* --- Flashing Hire Beacon --- */
.hire-beacon {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #ea580c; /* Orange */
    color: #fff;
    border: 2px solid #000;
    padding: 0.75rem 1.25rem;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 4px 4px 0px #000;
    z-index: 9998;
    cursor: pointer;
    border-radius: 4px;
    animation: beacon-pulse 2s infinite;
}

@keyframes beacon-pulse {
    0% {
        box-shadow: 4px 4px 0px #000;
    }
    50% {
        box-shadow: 6px 6px 0px #ea580c;
        transform: translate(-1px, -1px);
    }
    100% {
        box-shadow: 4px 4px 0px #000;
    }
}

.hire-beacon:hover {
    background-color: #f97316;
    animation: none;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #000;
}

.hire-beacon:active {
    transform: translate(2px, 2px);
    box-shadow: 0px 0px 0px #000;
}

/* --- Interactive Hire Modal --- */
.hire-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 18, 21, 0.85); /* transparent black */
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    font-family: 'Space Mono', monospace;
}

.hire-modal {
    background-color: var(--panel-bg);
    border: 3px solid #000;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    box-shadow: 8px 8px 0px #000;
    position: relative;
    color: #000;
}

.hire-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    border-bottom: 2px solid #000;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hire-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: #000;
    color: #fff;
    border: 2px solid #000;
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    cursor: pointer;
}

.hire-modal-close:hover {
    background: #fff;
    color: #000;
}

.hire-modal-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.hire-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #000;
    background: #fff;
    color: #000;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.9rem;
    box-shadow: 3px 3px 0px #000;
    transition: all 0.1s ease;
    text-transform: uppercase;
}

.hire-btn:hover {
    background: #000;
    color: #fff;
}

.hire-btn.yes {
    background-color: #15803d; /* Green */
    color: #fff;
}

.hire-btn.no {
    background-color: #b91c1c; /* Red */
    color: #fff;
}

.hire-btn.maybe {
    background-color: #ea580c; /* Orange */
    color: #fff;
}

/* Scheduler form fields */
.scheduler-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.scheduler-form label {
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: -0.5rem;
}

.scheduler-form input {
    padding: 0.6rem;
    border: 2px solid #000;
    background: #fff;
    color: #000;
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
}

.scheduler-form input:focus {
    outline: none;
    box-shadow: 2px 2px 0px #000;
}

/* --- AI Chatbot Card --- */
.chat-card {
    background-color: var(--panel-bg);
    border: 2px solid var(--border-color);
    padding: 1.25rem;
    box-shadow: 3px 3px 0px var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 380px;
}

.chat-history {
    border: 2px solid var(--border-color);
    background: #000;
    color: #22c55e;
    padding: 0.5rem;
    height: 200px;
    overflow-y: auto;
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    box-shadow: inset 0 0 8px rgba(34, 197, 94, 0.3);
    border-radius: 2px;
}

.chat-msg {
    line-height: 1.4;
    word-break: break-word;
}

.chat-msg.user-msg {
    color: #38bdf8; /* sky blue for user messages */
}

.chat-msg.ai-msg {
    color: #e2e8f0; /* light grey/white for AI self messages */
}

.chat-msg.system-msg {
    color: #22c55e; /* bright green for system */
}

.chat-input-form input {
    flex-grow: 1;
    padding: 0.4rem;
    border: 2px solid #000;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    background: #fff;
    color: #000;
}

.chat-input-form button {
    background: #000;
    color: #fff;
    border: 2px solid #000;
    padding: 0.4rem 0.8rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 2px 2px 0px #000;
    transition: all 0.15s ease-in-out;
}

.chat-input-form button:hover {
    background: #fff;
    color: #000;
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0px #000;
}

.chat-input-form button:active {
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0px #000;
}

/* Center and style images/captions across all three themes */
.brutal-image-container {
    text-align: center;
    margin: 1.5rem auto;
    width: 100%;
}
.brutal-image-container img.responsive-image {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

/* --- Theme 1: Neo-Brutalist Steel --- */
.neo-brutalist-steel .brutal-image-container img.responsive-image {
    border-radius: 8px;
    border: 2px solid #000000;
    box-shadow: 4px 4px 0px #000000;
}
.neo-brutalist-steel .brutal-image-container .image-caption {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    font-style: italic;
    color: #555555;
    font-family: 'Space Mono', monospace;
}

/* --- Theme 2: Glassmorphic Obsidian --- */
.glassmorphic-obsidian .brutal-image-container img.responsive-image {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}
.glassmorphic-obsidian .brutal-image-container .image-caption {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    font-style: italic;
    color: #94a3b8;
    font-family: 'Space Mono', monospace;
}

/* --- Theme 3: Metallic Bento Grid --- */
.metallic-bento-grid .brutal-image-container img.responsive-image {
    border-radius: 10px;
    border: 2px solid #475569;
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.5);
}
.metallic-bento-grid .brutal-image-container .image-caption {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    font-style: italic;
    color: #cbd5e1;
    font-family: 'Space Mono', monospace;
}




