/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

.wrap {
  max-width: 1000px;
  margin: auto;
  padding: 20px;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  background: #222;
  padding: 15px 20px;
  border-radius: 8px;
  color: #fff;
  margin-bottom: 20px;
}

header .brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

header .logo {
  font-size: 32px;
  font-weight: bold;
  color: #ff5722;
}

header .brand h1 {
  font-size: 20px;
}

header .brand .small {
  font-size: 12px;
  color: #aaa;
}

nav {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  transition: 0.3s;
}

nav a:hover, nav a.active {
  background: #ff5722;
}

nav .btn {
  background: #009688;
}

/* Main content */
main.content {
  background: #fff;
  padding: 20px 30px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
}

main.content h2 {
  margin-bottom: 10px;
}

main.content .muted {
  color: #777;
  margin-bottom: 20px;
}

.rule {
  background: #f9f9f9;
  padding: 12px 15px;
  margin-bottom: 10px;
  border-left: 4px solid #ff5722;
  border-radius: 4px;
}

/* Forms */
form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

input, textarea, select, button {
  padding: 8px 12px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

button {
  cursor: pointer;
  background: #009688;
  color: #fff;
  border: none;
}

button:hover {
  background: #00796b;
}

/* Footer */
footer {
  text-align: center;
  margin-top: 30px;
  color: #777;
  font-size: 14px;
}
