/* Furniture Corp. Contact Page & Form Styling */
.cs-contact-page {
  padding: 80px 24px 100px;
  background: #f8f7fb;
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-contact-card {
  max-width: 740px;
  width: 100%;
  margin: 0 auto;
  padding: 44px 40px;
  background: #ffffff;
  border: 1px solid #e8e3f0;
  border-radius: 20px;
  box-shadow: 0 16px 44px rgba(60, 35, 100, 0.06);
}

.cs-contact-eyebrow {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7356ba;
  font-weight: 700;
  margin-bottom: 8px;
}

.cs-contact-card h1 {
  font-size: clamp(28px, 3.6vw, 38px);
  line-height: 1.25;
  color: #23163a;
  margin: 0 0 12px;
  font-weight: 700;
}

.cs-contact-card > p {
  color: #5d5668;
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 28px;
}

.cs-contact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}

.cs-contact-fields label {
  display: flex;
  flex-direction: column;
  color: #2b2438;
  font-size: 14px;
  font-weight: 600;
}

.cs-contact-fields label span {
  color: #e03164;
  margin-left: 3px;
}

.cs-contact-fields label small {
  color: #797184;
  font-weight: 400;
  margin-left: 4px;
}

.cs-contact-fields input,
.cs-contact-fields select,
.cs-contact-fields textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid #dcd7e5;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  color: #23163a;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cs-contact-fields input {
  height: 48px;
}

.cs-contact-fields select {
  height: 48px;
  cursor: pointer;
}

.cs-contact-fields textarea {
  resize: vertical;
  min-height: 110px;
}

.cs-contact-fields input:focus,
.cs-contact-fields select:focus,
.cs-contact-fields textarea:focus {
  outline: none;
  border-color: #7356ba;
  box-shadow: 0 0 0 3px rgba(115, 86, 186, 0.16);
}

.cs-contact-wide {
  grid-column: 1 / -1;
}

.cs-contact-actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.cs-contact-submit {
  padding: 15px 36px;
  background: linear-gradient(135deg, #7356ba 0%, #5d3ea5 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cs-contact-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(115, 86, 186, 0.28);
}

.cs-contact-submit:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

/* Success Card */
.cs-contact-success {
  padding: 36px 28px;
  text-align: center;
  background: #fbf9ff;
  border: 2px dashed #b9a4e4;
  border-radius: 16px;
  margin-top: 10px;
}

.cs-contact-success .success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #e9f9ee;
  color: #1a9443;
  font-size: 28px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #b6e9c4;
}

.cs-contact-success h3 {
  font-size: 24px;
  color: #23163a;
  margin: 0 0 10px;
  font-weight: 700;
}

.cs-contact-success p {
  font-size: 16px;
  color: #554d63;
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto;
}

.cs-contact-success .return-btn {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 28px;
  background: #7356ba;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.cs-contact-success .return-btn:hover {
  background: #5d3ea5;
}

#cs-contact-status {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.6;
}

#cs-contact-status:empty {
  display: none;
}

@media (max-width: 640px) {
  .cs-contact-page {
    padding: 28px 16px 48px;
  }
  .cs-contact-card {
    padding: 28px 20px;
    border-radius: 16px;
  }
  .cs-contact-fields {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .cs-contact-submit {
    width: 100%;
  }
}
