@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600&display=swap");

/* Base layout */
body {
  font-family: Arial, sans-serif;

  font-size: 16px;
  line-height: 1.5;
  background: #fafafa;
  color: #333;
  margin: 0;
  padding: 1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

#site-title
{
	  font-family: "JetBrains Mono", monospace;
  font-weight: 600;
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 1.5rem;
}
.site-title-inline
{
  font-family: "JetBrains Mono", monospace;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  margin-bottom: 0.5rem;
}
/* Headings */
h1,
h2,
h3 {
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* Posts */
.post {
  background: white;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 1rem;
  margin: 1rem 0;
}

/* Forms */
form {
  margin-bottom: 2rem;
}

input[type="text"],
input[type="password"],
textarea {
  width: 100%;
  max-width: 100%;
  font-size: 1rem;
  font-family: inherit;
  padding: 0.75rem 1rem;
  margin-top: 0.25rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  box-sizing: border-box;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

button {
  background: #111;
  color: #ccc;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
}

button:hover {
  background: #333;
}

/* Links */
a {
  color: #0052cc;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Mobile support */
@media (max-width: 600px) {
  body {
    padding: 0.75rem;
  }
}

/* Quoted replies */
.quote {
  border-left: 3px solid #ccc;
  padding: 10px;
  margin: 10px 0;
  background: #f7f7f7;
}

/* Entry text */
.entry-text {
  font-size: 1rem;
  line-height: 1.6;
  font-family: "JetBrains Mono", monospace;

  color: #333;
  margin: 0.5rem 0;
}
button {
  background: #e0e0e0; /* light gray */
  color: #333; /* dark text */
  padding: 0.6rem 1.2rem;
  border: 1px solid #bbb; /* subtle border */
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
}

button:hover {
  background: #d0d0d0; /* slightly darker on hover */
}



a.menu-link {
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  transition: color 0.2s ease;
}

a.menu-link:hover {
  color: #333;
}


.link-buttons {
	text-align: right;
}

.link-buttons a.btn {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: #dfdfdf;
  color: #333;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: bold;
  border: 2px solid #aaa;
  border-top-color: #fff;
  border-left-color: #fff;
  border-right-color: #555;
  border-bottom-color: #555;
  box-shadow: inset 0 1px 0 #f5f5f5;
  user-select: none;
  cursor: pointer;
  transition: all 0.1s ease;
}
.link-buttons a.btn:hover {
  background: #e5e5e5;
  border-color: #aaa;
  border-top-color: #eee;
  border-left-color: #eee;
  border-right-color: #666;
  border-bottom-color: #666;
  box-shadow: inset 0 1px 0 #ebebeb;
}
/* Pressed state */
.link-buttons a.btn:active {
  border-top-color: #555;
  border-left-color: #555;
  border-right-color: #fff;
  border-bottom-color: #fff;
  background: #ccc;
  box-shadow: inset 0 1px 0 #aaa;
}


a.btn {
  display: inline-block;
  padding: 0.45rem 1rem;
  background: #e0e0e0;
  color: #333;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid #bbb;
  transition: background 0.2s ease;
	margin:0 5px;
}
a.btn:hover {
  background: #d0d0d0;
}
/* Danger button variant */
a.btn.danger {
  /*
  background: #f7d9d9;
  color: #661111;
  border: 1px solid #cc9999;
	*/

  background: unset;
  border: unset;
  padding: unset;
}
a.btn.danger:hover {
  background: #f3c0c0;
}

/********** Token - Light Theme **********/

.copy-btn {
  margin-left: 0.5rem;
  padding: 0.3rem 0.6rem;
  font-size: 0.9rem;
  background: #e0e0e0;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
}

.copy-btn:active {
  background: #d0d0d0;
}

.copied-message {
  display: none;
  font-size: 0.85rem;
  color: #2e7d32; /* subtle green instead of neon */
  margin-top: 0.3rem;
}

.copied-message.visible {
  display: inline-block;
}

/********** Table - Light Theme **********/

/********** Token **********/
.copy-btn {
  margin-left: 0.5rem;
  padding: 0.3rem 0.6rem;
  font-size: 0.9rem;
  background: #444;
  color: #333;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.copy-btn:active {
  background: #666;
}

.copied-message {
  display: none;
  font-size: 0.85rem;
  color: lime;
  margin-top: 0.3rem;
}

.copied-message.visible {
  display: inline-block;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.2rem;
  font-size: 0.95rem;
  background: var(--table-bg, #fff);
  color: var(--text-color, #111);
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

thead {
  background: var(--table-header, #f0f0f0);
  font-weight: bold;
}

thead th {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #ccc;
  text-align: left;
}

tbody td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e0e0e0;
}

tbody tr:hover {
  background-color: var(--table-hover, #f9f9f9);
}


.intro {
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  border: 1px solid #ddd;

  border-radius: 8px;
  padding: 1.5rem 2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  font-family: "JetBrains Mono", monospace;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  animation: fadeIn 0.6s ease;
  text-align: center;
}

.intro h2 {
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
  color: #333;
}

.intro .tagline {
  font-size: 1rem;
  margin-bottom: 1.4rem;
  color: #333;
}

.intro .about-link {
  color: #000;
  text-decoration: none;
  padding: 6px 10px;
	border: 3px solid #4444aa77;
  border-radius: 6px;
  background: linear-gradient(270deg, #4444aa22, #7777ff22, #4444aa55);
  background-size: 600% 600%;
  animation: gradientShift 8s ease infinite;
  display: inline-block;
  transition: color 0.2s ease;
  margin-bottom: 1rem;
}

.intro .about-link:hover {
  color: #ff7766;
}

.intro .actions {
  margin-top: 1rem;
}

.intro .actions a {
  margin: 0rem 0.5rem;
}

/* Mini buttons */
a.mini-btn {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
  background-color: #f2f2f2;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  border-left: 1px solid #bbb;
  border-right: 1px solid #555;
  border-top: 1px solid #bbb;
  border-bottom: 1px solid #555;


}

a.mini-btn:hover {
  background-color: #e0e0e0;
  color: #333;
}


@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


}



/* Optional fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/***************************/


/* Inline code */
p code {
  font-family: "JetBrains Mono", "Fira Code", monospace;
  background: #f5f5f5;
  color: #d63384; /* subtle magenta for visibility */
  padding: 0.1em 0.4em;
  border-radius: 4px;
  font-size: 0.95em;
}

/* Optional: Block code styling */
pre code {
  display: block;
  background: #f5f5f5;
  color: #333;
  padding: 1em;
  border-radius: 6px;
  overflow-x: auto;
  font-size: 0.9em;
  line-height: 1.5;
  border: 1px solid #ddd;
}

/*****************************/
/* Tooltip (same as before) */
code.copied::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -1.8em;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  padding: 2px 6px;
  font-size: 0.75em;
  border-radius: 4px;
  opacity: 0.9;
  pointer-events: none;
}

/* Flash effect */
code.flash {
  animation: flash-bg 0.4s ease;
}

@keyframes flash-bg {
  0%   { background-color: #ffc107; color: #000; }
  100% { background-color: inherit; color: inherit; }
}

