/* Stylesheet for VRAM DB dynamic GPU variant pages and fallback style */

/* Stylesheet for VRAM DB dynamic GPU variant pages and fallback style */

:root {
  --color-text: #cbd5e1;
  --color-bg: #090a0f;
  --color-accent: #00f2fe; /* Neon cyan */
  --color-accent-hover: #00ffcc; /* Neon teal */
  --color-border: #1a1c24;
  --color-success: #00ff66; /* Neon green */
  --color-warning: #ffea00; /* Neon yellow */
  --color-danger: #ff0055; /* Neon magenta/pink */
  --color-info: #00e5ff; /* Neon cyan */
  
  --color-bg-card: #12131a;
  --color-bg-card-hover: #171821;
  --color-text-muted: #8b9bb4;
  --color-text-bright: #ffffff;
}

/* Global Dark Neon overrides for styles.css components */
body {
  background-color: var(--color-bg) !important;
  color: var(--color-text) !important;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-text-bright) !important;
}

h1 {
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.3) !important;
}

header {
  background: #06070a !important;
  border-bottom: 2px solid var(--color-accent) !important;
  color: white !important;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.25) !important;
}

nav a {
  color: var(--color-accent) !important;
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.4) !important;
}

nav a:hover {
  color: var(--color-accent-hover) !important;
  text-shadow: 0 0 12px rgba(0, 255, 204, 0.6) !important;
}

.recommendation-card, .option-card, .vram-details, .dependency-list li, .gpu-option {
  background-color: var(--color-bg-card) !important;
  border: 1px solid var(--color-border) !important;
  color: var(--color-text) !important;
  transition: all 0.25s ease !important;
}

.recommendation-card:hover, .option-card:hover, .gpu-option:hover {
  border-color: var(--color-accent) !important;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.25) !important;
  transform: translateY(-2px) !important;
}

.recommendation-card h3, .option-card h3, .gpu-label {
  color: var(--color-text-bright) !important;
  border-bottom-color: var(--color-border) !important;
}

.recommendation-card p, .recommendation-card ul, .recommendation-card li, .option-card p, .gpu-models, .breadcrumb, dt {
  color: var(--color-text-muted) !important;
}

.stat-large, .stat-medium {
  color: var(--color-accent) !important;
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.4) !important;
}

.cta-button {
  background-color: var(--color-accent) !important;
  color: #000000 !important;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.3) !important;
}

.cta-button:hover {
  background-color: var(--color-accent-hover) !important;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.5) !important;
}

.cloud-options a {
  background-color: var(--color-bg-card) !important;
  border: 1px solid var(--color-border) !important;
  color: var(--color-text) !important;
}

.cloud-options a:hover {
  background-color: var(--color-bg-card-hover) !important;
  border-color: var(--color-accent) !important;
  color: var(--color-text-bright) !important;
}

/* Compatibility banner */
.compatibility-hero.compatible {
  background-color: rgba(0, 255, 102, 0.05) !important;
  border: 1px solid var(--color-success) !important;
  color: var(--color-success) !important;
}

.compatibility-hero.incompatible {
  background-color: rgba(255, 0, 85, 0.05) !important;
  border: 1px solid var(--color-danger) !important;
  color: var(--color-danger) !important;
}

/* GPU selector */
.gpu-option.active {
  border-color: var(--color-accent) !important;
  background-color: rgba(0, 242, 254, 0.08) !important;
  box-shadow: inset 0 0 0 1px var(--color-accent) !important;
}

.gpu-option.compatible .status {
  color: var(--color-success) !important;
}

.gpu-option.incompatible .status {
  color: var(--color-danger) !important;
}

.gpu-option .status {
  border-top-color: var(--color-border) !important;
}

.node-footer {
  border-top-color: var(--color-border) !important;
}

.node-footer .updated {
  color: var(--color-text-muted) !important;
}

/* Code blocks & tags */
code {
  background: rgba(255, 0, 127, 0.12) !important;
  color: #ff007f !important;
  border: 1px solid rgba(255, 0, 127, 0.25) !important;
}

.confidence-high { color: var(--color-success) !important; }
.confidence-medium { color: var(--color-warning) !important; }
.confidence-low { color: var(--color-danger) !important; }

/* Vast.ai Call To Action Styles */
.vast-cta-container {
  background: #110904 !important;
  border: 1px solid #ff7a00 !important;
  box-shadow: 0 0 15px rgba(255, 122, 0, 0.15) !important;
}

.vast-cta-text h3 {
  color: #ffaa66 !important;
}

.vast-cta-text p {
  color: #d1b8a5 !important;
}

.vast-cta-button {
  background: #ff7a00 !important;
  box-shadow: 0 0 10px rgba(255, 122, 0, 0.3) !important;
}

.vast-cta-button:hover {
  background: #ff9d42 !important;
  box-shadow: 0 0 15px rgba(255, 122, 0, 0.5) !important;
}

/* RunPod Call To Action Styles */
.runpod-cta-container {
  background: #0b061a !important;
  border: 1px solid #7d44ff !important;
  box-shadow: 0 0 15px rgba(125, 68, 255, 0.15) !important;
}

.runpod-cta-text h3 {
  color: #b599ff !important;
}

.runpod-cta-text p {
  color: #b0a7cf !important;
}

.runpod-cta-button {
  background: #7d44ff !important;
  box-shadow: 0 0 10px rgba(125, 68, 255, 0.3) !important;
}

.runpod-cta-button:hover {
  background: #9a66ff !important;
  box-shadow: 0 0 15px rgba(125, 68, 255, 0.5) !important;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  margin: 0;
  padding: 0;
}

header {
  background: var(--color-accent);
  color: white;
  padding: 1rem 1.5rem;
}

nav {
  display: flex;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 600;
}

nav a:hover {
  text-decoration: underline;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
}

footer {
  text-align: center;
  padding: 1.5rem;
  color: #666;
  border-top: 1px solid var(--color-border);
}

.site-footer {
  text-align: center;
  padding: 2rem;
  color: #666;
  border-top: 1px solid var(--color-border);
  margin-top: 3rem;
}

article {
  max-width: 800px;
  margin: 0 auto;
}

/* Breadcrumb Navigation */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  color: #666;
  font-size: 0.875rem;
}

.breadcrumb a {
  color: var(--color-accent);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  color: #ccc;
}

/* Page Header and Metadata */
h1 {
  font-size: 2.5rem;
  margin-top: 0;
  margin-bottom: 1rem;
  color: #1a1a1a;
  line-height: 1.2;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #eee;
  color: #666;
}

.meta .author {
  font-weight: 500;
}

.meta .category {
  background: #e9ecef;
  color: #495057;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
}

.meta .vram {
  font-weight: 600;
  color: var(--color-accent);
}

/* Compatibility Banner */
.compatibility-hero {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2.5rem;
}

.compatibility-hero.compatible {
  background: #e6f4ea;
  border: 1px solid #34a853;
  color: #137333;
}

.compatibility-hero.incompatible {
  background: #fce8e6;
  border: 1px solid #ea4335;
  color: #c5221f;
}

.compatibility-hero h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.compatibility-hero p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.5;
}

.status-icon {
  font-size: 3rem;
  line-height: 1;
}

/* Recommendations Grid */
.recommendations {
  margin-bottom: 3rem;
}

.recommendations h2 {
  font-size: 1.75rem;
  color: #2a2a2a;
  margin-bottom: 1.5rem;
}

.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.recommendation-card {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.recommendation-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  color: #495057;
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 0.5rem;
}

.recommendation-card p {
  margin: 0;
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
}

.recommendation-card ul {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.95rem;
  color: #666;
}

.recommendation-card li {
  margin-bottom: 0.5rem;
}

.stat-large {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: 0.5rem 0;
  line-height: 1;
}

.stat-medium {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: 0.5rem 0;
  line-height: 1.2;
}

/* Alternatives and Options */
.alternatives {
  margin-bottom: 3rem;
}

.alternatives h2 {
  font-size: 1.75rem;
  color: #2a2a2a;
  margin-bottom: 1.5rem;
}

.option-card {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.option-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  color: #333;
}

.option-card p {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #666;
}

.cta-button {
  display: inline-block;
  background: var(--color-accent);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s;
}

.cta-button:hover {
  background: var(--color-accent-hover);
}

.cloud-options {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.cloud-options a {
  display: inline-block;
  background: #e9ecef;
  color: #495057;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s, color 0.2s;
}

.cloud-options a:hover {
  background: #dee2e6;
  color: #212529;
}

/* VRAM Specification Details */
.vram-section {
  margin-bottom: 3rem;
}

.vram-section h2 {
  font-size: 1.75rem;
  color: #2a2a2a;
  margin-bottom: 1.5rem;
}

.vram-details {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0.75rem;
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

dt {
  font-weight: 600;
  color: #555;
}

dd {
  margin: 0;
  color: #333;
}

dd.warning {
  color: var(--color-danger);
  font-weight: 600;
}

.confidence-high {
  color: #28a745;
  font-weight: 600;
}

.confidence-medium {
  color: #ffc107;
  font-weight: 600;
}

.confidence-low {
  color: #dc3545;
  font-weight: 600;
}

/* Python Dependencies */
.dependencies-section {
  margin-bottom: 3rem;
}

.dependencies-section h2 {
  font-size: 1.75rem;
  color: #2a2a2a;
  margin-bottom: 1.5rem;
}

.dependency-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.5rem;
}

.dependency-list li {
  padding: 0.5rem 1rem;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  font-size: 0.9rem;
}

code {
  font-family: 'Courier New', monospace;
  color: #e83e8c;
  background: #f8f9fa;
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
}

.more-deps {
  margin-top: 1rem;
  font-style: italic;
  color: #888;
  font-size: 0.9rem;
}

/* GPU Selection Grid */
.gpu-selector {
  margin-bottom: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

.gpu-selector h2 {
  font-size: 1.75rem;
  color: #2a2a2a;
  margin-bottom: 1.5rem;
}

.gpu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.gpu-option {
  display: flex;
  flex-direction: column;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
  background: white;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.gpu-option:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  border-color: #cbd5e1;
}

.gpu-option.active {
  border-color: var(--color-accent);
  background: #f1f8ff;
  box-shadow: inset 0 0 0 1px var(--color-accent);
}

.gpu-label {
  font-weight: 700;
  font-size: 1.1rem;
  color: #1e293b;
  margin-bottom: 0.25rem;
}

.gpu-models {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 0.75rem;
  flex-grow: 1;
  line-height: 1.4;
}

.gpu-option .status {
  font-size: 0.85rem;
  font-weight: 600;
  padding-top: 0.5rem;
  border-top: 1px solid #f1f5f9;
}

.gpu-option.compatible .status {
  color: #16a34a;
}

.gpu-option.incompatible .status {
  color: #dc2626;
}

/* Node Footer Navigation */
.node-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.node-footer p {
  margin: 0;
}

.node-footer .updated {
  color: #888;
  font-size: 0.875rem;
}

.node-footer .back-link a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
}

.node-footer .back-link a:hover {
  text-decoration: underline;
}

/* Responsive Overrides */
@media (max-width: 768px) {
  .vram-details {
    grid-template-columns: 1fr;
  }
  .node-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Vast.ai Call To Action Styles */
.vast-cta-container {
  margin: 2.5rem 0;
  padding: 1.5rem;
  background: #fffaf5;
  border: 1px solid #ffdec2;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.vast-cta-text {
  flex: 1;
  text-align: left;
}

.vast-cta-text h3 {
  margin: 0 0 0.5rem 0;
  color: #1a1a1a;
  font-size: 1.25rem;
}

.vast-cta-text p {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
}

.vast-cta-button {
  display: inline-block;
  background: #e25822;
  color: white !important;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background-color 0.2s, transform 0.1s;
  white-space: nowrap;
}

.vast-cta-button:hover {
  background: #cc4514;
  transform: translateY(-1px);
}

.vast-cta-button:active {
  transform: translateY(0);
}

@media (max-width: 600px) {
  .vast-cta-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .vast-cta-button {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}

/* RunPod Call To Action Styles */
.runpod-cta-container {
  margin: 2.5rem 0;
  padding: 1.5rem;
  background: #fbfaff;
  border: 1px solid #e5dcfc;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.runpod-cta-text {
  flex: 1;
  text-align: left;
}

.runpod-cta-text h3 {
  margin: 0 0 0.5rem 0;
  color: #1a1a1a;
  font-size: 1.25rem;
}

.runpod-cta-text p {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
}

.runpod-cta-button {
  display: inline-block;
  background: #6e39f5;
  color: white !important;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background-color 0.2s, transform 0.1s;
  white-space: nowrap;
}

.runpod-cta-button:hover {
  background: #551ae3;
  transform: translateY(-1px);
}

.runpod-cta-button:active {
  transform: translateY(0);
}

@media (max-width: 600px) {
  .runpod-cta-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .runpod-cta-button {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}
