/* Main Wrapper */
.ptg-member-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 50vh;
  padding: 20px 10px;
  background-color: #f9fafb; /* Light background for contrast if needed, or transparent */
}

/* Card Style */
.ptg-member-card {
  width: 100%;
  max-width: 500px;
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 2px 4px -1px rgba(0, 0, 0, 0.03);
  box-sizing: border-box;
}

@media (max-width: 600px) {
  .ptg-member-card {
    padding: 24px;
    box-shadow: none;
    background: transparent;
  }
  .ptg-member-wrapper {
    padding: 0;
    align-items: flex-start;
  }
}

/* Typography & Layout */
.ptg-member-card h2 {
  margin: 0 0 24px;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  color: #111827;
}

.ptg-input-group {
  margin-bottom: 16px;
  position: relative;
}

/* Inputs */
.ptg-input {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.ptg-input:focus {
  border-color: #3b82f6;
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.ptg-input::placeholder {
  color: #9ca3af;
}

/* Buttons */
.ptg-btn {
  width: 100%;
  padding: 10px;
  /* background-color: #111827; removed base color to use specific primary/secondary */
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none; /* For link buttons */
  box-sizing: border-box;
}

.ptg-button-row {
    display: flex;
    gap: 10px;
}

.ptg-button-row.ptg-button-row-center {
  justify-content: center;
  margin-top: 20px;
}

.ptg-button-row.ptg-button-row-center .ptg-btn {
  width: auto;
  min-width: 180px;
  max-width: 260px;
}

.ptg-btn-primary {
    background-color: #111827;
    flex: 1;
}
.ptg-btn-primary:hover {
    background-color: #1f2937;
}

.ptg-btn-secondary {
    background-color: #4b5563; /* Gray */
    flex: 1;
}
.ptg-btn-secondary:hover {
    background-color: #6b7280;
}

.ptg-btn:disabled,
.ptg-btn.loading {
  background-color: #9ca3af;
  cursor: not-allowed;
}

/* Kakao Button */
.ptg-kakao-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 14px;
  background-color: #fee500;
  color: #000000;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 12px;
  border: none;
  box-sizing: border-box;
}
.ptg-kakao-btn:hover {
  background-color: #fdd835;
  color: #000000;
}

/* Links */
.ptg-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  font-size: 14px;
}
.ptg-links a {
  color: #6b7280;
  text-decoration: none;
  font-weight: 500;
}
.ptg-links a:hover {
  color: #111827;
}

/* Promo Banner */
.ptg-promo-banner {
  background: linear-gradient(135deg, #eff6ff, #eef2ff);
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  text-align: center;
}
.ptg-promo-badge {
  display: inline-block;
  background-color: #2563eb;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.ptg-promo-title {
  font-size: 18px;
  font-weight: 700;
  color: #1e3a8a;
  margin: 0 0 6px;
}
.ptg-promo-desc {
  font-size: 13px;
  color: #475569;
  margin: 0;
  line-height: 1.5;
}
.ptg-promo-desc strong {
  color: #2563eb;
}

/* Messages */
.ptg-error,
.ptg-success {
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  text-align: center;
}
.ptg-error {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.ptg-success {
  background-color: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

/* Password Toggle */
.ptg-password-wrapper {
  position: relative;
  width: 100%;
}
.ptg-password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #9ca3af;
  font-size: 20px;
}
.ptg-password-toggle:hover {
  color: #4b5563;
}
