/* Reset margins and paddings */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f8f9fa;
  color: #343a40;
  line-height: 1.6;
}

#upload-progress {
  display: none;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
}

h1, h3 {
  color: #495057;
  font-weight: 500;
  margin-bottom: 1rem;
  text-align: center;
}

.alert {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 4px;
  font-weight: 500;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.alert-info {
  background-color: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

.img-thumbnail {
  max-width: 200px;
  height: auto;
  border-radius: 4px;
  margin-right: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn {
  display: inline-block;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 4px;
  transition: all 0.15s ease-in-out;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
}

.btn-primary:hover {
  color: #fff;
  background-color: #0069d9;
  border-color: #0062cc;
}

.mb-3 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mr-3 {
  margin-right: 1rem;
}

/* Admin layout improvements */
.pin-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pin-form input[type="text"] {
  padding: 0.5rem;
  font-size: 1.2rem;
  width: 100%;
  max-width: 300px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.pin-form button {
  width: 100%;
  max-width: 300px;
}

.images-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}
