/* General layout */
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f4f6f9;
  color: #333;
}

.wrapper { display: flex; }

/* Sidebar */
.sidebar {
  width: 240px;
  background: #1e1e2d;
  color: #fff;
  min-height: 100vh;
  padding: 20px;
}
.sidebar h2 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 20px;
  text-align: center;
}
.sidebar a {
  display: block;
  color: #c9c9d6;
  padding: 10px;
  margin-bottom: 5px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
}
.sidebar a:hover {
  background: #34344a;
  color: #fff;
}

/* Main content */
.content {
  flex: 1;
  padding: 25px;
}

/* Headings */
h1, h2, h3 {
  color: #1e1e2d;
  margin-bottom: 15px;
}

/* Cards for dashboard */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.card {
  flex: 1;
  min-width: 200px;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  font-weight: bold;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin-top: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
th, td {
  padding: 12px 14px;
  border-bottom: 1px solid #eee;
  text-align: left;
  font-size: 14px;
}
th {
  background: #1e1e2d;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
tr:hover td {
  background: #fafafa;
}

/* Form elements */
input[type="text"], input[type="number"], input[type="password"], select {
  width: 100%;
  padding: 8px 10px;
  margin: 4px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
}
input:focus {
  outline: none;
  border-color: #4a90e2;
  box-shadow: 0 0 3px rgba(74,144,226,0.5);
}

/* Buttons */
button {
  background: #4a90e2;
  color: white;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  margin-top: 10px;
  transition: background 0.2s;
}
button:hover {
  background: #357abd;
}

/* Login page */
.login-box {
  width: 340px;
  margin: 120px auto;
  padding: 30px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  text-align: center;
}
.login-box h2 {
  margin-bottom: 20px;
}
.login-box input, .login-box button {
  width: 100%;
  margin-bottom: 12px;
}

/* Character/Jobs page tweaks */
.jobs-table input {
  max-width: 120px;
}
.jobs-table td {
  vertical-align: middle;
}
