/* Global stylesheet: base background and font rules */
:root{
    --main: #00b5ef;
	--light-mode-bg: #f4f4f4;
    --max-width: 1240px;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    padding-top: 50px;
    background-color: var(--light-mode-bg);
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial;
    font-weight: 400;
    letter-spacing: -0.05em;
    color: #111;
}

/* Headings use Lato and are bold */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Lato', system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    letter-spacing: 0.025em;
}

/* Paragraph and other body text use Plus Jakarta Sans Light */
p, span, a, li, label, input, button {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial;
}

strong {
    font-weight: 700;
}

h1 span, h2 span, h3 span, h4 span, h5 span, h6 span {
    font-family: 'Lato', system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial;
    font-weight: 700;
}

/* Top navigation */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    z-index: 5;
    background: var(--light-mode-bg);
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(2,6,23,0.08);
    border-bottom: 1px solid #d0d0d0;
}
.site-nav .nav-inner { max-width: var(--max-width); margin: 0 auto; width: 100%; padding: 0 16px; display:flex; align-items:center; gap:16px; box-sizing:border-box; }
.site-nav .nav-left { position:relative; display:flex; align-items:center; }
.site-nav .nav-links { list-style:none; margin:0 0 0 100px; padding:0; display:flex; gap:12px; align-items:center; }
.site-nav .nav-links a { color:#000; text-decoration:none; font-weight:600; padding:6px 8px; text-transform: uppercase; letter-spacing: 0.025rem; }
.site-nav .nav-right { margin-left:auto; color:#07b57c; font-weight:600; display: flex; align-items: center; gap: 12px; }

/* Profile avatar link styles */
.profile-avatar-link {
    display: block;
    text-decoration: none;
    line-height: 0;
}

/* Profile avatar styles */
.profile-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--main) 0%, #07b57c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    border: 2px solid #fff;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar .profile-initial {
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    text-transform: uppercase;
    user-select: none;
}

/* Emblem banner overlapping nav */
.nav-banner {
    position: absolute;
    left: -8px;
    top: -20px; /* overlaps nav */
    width: 75px;
    height: 100px;
    background: #41aafd;
    z-index: 10;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:6px;
    box-shadow: 0 6px 14px rgba(2,6,23,0.12);
}
.nav-banner .logo-emblem { color:#fff; font-weight:700; font-size:0.9rem; }
.nav-banner .logo-emblem img { width: 100%; height: auto;  }


/* Pagination Controls */
.pagination-controls {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 20px;
	padding: 16px;
	background: #f9f9f9;
	border-radius: 8px;
	border: 1px solid var(--border);
}

.pagination-nav {
	overflow-x: auto;
}

.pagination-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 8px;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
}

.pagination-btn,
.pagination-page-btn {
	padding: 8px 12px;
	border: 1px solid var(--border);
	background: #fff;
	color: #111827;
	border-radius: 6px;
	cursor: pointer;
	font-size: 0.95rem;
	font-weight: 500;
	transition: all 0.2s;
	min-width: 40px;
	text-align: center;
}

.pagination-btn:hover:not(:disabled),
.pagination-page-btn:hover {
	border-color: var(--accent-dark);
	background-color: rgba(7, 181, 124, 0.08);
	color: var(--accent-dark);
}

.pagination-page-btn.active {
	background-color: var(--accent-dark);
	color: #fff;
	border-color: var(--accent-dark);
}

.pagination-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	background-color: #f0f0f0;
}

.pagination-ellipsis {
	color: var(--muted);
	padding: 0 4px;
}

.pagination-info {
	text-align: center;
	color: var(--muted);
	font-size: 0.95rem;
}