.gbs-newsletter-wrapper {
  width: 100%;
  max-width: 1182px;
  height: 320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  color: #8f8f8f;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.gbs-newsletter-inner {
  width: 100%;
}

.gbs-newsletter-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid #8f8f8f;
  border-bottom-width: 1px;
  border-bottom-color: rgb(143, 143, 143);
  margin-bottom: 21px;
}

.gbs-newsletter-submit {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: none;
  background: #202020;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease-in-out;
  flex-shrink: 0;
  padding: 0;
}
.gbs-newsletter-submit:hover,
.gbs-newsletter-submit:focus,
.gbs-newsletter-submit:active {
  background-color: transparent !important;
}
.gbs-newsletter-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.gbs-newsletter-submit span {
  font-size: 30px;
  line-height: 1;
  color: #8f8f8f;
  transition: color 0.3s ease;
}

.gbs-newsletter-submit .gbs-submit-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease-in-out;
}

.gbs-newsletter-submit:hover .gbs-submit-icon {
  transform: scale(1.2);
}


.gbs-newsletter-bottom {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  font-size: 18px;
  line-height: 1.6;
  color: #8f8f8f;
}

.gbs-checkbox-wrap {
  position: relative;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  margin-top: 3px;
}

.gbs-checkbox-wrap input {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  margin: 0;
  z-index: 2;
}

.gbs-checkbox-box {
  position: absolute;
  inset: 0;
  border: 2px solid #7c7c7c;
  box-sizing: border-box;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.gbs-checkbox-wrap input:checked + .gbs-checkbox-box {
  background: #8f8f8f;
}

.gbs-checkbox-wrap input:checked + .gbs-checkbox-box::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 12px;
  border-right: 3px solid #202020;
  border-bottom: 3px solid #202020;
  transform: translate(-50%, -60%) rotate(45deg);
  opacity: 1;
  transition: opacity 0.2s ease-in-out;
}

.gbs-checkbox-text {
  flex: 1;
}

.gbs-checkbox-text a {
  color: #8f8f8f;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
  text-transform: none !important;
}

.gbs-checkbox-text a:hover {
  color: #E31F26 !important;
}

.gbs-newsletter-input-field {
  width: 100%;
  background: none;
  border: none !important;
  outline: none;
  font-size: 32px;
  color: #ffffff;
  padding: 0;
  flex: 1;
  padding-left: 0 !important;
}

.gbs-newsletter-input-field::placeholder {
  color: #8f8f8f;
}

.gbs-newsletter-input-field:focus {
  outline: none;
}

.gbs-newsletter-message {
  margin-top: 20px;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 16px;
  line-height: 1.5;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.5s ease, max-height 0.5s ease, margin-top 0.5s ease, padding 0.5s ease;
}

.gbs-newsletter-message.gbs-message-show {
  opacity: 1;
  max-height: 200px;
  margin-top: 20px;
  padding: 12px 16px;
}

.gbs-newsletter-message.gbs-message-hide {
  opacity: 0;
  max-height: 0;
  margin-top: 0;
  padding: 0 16px;
  transition: opacity 0.5s ease, max-height 0.5s ease, margin-top 0.5s ease, padding 0.5s ease;
}

.gbs-newsletter-message.gbs-message-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.gbs-newsletter-message.gbs-message-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

