/* NocoDB Newsletter Frontend Styles */
.nocodb-newsletter-wrapper {
  position: relative;
}

.nocodb-message {
  display: none;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 10px;
  text-align: center;
}

.nocodb-message.success {
  background-color: #70af31;
  color: #fff;
}

.nocodb-message.error {
  background-color: #e01639;
  color: #fff;
}

.nocodb-page-wrapper {
  display: flex !important;
  flex-wrap: wrap;
  padding: 5px;
  border-radius: 8px;
  margin-top: 18px;
  gap: 5px;
}

.nocodb-row {
  margin-bottom: 0;
}

.nocodb-row.nocodb-email {
  flex: 1 1 0%;
  min-width: 150px;
}

.nocodb-input {
  border: 0;
  height: 100%;
  border-radius: 0;
  font-size: 14px;
  width: 100%;
  padding: 10px;
  outline: none;
  box-sizing: border-box;
}

.nocodb-input:focus {
  outline: none;
}

.nocodb-input.nocodb-error {
  background-color: #fff0f0;
  border: 1px solid #e01639;
}

.nocodb-textarea {
  min-height: 80px;
  resize: vertical;
}

.nocodb-select {
  background-color: #fff;
  cursor: pointer;
}

.nocodb-button {
  height: 100%;
  border: 2px solid #ff5d05;
  background-color: #ff5d05;
  border-radius: 5px;
  color: #fff;
  padding-left: 10px;
  padding-right: 10px;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

.nocodb-button:hover {
  background-color: #e54d00;
  border-color: #e54d00;
}

.nocodb-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
