* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #ffffff;
  color: #111827;
  font-family: Arial, "Noto Sans Bengali", sans-serif;
  line-height: 1.6;
}

.container {
  width: min(1000px, 94%);
  margin: 0 auto;
  padding: 24px 0 50px;
}

.header {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 24px;
  border-radius: 10px;
  margin-bottom: 18px;
}

h1, h2, h3 {
  margin-top: 0;
  color: #111827;
}

h1 {
  font-size: 30px;
  margin-bottom: 8px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.badge {
  border: 1px solid #d1d5db;
  background: #f9fafb;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
}

.card {
  border: 1px solid #e5e7eb;
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 18px;
}

.question {
  border: 1px solid #e5e7eb;
  padding: 15px;
  border-radius: 8px;
  margin: 12px 0;
  background: #fcfcfc;
}

.question-title {
  font-weight: bold;
  margin-bottom: 10px;
}

label {
  display: block;
  margin: 8px 0;
}

input[type="text"], input[type="email"], textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  padding: 10px 12px;
  border-radius: 6px;
  font: inherit;
  background: #ffffff;
}

textarea {
  min-height: 95px;
  resize: vertical;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.btn {
  display: inline-block;
  background: #0D8BFF;
  color: #ffffff;
  border: none;
  padding: 11px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  text-decoration: none;
}

.btn-secondary {
  display: inline-block;
  background: #f3f4f6;
  color: #111827;
  border: 1px solid #d1d5db;
  padding: 10px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  text-decoration: none;
}

.btn-danger {
  background: #ef4444;
}

.notice {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 14px;
  border-radius: 8px;
}

.success {
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  padding: 16px;
  border-radius: 8px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  width: 100%;
  background: #ffffff;
}

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

th {
  background: #f9fafb;
}

.small {
  font-size: 13px;
  color: #6b7280;
}

.answer-block {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  padding: 12px;
  border-radius: 8px;
  margin: 10px 0;
  white-space: pre-wrap;
}

.correct {
  color: #15803d;
  font-weight: bold;
}

.wrong {
  color: #b91c1c;
  font-weight: bold;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

@media (max-width: 700px) {
  .row {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 24px;
  }
}

@media print {
  .no-print {
    display: none !important;
  }
}
