@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,800&family=Playfair+Display:ital,wght@0,700;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* Color Palette & Custom Properties */
:root {
    --plum: #510935;       
    --mauve: #9E5277;       
    --gray-purple: #948f9a; 
    --lavender: #e7e1f5;    
    --sky: #c4dcfd;         
    --blue: #aacbf7;      
    --slate: #596f8d;      
    --display: 'Fraunces', Georgia, serif;
    --font: 'DM Sans', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
}


body.feedback-page {
  color: #510935;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
  background-color: var(--lavender);
  background-size: 20px 20px;
  padding: 2.5rem 4rem 4rem 4rem;
}

/* Top Navigation Header */
.gate-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #510935;
}

.brand-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  -webkit-mask: url("/static/logo.svg") no-repeat center / contain;
  mask: url("/static/logo.svg") no-repeat center / contain;
}

.brand-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.gate-nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.gate-nav a {
  text-decoration: none;
  color: #510935;
  font-size: 0.875rem;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.gate-nav a:hover {
  opacity: 0.7;
}

@media (max-width: 960px) {
  body.feedback-page {
    padding: 2rem;
  }
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--plum);
  color: var(--plum);
  padding: 0.55rem 1.25rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background-color: var(--plum);
  color: var(--sky);
}

/* Hanging Pin Decorative Detail */
.card-wrapper {
  position: relative;
  max-width: 620px;
  margin: 60px auto 0 auto;
  padding: 0 1rem;
}

.card-pin {
  position: absolute;
  top: -38px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.pin-circle {
  width: 12px;
  height: 12px;
  border: 2px solid var(--plum);
  border-radius: 50%;
  background-color: var(--lavender);
}

.pin-line {
  width: 2px;
  height: 28px;
  background-color: var(--plum);
}

/* Card Frame & Offset Shadow */
.feedback-card {
  position: relative;
  background: var(--sky);
  border: 2px solid var(--plum);
  border-radius: 28px;
  box-shadow: 10px 10px 0px var(--plum);
  padding: 3rem 2.5rem;
}

/* Title & Swoop Underline */
.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--theme-plum);
  text-align: center;
  margin: 0;
}

.wavy-underline {
  width: 140px;
  height: 10px;
  margin: 6px auto 2rem auto;
  border-bottom: 3px solid #b2889e;
  border-radius: 50%;
}

/* Section Header & Step Badge */
.form-section-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.section-title {
  font-weight: 700;
  color: var(--plum);
  font-size: 1rem;
}

.dashed-divider {
  border: none;
  border-top: 2px dashed var(--slate);
  margin: 1.5rem 0;
}

/* Google Form Iframe Wrapper */
.iframe-box {
  border: 2px dashed var(--slate);
  border-radius: 16px;
  overflow: hidden;
  background-color: #faf6fc;
}

.iframe-box iframe {
  display: block;
  width: 100%;
  border: none;
}