/* Basic reset and layout */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #f5f5f5;
  padding: 20px;
  line-height: 1.6;
}

.container {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
  color: #333;
  margin-bottom: 10px;
  font-size: 24px;
}

.subtitle {
  color: #666;
  margin-bottom: 30px;
  font-size: 14px;
}

/* Form styling */
.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 5px;
  color: #333;
  font-weight: 500;
  font-size: 14px;
}

input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  font-family: monospace;
}

input:focus {
  outline: none;
  border-color: #667eea;
}

/* Button styling */
button {
  background-color: #667eea;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  font-weight: 500;
}

button:hover {
  background-color: #5568d3;
}

button:active {
  background-color: #4451b8;
}

/* Output section */
.output-section {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.output-section h2 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #333;
}

.output-box {
  background-color: #f8f8f8;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 15px;
  word-break: break-all;
  font-family: monospace;
  font-size: 13px;
  min-height: 60px;
  color: #333;
  white-space: pre-wrap;
  overflow-x: auto;
}

.output-box.empty {
  color: #999;
}

.button-group {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.copy-button {
  background-color: #28a745;
}

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

.copy-button.copied {
  background-color: #6c757d;
}

/* Utility classes */
.hidden {
  display: none;
}

#claudeCodeSection {
  display: none;
}

#claudeCodeSection .subtitle:last-child {
  margin-top: 1rem;
}

/* Index page container layout */
.main-container {
  max-width: 1200px;
  margin: 0 auto;
}

.iframe-container {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 20px;
}

iframe {
  width: 100%;
  border: none;
  display: block;
}

/* B2 Setup Guide Styles */
h2 {
  color: #444;
  margin-top: 25px;
  margin-bottom: 15px;
  font-size: 18px;
  border-bottom: 2px solid #667eea;
  padding-bottom: 5px;
}

.step {
  margin-bottom: 25px;
}

.step-description {
  color: #555;
  margin-bottom: 10px;
  font-size: 14px;
}

.code-block {
  background-color: #1e1e1e;
  color: #d4d4d4;
  padding: 15px;
  border-radius: 4px;
  overflow-x: auto;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.5;
  position: relative;
}

.code-block code {
  display: block;
  white-space: pre;
}

.copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #667eea;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 12px;
}

.copy-btn:hover {
  background-color: #5568d3;
}

.copy-btn.copied {
  background-color: #28a745;
}

.note {
  background-color: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 12px;
  margin: 15px 0;
  border-radius: 4px;
  font-size: 14px;
}

.info-link {
  color: #667eea;
  text-decoration: none;
}

.info-link:hover {
  text-decoration: underline;
}
