/* === VARIABLES === */
@font-face {
  font-family: 'Gistesy';
  src: url('../fonts/Gistesy.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-1: #EFE4DB;
  --color-2: #E6D9D3;
  --color-3: #D8AE9C;
  --color-4: #CE9C90;
  --color-5: #A6776A;

  --font-title: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', sans-serif;
  --font-script: 'Gistesy', cursive;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 8px rgba(166, 118, 106, 0.1);
  --shadow-md: 0 4px 20px rgba(166, 118, 106, 0.12);
  --shadow-lg: 0 8px 40px rgba(166, 118, 106, 0.15);

  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* === RESET === */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-1);
  color: var(--color-5);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* === UTILITY === */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  color: var(--color-5);
  margin-bottom: 12px;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.4rem;
  }
}

.section-title-wrapper {
  text-align: center;
  margin-bottom: 12px;
}

.section-icon-title {
  width: 120px;
  height: 120px;
  object-fit: contain;
  display: block;
  margin: 0 auto 12px;
}

.title-pauli-msg {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 1.3em;
}

.message-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.message-photo {
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: 5%;
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .message-content {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
  }

  .message-form {
    flex: 1;
    max-width: 520px;
  }

  .message-photo {
    width: 360px;
    height: 360px;
    flex-shrink: 0;
  }

  .section-icon-title {
    width: 180px;
    height: 180px;
  }
}

.section-subtitle {
  text-align: center;
  font-weight: 300;
  font-size: 1rem;
  color: var(--color-5);
  opacity: 0.8;
  max-width: 500px;
  margin: 0 auto 40px;
}

/* === FADE IN ANIMATION === */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === HERO === */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 80px 24px 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(239, 228, 219, 0.7), rgba(239, 228, 219, 0.7)),
    url('../assets/images/fondo-hero.png') center / cover no-repeat;
  background-position: 50% -40px;
  pointer-events: none;
}

@media (max-width: 480px) {
  .hero-bg {
    background-position: center;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.hero-image-wrapper {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 32px;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--color-3);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content h1 {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-5);
  line-height: 1.2;
  margin-bottom: 20px;
}

.title-babyshower {
  display: inline;
}

.title-pauli {
  font-family: var(--font-script);
  font-weight: 400;
  display: inline;
  color: #fff;
  font-size: 7rem;
  line-height: 1;
}

.hero-text {
  font-size: 1rem;
  font-weight: 300;
  color: var(--color-5);
  opacity: 0.85;
  margin-bottom: 36px;
  line-height: 1.8;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.btn-hero {
  display: inline-block;
  padding: 14px 40px;
  background: var(--color-4);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 2px solid transparent;
  margin-top: 30px;
}

.btn-hero:hover {
  background: var(--color-5);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* === EVENT INFO === */
#event-info {
  padding: 80px 0;
  background: var(--color-1);
}

.info-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

.info-card {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-3);
}

.card-icon {
  width: 240px;
  height: 240px;
  object-fit: contain;
  display: block;
  margin: 0 auto 12px;
  border-radius: 50%;
}

.info-card h3 {
  font-family: var(--font-title);
  font-size: 1.25rem;
  color: var(--color-5);
  margin-bottom: 8px;
}

.info-card p {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--color-5);
  opacity: 0.85;
}

.btn-wrapper {
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  background: transparent;
  color: var(--color-5);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  border: 2px solid var(--color-4);
  border-radius: 50px;
  transition: var(--transition);
  cursor: pointer;
}

.btn:hover {
  background: var(--color-4);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.hero-countdown {
  margin: 24px auto 50px;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}

.countdown-item {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 16px 4px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.6);
  min-height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.countdown-number {
  display: block;
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-4);
  line-height: 1.2;
}

.countdown-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--color-5);
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* === WISHLIST === */
#wishlist {
  padding: 80px 0;
  background: var(--color-1);
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 481px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-3);
}

.product-image-placeholder {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.product-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 12px;
}

.product-info {
  padding: 20px;
}

.product-info h3 {
  font-family: var(--font-title);
  font-size: 0.95rem;
  color: var(--color-5);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
}

.product-info p {
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--color-5);
  opacity: 0.8;
  margin-bottom: 12px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-store {
  font-size: 0.75rem;
  color: var(--color-2);
  font-weight: 500;
  margin-bottom: 6px;
}

.btn-product {
  display: inline-block;
  padding: 8px 18px;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--color-4);
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-product:hover {
  background: var(--color-5);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.product-image-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.product-image-placeholder--empty {
  background: linear-gradient(135deg, var(--color-2), var(--color-3));
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.rsvp-form {
  max-width: 520px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-sm);
  outline: none;
  transition: var(--transition);
}

.form-group input[type="text"]:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-group input[type="text"]::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-group select option {
  color: #333;
  background: #fff;
}

.form-error {
  color: #ff6b6b;
  font-size: 0.85rem;
  text-align: center;
  margin-bottom: 16px;
  padding: 10px;
  background: rgba(255, 107, 107, 0.15);
  border-radius: var(--radius-sm);
}

.radio-group {
  display: flex;
  gap: 16px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 400;
  color: #fff;
}

.radio-label input[type="radio"] {
  accent-color: #fff;
  width: 18px;
  height: 18px;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  font-weight: 500;
  background: var(--color-4);
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit:hover {
  background: var(--color-5);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.success-message {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-xl);
  padding: 40px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.success-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 16px;
}

.success-message h3 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 8px;
}

.success-message p {
  font-size: 0.9rem;
  font-weight: 300;
  color: #fff;
  opacity: 0.9;
}

/* === MESSAGES === */
#messages {
  padding: 80px 0;
  background: var(--color-1);
}

.message-form {
  max-width: 520px;
  margin: 0 auto 40px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.message-form textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-5);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--color-3);
  border-radius: var(--radius-sm);
  outline: none;
  resize: vertical;
  min-height: 100px;
  margin-bottom: 16px;
  transition: var(--transition);
}

.message-form textarea:focus {
  border-color: var(--color-4);
  box-shadow: 0 0 0 3px rgba(206, 156, 144, 0.15);
  background: rgba(255, 255, 255, 0.8);
}

/* === FOOTER === */
footer {
  padding: 48px 24px;
  text-align: center;
  background: var(--color-2);
}

.footer-text {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--color-5);
  font-style: italic;
}

/* === RESPONSIVE === */
@media (min-width: 480px) {
  .countdown-grid {
    gap: 16px;
  }

  .countdown-number {
    font-size: 2.5rem;
  }
}

@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 3.2rem;
  }

  .hero-text {
    font-size: 1.1rem;
  }

  .info-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .countdown-grid {
    gap: 20px;
  }

  .countdown-item {
    padding: 28px 16px;
  }

  .countdown-number {
    font-size: 3rem;
  }

  .countdown-label {
    font-size: 0.8rem;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .section-title {
    font-size: 2.4rem;
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .rsvp-form {
    padding: 48px 40px;
  }
}

/* === CATEGORY FILTERS === */
.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
}

.category-btn {
  padding: 8px 18px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-5);
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(166, 118, 106, 0.2);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

.category-btn:hover {
  background: var(--color-3);
  color: #fff;
  border-color: var(--color-3);
}

.category-btn.active {
  background: var(--color-4);
  color: #fff;
  border-color: var(--color-4);
}

/* === PROGRESS BAR === */
.progress-section {
  max-width: 500px;
  margin: 0 auto 32px;
}

.progress-wrapper {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.progress-bar-track {
  width: 100%;
  height: 10px;
  background: var(--color-2);
  border-radius: 50px;
  overflow: hidden;
  margin-bottom: 12px;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-3), var(--color-4));
  border-radius: 50px;
  transition: width 0.6s ease;
}

.progress-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--color-5);
}

.progress-count {
  font-weight: 300;
  opacity: 0.8;
}

.progress-percent {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-4);
}

/* === PRODUCT CARD ENHANCEMENTS === */
.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  gap: 8px;
}

.product-category {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--color-5);
  opacity: 0.7;
  white-space: nowrap;
}

.product-price {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-4);
  white-space: nowrap;
}

.product-status {
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 50px;
  display: inline-block;
}

.status-available {
  color: #27ae60;
  background: rgba(39, 174, 96, 0.1);
}

.status-reserved {
  color: var(--color-4);
  background: rgba(206, 156, 144, 0.1);
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-actions .btn-product {
  display: block;
  text-align: center;
  width: 100%;
  padding: 10px 16px;
}

.btn-gift {
  background: var(--color-3);
}

.btn-gift:hover {
  background: var(--color-5);
}

.btn-reserved {
  display: block;
  text-align: center;
  width: 100%;
  padding: 10px 16px;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-5);
  opacity: 0.6;
  border: 1px dashed var(--color-3);
  border-radius: 50px;
  cursor: default;
}

.empty-category {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--color-5);
  opacity: 0.6;
  padding: 40px 0;
  grid-column: 1 / -1;
}

/* === OVERLAY Y FORMULARIO DE RESERVA === */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: overlayIn 0.3s ease;
}

@keyframes overlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

#rsvp-form-container {
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  animation: formSlideIn 0.3s ease;
}

@keyframes formSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

#rsvp-form-container .rsvp-form {
  margin: 0;
}

.form-title {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
  margin-bottom: 8px;
}

.form-product-name {
  font-size: 0.9rem;
  font-weight: 300;
  color: #fff;
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-cancel {
  width: 100%;
  padding: 12px;
  font-size: 0.9rem;
  font-weight: 400;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 8px;
}

.btn-cancel:hover {
  background: rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .category-filters {
    gap: 12px;
  }

  .category-btn {
    padding: 10px 22px;
    font-size: 0.85rem;
  }
}

/* === ADMIN BAR === */
#admin-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #A6776A;
  color: #fff;
  font-size: 0.85rem;
}

.admin-bar-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  overflow-x: auto;
  flex-wrap: nowrap;
}

.admin-badge {
  font-weight: 600;
  white-space: nowrap;
  margin-right: 8px;
}

.admin-btn {
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: #fff;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.8rem;
  white-space: nowrap;
  transition: 0.3s;
  text-decoration: none;
  font-family: inherit;
}

.admin-btn:hover, .admin-btn.active {
  background: rgba(255,255,255,0.2);
  border-color: #fff;
}

.admin-btn-exit {
  margin-left: auto;
  opacity: 0.7;
}

.admin-panel {
  background: #EFE4DB;
  color: #A6776A;
  padding: 20px;
  max-height: 70vh;
  overflow-y: auto;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.admin-panel h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.admin-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.admin-table th {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 2px solid #D8AE9C;
  font-weight: 600;
}

.admin-table td {
  padding: 8px;
  border-bottom: 1px solid rgba(166,118,106,0.1);
}

.admin-estado {
  padding: 2px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  background: rgba(206,156,144,0.15);
}

.admin-ok {
  background: rgba(39,174,96,0.12);
  color: #27ae60;
}

.admin-btn-sm {
  padding: 4px 10px;
  border: 1px solid #D8AE9C;
  background: transparent;
  color: #A6776A;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.75rem;
  margin-right: 4px;
  transition: 0.3s;
  font-family: inherit;
}

.admin-btn-sm:hover {
  background: #D8AE9C;
  color: #fff;
}

.admin-btn-danger:hover {
  background: #c0392b;
  border-color: #c0392b;
}

.admin-btn-add {
  background: #CE9C90;
  border-color: #CE9C90;
  color: #fff;
}

.admin-btn-add:hover {
  background: #A6776A;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.admin-form-grid label {
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
  font-weight: 500;
  gap: 4px;
}

.admin-form-grid input,
.admin-form-grid textarea,
.admin-form-grid select {
  padding: 8px 10px;
  border: 1px solid #D8AE9C;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.85rem;
  background: rgba(255,255,255,0.6);
  color: #A6776A;
}

.admin-form-grid input:read-only {
  opacity: 0.6;
}

.admin-form-actions {
  display: flex;
  gap: 8px;
}

.admin-btn-cancel {
  opacity: 0.7;
}

.admin-help {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 12px;
}

.admin-import-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.admin-input-lg {
  flex: 1;
  min-width: 200px;
  padding: 10px 14px;
  border: 1px solid #D8AE9C;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.85rem;
  background: rgba(255,255,255,0.6);
  color: #A6776A;
}

.admin-ok {
  color: #27ae60;
  font-weight: 500;
}

.admin-error {
  color: #c0392b;
  font-weight: 500;
}

@media (max-width: 600px) {
  .admin-form-grid {
    grid-template-columns: 1fr;
  }
}
