/* Public styles for Email Pick Up (v2.0.1-Ani)
   - Modern layout
   - Input same width as button
   - Wine-red button
*/

.cw-epu-wrapper {
  max-width: 520px;
  margin: 24px auto;
  padding: 22px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  box-sizing: border-box;
}

.cw-epu-form-wrapper {
  width: 100%;
}

.cw-epu-form {
  width: 100%;
  margin: 0;
}

.cw-epu-label {
  display: block;
  margin: 0 0 12px 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: #1f2937;
}

.cw-epu-input-text,
.cw-epu-input-submit {
  display: block;
  width: 100%;
  box-sizing: border-box;
}

.cw-epu-input-text {
  padding: 14px 14px;
  border: 1px solid rgba(0,0,0,0.18);
  border-radius: 10px;
  font-size: 16px;
  line-height: 1.2;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
  margin: 0 0 12px 0;
}

.cw-epu-input-text:focus {
  border-color: rgba(122, 16, 34, 0.65);
  box-shadow: 0 0 0 4px rgba(122, 16, 34, 0.12);
}

.cw-epu-input-submit {
  padding: 14px 16px;
  background: #7a1022;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.cw-epu-input-submit:hover {
  background: #5f0c1b;
  box-shadow: 0 10px 20px rgba(122, 16, 34, 0.28);
  transform: translateY(-1px);
}

.cw-epu-input-submit:active {
  transform: translateY(0px);
  box-shadow: none;
}

.cw-epu-msg-success,
.cw-epu-msg-error {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 10px;
  margin: 0 0 12px 0;
  font-size: 15px;
  font-weight: 600;
}

.cw-epu-msg-success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #065f46;
}

.cw-epu-msg-error {
  background: rgba(239, 68, 68, 0.10);
  border: 1px solid rgba(239, 68, 68, 0.30);
  color: #7f1d1d;
}

/* Optional: compact style when plugin is used inside narrow columns */
@media (max-width: 420px) {
  .cw-epu-wrapper {
    padding: 18px;
    border-radius: 12px;
  }
  .cw-epu-label {
    font-size: 18px;
  }
}
