/* Solarized Light Theme - Classic solarized color palette */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  /* Solarized Light color scheme - Enhanced for maximum readability */
  --theme-bg: #fdf6e3;
  --theme-text: #001a1f;
  --theme-primary: #268bd2;
  --theme-secondary: #2aa198;
  --theme-accent: #cb4b16;
  --theme-border: #eee8d5;
  --theme-card-bg: #eee8d5;
  --theme-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  --theme-code-bg: #eee8d5;
  --theme-selection: #93a1a1;
  --theme-heading: #000000;
  --theme-muted: #073642;
  --theme-emphasis: #b58900;
}

* {
  box-sizing: border-box;
}

body {
  background-color: var(--theme-bg);
  color: var(--theme-text);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  line-height: 1.7;
}

/* Override Tailwind styles with solarized theme */
.bg-gray-50 {
  background-color: var(--theme-bg) !important;
}

.text-gray-900 {
  color: var(--theme-text) !important;
}

.text-gray-600 {
  color: var(--theme-secondary) !important;
}

.text-gray-400,
.text-gray-500 {
  color: var(--theme-muted) !important;
}

.bg-white {
  background-color: var(--theme-card-bg) !important;
  border: 1px solid var(--theme-border);
}

.shadow-sm,
.shadow-md {
  box-shadow: var(--theme-shadow) !important;
}

.rounded-lg {
  border-radius: 3px !important;
}

/* Links */
a,
.text-blue-600 {
  color: var(--theme-primary) !important;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
}

a:hover,
.text-blue-600:hover {
  color: var(--theme-accent) !important;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--theme-heading);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 {
  font-size: 2rem;
  border-bottom: 2px solid var(--theme-border);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--theme-emphasis);
}

h3 {
  font-size: 1.25rem;
  color: var(--theme-primary);
}

/* List items */
li {
  transition: transform 0.2s, background-color 0.2s;
}

li:hover {
  transform: translateX(2px);
}

/* Buttons and interactive elements */
button,
.btn {
  background-color: var(--theme-primary);
  color: var(--theme-bg);
  border: 1px solid var(--theme-primary);
  padding: 0.5rem 1rem;
  font-family: 'IBM Plex Mono', monospace;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 3px;
}

button:hover,
.btn:hover {
  background-color: var(--theme-accent);
  border-color: var(--theme-accent);
}

/* Code blocks */
code {
  background-color: var(--theme-code-bg);
  color: var(--theme-secondary);
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.9em;
  border: 1px solid var(--theme-border);
}

pre {
  background-color: var(--theme-code-bg);
  border: 1px solid var(--theme-border);
  padding: 1rem;
  border-radius: 3px;
  overflow-x: auto;
}

pre code {
  background: none;
  padding: 0;
  border: none;
}

/* Selection */
::selection {
  background-color: var(--theme-selection);
  color: var(--theme-bg);
}

/* Prose/content area - Override Tailwind Typography variables */
.prose {
  color: var(--theme-text);
  --tw-prose-body: var(--theme-text);
  --tw-prose-headings: var(--theme-heading);
  --tw-prose-lead: var(--theme-text);
  --tw-prose-links: var(--theme-primary);
  --tw-prose-bold: var(--theme-emphasis);
  --tw-prose-counters: var(--theme-muted);
  --tw-prose-bullets: var(--theme-muted);
  --tw-prose-hr: var(--theme-border);
  --tw-prose-quotes: var(--theme-text);
  --tw-prose-quote-borders: var(--theme-border);
  --tw-prose-captions: var(--theme-muted);
  --tw-prose-code: var(--theme-secondary);
  --tw-prose-pre-code: var(--theme-text);
  --tw-prose-pre-bg: var(--theme-code-bg);
  --tw-prose-th-borders: var(--theme-border);
  --tw-prose-td-borders: var(--theme-border);
}

.prose p {
  margin-bottom: 1rem;
}

.prose strong {
  color: var(--theme-emphasis);
  font-weight: 600;
}

.prose em {
  color: var(--theme-accent);
  font-style: italic;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
  color: var(--theme-heading) !important;
}

.prose h2 {
  color: var(--theme-emphasis) !important;
}

.prose h3 {
  color: var(--theme-primary) !important;
}

.prose a {
  color: var(--theme-primary) !important;
  text-decoration: underline;
}

.prose a:hover {
  color: var(--theme-accent) !important;
}

/* Container adjustments */
.container {
  max-width: 900px;
}

/* Input fields (if any) */
input,
textarea {
  background-color: var(--theme-bg);
  color: var(--theme-text);
  border: 2px solid var(--theme-border);
  padding: 0.5rem;
  font-family: 'IBM Plex Mono', monospace;
  border-radius: 3px;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--theme-primary);
  box-shadow: 0 0 0 3px rgba(38, 139, 210, 0.1);
}

/* Stars and language badges */
.flex.gap-4 span {
  background-color: var(--theme-code-bg);
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
  border: 1px solid var(--theme-border);
  color: var(--theme-text);
  font-size: 0.85em;
}

/* Hover effects for cards */
.hover\:shadow-md:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  border-color: var(--theme-primary);
  background-color: var(--theme-bg) !important;
}

/* Time elements */
time {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85em;
  color: var(--theme-muted);
}

/* Navigation styling */
nav a {
  position: relative;
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
}

nav a:hover {
  background-color: var(--theme-border);
}

/* Main header styling */
header h1 {
  background: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Article styling */
article {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

/* List styling in main content */
section > ul > li {
  border-left: 3px solid transparent;
  transition: all 0.2s;
}

section > ul > li:hover {
  border-left-color: var(--theme-primary);
}

/* Link underlines on hover */
.group-hover\:underline {
  text-decoration-color: var(--theme-primary);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* Image styling */
img {
  border-radius: 3px;
  border: 2px solid var(--theme-border) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.2s;
}

img:hover {
  border-color: var(--theme-primary) !important;
  box-shadow: 0 4px 16px rgba(38, 139, 210, 0.15);
}

/* GitHub button */
.github-button {
  background-color: var(--theme-primary) !important;
  color: #ffffff !important;
  border: 2px solid var(--theme-primary) !important;
  font-family: 'IBM Plex Mono', monospace !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.2s !important;
}

.github-button:hover {
  background-color: var(--theme-primary) !important;
  border-color: var(--theme-primary) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(38, 139, 210, 0.3) !important;
  transform: translateY(-1px);
}

/* Border styling */
.border-t {
  border-top: 2px solid var(--theme-border) !important;
}

.border-gray-200 {
  border-color: var(--theme-border) !important;
}

/* Card layout for mobile */
.repo-card {
  background-color: var(--theme-card-bg) !important;
  border-color: var(--theme-border) !important;
  transition: all 0.2s;
}

.repo-card:hover {
  border-color: var(--theme-primary) !important;
  box-shadow: 0 4px 12px rgba(38, 139, 210, 0.3);
}

.mobile-sort-controls {
  padding: 1rem;
  background-color: var(--theme-card-bg);
  border: 1px solid var(--theme-border);
  border-radius: 3px;
}

/* Trending table styling */
.trending-table {
  border: 1px solid var(--theme-border);
}

.table-header {
  background-color: var(--theme-bg) !important;
  border-bottom: 2px solid var(--theme-primary) !important;
}

.table-header th {
  color: var(--theme-heading) !important;
  font-weight: 600;
}

.table-row {
  transition: background-color 0.2s;
}

.table-row:hover {
  background-color: var(--theme-border) !important;
}

.sort-btn {
  color: var(--theme-text) !important;
  background: transparent;
  border: none;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  transition: color 0.2s;
  font-family: 'IBM Plex Mono', monospace;
}

.sort-btn:hover {
  color: var(--theme-primary) !important;
}

.summary-text,
.stats-text {
  color: var(--theme-text) !important;
}

.page-btn {
  background-color: var(--theme-card-bg) !important;
  border-color: var(--theme-border) !important;
  color: var(--theme-text) !important;
  transition: all 0.2s;
}

.page-btn:hover:not(:disabled) {
  background-color: var(--theme-border) !important;
  border-color: var(--theme-primary) !important;
}

/* Updated: Sun Jan 12 12:05:00 +07 2026 */
