/* Base styles matching main site */
body {
  margin: 0;
  font-family: monospace, sans-serif;
  background-color: #0d0d0d;
  color: #e0e0e0;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  background: #1a1a1a;
  padding: 1rem 2rem;
  border-bottom: 2px solid #ff69b4;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

header h1 {
  margin: 0;
  font-size: 2rem;
  color: #ff69b4;
}

header p {
  margin: 0.5rem 0 0;
  font-size: 1rem;
  color: #aaa;
}

main {
  flex: 1;
  padding: 2rem;
  max-width: 1000px;
  margin: auto;
}

h2 {
  color: #ff69b4;
}

h3 {
  color: #d45896;
}

a {
  color: #ff69b4;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

footer {
  background: #1a1a1a;
  padding: 1rem;
  text-align: center;
  border-top: 2px solid #ff69b4;
  font-size: 0.9rem;
  color: #999;
}

.logo {
  height: 5rem;
  width: auto;
}

/* MTU Tool specific styles */
summary { 
  cursor: pointer; 
  color: #ff69b4;
  font-weight: bold;
  margin: 1rem 0;
}

.protocol-form {
  margin: 2rem 0;
}

#protocol-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.results {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 4px;
  padding: 1rem;
  margin: 1rem 0;
}

#share {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 4px;
  padding: 1rem;
  margin: 1rem 0;
}

#protocols {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 4px;
  padding: 1rem;
  margin: 1rem 0;
}

.protocol-block-wrapper {
  margin-top: 15px;
}

.protocol-block {
  background-color: #1a1a1a;
  border: 1px solid #ff69b4;
  border-radius: 4px;
  padding: 10px;
  margin: 0.5rem 0;
}

.protocol-button {
  margin: 3px;
  padding: 0.5rem 1rem;
  min-width: 8em;
  background: #0d0d0d;
  color: #e0e0e0;
  border: 1px solid #ff69b4;
  border-radius: 4px;
  cursor: pointer;
  font-family: monospace, sans-serif;
}

.protocol-button:hover {
  background: #ff69b4;
  color: #0d0d0d;
}

.protocol-options { 
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.protocol-text {
  color: #e0e0e0;
  flex: 1;
}


/* Form elements */
input[type="text"], input[type="number"] {
  background: #0d0d0d;
  color: #e0e0e0;
  border: 1px solid #333;
  border-radius: 4px;
  padding: 0.5rem;
  font-family: monospace, sans-serif;
}

input[type="text"]:focus, input[type="number"]:focus {
  border-color: #ff69b4;
  outline: none;
}

input[type="radio"] {
  accent-color: #ff69b4;
}

input[type="button"], button {
  background: #ff69b4;
  color: #0d0d0d;
  border: none;
  border-radius: 4px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-family: monospace, sans-serif;
  font-weight: bold;
}

input[type="button"]:hover, button:hover {
  background: #d45896;
}

label {
  color: #e0e0e0;
  font-weight: bold;
}

strong {
  color: #ff69b4;
}

/* Navigation is now inline in main content */

/* Tool links in footer */
.tool-links {
  margin-top: 0.5rem;
}

.tool-links a {
  margin: 0 0.5rem;
}

/* Responsive design */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  header h1 {
    font-size: 1.5rem;
  }
  
  main {
    padding: 1rem;
  }
  
  #protocol-list {
    justify-content: center;
  }
  
  .protocol-button {
    min-width: 6em;
    padding: 0.4rem 0.8rem;
  }
}