/* Plaintext theme */
body.theme-plaintext {
    --color-background: #FFFFFF !important;
    --color-text: #000000 !important;
    --color-text-muted: #000000 !important;
    --color-border: #000000 !important;
    --color-button: #FFFFFF !important;
    --color-button-hover: #000000 !important;
    --color-link: #000000 !important;
    --font-family-base: 'Courier New', monospace !important;
    background-color: var(--color-background) !important;
}

.theme-plaintext {
    font-size: 14px !important;
    line-height: 1.4 !important;
    font-family: 'Courier New', Courier, monospace !important;
}

.theme-plaintext * {
    font-size: inherit !important;
    font-weight: normal !important;
    color: black !important;
    border-color: black !important;
    background: white !important;
}

/* Header and Navigation */
.theme-plaintext .top-bar {
    display: block;
}

.theme-plaintext h1::before {
    content: "# ";
}

.theme-plaintext .ask::before {
    content: "> ";
}

/* Style Navigation */
.theme-plaintext .style-nav {
    display: block;
    margin: 1em 0;
}

.theme-plaintext .style-button {
    display: inline;
    padding: 0;
}

.theme-plaintext .style-button svg {
    display: none;  /* Hide the SVG */
}

.theme-plaintext .style-button::before {
    content: "[ ";
}

.theme-plaintext .style-button::after {
    content: " ]";
}

.theme-plaintext .theme-toggle::before {
    content: "[ ☀︎ ";
}

.theme-plaintext .theme-toggle::after {
    content: " ]";
}

/* Info Links */
.theme-plaintext .info-links {
    margin-left: 0;
    padding-left: 0;
}

/* Project Styling */
.theme-plaintext .project {
    display: block;
    margin: 1em 0;
    border-top: 1px solid black !important;
}

/* Text Decorations */
.theme-plaintext .company-link::before {
    content: "**";
}

.theme-plaintext .company-link::after {
    content: "**";
}

.theme-plaintext .role::before {
    content: "_";
}

.theme-plaintext .role::after {
    content: "_";
}

.theme-plaintext .industry::before,
.theme-plaintext .media::before {
    content: "`";
}

.theme-plaintext .industry::after,
.theme-plaintext .media::after {
    content: "`";
}

.theme-plaintext .type::before {
    content: "[";
}

.theme-plaintext .type::after {
    content: "]";
}

.theme-plaintext .status::before {
    content: "- ";
}

/* Mobile Styles */
@media (max-width: 700px) {
    /* Keep brackets with text in info links */
    .theme-plaintext .info-links a,
    .theme-plaintext .info-links .style-button.link {
        white-space: nowrap;
    }

    /* Single column project layout */
    .theme-plaintext .project {
        grid-template-columns: 1fr;
        gap: 0.25rem;
        text-align: left;
    }

    /* Ensure all project elements are left-aligned */
    .theme-plaintext .project > div {
        text-align: left;
    }

    /* Add spacing between projects */
    .theme-plaintext .project {
        padding: 1rem 0;
    }
}

/* Add to plaintext.css */
body.theme-plaintext .logo-link,
body.theme-plaintext .logo-link:visited {
    color: var(--color-text) !important;
}