.form-group {
  position: relative;
  margin: 20px;
}
.form-group .error-message {
  color: red;
  font-size: 16px;
}

.form-group label,
label {
  display: block;
  margin-bottom: 5px;
  color: var(--color-font-second);
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-group label .label-required,
label .label-required {
  color: red;
  display: flex;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px !important;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.5;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  resize: none !important;
  background: var(--color-second);
}
.form-group input.active,
.form-group textarea.active,
.form-group select.active {
  box-shadow: 0px 9px 10px 1px rgba(0, 0, 0, 0.2509803922);
  border: #d3ae8e 2px solid;
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.form-group .char-count {
  position: absolute;
  top: 0px;
  left: 0px;
  color: var(--color-font-primary);
  font-size: 19px;
}

.form-group select {
  background: var(--color-second) url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" stroke="%23666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down"><path d="M6 9l4 4 4-4"></path></svg>') no-repeat left 10px center;
  background-size: 16px;
  padding-right: 30px !important;
}

.form-wizard {
  position: relative;
  display: table;
  margin: 0 auto;
  width: 100%;
}
.form-wizard .form-container {
  clear: both;
  display: none;
  left: 100%;
  background: #F4F2EC;
  padding: 30px;
}
.form-wizard .form-container.active {
  display: block;
}
.form-wizard .form-container.show-and-edit .container-voice {
  margin: 0;
}
.form-wizard .form-container.show-and-edit .form-group {
  padding-bottom: 30px;
  border-bottom: 2px solid var(--color-second);
}
.form-wizard .form-container.show-and-edit .form-group .saveButton {
  background: var(--color-primary);
  color: #fff;
}
.form-wizard .form-container.show-and-edit .form-group .sub-label {
  color: var(--color-font-primary);
  font-size: 17px;
}
@media (max-width: 768px) {
  .form-wizard .form-container {
    padding: 0;
  }
}
.form-wizard .form-container .heading {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 2px solid var(--color-second);
}
.form-wizard .form-container .heading h4 {
  color: var(--color-third);
  font-size: 30px;
}
.form-wizard .form-container p {
  font-size: 18px;
}

.form-group {
  position: relative;
}
.form-group .saudi-icon {
  position: absolute;
  left: 40px;
  top: 58%;
  z-index: 9;
}
.form-group .label-hint {
  color: var(--color-font-primary);
  font-size: 22px;
}

.next {
  background-color: var(--color-third) !important;
  height: 57px;
  width: 100%;
  color: var(--color-primary);
  font-weight: bold;
  font-size: 25px !important;
}

a.next {
  background-color: #282b3a !important;
  height: 57px !important;
  width: 100% !important;
  color: #fff !important;
  font-weight: 700 !important;
  align-items: center;
  justify-content: center;
  display: flex;
}
a.next:hover {
  color: #fff !important;
}

.back {
  color: var(--color-primary);
  height: 57px;
  width: 100%;
  border: 1px solid #282b3a;
  font-weight: 700;
  background: transparent !important;
  font-weight: bold;
  font-size: 25px !important;
}

.terms-and-condations {
  text-decoration: underline;
  color: var(--color-primary);
  padding-inline-start: 20px;
}

.btns-group {
  display: flex;
  gap: 10px;
}
.btns-group .next {
  width: calc(70% - 10px);
}
.btns-group .back {
  width: 30%;
}

#case-status {
  padding-left: 30px;
  /* Adjust based on flag size */
}

.option-flag {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  /* Adjust flag size */
  height: 20px;
  /* Adjust flag size */
}

.select2 {
  width: 100% !important;
}

.select2-container--default .select2-selection--single {
  padding-left: 30px;
  background: var(--color-second) url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" stroke="%23666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down"><path d="M6 9l4 4 4-4"></path></svg>') no-repeat left 10px center;
  /* Adjust based on flag size */
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
  display: none;
}
.select2-container--default .select2-selection--single .select2-results__option--highlighted.select2-results__option--selectable {
  background: var(--color-primary) !important;
}

.case {
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  background: var(--color-second);
  padding: 60px 20px;
  position: relative;
}
.case::after {
  content: "";
  background-image: url("../assets/images/hero.png");
  background-repeat: no-repeat;
  background-position: right;
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
}
.case .avatar {
  position: absolute;
  inset: 0px;
  z-index: 1;
}
.case .avatar .line {
  width: 100px;
}
.case .avatar .left-line {
  top: -16px;
  position: relative;
  right: -10px;
}
.case .victor {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
}
.case input[type=radio] {
  width: fit-content;
  width: fit-content;
  appearance: auto;
  accent-color: var(--color-primary);
  width: 15px;
  height: 15px;
}
.case .btn-forrward {
  border: 1px solid #fff;
  border-radius: 50%;
  position: absolute;
  display: block;
  width: 42px;
  height: 42px;
  left: 30px;
  top: 30px;
  padding: 5px;
}
.case .btn-forrward img {
  width: 32px;
  height: 42px;
  color: #fff;
}
.case .inner {
  display: flex;
  position: relative;
  flex-direction: column;
  z-index: 4;
}
.case .inner .inner-top {
  max-width: 600px;
  margin: auto;
  text-align: center;
}
.case .inner .inner-top img {
  width: 100px;
  margin-bottom: 15px;
}
.case .inner .inner-top h4 {
  color: var(--color-primary);
  font-size: 40px !important;
}
.case .inner .inner-bottom {
  background-color: #fff;
  max-width: 700px;
  margin: 75px auto;
  position: relative;
  z-index: 4;
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.3019607843);
  box-shadow: 0px 8px 12px 6px rgba(0, 0, 0, 0.1490196078);
}
.case .inner .inner-bottom .form-title {
  width: 100%;
  padding: 20px;
  background-color: var(--color-third);
  display: flex;
  justify-content: center;
  align-items: center;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.case .inner .inner-bottom .form-title .steps ul {
  list-style: none;
}
.case .inner .inner-bottom .form-title .steps ul li {
  float: left;
  color: #282b3a;
  border: 1px solid #282b3a;
  width: 30px;
  height: 30px;
  padding: 0 15px;
  position: relative;
  cursor: pointer;
  margin: 5px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.case .inner .inner-bottom .form-title .steps ul li::after {
  content: "";
  position: absolute;
  height: 1px;
  width: 10px;
  background-color: #282b3a;
  left: -11px;
  top: 50%;
}
.case .inner .inner-bottom .form-title .steps ul li:hover, .case .inner .inner-bottom .form-title .steps ul li.active,
.case .inner .inner-bottom .form-title .steps ul li .current {
  background-color: #d3ae8e;
  border: none;
}
.case .inner .inner-bottom .form-title .steps ul li:first-child::before, .case .inner .inner-bottom .form-title .steps ul li:first-child::after {
  display: none;
}
.case .inner .inner-bottom .form-title h3 {
  font-weight: bold;
  color: var(--color-primary);
  font-size: 30px;
}

.negotiable {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-inline-start: 20px;
}
.negotiable .radio-buttons {
  display: flex;
  align-items: center;
  gap: 20px;
}
.negotiable .radio-buttons > div {
  align-items: center;
  gap: 6px;
}

.voice-body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.voice-body .record-button {
  height: 63px;
  width: 63px;
}
.voice-body .record-button i {
  font-size: 40px;
  color: #fff;
}
.voice-body .voice-notes {
  width: calc(100% - 68px);
  min-height: 73px;
}

.container-voice {
  margin-top: 50px;
  padding: 20px;
}

.voice-notes {
  border: 2px dashed #ccc;
  padding: 10px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.voice-note {
  background: #f1f1f1;
  border-radius: 20px;
  padding: 5px 10px;
  margin: 5px;
  display: flex;
  align-items: center;
}

.voice-note audio {
  display: none;
}

.voice-note img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

.voice-note button {
  background: none;
  border: none;
  color: red;
  font-size: 20px;
  cursor: pointer;
  margin-left: 10px;
}

.record-button {
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  background-color: var(--color-primary);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

.record-button.recording {
  background-color: rgba(5, 192, 5, 0.7294117647);
  border-color: rgba(5, 192, 5, 0.7294117647);
}

.title {
  font-size: 18px;
  margin-bottom: 10px;
}

.file-upload {
  width: 100%;
  padding: 50px;
  border: 2px dashed #ccc;
  text-align: center;
  position: relative;
}
.file-upload.active {
  box-shadow: 0px 9px 10px 1px rgba(0, 0, 0, 0.2509803922);
  border: #d3ae8e 2px dashed;
}
.file-upload .fileButton-container {
  position: absolute;
  top: 30px;
  left: 30px;
  width: 30px;
  height: 30px;
  background-color: transparent;
  font-size: 50px;
  cursor: pointer;
  border: 2px solid #D9D2C0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.file-upload .fileButton-container .add-file-button {
  font-size: 30px;
  line-height: 0;
  color: #D9D2C0;
}
.file-upload .uploaded-files-contaianer {
  width: 100%;
  min-height: 0px;
}
.file-upload .uploaded-files-contaianer .uploaded-files {
  margin-top: 20px;
  display: flex;
  justify-content: start;
  align-items: start;
  flex-wrap: wrap;
  gap: 15px;
}
.file-upload .uploaded-files-contaianer .uploaded-files .remove-file {
  color: rgba(214, 10, 10, 0.774);
}
.file-upload .uploaded-files-contaianer .file-item {
  width: 100px;
}
.file-upload .uploaded-files-contaianer .file-item img {
  width: 100px;
}

.file-upload input[type=file] {
  display: none;
}

.file-upload .icon {
  width: 50px;
  height: 50px;
}

.file-upload .instructions {
  font-size: 1.25rem;
  margin-top: 10px;
  font-family: "Helvetica, Arial, sans-serif";
  color: #333;
}

.file-upload .file-types {
  font-size: 0.875rem;
  color: #aaa;
}

.select2-search__field {
  display: none;
}

.select2-container .select2-selection--single {
  padding: 5px;
  height: 46px !important;
  display: flex;
  display: flex;
  align-items: center;
  width: 100% !important;
}

.select2-selection__arrow {
  top: 50% !important;
  transform: translateY(-50%);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 36px;
  display: flex;
  align-items: center;
}

.flag-icon {
  margin-right: 8px;
}

.review-container {
  width: 100%;
  display: flex;
  justify-content: end;
  align-items: center;
  padding: 0 50px;
}
.review-container .review-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #282b3a;
  height: 45px;
  padding: 7px 15px;
  width: 150px;
  border: 1px solid #282b3a;
  font-weight: 700;
  border-radius: 20px;
}
.review-container .review-btn img {
  height: 15px;
  margin-right: 5px;
}

.choise-form {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.choise-form .choise {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.choise-form .choise .choise-yes {
  color: #d3ae8e !important;
}
.choise-form .choise label {
  cursor: pointer;
}

.my-sign-form .review-container {
  display: none;
}
.my-sign-form .the-visiable {
  display: flex;
}
.my-sign-form input.active {
  box-shadow: none;
  border: 1px solid #ccc;
}

.review-case .myContainer {
  padding: 0 20px;
}
@media (max-width: 768px) {
  .review-case .myContainer {
    padding: 0;
  }
}
.review-case .form-title {
  height: auto !important;
  background-color: transparent !important;
  color: #282b3a !important;
  font-weight: 700 !important;
  margin: 20px 40px;
  justify-content: start !important;
  padding: 20px 0;
  width: calc(100% - 40px) !important;
  border-bottom: solid 1px rgba(15, 17, 30, 0.3019607843);
}
@media (max-width: 768px) {
  .review-case .form-title {
    margin: 20px;
  }
}
.review-case .inner-bottom {
  background-color: #f4f4f4;
}
.review-case .review-form .review-data-group {
  margin: 20px 0;
}
.review-case .review-form .form-group {
  border-bottom: solid 1px rgba(15, 17, 30, 0.3019607843);
}
.review-case .review-form .form-group .voice-notes {
  width: 100% !important;
  border: none;
  margin-top: 20px;
  justify-content: center;
  align-items: center;
}
.review-case .review-form .form-group .voice-body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.review-case .review-form .form-group .voice-body .record-button {
  height: 63px;
  width: 63px;
}
.review-case .review-form .form-group .voice-body .record-button i {
  font-size: 40px;
  color: #fff;
}
.review-case .review-form .form-group .voice-body .voice-notes {
  width: calc(100% - 68px);
  min-height: 73px;
}
.review-case .review-form .form-group label {
  width: calc(100% - 100px);
}
.review-case .review-form .form-group a {
  width: 90px;
  background-color: transparent;
  color: #d3ae8e;
}
.review-case .review-form .form-group .review-item-title {
  color: rgba(15, 17, 30, 0.6980392157);
}
.review-case .review-form .form-group .review-item-subtitle {
  color: rgba(15, 17, 30, 0.6980392157);
}
.review-case .uploaded-files-contaianer {
  width: 100%;
  min-height: 0px;
}
.review-case .uploaded-files-contaianer .uploaded-files {
  margin: 20px 0;
  display: flex;
  justify-content: start;
  align-items: start;
  flex-wrap: wrap;
  gap: 15px;
}
.review-case .uploaded-files-contaianer .file-item {
  width: 100px;
}
.review-case .uploaded-files-contaianer .file-item img {
  width: 100px;
}
.review-case .container-voice {
  margin: 0 !important;
}