body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #f0f2f5;
  margin: 0;
  padding: 10px;
}

.container {
  max-width: 100%; /* Full width on mobile */
  margin: auto;
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  box-sizing: border-box;
}

h2 {
  text-align: center;
  font-size: 1.4rem;
  color: #333;
  margin-bottom: 5px;
}

h2 small {
  display: block;
  font-size: 0.9rem;
  color: #666;
}

input, textarea, button {
  width: 100%;
  margin-bottom: 15px; /* Bigger gaps for mobile */
  padding: 14px; /* Larger touch targets */
  border-radius: 8px;
  border: 1px solid #ccd1d9;
  font-size: 16px; /* Prevents iOS from zooming in on focus */
  box-sizing: border-box;
}

.split {
  display: flex;
  gap: 10px;
}

button {
  background: #4CAF50;
  color: white;
  border: none;
  font-weight: bold;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent; /* Clean mobile tap */
}

.export-btn { background: #2196F3; }
.view-btn { background: #ff9800; }

.file-upload-section {
  background: #f9fafb;
  padding: 15px;
  border: 1px dashed #4CAF50;
  border-radius: 8px;
  margin-bottom: 15px;
}

.file-upload-section label {
  display: block;
  font-weight: bold;
  margin-bottom: 10px;
  color: #2e7d32;
}

.entry-card {
  background: white;
  border: 1px solid #ddd;
  padding: 15px;
  margin-top: 15px;
  border-radius: 10px;
}

.preview-img {
  width: 100%; /* Photos take full width on phone */
  border-radius: 8px;
  margin-top: 10px;
}