@import url("https://fonts.googleapis.com/css2?family=Fraunces:wght@600;700&family=Manrope:wght@400;600;700&display=swap");

.group-posting-page {
  --gp-ink: #1f262e;
  --gp-muted: #6b7785;
  --gp-accent: #5fdfe8;
  --gp-accent-dark: #4db4c9;
  --gp-bg: #e6f6f3;
  --gp-card: #f1feff;
  --gp-border: #c8e4e1;
  --gp-shadow: 0 18px 40px rgba(20, 39, 40, 0.14);
  position: relative;
  padding: 28px 24px 56px;
  font-family: "Manrope", sans-serif;
  color: var(--gp-ink);
  background: radial-gradient(circle at top left, #effffe 0%, #e6f5f6 45%, #d7f3f2 100%);
  min-height: calc(100vh - 120px);
}

.group-posting-page::before,
.group-posting-page::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  opacity: 0.45;
  z-index: 0;
}

.group-posting-page::before {
  width: 420px;
  height: 420px;
  left: -120px;
  top: -120px;
  background: radial-gradient(circle, #c9fffe 0%, rgba(255, 217, 201, 0) 65%);
}

.group-posting-page::after {
  width: 520px;
  height: 520px;
  right: -180px;
  bottom: -220px;
  background: radial-gradient(circle, #cfe7ff 0%, rgba(207, 231, 255, 0) 60%);
}

.gp-shell {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
}

.gp-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.gp-header-text h1 {
  font-family: "Fraunces", serif;
  font-size: 32px;
  margin: 8px 0 10px;
  letter-spacing: -0.5px;
}

.gp-header-text p {
  margin: 0;
  color: var(--gp-muted);
  max-width: 560px;
}

.gp-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  font-size: 11px;
  color: var(--gp-accent);
}

.gp-account-card {
  background: #e6f8ff;
  border: 1px solid #bfeff2;
  border-radius: 18px;
  padding: 16px 20px;
  min-width: 220px;
  box-shadow: 0 10px 24px rgba(20, 48, 50, 0.12);
}

.gp-account-label {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gp-muted);
  display: block;
  margin-bottom: 6px;
}

.gp-account-value {
  font-weight: 700;
  font-size: 15px;
  color: var(--gp-ink);
  word-break: break-all;
}

.gp-card {
  background: var(--gp-card);
  border-radius: 26px;
  padding: 26px 28px 30px;
  border: 1px solid var(--gp-border);
  box-shadow: var(--gp-shadow);
}

.gp-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.gp-card-head h2 {
  font-family: "Fraunces", serif;
  font-size: 24px;
  margin: 0 0 6px;
}

.gp-card-head p {
  margin: 0;
  color: var(--gp-muted);
}

.gp-card-chip {
  background: #d6fffc;
  color: #34999b;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
}

.gp-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.gp-block {
  background: #f8feff;
  border: 1px solid #f2e4d4;
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.gp-block-full {
  grid-column: 1 / -1;
}

.gp-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.gp-block-head h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.gp-block-head p {
  margin: 0;
  color: var(--gp-muted);
}

.gp-block-note {
  font-size: 12px;
  font-weight: 700;
  color: var(--gp-accent-dark);
}

.gp-label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gp-ink);
}

.gp-control {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #c2e1df;
  padding: 12px 14px;
  background: #fffaf5;
  font-size: 14px;
  font-family: "Manrope", sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gp-control:focus {
  outline: none;
  border-color: var(--gp-accent);
  box-shadow: 0 0 0 3px rgba(232, 111, 95, 0.18);
}

.gp-textarea {
  resize: vertical;
  min-height: 160px;
}

.gp-links {
  min-height: 180px;
}

.gp-help {
  margin-top: 10px;
  color: var(--gp-muted);
  font-size: 13px;
}

.gp-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
}

.gp-image-slot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.gp-upload {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.gp-upload-label {
  border: 1px dashed #b2d3d4;
  background: #e8fbff;
  border-radius: 14px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.gp-upload-label:hover {
  border-color: var(--gp-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(232, 111, 95, 0.12);
}

.gp-upload-label.is-filled {
  border-color: #3c8d74;
  background: #eef9f4;
}

.gp-upload-plus {
  font-size: 22px;
  font-weight: 700;
  color: var(--gp-accent);
}

.gp-upload-text {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7a6f65;
  font-weight: 700;
}

.gp-file-name {
  font-size: 12px;
  color: #514a44;
  word-break: break-word;
}

.gp-delay {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.gp-actions {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.gp-btn {
  background: var(--gp-accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 26px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.gp-btn:hover {
  background: var(--gp-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(232, 111, 95, 0.2);
}

.gp-link {
  color: var(--gp-ink);
  font-weight: 700;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid #d8c7b6;
  background: #fff6ee;
}

.gp-link:hover {
  border-color: var(--gp-accent);
  color: var(--gp-accent-dark);
}

@media (max-width: 980px) {
  .gp-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .gp-form-grid {
    grid-template-columns: 1fr;
  }

  .gp-delay {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .group-posting-page {
    padding: 22px 16px 40px;
  }

  .gp-card {
    padding: 20px;
  }

  .gp-card-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .gp-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .gp-btn,
  .gp-link {
    text-align: center;
  }
}
