/* Base styles */
html, body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #333;
  background-color: #fafafa;
  line-height: 1.5;
}

/* Layout */
.container {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

.sidebar {
  background: #2d3748;
  color: #fff;
  padding: 1rem;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar li + li {
  margin-top: 0.5rem;
}

.sidebar a {
  color: inherit;
  text-decoration: none;
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.25rem;
}

.sidebar a:hover,
.sidebar a:focus {
  background-color: #4a5568;
}

/* Main content */
.main {
  padding: 2rem;
}

.main h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.main p {
  margin-bottom: 1rem;
}

/* Cards */
.card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.card h2 {
  font-size: 1.25rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.card p {
  margin: 0;
}

/* Buttons */
.button {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 0.375rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.button.primary {
  background-color: #3182ce;
  color: #fff;
}

.button.primary:hover {
  background-color: #2b6cb0;
}

.button.secondary {
  background-color: #e2e8f0;
  color: #2d3748;
}

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

/* Forms */
input[type="text"],
textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #cbd5e0;
  border-radius: 0.375rem;
  font-size: 1rem;
}

input[type="text"]:focus,
textarea:focus {
  border-color: #3182ce;
  outline: none;
  box-shadow: 0 0 0 2px rgba(49,130,206,0.25);
}

/* Pseudo-elements */
blockquote {
  position: relative;
  padding-left: 1.5rem;
  color: #555;
  font-style: italic;
}

blockquote::before {
  content: "“";
  position: absolute;
  left: 0;
  top: -0.25rem;
  font-size: 2rem;
  color: #ccc;
}
