html {
  height: 100%;
  width: 100%;
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
}

body {
  margin: 0;
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
}

h1 {
  text-align: center;
  color: #333;
  margin-bottom: 20px;
}

.requirements-note {
  background: #fff3cd;
  border: 2px solid #ffeaa7;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 25px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.requirements-note h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #856404;
  font-size: 16px;
}

.requirements-note ul {
  margin: 0;
  padding-left: 20px;
}

.requirements-note li {
  margin-bottom: 5px;
  color: #856404;
  font-size: 14px;
}

.requirements-note strong {
  color: #6c5400;
}

.gnum-container {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
}

.gnum-section {
  flex: 1;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.gnum-section h3 {
  margin-top: 0;
  color: #444;
  border-bottom: 2px solid #007cba;
  padding-bottom: 10px;
}

.property-group {
  margin-bottom: 20px;
}

.property-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  color: #555;
}

.sign-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sign-options label {
  font-weight: normal;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.sign-options input[type="radio"] {
  margin: 0;
}

textarea {
  width: 100%;
  min-height: 80px;
  padding: 12px;
  border: 2px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  font-family: monospace;
  resize: vertical;
  box-sizing: border-box;
}

textarea:focus {
  border-color: #007cba;
  outline: none;
}

button {
  background-color: #28a745;
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 6px;
  font-size: 18px;
  cursor: pointer;
  display: block;
  margin: 0 auto 30px auto;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #218838;
}

button:active {
  background-color: #1e7e34;
}

.result-section {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.result-section h3 {
  margin-top: 0;
  color: #444;
  border-bottom: 2px solid #28a745;
  padding-bottom: 10px;
}

#comparison-result {
  font-size: 16px;
  font-weight: bold;
  padding: 15px;
  border-radius: 4px;
  background-color: #f8f9fa;
  border-left: 4px solid #007cba;
}

.error {
  background-color: #f8d7da;
  border-left-color: #dc3545;
  color: #721c24;
}

.success {
  background-color: #d4edda;
  border-left-color: #28a745;
  color: #155724;
}

#runtime-display {
  font-size: 12px;
  color: #666;
  margin-top: 10px;
  font-style: italic;
}

@media (max-width: 600px) {
  .gnum-container {
    flex-direction: column;
    gap: 20px;
  }
  
  body {
    padding: 10px;
  }
}
