/* General form styles */
.mbform {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0 auto;
  max-width: 1400px;
  padding: 20px;
  box-sizing: border-box;
  border-radius: 50px;
  border: 8px solid #cdcdcd;
  border-top: none;
  border-bottom: none;
}

.mblabel {
  margin-top: 15px;
  color: #000000;
  text-align: left;
  font-weight: normal;
  font-size: 16px;
  font-family: system-ui, sans-serif;
}

.mbinput, .mbtextarea {
  padding: 12px;
  margin-top: 2px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  color: #000000;
  font-weight: 400;
  box-sizing: border-box;
  width: 100%;
  font-family: system-ui, sans-serif;
  resize: none;
  background-color: #ffffff;
}

.mbtextarea:focus {
  border: 3px solid #c7ae5b;
}

.mbinput:focus {
  border: 3px solid #c7ae5b;
}

.mbtextarea {
  height: auto;
}

.mbinput {
  height: 35px;
}

.mbbutton {
  /* border: 1px solid #4d4d4d; */
  /* background-color: rgba(30, 30, 30, 0.6); */
  color: #000000;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 400;
  padding: 12px 20px;
  margin-top: 12px;
  /* cursor: pointer; */
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  text-align: center;
  cursor: pointer;
  border-style: none;
}

/* Hover effect */
.mbbutton:hover {
  background-color: rgb(201 201 201 / 80%);
    color: #000000;
  border-color:#585858
}

/* Focus state for better accessibility */
.mbbutton:focus {
  box-shadow: 0 0 5px rgba(91, 155, 213, 0.6); /* Focus shadow */
}

/* Message container styles */
.mbcm {
  padding: 35px;
  border-radius: 20px;
  color: #000;
  font-weight: bold;
  font-size: 25px;
  font-family: system-ui, sans-serif;
}

/* CAPTCHA container */
.captcha-container {
  width: 158px;
  height: 50px;
  border: 2px solid #d1d1d1;
  padding: 5px;
  display: inline-block;
  background-color: #ffffff;
  position: relative;
  margin-bottom: 0px;
  overflow: hidden;
  border-radius: 8px;
  margin-top: 15px;
}

#captcha-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: none;
  cursor: pointer;
}

#captcha-image:hover {
  opacity: 0.9;
}

/* CAPTCHA input field */
#captcha {
  width: 212px;
  padding: 8px;
  font-size: 16px;
  border: 2px solid #d1d1d1;
  margin-top: 10px;
  border-radius: 8px;
  font-family: system-ui, sans-serif;
}

/* CAPTCHA label */
.formcapchap {
  margin-top: 15px;
  font-weight: 400;
  color: #000000 !important;
  text-align: left;
  font-size: 16px;
  font-family: system-ui, sans-serif;
  margin: 0px;
  margin-bottom: 10px;
}

/* Message success and error styles */
.message.error {
  color: #000000;
  font-weight: 400;
  background-color: #ff6674;
  border: 3px solid #f5c6cb;
  padding: 10px;
  margin-top: 15px;
  font-size:25px;
  border-radius:50px
}

.message.success {
  color: #000000;
  font-weight: 400;
  background-color: #00d534;
  border: 3px solid #8d8d8d;
  padding: 10px;
  font-size:25px;
  margin-top: 15px;
  font-size:25px;
  border-radius:50px
}
.message.error {
  /* min-height: 40px; */  /* ensures some height */
  display: block;    /* make sure it's block */
  white-space: normal; /* allow wrapping */
  word-wrap: break-word; /* break long words if any */
}
