/* Theme Variables */
:root {
    /* Theme 1 (Default) - Black text on white background */
    --bg-color: #ffffff;
    --text-color: #000000;
    --hover-color: rgba(0, 0, 0, 0.2);
    --copy-text: " [+]";
    --font-primary: "SF Mono", SFMono-Regular, ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

:root[data-theme="2"] {
    /* Theme 2 - Brown text on cream background */
    --bg-color: #f5f5dc; /* Cream */
    --text-color: #8b4513; /* Brown */
    --hover-color: rgba(139, 69, 19, 0.15);
}

:root[data-theme="3"] {
    /* Theme 3 - White text on blue background */
    --bg-color: #0047ab; /* Cobalt Blue */
    --text-color: #ffffff; /* White */
    --hover-color: rgba(255, 255, 255, 0.2);
}

:root[data-theme="4"] {
    /* Theme 4 - White text on black background */
    --bg-color: #000000; /* Black */
    --text-color: #ffffff; /* White */
    --hover-color: rgba(255, 255, 255, 0.2);
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-align: left;
    text-transform: uppercase;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-color);
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: -0.02em;
    transition: background-color 0.2s ease, color 0.2s ease;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
}

/* Container Layout */
.outer-container {
    display: flex;
    min-height: 100vh;
    padding: 16px;
}

.inner-container {
    flex: 1;
    display: flex;
    margin: 8px;
    position: relative;
}

.content-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 600px;
}

/* Content Rows */
.content-row {
    display: flex;
    min-height: 24px;
    align-items: center;
    width: 100%;
}

.content-row-empty {
    min-height: 10px;
    height: 10px;
}

.content-row p, .content-row button, .content-row div {
    font-weight: 450;
    display: flex;
    align-items: center;
    font-family: var(--font-primary);
    text-align: left;
    justify-content: flex-start;
    width: 100%;
    padding: 0;
}

.content-row-bottom {
    margin-top: auto;
}

/* Buttons & Links */
button, a.content-link {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    text-align: left;
    outline: none;
    width: 100%;
    text-decoration: none;
    display: block;
}

.content-link, .content-copy, .content-switch, .content-no-link {
    padding: 0;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    width: 100%;
    z-index: 10;
    position: relative;
}

.content-link:hover, .content-copy:hover, .content-switch:hover {
    background-color: transparent;
}

/* Special Email handling */
.content-copy::after {
    content: var(--copy-text);
}

/* ASCII Container */
.ascii-container {
    position: fixed;
    right: 80px;
    bottom: 80px;
    font-size: 13px;
    opacity: 0.8;
    display: none;
}

.ascii-click-container {
    position: fixed;
    right: 80px;
    bottom: 80px;
    width: 200px;
    height: 200px;
    z-index: 100;
    cursor: pointer;
    display: none;
}

.ascii-hint {
    position: absolute;
    bottom: -24px;
    right: 0;
    opacity: 0.6;
    font-size: 13px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .no-mobile {
        display: none !important;
    }
    
    .outer-container {
        padding: 16px 12px;
    }
    
    .content-row {
        min-height: 30px;
    }
    
    .ascii-container, .ascii-click-container {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .mobile-only {
        display: none !important;
    }
}

/* Utilities */
pre {
    margin: 0;
    font-family: var(--font-primary);
    white-space: pre;
}

span, p, button {
    font-kerning: none;
}

/* Fixed text container for all elements */
.text-container {
    padding: 3px 8px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    justify-content: space-between;
    cursor: pointer;
}

.text-container:hover {
    background-color: var(--hover-color);
}

/* Company name and date styling */
.company-name {
    display: inline-block;
    font-feature-settings: "tnum" on, "lnum" on;
    font-variant-numeric: tabular-nums;
    text-align: left;
    flex-grow: 1;
}

.date-range {
    display: inline-block;
    font-feature-settings: "tnum" on, "lnum" on;
    font-variant-numeric: tabular-nums;
    text-align: left;
    white-space: nowrap;
    margin-left: 12px;
}

/* Consistent spacing for all labels */
.button-label, .content-row p span {
    display: inline-block;
    font-feature-settings: "tnum" on, "lnum" on;
    font-variant-numeric: tabular-nums;
    text-align: left;
}

/* Email hint styling */
.email-hint {
    font-size: 12px;
    opacity: 0.6;
    margin-left: 10px;
    font-weight: 400;
}

.content-copy:hover .email-hint {
    opacity: 0.9;
}

/* Remove the Dark theme cursor adjustment entirely */
:root[data-theme="6"] .text-container,
:root[data-theme="7"] .text-container {
    /* No custom cursor needed */
}

/* Press section styling */
.press-items-container {
    overflow: hidden;
    transition: all 0.3s ease;
}

.press-item .text-container {
    padding-left: 24px; /* Indent press items */
}

.toggle-icon {
    transition: transform 0.3s ease;
}

/* Rotate the plus sign to make it look like a minus when expanded */
.toggle-icon.expanded {
    transform: rotate(45deg);
} 