/* Black theme for paste.zeme.ovh */

:root {
    --nav-height: 2.25em;
    --bg-color: #0d0d0d;
    --text-color: #f3f4f6;
    --border-color: #374151;
    --font-mono: monospace;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color) !important;
    color: var(--text-color) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    overflow: hidden;
}

/* Header Bar */
.header-container {
    height: var(--nav-height);
    margin: 0.25rem 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.25rem;
    box-sizing: border-box;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.brand-logo {
    font-size: 1.35rem;
    font-weight: 800;
    text-decoration: none;
    background: linear-gradient(135deg, #ffffff, #9ca3af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.nav-bump {
    position: relative;
    top: -0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
}

button.btn-nav, a.btn-nav {
    background: none !important;
    border: none !important;
    color: var(--text-color) !important;
    font-size: 1rem !important;
    font-family: inherit !important;
    cursor: pointer;
    text-decoration: none;
    padding: 0 !important;
    margin: 0 !important;
    outline: none;
    opacity: 0.9;
}

button.btn-nav:hover, a.btn-nav:hover {
    opacity: 1;
    text-decoration: underline;
}

.header-right {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.75;
}

/* Textarea / Form */
form.paste-form-container {
    display: block;
    margin: 0;
    padding: 0;
}

textarea.paste-textarea {
    position: absolute;
    top: calc(var(--nav-height) + 0.6em);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--nav-height) - 0.6em);
    resize: none;
    font-family: var(--font-mono);
    font-size: 1rem;
    line-height: 1.5;
    padding: 0.75rem 1rem;
    box-sizing: border-box;
    background-color: transparent !important;
    color: var(--text-color) !important;
    border: none !important;
    outline: none !important;
}

textarea.paste-textarea::placeholder {
    color: #6b7280;
    opacity: 0.8;
}

/* Paste View Code Display */
pre.paste-display {
    position: absolute;
    top: calc(var(--nav-height) + 0.6em);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--nav-height) - 0.6em);
    margin: 0;
    padding: 0.75rem 1rem;
    box-sizing: border-box;
    font-family: var(--font-mono);
    font-size: 1rem;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
    background-color: transparent;
    color: var(--text-color) !important;
    overflow-y: auto;
    border: none !important;
}

.hidden {
    display: none !important;
    visibility: hidden !important;
}

.removal-content, .error-content {
    text-align: center;
    padding: 3rem 1rem;
    max-width: 650px;
    margin: 0 auto;
}