/* Prescription Form Styles */

.prescription-form {
 width: 100%;
  display: flex;
  max-width: 1016px;
  margin: 0 auto;
  flex-direction: column;
}

.prescription-form-info {
  display: flex;
  padding: 35px 30px;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  border-radius: 20px;
  background: linear-gradient(0deg, #F0F1FF 0%, #F0F1FF 100%), radial-gradient(109.16% 141.42% at 0% 0%, #5D57F6 0%, #2F1F8F 100%);
}

/* ---- Description Row ---- */
.prescription-form-info-desc {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.prescription-form-info-desc-icon {
  flex-shrink: 0;
}

.prescription-form-info-desc-text {
  color: #2A437A;
  text-align: right;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
}

/* ---- Insurance Section ---- */
.prescription-form-info-insurance {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.prescription-form-info-insurance-title {
  color: #2A437A;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.prescription-form-info-insurance-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.prescription-form-info-insurance-item {
  border-radius: 99px;
  background: rgba(123, 115, 249, 0.20);
  display: flex;
  padding: 7px 16px;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.prescription-form-info-insurance-item-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.prescription-form-info-insurance-item-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.prescription-form-info-insurance-item-text {
  color: #7470F2;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

/* ---- Form Body ---- */
.prescription-form-body {
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 24px;
}

@media (max-width: 650px) {
  .prescription-form-body {
    padding: 8px 0;
  }
}

.prescription-form-step {
  display: flex;
  padding: 24px;
  flex-direction: column;
  gap: 12px;
  border-radius: 12px;
  border: 1px solid #C5C5C5;
}

.prescription-form-actions {
  display: flex;
  padding-top: 12px;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
}

/* ---- Contract Section ---- */
.prescription-form-contract-title {
  color: #6B7183;
  text-align: right;
  font-family: "Yekan Bakh VF";
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 21px;
}

.prescription-form-contract-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prescription-form-contract-item {
  color: #6B7183;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 21px;
  font-family: "Yekan Bakh VF";
}

.prescription-form-contract-agree {
  display: flex;
  align-items: center;
  gap: 10px;
}

.prescription-form-contract-agree input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #5EA6E2;
  cursor: pointer;
  flex-shrink: 0;
}

.prescription-form-contract-agree-text {
  color: #6B7183;
  text-align: right;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 21px;
  font-family: "Yekan Bakh VF";
  cursor: pointer;
}


/* =========================
   FORM LABEL
========================= */

.render-form .f-field-group > label {
  font-family: "YekanBakh";
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  display: inline-block;
  margin-bottom: 6px;
}

.render-form .f-field-group > .text-error {
  color: #ef4444;
  margin-right: 3px;
}


/* =========================
   INPUT + SELECT
========================= */

.render-form .f-field-group > input:not([type="file"]),
.render-form .f-field-group > select {
  border-radius: 12px;
  border: 1px solid #dcdfe8;
  background: #fcfcff;

  display: flex;
  padding: 12px;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
  align-self: stretch;

  font-family: "YekanBakh";
  font-size: 14px;
  color: #1f2937;

  outline: none;
  width: 100%;
height: 42px;
  box-sizing: border-box;

  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}


/* =========================
   PLACEHOLDER
========================= */

.render-form .f-field-group > input:not([type="file"])::placeholder,
.render-form .f-field-group > textarea::placeholder {
  color: #9ca3af;
}


/* =========================
   INPUT + SELECT HOVER
========================= */

.render-form .f-field-group > input:not([type="file"]):hover,
.render-form .f-field-group > select:hover,
.render-form .f-field-group > textarea:hover {
  border: 1.5px solid #7b73f9;
  background: #fcfcff;
}


/* =========================
   INPUT + SELECT FOCUS
========================= */

.render-form .f-field-group > input:not([type="file"]):focus,
.render-form .f-field-group > select:focus,
.render-form .f-field-group > textarea:focus {
  border: 1.5px solid #7b73f9;
  background: #fcfcff;
  box-shadow: 0 0 0 2px rgba(123, 115, 249, 0.28);
}


/* =========================
   SELECT
========================= */

.render-form .f-field-group > select {
  cursor: pointer;

  appearance: none;
  -webkit-appearance: none;

  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='%239CA3AF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");

  background-repeat: no-repeat;
  background-position: left 12px center;

  padding-left: 40px;
}


/* SELECT HOVER / FOCUS */

.render-form .f-field-group > select:hover,
.render-form .f-field-group > select:focus {
  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='%237B73F9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 15l-6-6-6 6'/%3E%3C/svg%3E");

  background-repeat: no-repeat;
  background-position: left 12px center;
}


/* =========================
   FILE
========================= */

.render-form .f-field-group > input[type="file"] {
  width: 100%;
height: 44px;
  font-family: "YekanBakh";
  font-size: 14px;
  color: #1f2937;

  cursor: pointer;
}


/* FILE BUTTON */

.render-form .f-field-group > input[type="file"]::file-selector-button {
  margin-left: 12px;

  padding: 6px 16px;

  border-radius: 8px;
  border: none;

  background: #767978;
  color: #fff;

  font-family: "YekanBakh";
  font-size: 13px;
  font-weight: 600;

  cursor: pointer;
}


/* =========================
   TEXTAREA
========================= */

.render-form .f-field-group > textarea {
  width: 100%;

  min-height: 80px;
  max-height: 170px;

  box-sizing: border-box;

  border-radius: 12px;
  border: 1px solid #dcdfe8;
  background: #fcfcff;

  padding: 12px;

  font-family: "YekanBakh";
  font-size: 14px;
  color: #1f2937;

  outline: none;

  resize: vertical;

  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}


/* =========================
   FIELD GROUP
========================= */

.render-form .f-field-group {
  width: 100%;
  margin-bottom: 16px;
}


/* =========================
   ROW
========================= */

.render-form .f-row {
  display: flex;
  width: 100%;
  gap: 24px;
}


/* =========================
   COLUMNS
========================= */

.render-form .f-render-column {
  box-sizing: border-box;
}


/* =========================
   HINT
========================= */

.render-form .f-render-column > h4 {
  font-family: "YekanBakh";
  font-size: 12px;
  color: #9ca3af;
  line-height: 20px;
}


/* =========================
   ACTIONS
========================= */

.render-form .prescription-form-actions {
  display: flex;
  justify-content: flex-end;
}

#formeo-rendered-0 button {
    background: #6361f1 !important;
    border: 12px !important;
    padding: 10px 35px !important;
    font-size: 13pt !important;
    color: #fff !important;
}