:root {
  --charcoal: #121212;
  --charcoal-soft: #1f1f1f;
  --ecru: #f6f1ea;
  --linen: #fdf8f1;
  --gold: #c7a06b;
  --gold-dark: #a77f49;
  --stone: #2c2c2c;
  --accent: #5c6052;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  background: var(--linen);
  color: var(--stone);
  line-height: 1.6;
}

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover {
  color: var(--gold-dark);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border 0.2s ease;
}

.button.primary {
  background: var(--gold);
  color: #fff;
}

.button.primary:hover {
  background: var(--gold-dark);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  background: transparent;
}

.button.ghost:hover {
  border-color: #fff;
}

.button.small {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 0.75rem;
  left:100%;
  color: rgba(255, 255, 255, 0.65);
}

.landing-page {
  background: var(--charcoal);
  color: var(--ecru);
}

.landing-hero {
  position: relative;
  min-height: 88vh;
  padding: 140px 0 120px;
  background: url('https://images.unsplash.com/photo-1505691938895-1758d7feb511?auto=format&fit=crop&w=2400&q=80') center/cover;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(13, 13, 13, 0.92), rgba(18, 18, 18, 0.75));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero-content h1 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: clamp(2.8rem, 4.5vw, 4.5rem);
  margin: 1rem 0;
  line-height: 1.1;
}

.hero-content .lede {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-meta {
  margin-top: 2.5rem;
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

main {
  background: var(--linen);
  color: var(--stone);
}

.landing-section {
  padding: 90px 0;
}

.section-header {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-header h2 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: clamp(2rem, 3vw, 3.2rem);
  margin: 0.6rem 0;
}

.section-header p {
  margin: 0;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.collection-card {
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 25px 60px rgba(18, 18, 18, 0.12);
}

.collection-card img {
  height: 260px;
  width: 100%;
  object-fit: cover;
}

.collection-card__body {
  padding: 26px;
}

.collection-card__body h3 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.4rem;
  margin: 0 0 10px;
}

.tonal {
  background: linear-gradient(135deg, var(--charcoal-soft), var(--charcoal));
  color: #fff;
}

.tonal-grid {
  display: grid;
  gap: 50px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.process-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.process-list li {
  padding: 1.4rem 0 1.4rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.process-list strong {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

.tonal-card {
  background: rgba(255, 255, 255, 0.06);
  padding: 36px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tonal-card h3 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.65rem;
}

.tonal-card .button.primary {
  margin-top: 1.5rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.testimonial-card {
  margin: 0;
  padding: 32px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 15px 40px rgba(18, 18, 18, 0.1);
  font-size: 1.1rem;
}

.testimonial-card footer {
  margin-top: 20px;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.landing-footer {
  background: var(--charcoal);
  color: #fff;
  padding: 90px 0 60px;
}

.footer-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 32px 0;
}

.footer-note {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Auth & Dashboard */

.auth-page,
.registry-page,
.dashboard-page {
  min-height: 100vh;
  background: radial-gradient(circle at top right, rgba(199, 160, 107, 0.28), transparent 55%), var(--linen);
  padding: 60px 20px 100px;
}

.dashboard-page h1 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.hero {
  padding: 70px 0;
  background: linear-gradient(135deg, rgba(18, 18, 18, 0.9), rgba(18, 18, 18, 0.45)),
    url('https://images.unsplash.com/photo-1505691938895-1758d7feb511?auto=format&fit=crop&w=1600&q=80') center/cover;
  color: #fff;
  border-radius: 28px;
  margin-bottom: 50px;
}

.auth-card,
.registry-card {
  background: #fff;
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 25px 60px rgba(18, 18, 18, 0.08);
  max-width: 560px;
  margin: 0 auto 40px;
}

.auth-card h1,
.registry-card h1,
.registry-card h2 {
  font-family: 'Playfair Display', 'Georgia', serif;
  margin-top: 0;
}

.auth-card form,
.registry-card form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.auth-card input,
.auth-card textarea,
.registry-card input,
.registry-card textarea,
.registry-card select,
.registry-card button {
    width: 100%;
    padding: 24px 16px;
    border-radius: 16px;
    border: 1px solid #e5dfd5;
    font-size: 1rem;
    background: #fff;
}

.auth-card button,
.registry-card button {
    background: var(--charcoal);
    color: #fff;
    border: none;
    font-weight: 600;
    letter-spacing: 0.08em;
    min-height: 50px;
}

.auth-card button:hover,
.registry-card button:hover {
    background: #000;
}

.registry-card__head {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.registry-card__head h2 {
  margin: 0;
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.registry-card__description {
  margin: 0;
  color: var(--accent);
  font-size: 0.95rem;
  max-width: 540px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-bottom: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.form-field span {
    font-size: 0.75rem;
    color: var(--accent);
}

.form-field input,
.form-field textarea,
.form-field select {
    background: #fff;
    border: 1px solid #ddd4cb;
    padding: 12px 14px;
    border-radius: 16px;
    font-family: inherit;
    font-size: 1rem;
}

.form-field--full {
    width: 100%;
}

.alert {
  background: var(--charcoal);
  color: var(--ecru);
  padding: 18px;
  border-radius: 16px;
  text-align: center;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.alert--success {
  background: #d9f2d9;
  color: #1b5e20;
  border: 1px solid rgba(27, 94, 32, 0.2);
}

.alert--error {
  background: #ffe0e0;
  color: #8a1f1f;
  border: 1px solid rgba(138, 31, 31, 0.2);
}

.form-field textarea {
  resize: vertical;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}

form .button.primary {
  width: auto;
  padding: 0.85rem 2.2rem;
}

.product-grid {
  background: var(--charcoal);
  color: #fff;
  border: none;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.auth-card button:hover,
.registry-card button:hover {
  background: #000;
}

.product-catalog {
  background: #fff;
  border-radius: 30px;
  padding: 40px;
  margin-bottom: 60px;
  box-shadow: 0 30px 50px rgba(18, 18, 18, 0.08);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.product-card {
  background: #fdf8f1;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(18, 18, 18, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px rgba(18, 18, 18, 0.12);
}

.product-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-card__content {
  padding: 20px;
}

.product-card__title {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.2rem;
  margin: 0 0 8px;
  color: var(--charcoal);
}

.product-card__description {
  font-size: 0.9rem;
  color: var(--stone);
  margin: 0 0 12px;
  line-height: 1.5;
}

.product-card__meta {
  font-size: 0.8rem;
  color: var(--accent);
  margin: 0 0 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.heart-button {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #ccc;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.heart-button:hover {
  transform: scale(1.1);
  color: #ff6b6b;
}

.heart-button.hearted {
  color: #e74c3c;
}

.product-card__form {
  display: flex;
  justify-content: flex-end;
}

.wishlist-item__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wishlist-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-start;
}

.registry-item {
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 20px 40px rgba(18, 18, 18, 0.08);
}

.registry-item img {
  height: 240px;
  border-radius: 18px;
  object-fit: cover;
}

.registry-item strong {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.2rem;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.alert {
  background: var(--charcoal);
  color: var(--ecru);
  padding: 18px;
  border-radius: 16px;
  text-align: center;
  font-size: 0.95rem;
}

.registries-section {
  background: #fff;
  border-radius: 30px;
  padding: 20px;
  margin-bottom: 60px;
  box-shadow: 0 30px 50px rgba(18, 18, 18, 0.08);
}

.registries-section__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 16px;
}
.registries-section .eyebrow{
 color: var(--charcoal-soft);
}

.registries-section__description {
  margin: 0;
  color: var(--accent);
  max-width: 480px;
}
/* Registry Grid – 3 columns on desktop, responsive on mobile */
.registry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);        /* Force 3 columns on large screens */
  gap: 32px;
  align-items: stretch;
}

/* Responsive breakpoints */
@media (max-width: 1200px) {
  .registry-grid {
    grid-template-columns: repeat(2, 1fr);      /* 2 columns on medium screens */
  }
}

@media (max-width: 768px) {
  .registry-grid {
    grid-template-columns: 1fr;                  /* 1 column on mobile */
    gap: 24px;
  }
}

/* Card fills full height of its grid cell */
.registry-card--existing {
  background: #fdf8f1;
  border-radius: 24px;
  padding: 28px;
  border: 1px solid rgba(199, 160, 107, 0.5);
  box-shadow: 0 20px 40px rgba(18, 18, 18, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;                    /* Critical: fills the grid row */
  min-height: 560px;               /* Adjust as needed – keeps cards tall even when empty */
}

/* Push footer (button) to the bottom */
.registry-card__footer {
  margin-top: auto;
  padding-top: 20px;
}

/* Header layout */
.registry-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(18, 18, 18, 0.08);
}

.registry-card__meta {
  flex: 1;
}

.registry-card__code {
  font-size: 1.1rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin: 0 0 4px;
}

.registry-card__date {
  font-size: 0.70rem;
  color: var(--accent);
  margin: 0;
}

/* QR Code */
.registry-qr {
  text-align: center;
  flex-shrink: 0;
}

.registry-qr p {
  margin: 0 0 8px;
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.registry-qr img {
  width: 110px;
  margin-left: 10px;
  height: 110px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(18, 18, 18, 0.12);
}

/* Details */
.registry-card__details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 20px 0;
}

.registry-detail span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(18, 18, 18, 0.6);
}

.registry-detail strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--charcoal);
  display: block;
  margin-top: 4px;
}

/* Wishlist Items */
.registry-items {
  border-top: 1px solid rgba(18, 18, 18, 0.08);
  padding-top: 20px;
  flex-grow: 1;                     /* Allows this section to grow and push footer down */
}

.registry-items__title {
  margin: 0 0 12px;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.registry-items__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.95rem;
}

.registry-item-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.registry-item-row__note {
  margin: 6px 0 0;
  font-size: 0.85rem;
  color: rgba(18, 18, 18, 0.75);
}

.registry-item-row__qty {
  font-weight: 600;
  color: var(--charcoal);
  white-space: nowrap;
}

/* Empty state */
.registry-items--empty {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(18, 18, 18, 0.6);
  font-size: 1rem;
  text-align: center;
  padding: 40px 20px;
}

/* Button */
.registry-card__footer .button.primary {
  width: 100%;
  padding: 14px;
  font-size: 0.95rem;
}


.admin-section {
  background: #fff;
  border-radius: 30px;
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: 0 30px 50px rgba(18, 18, 18, 0.08);
}

.admin-nav {
  margin-bottom: 2rem;
  text-align: center;
}

.admin-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.admin-nav li {
  margin: 0;
}

.admin-nav a {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  color: var(--stone);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
  border-radius: 24px;
  transition: background 0.3s ease, color 0.3s ease;
}

.admin-nav a:hover {
  background: var(--gold);
  color: #fff;
}

.admin-section h2 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.8rem;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.admin-section form {
  margin-bottom: 2rem;
}

.admin-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.admin-section li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(18, 18, 18, 0.08);
}

.admin-section li:last-child {
  border-bottom: none;
}

.admin-section input,
.admin-section textarea,
.admin-section select,
.admin-section button {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid #e5dfd5;
  font-size: 1rem;
  background: #fff;
  margin-bottom: 0.5rem;
}

.admin-section button {
  background: var(--charcoal);
  color: #fff;
  border: none;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.admin-section button:hover {
  background: #000;
}

.admin-section form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.admin-table th,
.admin-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid rgba(18, 18, 18, 0.08);
}

.admin-table th {
  background: var(--charcoal);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.admin-table td a {
  color: var(--gold);
}

.admin-table td button {
  margin-right: 0.5rem;
}

@media (max-width: 768px) {
  .hero-content {
    padding: 0 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .landing-section {
    padding: 70px 0;
  }

  .auth-card,
  .registry-card {
    padding: 28px;
  }
}

.hidden {
  display: none;
}

.add-items-section {
  margin-top: 1rem;
  border-top: 1px solid #e2e8f0;
  padding-top: 1rem;
}

.add-items-content {
  background: #fdf8f1;
  padding: 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
}

.add-items-content h3 {
  margin-bottom: 1rem;
  color: #1e293b;
}

.add-items-message {
  margin-bottom: 1rem;
  padding: 0.5rem;
  border-radius: 0.25rem;
  font-weight: 500;
}

.add-items-message.success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.add-items-message.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.add-items-filters {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.search-container {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 0.5rem;
  font-size: 1rem;
  background: #fff;
  transition: border-color 0.2s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(199, 160, 107, 0.1);
}

.search-clear {
  position: absolute;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: #666;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.search-clear:hover {
  background-color: #f0f0f0;
}

.filter-row {
  display: flex;
  gap: 1rem;
}

.filter-select {
  flex: 1;
  padding: 0.75rem;
  border: 2px solid #e2e8f0;
  border-radius: 0.5rem;
  font-size: 1rem;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.filter-select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(199, 160, 107, 0.1);
}

.heart-button {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.heart-button:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

.heart-button:active {
  transform: translateY(0);
}

.heart-button.hearted {
  background: #e74c3c;
}

.heart-button.hearted:hover {
  background: #c0392b;
}

.heart-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.heart-text {
  font-weight: 600;
}

@media (max-width: 640px) {
  .filter-row {
    flex-direction: column;
  }

  .add-items-filters {
    gap: 0.75rem;
  }

  .heart-button {
    padding: 0.875rem 1rem;
    font-size: 1rem;
  }

  .registries-section {
    padding: 20px;
  }

  .registry-card--existing {
    padding: 16px 20px 20px;
  }

  .add-items-content {
    padding: 1rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .registry-grid {
    grid-template-columns: 1fr;
  }
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  border-radius: 28px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 25px 60px rgba(18, 18, 18, 0.3);
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
}

.modal-message {
  text-align: center;
  font-weight: bold;
  margin-bottom: 10px;
}

/* Event Types Grid */
.event-types-grid {
  margin-bottom: 1rem;
}

.event-types-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.event-type-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.event-type-checkbox input[type="checkbox"] {
  margin: 0;
}

.event-type-checkbox label {
    margin: 0;
    cursor: pointer;
    font-size: 0.9rem;
}

/* Admin table action buttons always visible */
.admin-table .button.ghost {
    border-color: rgba(0, 0, 0, 0.4);
    color: #000;
    background: transparent;
    opacity: 1;
    visibility: visible;
}

.admin-table .button.ghost:hover {
    border-color: #000;
    color: #000;
}

/* Product options alignment */
.product-options {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 0.5rem;
}
