/* Photos page */
.photos-page {
  padding-top: 4rem;
  min-height: 100vh;
}

.photos-actions {
  margin: 1.5rem 0;
}

.photos-empty {
  font-size: 0.95rem;
  opacity: 0.6;
  margin: 2rem 0;
}

.photos-nav {
  margin-top: 2rem;
}

/* Photo grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
  max-width: 600px;
  margin: 1.5rem auto 0;
}

@media (width >= 480px) {
  .photo-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
  }
}

.photo-card {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--color-text) 10%, transparent);
}

.photo-img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1;
  object-fit: cover;
}

.photo-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.65rem;
  font-size: 0.75rem;
}

.photo-author {
  color: var(--color-text);
  opacity: 0.6;
}

.photo-delete {
  color: var(--color-accent-red);
  text-decoration: none;
  font-size: 0.75rem;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.photo-delete:hover {
  opacity: 1;
}

/* File input */
.form-file-input {
  width: 100%;
  padding: 0.65rem 0;
  font-family: "Century Gothic", Futura, sans-serif;
  font-size: 0.9rem;
  color: var(--color-text);
  transition: color 0.4s ease;
}

.form-hint {
  font-size: 0.8rem;
  opacity: 0.5;
  margin-top: 0.3rem;
}

/* Upload form */
.upload-form {
  width: 100%;
  max-width: 450px;
  margin: 1.5rem auto 0;
  text-align: left;
}

.upload-form-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.rsvp-back-link,
.back-link {
  display: inline-block;
  margin-top: 1.5rem;
}
