/* Shared theme for the simple list-style pages (loaded after Bootstrap). */
:root {
    --bg-deep: #0a0e27;
    --bg-panel: rgba(26, 31, 58, 0.78);
    --bg-panel-strong: rgba(10, 14, 39, 0.8);
    --accent: #00eaff;
    --accent-2: #0099ff;
    --text: #e0e0e0;
    --muted: #a0a0a0;
    --border: rgba(0, 234, 255, 0.2);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0a0e27 100%);
    background-attachment: fixed;
    color: var(--text);
    min-height: 100vh;
    padding: 0 1rem 2rem;
}

/* Small shared header with a link home */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    margin: 0 -1rem 1.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(10, 14, 39, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.site-header a {
    display: inline-block;
    padding: 0.25rem 0;
}

/* leave room for the header so short pages don't force a scrollbar */
.min-vh-100 {
    min-height: calc(100vh - 6rem) !important;
}

.list-group {
    width: min(980px, 92vw);
    background: rgba(10, 14, 39, 0.72);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 234, 255, 0.12);
    overflow: hidden;
}

.list-group-item {
    background: rgba(26, 31, 58, 0.72);
    border-color: var(--border);
    color: var(--text);
    padding: 1.1rem 1.25rem;
}

.list-group-item:first-child,
.list-group-item:last-child {
    background: rgba(10, 14, 39, 0.8);
}

h1, h2, h3, h4 {
    color: var(--accent);
    margin-bottom: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    background: linear-gradient(135deg, #00eaff 0%, #0099ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

p, li, ul, ol {
    color: var(--text);
}

a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

a:hover {
    color: var(--accent-2);
    text-shadow: 0 0 12px rgba(0, 153, 255, 0.6);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

pre {
    background: rgba(10, 14, 39, 0.8);
    color: #d9f9ff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem;
}

pre code {
    color: inherit;
}

/* Feedback form */
.feedback-form label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--text);
    font-weight: 600;
}

.feedback-form textarea {
    width: 100%;
    min-height: 10rem;
    padding: 0.75rem 1rem;
    background: rgba(10, 14, 39, 0.8);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 10px;
    resize: vertical;
    font: inherit;
}

.feedback-form .hint {
    color: var(--muted);
    font-size: 0.85rem;
    margin: 0.4rem 0 1rem;
}

.btn-theme {
    display: inline-block;
    background: linear-gradient(135deg, #00eaff 0%, #0099ff 100%);
    color: #0a0e27;
    border: 0;
    border-radius: 50px;
    padding: 0.6rem 1.75rem;
    font-weight: 700;
    cursor: pointer;
}

.btn-theme:hover {
    color: #0a0e27;
    box-shadow: 0 4px 20px rgba(0, 234, 255, 0.4);
}

@media (max-width: 768px) {
    body { padding: 0 1rem 1rem; }
    .list-group { width: min(100%, 92vw); }
}
