body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 30px 20px;
  background: #f8f9fa;
}

* {
  -webkit-tap-highlight-color: transparent;
}

.container {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}

h2, h3 {
  color: #2c3e50;
}

form input[type='text'], form input[type='password'], form textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  background: #fdfdfd;
}

form button, a.button {
  padding: 12px 20px;
  background: #2d89ef;
  border: none;
  color: white;
  font-weight: bold;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .3s;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
}

form button:hover, a.button:hover {
  background: #1b6fd3;
}

a {
  color: #2d89ef;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.error {
  background: #ffe0e0;
  border: 1px solid #e36f6f;
  padding: 10px 15px;
  margin-bottom: 15px;
  border-radius: 8px;
  color: #a94442;
}

.success {
  background: #dff0d8;
  border: 1px solid #3c763d;
  padding: 10px 15px;
  margin-bottom: 15px;
  border-radius: 8px;
  color: #3c763d;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

table, th, td {
  border: 1px solid #ddd;
}

th, td {
  padding: 12px 15px;
  text-align: left;
}

th {
  background-color: #f2f2f2;
}

textarea {
  font-family: monospace;
  min-height: 200px;
}

.editor-pane {
  margin-bottom: 20px;
}

nav {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

nav a {
  margin-right: 15px;
  font-weight: bold;
}

.logo {
  display: block;
  width: 250px;
  margin: 0 0 -10px;
}

.footer-links {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #ccc;
  margin-top: 40px;
  padding-top: 15px;
  font-size: .9em;
}

.footer-links a {
  color: #007bff;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}
