.exam-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px;
}

.card {
  display: flex;
  width: 100%;
  background: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
  border: 1px solid #2a3f5f;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.card:hover {
  box-shadow: 0 8px 30px rgba(9, 117, 241, 0.3);
  border-color: #0974f1;
}

.content {
  display: flex;
  flex-direction: row;
  width: 100%;
  color: #e8e8e8;
}

.card-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.badge-image {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.card-main {
  display: flex;
  flex: 1;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  gap: 24px;
}

.card-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: #ffffff;
  line-height: 1.3;
}

.question-count {
  font-size: 0.875rem;
  color: #0974f1;
  font-weight: 500;
}

.card-description {
  font-size: 0.9rem;
  color: #b0b0b0;
  margin: 0;
  line-height: 1.5;
}

.card-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  flex-shrink: 0;
  min-width: 200px;
}

.questions-settings {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.questions-settings label {
  font-size: 0.875rem;
  color: #b0b0b0;
  white-space: nowrap;
}

.input-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.questions-input {
  width: 70px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #3a4f6f;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 1rem;
  text-align: center;
  transition: border-color 0.2s ease;
}

.questions-input:focus {
  outline: none;
  border-color: #0974f1;
  background: rgba(9, 117, 241, 0.1);
}

.input-suffix {
  font-size: 0.875rem;
  color: #888;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #0974f1 0%, #0056b3 100%);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(9, 117, 241, 0.3);
  white-space: nowrap;
}

.btn:hover {
  background: linear-gradient(135deg, #0a85ff 0%, #0066cc 100%);
  box-shadow: 0 6px 20px rgba(9, 117, 241, 0.4);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn.disabled {
  background: #444;
  color: #888;
  cursor: not-allowed;
  box-shadow: none;
  pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .exam-container {
    padding: 12px;
    gap: 12px;
  }

  .content {
    flex-direction: column;
  }

  .card-image {
    padding: 16px;
  }

  .badge-image {
    width: 80px;
    height: 80px;
  }

  .card-main {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 16px;
  }

  .card-info {
    text-align: center;
    align-items: center;
  }

  .card-title {
    font-size: 1.25rem;
  }

  .card-actions {
    align-items: stretch;
  }

  .questions-settings {
    justify-content: center;
  }

  .btn {
    width: 100%;
  }
}
