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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  padding: 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

h1 {
  font-size: 2em;
  font-weight: 600;
}

h2 {
  color: #333;
  margin-bottom: 20px;
  font-size: 1.5em;
}

#auth-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

#user-info {
  color: white;
  font-size: 0.9em;
}

main {
  padding: 40px;
}

.message {
  text-align: center;
  padding: 60px 20px;
  color: #666;
  font-size: 1.2em;
}

.controls {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}

#file-path {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 1em;
  transition: border-color 0.3s;
}

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

.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 1em;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary {
  background: #667eea;
  color: white;
}

.btn-primary:hover {
  background: #5568d3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
  background: #f5f5f5;
  color: #333;
}

.btn-secondary:hover {
  background: #e0e0e0;
}

.data-container {
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  min-height: 200px;
}

.placeholder {
  color: #999;
  text-align: center;
  padding: 40px;
}

pre {
  background: #2d2d2d;
  color: #f8f8f2;
  padding: 20px;
  border-radius: 6px;
  overflow-x: auto;
  font-size: 0.9em;
  line-height: 1.5;
}

.error {
  background: #fee;
  border: 1px solid #fcc;
  color: #c33;
  padding: 15px;
  border-radius: 6px;
  margin-top: 10px;
}

.success {
  background: #efe;
  border: 1px solid #cfc;
  color: #3c3;
  padding: 15px;
  border-radius: 6px;
  margin-top: 10px;
}

. file-list {
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.file-list h3 {
  margin-top: 0;
  color: #333;
  font-size: 1.2em;
}

.file-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.file-list li {
  padding: 10px;
  margin: 5px 0;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
}

.file-list li:hover {
  background: #667eea;
  color: white;
  transform: translateX(5px);
}

.file-list li::before {
  content: "📄";
  margin-right: 10px;
}

#editor-se ction {
  margin-top: 20px;
}

.editor-controls {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

#json-editor {
  width: 100%;
  min-height: 400px;
  padding: 15px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  resize: vertical;
  background: #2d2d2d;
  color: #f8f8f2;
}

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