/* === SCW FORM STYLE === */
.scw-wrap {
  max-width: 760px;
  margin: 40px auto;
  padding: 25px 35px;
  background: #f8f9fa;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.scw-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
}

.scw-help {
  margin-bottom: 25px;
  color: #444;
  font-size: 0.95rem;
  line-height: 1.4;
}

.scw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 25px;
}

.scw-field--full {
  grid-column: 1 / -1;
}

.scw-label {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
}

.scw-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  font-size: 1rem;
  transition: all 0.2s ease-in-out;
}

.scw-input:focus {
  border-color: #5a3ff5;
  box-shadow: 0 0 0 2px rgba(90, 63, 245, 0.2);
  outline: none;
}

.scw-actions {
  margin-top: 10px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.scw-btn {
  background: #4834d4;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 10px;
  padding: 12px 32px;
  cursor: pointer;
  transition: background 0.25s ease;
}

.scw-btn:hover {
  background: #341f97;
}

/* === CAPTCHA === */
.g-recaptcha {
  transform: scale(0.95);
  transform-origin: left;
}

/* === MESSAGES === */
.scw-msg {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 20px;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 600;
  display: block;
}

.scw-msg--ok {
  background: #d3f9d8;
  color: #0b700b;
  border: 1px solid #7ce27c;
}

.scw-msg--err {
  background: #ffe0e0;
  color: #a00000;
  border: 1px solid #ff9e9e;
}

/* === Responsive === */
@media (max-width: 640px) {
  .scw-grid {
    grid-template-columns: 1fr;
  }

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

  .g-recaptcha {
    transform: scale(1);
    width: 100%;
    margin-top: 10px;
  }
}