body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f7fa;
  margin: 0;
  padding: 0;
  color: #333;
}

.button-row {
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center;     /* Center vertically if needed */
  gap: 12px;
  margin: 20px auto;       /* Center the row itself */
  flex-wrap: wrap;
  width: 100%;             /* Ensure full width */
  text-align: center;
}

button {
  padding: 10px 18px;
  background-color: #000000; /* Black button */
  color: #fff;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

button:hover {
  background-color: #333333; /* Darker hover */
}

.editor-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.editor-box {
  flex: 1;
  min-width: 300px;
  background-color: #fefefe;
  border: 2px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.editor-box:hover {
  border-color: #000000; /* Black hover border */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.editor-header {
  background-color: #000000; /* Black header */
  color: white;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}

.editor-tools i {
  margin-left: 10px;
  cursor: pointer;
}

.editor-tools i:hover {
  color: #f0e68c;
}

#json-input, #json-output {
  height: 400px;
  width: 100%;
}

.notification {
  margin-top: 20px;
  padding: 10px 15px;
  color: #fff;
  font-weight: bold;
  text-align: center;
  border-radius: 5px;
  display: none;
}

.notification.valid {
  background-color: #28a745;
}

.notification.invalid {
  background-color: #dc3545;
}

.fullscreen-hint {
  text-align: center;
  margin-top: 15px;
  color: #777;
  font-size: 14px;
}

@media (max-width: 768px) {
  .editor-row {
    flex-direction: column;
  }
}