/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Aug 04 2026 | 06:07:57 */
/*============================
  Select Field Start
==============================*/

/* Original select hide (JS wrapper এর পরে) */
.review-form .jet-form-builder__field-wrap select {
  display: none !important;
}

/* Custom select wrapper */
.review-form .rv-custom-select {
  position: relative;
  width: 100%;
  font-family: inherit;
  font-size: 15px;
}

/* Selected display box */
.review-form .rv-selected {
  width: 100%;
  padding: 12px 40px 12px 14px;
  background-color: #fff;
  border-radius: 6px;
  border: 1px solid #D9D9D9;
  color: #9E9E9E;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
  user-select: none;

  /* Arrow down */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

/* Open হলে arrow উল্টাবে */
.review-form .rv-custom-select.rv-open .rv-selected {
  border-color: #c4b5fd;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='18 15 12 9 6 15'%3E%3C/polyline%3E%3C/svg%3E");
}

/* Options list */
.review-form .rv-options {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  z-index: 9999;
  padding: 6px;
  margin: 0;
  list-style: none;
  box-sizing: border-box;
  max-height: 280px;
  overflow-y: auto;
}

.review-form .rv-custom-select.rv-open .rv-options {
  display: block;
  animation: rv-fade-in 0.15s ease;
}

/* Option item */
.review-form .rv-options li {
  padding: 8px 12px;
  border-radius: 8px;
  color: #303254;
  font-family: Stack Sans Text;
  font-weight: 300;
  font-size: 12px;
  margin-top: 6px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.review-form .rv-options li:hover {
  background: #EBEBEC;
  color: #F35522;
}

.review-form li[data-value] {
	color: #303254 !important;
}

.review-form div[style] {
	color: #303254 !important;
}

.rv-options li:hover {
	color: #F35522 !important;
}
/* Placeholder option */
.review-form .rv-options li.rv-placeholder {
  cursor: default;
  color: #9E9E9E;
  font-style: italic;
}

.review-form .rv-options li.rv-placeholder:hover {
  background: transparent;
  color: #9E9E9E;
}

/* Scrollbar */
.review-form .rv-options::-webkit-scrollbar {
  width: 4px;
}
.review-form .rv-options::-webkit-scrollbar-track {
  background: transparent;
}
.review-form .rv-options::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}

/* Fade-in animation */
@keyframes rv-fade-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*============================
  Select Field End
==============================*/


/*============================
  File Upload Field Start
==============================*/

/* Default JetForm upload area সম্পূর্ণ hide */
.jet-form-builder-row.field-type-media-field {
  display: none !important;
}

/* Textarea wrapper এ relative দরকার attach button এর জন্য */
.review-form .jet-form-builder-row.field-type-textarea-field .jet-form-builder__field-wrap {
  position: relative !important;
}

/* Textarea নিচে padding যাতে button overlap না করে */
.review-form [name="message"] {
  padding-bottom: 50px !important;
  box-sizing: border-box !important;
}

/* Attach button */
button#jfb-attach-btn {
  position: absolute;
  bottom: 14px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #575757;
  border: 1px solid #ADABB2;
  background: #fff;
  padding: 6px 14px;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.15s ease, border-color 0.15s ease;
}

button#jfb-attach-btn:hover {
  background: #F6F6F8;
  border-color: #ADABB2;
}

/* File preview box — textarea row এর নিচে বসবে */
#jfb-file-preview {
  display: none;
  align-items: center;
  gap: 10px;
  width: 100%;
  color: #131313;
  background: #ECF0F2;
  border: 1px solid #D9D9D9;
  border-radius: 10px;
  padding: 10px 14px;
  margin-top: 8px;
  box-sizing: border-box;
  /* position: absolute সরিয়ে দেওয়া হয়েছে — flow তে থাকবে */
}

#jfb-fp-name {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
  color: #131313;
}

#jfb-fp-size {
  margin: 0;
  font-size: 11px;
  color: #6b7280;
}

#jfb-delete-btn {
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.5;
  padding: 4px;
  display: flex;
  align-items: center;
  color: #131313;
  transition: opacity 0.15s ease;
}

#jfb-delete-btn:hover {
  opacity: 1;
}

/*============================
  File Upload Field End
==============================*/


/*============================
  Responsive
==============================*/

@media (max-width: 768px) {
  button#jfb-attach-btn {
    font-size: 13px;
    padding: 6px 12px;
  }
}

@media (max-width: 425px) {
  .jet-form-row {
    padding: 0;
  }

  #name,
  #company_name,
  #email {
    margin-bottom: 12px;
  }

  .rv-selected {
    margin-bottom: 12px;
  }

  button#jfb-attach-btn {
    font-size: 13px;
    padding: 5px 10px;
  }
}


/*============================
  Submit Button
==============================*/

.jet-form-builder__action-button.jet-form-builder__submit.submit-type-ajax {
	background: linear-gradient(to bottom, #FE774B, #F35522);
	color: #fff;
}

/* Add New Code */
.jet-form-builder__conditional.cb-acak7u2c,
.jet-form-builder__conditional.cb-hsaf9me7,
.jet-form-builder__conditional.cb-pq9f8oiz,
.jet-form-builder__conditional.cb-ht1gmi3y,
.jet-form-builder__conditional.cb-w4cx1l1n,
.jet-form-builder__conditional.cb-ho1pk03m{
    margin-top: 0;
}

.wp-block-columns.is-layout-flex.wp-container-core-columns-is-layout-e7233f0f.wp-block-columns-is-layout-flex {
	gap: 16px;
}

@media (max-width: 425px) {
	.wp-block-columns.is-layout-flex.wp-container-core-columns-is-layout-e7233f0f.wp-block-columns-is-layout-flex {
	gap: 0px;
}
}
