@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');

:root {
  --primary-color: #007bff;
  --secondary-color: #6c757d;
  --background-color: #f8f9fa;
  --text-color: #212529;
  --border-color: #dee2e6;
  --container-width: 600px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  margin: 0;
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

h1 {
  font-size: 1.75rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

p.muted {
  color: var(--secondary-color);
  margin-top: 0;
  margin-bottom: 1.5rem;
}

p.small {
  font-size: 0.8rem;
}

label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

input[type="url"],
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 1rem;
  box-sizing: border-box; /* Important for width */
  margin-bottom: 1rem;
  background-color: #fff;
}

textarea {
  resize: vertical;
}

button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

button:hover {
  background-color: #0056b3;
}

button:disabled {
  background-color: #a0c7ff;
  cursor: not-allowed;
}

button.secondary {
  background-color: var(--secondary-color);
}

button.secondary:hover {
  background-color: #5a6268;
}

.row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1rem;
}

.secondaryLink {
  color: var(--secondary-color);
  text-decoration: none;
  font-size: 0.9rem;
  margin-left: auto; /* Pushes it to the right */
}

.secondaryLink:hover {
  text-decoration: underline;
}

.status {
  margin-bottom: 1rem;
  min-height: 1.2em;
}