/* Custom theme styles for security portfolio */

:root {
  --primary: #1a365d;
  --primary-light: #2d4a8c;
  --secondary: #2c7a7b;
  --secondary-light: #38b2ac;
  --accent: #d69e2e;
  --accent-light: #ed8936;
  --background: #f7fafc;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

/* Code blocks */
pre {
  background: #1a202c;
  color: #e2e8f0;
  padding: 1rem;
  border-radius: 0.375rem;
  overflow-x: auto;
  margin: 1rem 0;
  border-left: 4px solid var(--accent);
}

code {
  font-family: 'Fira Code', monospace;
  font-size: 0.9em;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--secondary);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -0.5rem;
  top: 0;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid white;
  box-shadow: 0 0 0 3px var(--accent-light);
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }
  
  a {
    color: #000 !important;
    text-decoration: underline !important;
  }
  
  .break-after {
    page-break-after: always;
  }
}
