body {
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #1f2933, #111827);
  margin: 0;
  padding: 40px 0;
  color: #111827;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 24px 32px 40px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 10px;
}

.logout-link {
  margin-left: 10px;
}

h1,
h2 {
  margin-bottom: 10px;
  color: #111827;
}

h1 {
  font-size: 24px;
}

h2 {
  font-size: 18px;
}

section {
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: 10px;
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
}

.form-group {
  margin-bottom: 10px;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 4px;
}

.form-group input[type='text'],
.form-group input[type='password'],
.form-group input[type='url'] {
  width: 100%;
  padding: 10px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
}

button {
  padding: 8px 18px;
  border: none;
  border-radius: 999px;
  background-color: #2563eb;
  color: #ffffff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}

button:hover {
  background-color: #1d4ed8;
}

.error {
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 4px;
  background-color: #ffe0e0;
  color: #b00000;
}

.success {
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 4px;
  background-color: #e0ffe5;
  color: #006b1b;
}

.hint {
  font-size: 12px;
  color: #666;
  margin-top: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 13px;
}

table th,
table td {
  border: 1px solid #e5e7eb;
  padding: 8px 10px;
  text-align: left;
}

table th {
  background-color: #f3f4f6;
}

.checkbox-group,
.checkbox-inline {
  display: flex;
  align-items: center;
}

.checkbox-inline input {
  margin-right: 6px;
}

.user-info {
  margin-right: 10px;
}

.info {
  margin-top: 15px;
  font-size: 14px;
}

.inline-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 50px;
}

/* Centered smaller card layout for login page */
body.login-page {
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container.login-card {
  max-width: 420px;
  width: 100%;
}
