.B2B_Inquiry_Modal .modal-content {
  overflow: hidden;
  border: none;
  border-radius: 16px;
  background: #ffffff;
}

.B2B_Inquiry_Modal .b2b_modal_header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 32px;
  background: #006643;
}

.B2B_Inquiry_Modal .b2b_small_title {
  display: inline-block;
  margin-bottom: 4px;
  color: #cfe9d8;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
}

.B2B_Inquiry_Modal .b2b_modal_header h3 {
  margin: 0 0 4px;
  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

.B2B_Inquiry_Modal .b2b_modal_header p {
  margin: 0;
  color: #e8f4ed;
  font-size: 14px;
  line-height: 1.6;
}

.B2B_Inquiry_Modal .b2b_close_btn {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.B2B_Inquiry_Modal .b2b_close_btn:hover {
  background: #ffffff;
  color: #006b4f;
  border-color: #ffffff;
}

.B2B_Inquiry_Modal .modal-body {
  padding: 22px 32px 30px;
  background: #f5faf2;
}

.B2B_Inquiry_Modal .b2b_input_group {
  margin-bottom: 18px;
}

.B2B_Inquiry_Modal .b2b_input_group label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  color: #174d3b;
  font-size: 14px;
  font-weight: 600;
}

.B2B_Inquiry_Modal .b2b_input_group label svg {
  color: #63a82e;
  font-size: 13px;
}

.B2B_Inquiry_Modal .form-control {
  min-height: 42px;
  border: 1px solid #d8e8ce;
  border-radius: 7px;
  background: #fafdf8;
  color: #174d3b;
  font-size: 14px;
  box-shadow: none;
  transition: all 0.3s ease;
}

.B2B_Inquiry_Modal .form-control::placeholder {
  color: #87958d;
}

.B2B_Inquiry_Modal .form-control:focus {
  border-color: #008c68;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 140, 104, 0.1);
}

.B2B_Inquiry_Modal .b2b_input_group textarea.form-control {
  min-height: 85px;
  resize: vertical;
}

.B2B_Inquiry_Modal .b2b_submit_holder {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.B2B_Inquiry_Modal .b2b_submit_holder button {
  background: #006b4f;
  color: #ffffff;
  border-color: #006b4f;
}

.B2B_Inquiry_Modal .b2b_submit_holder button:hover {
  background: #004f3b;
  border-color: #004f3b;
}

.B2B_Inquiry_Modal + .modal-backdrop {
  background: #174d3b;
}

.B2B_Inquiry_Modal + .modal-backdrop.show {
  opacity: 0.5;
}

.B2B_Inquiry_Modal .consultation_error {
  display: block;
  margin-top: 5px;
  color: #d62828;
  font-size: 13px;
  font-weight: 500;
}

/* Photo Upload */

.B2B_Inquiry_Modal .consultation_photo_section {
  width: 100%;
}

.B2B_Inquiry_Modal .consultation_photo_upload {
  width: 100%;
  min-height: 135px;
  padding: 22px;
  border: 1.5px dashed #b8d9c0;
  border-radius: 8px;
  background: #fafdf8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.B2B_Inquiry_Modal .consultation_photo_upload:hover {
  border-color: #008c68;
  background: #f2faef;
}

.B2B_Inquiry_Modal .consultation_photo_upload > svg {
  margin-bottom: 3px;
  color: #008c68;
  font-size: 24px;
}

.B2B_Inquiry_Modal .consultation_photo_upload span {
  color: #174d3b;
  font-size: 14px;
  font-weight: 600;
}

.B2B_Inquiry_Modal .consultation_photo_upload small {
  color: #87958d;
  font-size: 11px;
  text-align: center;
}

.B2B_Inquiry_Modal .consultation_photo_upload input {
  display: none;
}

.B2B_Inquiry_Modal .consultation_photo_list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.B2B_Inquiry_Modal .consultation_photo_item {
  position: relative;
  width: 100%;
  height: 105px;
  overflow: hidden;
  border: 1px solid #d8e8ce;
  border-radius: 7px;
  background: #ffffff;
}

.B2B_Inquiry_Modal .consultation_photo_item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.B2B_Inquiry_Modal .consultation_photo_remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 27px;
  height: 27px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: #d62828;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.B2B_Inquiry_Modal .consultation_photo_remove:hover {
  background: #d62828;
  color: #ffffff;
}

.B2B_Inquiry_Modal .consultation_photo_count {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 9px;
}

.B2B_Inquiry_Modal .consultation_photo_count span {
  color: #174d3b;
  font-size: 12px;
  font-weight: 600;
}

.B2B_Inquiry_Modal .consultation_photo_count button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #d62828;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.B2B_Inquiry_Modal .consultation_photo_count button:hover {
  text-decoration: underline;
}
.B2B_Inquiry_Modal .row-section {
  max-height: 65vh;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #016644 #dddddd;
}
.B2B_Inquiry_Modal .camera-icon svg {
  font-size: 30px !important;
}
@media (max-width: 767px) {
  .B2B_Inquiry_Modal .b2b_modal_header {
    padding: 22px 20px;
  }

  .B2B_Inquiry_Modal .b2b_modal_header h3 {
    font-size: 24px;
  }

  .B2B_Inquiry_Modal .modal-body {
    padding: 25px 20px;
  }

  .B2B_Inquiry_Modal .b2b_close_btn {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
  }

  .B2B_Inquiry_Modal .form-control {
    font-size: 13px;
  }

  .B2B_Inquiry_Modal .b2b_submit_holder {
    justify-content: stretch;
  }
  .B2B_Inquiry_Modal .camera-icon svg {
    font-size: 22px !important;
  }
  .B2B_Inquiry_Modal .b2b_submit_holder button {
    width: 100%;
  }

  .B2B_Inquiry_Modal .consultation_photo_list {
    grid-template-columns: repeat(4, 1fr);
  }

  .B2B_Inquiry_Modal .consultation_photo_item {
    height: 95px;
  }
}

@media (max-width: 575px) {
  .B2B_Inquiry_Modal .modal-content {
    border-radius: 12px;
  }

  .B2B_Inquiry_Modal .b2b_modal_header {
    padding: 18px 16px;
  }

  .B2B_Inquiry_Modal .b2b_small_title {
    font-size: 10px;
    letter-spacing: 1.5px;
  }

  .B2B_Inquiry_Modal .b2b_modal_header h3 {
    font-size: 20px;
  }

  .B2B_Inquiry_Modal .b2b_modal_header p {
    font-size: 12px;
    line-height: 1.5;
  }

  .B2B_Inquiry_Modal .modal-body {
    padding: 22px 16px;
  }

  .B2B_Inquiry_Modal .b2b_input_group {
    margin-bottom: 15px;
  }

  .B2B_Inquiry_Modal .b2b_input_group label {
    font-size: 13px;
  }

  .B2B_Inquiry_Modal .consultation_photo_upload {
    min-height: 125px;
    padding: 18px;
  }

  .B2B_Inquiry_Modal .consultation_photo_list {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .B2B_Inquiry_Modal .consultation_photo_item {
    height: 85px;
  }

  .B2B_Inquiry_Modal .consultation_photo_remove {
    width: 24px;
    height: 24px;
    top: 5px;
    right: 5px;
    font-size: 10px;
  }

  .B2B_Inquiry_Modal .consultation_photo_count {
    margin-top: 8px;
  }
}
