@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}


body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  background-color: #0d1117;
  color: #c9d1d9;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

/* Global Link Styles 
a {
  color: #58a6ff;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a:visited {
  color: #a5d6ff;
}
*/

/* GitHub Typography & Colors */
.text-github-fg {
  color: #c9d1d9;
}

.text-github-muted {
  color: #8b949e;
}

.bg-github-canvas {
  background-color: #0d1117;
}

.bg-github-subtle {
  background-color: #161b22;
}

.border-github {
  border-color: #30363d;
}

.btn-primary {
  background-color: #238636;
  color: #ffffff;
  border: 1px solid rgba(240, 246, 252, 0.1);
}

.btn-primary:hover {
  background-color: #2ea043;
}

.btn-secondary {
  background-color: #21262d;
  color: #c9d1d9;
  border: 1px solid rgba(240, 246, 252, 0.1);
}

.btn-secondary:hover {
  background-color: #30363d;
}

.input-github {
  background-color: #0d1117;
  border: 1px solid #30363d;
  color: #c9d1d9;
  border-radius: 6px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input-github:focus {
  border-color: #58a6ff;
  box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.3);
  outline: none;
}

/* view count */
@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

/* Auth bar */
.auth-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Viewer count */
.viewer-count {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #8b949e;
}

.viewer-dot {
  width: 8px;
  height: 8px;
  background: #3fb950;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}

.viewer-icon {
  font-size: 0.75rem;
}

/* Resend confirmation button */
.resend-confirm-btn {
  background: none;
  border: none;
  color: #58a6ff;
  cursor: pointer;
  font-weight: 600;
  padding: 0;
  text-decoration: underline;
}

.resend-confirm-btn:hover {
  color: #79c0ff;
}