body {
    font-family: 'Fira Code', monospace;
    background-color: #0f0f14;
    color: #58a6ff;
    margin: 40px auto;
    max-width: 800px;
    line-height: 1.5;
    position: relative;
    z-index: 1; /* Ensure content is above background */
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('background.png'); /* Ensure image is in /var/www/mneme/ */
    background-size: contain; /* Or 'cover' depending on your preference */
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.1; /* 3.5% */
    pointer-events: none; /* So it doesn't block text clicks */
    z-index: -1;
}

h1 {
    font-size: 22px;
    color: #8cc8ff;
    border-bottom: 2px solid #30363d;
    padding-bottom: 8px;
    margin-bottom: 24px;
}

.memory-entry {
    margin-bottom: 16px;
    padding: 0;
}

.memory-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.memory-timestamp {
    color: #8cc8ff;
}

.delete-btn {
    background: none;
    border: none;
    color: #58a6ff;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.2s;
}

.delete-btn:hover {
    color: #8cc8ff;
}

.memory-content {
    white-space: pre-wrap;
    word-wrap: break-word;
    color: #58a6ff;
    font-family: monospace;
    margin-left: 24px; /* Indents multiline text */
}

/* Ash effect spans for deletion */
.memory-header span,
.memory-content span,
.delete-btn span {
    display: inline-block;
    position: relative;
    opacity: 1;
    transform: translateY(0) translateX(0);
    transition: all 0.8s ease-out;
    white-space: pre;
}
