/* ============================================================
   CUSTOM DESIGN PAGE — PROFESSIONAL STYLE
============================================================ */

/* ---------- Page Container ---------- */

.custom-container {
  max-width: 1000px;
  margin: 60px auto 100px;
  padding: 0 20px;
}

/* ---------- Section Divider ---------- */

.section-divider {
  width: 100%;
  max-width: 680px;
  height: 1px;
  background: #e6e6e6;
  margin: 60px 0;
}

/* ---------- Hero ---------- */

.custom-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.custom-hero p {
  max-width: 700px;
  color: #555;
  line-height: 1.6;
}

.custom-trust {
  margin-top: 10px;
  font-size: 0.8rem;
  color: #6f8f7f;
}

/* ---------- Gallery ---------- */

.custom-gallery-section h2 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.custom-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.custom-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  background: #f5f5f5;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.custom-gallery img:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

/* ---------- How It Works ---------- */

.custom-how h2 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.custom-how ol {
  padding-left: 18px;
}

.custom-how li {
  margin-bottom: 10px;
  color: #555;
  line-height: 1.5;
}

/* ---------- Request Form ---------- */

.custom-request h2 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.custom-form {
  max-width: 520px;
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.form-row label {
  font-size: 0.8rem;
  margin-bottom: 6px;
  color: #444;
}

.custom-form input,
.custom-form textarea {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-family: inherit;
  font-size: 0.85rem;
}

.custom-form input[type="file"] {
  padding: 6px 0;
  font-size: 0.75rem;
}

.form-hint {
  font-size: 0.7rem;
  color: #777;
  margin-top: 4px;
}

.custom-submit {
  margin-top: 10px;
  padding: 10px 26px;
  border-radius: 999px;
  border: none;
  background: #326a53;
  color: #fff;
  font-size: 0.85rem;
  cursor: pointer;
}

.custom-submit:hover {
  background: #2b5e4a;
}

.custom-note {
  margin-top: 14px;
  font-size: 0.75rem;
  color: #6f8f7f;
}

/* ---------- Mobile ---------- */

@media (max-width: 600px) {
  .custom-hero h1 {
    font-size: 1.8rem;
  }

  .custom-gallery img {
    height: 180px;
  }
}
.admin-custom-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.admin-badge {
  background: #c0392b;
  color: white;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 999px;
  line-height: 1;
}

.admin-badge.hidden {
  display: none;
}
/* ===============================
   ADMIN TOP ACTION BUTTONS
================================ */

.admin-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  align-items: center;
}

/* Base button */
.admin-btn {
  position: relative; /* anchor for badge */

  display: inline-flex;
  align-items: center;
  gap: 8px;

  height: 44px;           /* 👈 ALL buttons same height */
  padding: 0 18px;

  font-size: 14px;
  font-weight: 500;

  border-radius: 8px;
  border: none;

  color: #fff;
  text-decoration: none;
  cursor: pointer;

  line-height: 1;
  white-space: nowrap;
}

/* Color variants */
.admin-btn-green { background: #2e7d32; }
.admin-btn-blue  { background: #1565c0; }
.admin-btn-purple{ background: #7b1fa2; }

.admin-btn:hover {
  filter: brightness(1.08);
}

/* ===============================
   BADGE (Custom Requests)
================================ */

.admin-badge {
  position: absolute;
  top: -6px;
  right: -6px;

  min-width: 20px;
  height: 20px;

  background: #d32f2f;
  color: #fff;

  font-size: 11px;
  font-weight: 600;

  border-radius: 999px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-badge.hidden {
  display: none;
}
/* ===============================
   Custom Request Success Modal
================================ */

.custom-success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.custom-success-overlay.hidden {
  display: none;
}

.custom-success-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px 32px;
  max-width: 360px;
  text-align: center;

  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  animation: modalFadeIn 0.25s ease;
}

.success-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;

  border-radius: 50%;
  background: #2e7d32;
  color: white;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 26px;
  font-weight: bold;
}

.custom-success-card h3 {
  margin: 8px 0 6px;
  font-size: 1.25rem;
}

.custom-success-card p {
  font-size: 0.95rem;
  color: #555;
  margin: 0;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
