body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  margin: 0;
  padding: 0;
}

/* Container */
.container {
  max-width: 900px;
  width: 95%;
  margin: 20px auto;
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Heading */
h2 {
  text-align: center;
  margin-bottom: 10px;
}

h3 {
  text-align: center;
  color: #333;
}

/* Inputs & textarea */
input, textarea {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 15px;
  box-sizing: border-box;
}

/* Label */
.upload-label {
  margin-top: 15px;
  display: block;
  font-weight: bold;
}

/* Instruction text */
.instruction {
  font-size: 13px;
  color: #555;
  margin: 8px 0;
}

/* Buttons */
button {
  padding: 10px;
  margin-top: 10px;
  border-radius: 8px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

button:hover {
  opacity: 0.9;
}

/* Button colors */
button {
  background: #4facfe;
  color: white;
}

button.delete-btn {
  background: #dc3545;
}

button.view-btn {
  background: #28a745;
}

button.submit-btn {
  width: 100%;
  padding: 12px;
  font-size: 16px;
}

/* Button group */
.button-group {
  display: flex;
  gap: 10px;
}

/* ================= IMAGE CROPPER ================= */
.image-container {
  width: 100%;
  height: 350px;
  margin-top: 10px;
  border: 2px dashed #ccc;
  border-radius: 10px;
  overflow: hidden;
  background: #f9f9f9;

  display: flex;
  align-items: center;
  justify-content: center;
}

#preview {
  max-width: 100%;
  display: block;
}

/* Cropper tweaks */
.cropper-container {
  max-width: 100% !important;
}

/* Controls */
.controls {
  display: flex;
  gap: 10px;
}

.controls button {
  flex: 1;
  background: #ddd;
  color: black;
}

/* ================= TABLE ================= */
.table-container {
  width: 100%;
  overflow-x: auto;
  margin-top: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

th {
  background: #4facfe;
  color: white;
  padding: 10px;
  text-align: center;
}

td {
  padding: 10px;
  text-align: center;
  border-bottom: 1px solid #ddd;
}

/* Zebra rows */
tr:nth-child(even) {
  background: #f9f9f9;
}

/* Image in table */
table img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

/* ================= MESSAGE ================= */
.msg {
  margin-top: 30px;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  font-weight: bold;
}

.success {
  background: #d4edda;
  color: #155724;
}

.error {
  background: #f8d7da;
  color: #721c24;
}

/* ================= MOBILE ================= */
@media (max-width: 600px) {
  .container {
    padding: 15px;
  }

  .button-group {
    flex-direction: column;
  }

  .controls {
    flex-direction: column;
  }

  .image-container {
    height: 280px;
  }

  table {
    font-size: 12px;
  }
}
.contact {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  color: #444;
  padding-top: 10px;
  border-top: 1px solid #ddd;
}