.sonic-mb-0 {
  margin-bottom: 0rem;
}
.sonic-mb-05 {
  margin-bottom: 0.5rem;
}
.sonic-mb-1 {
  margin-bottom: 1rem;
}
.sonic-mb-2 {
  margin-bottom: 2rem;
}
.sonic-mb-3 {
  margin-bottom: 3rem;
}
.sonic-mb-4 {
  margin-bottom: 4rem;
}
.sonic-mb-5 {
  margin-bottom: 5rem;
}
.sonic-mt-05 {
  margin-top: 0.5rem;
}
.sonic-mt-0 {
  margin-top: 0rem;
}
.sonic-mt-1 {
  margin-top: 1rem;
}
.sonic-mt-2 {
  margin-top: 2rem;
}
.sonic-mt-3 {
  margin-top: 3rem;
}
.sonic-mt-4 {
  margin-top: 4rem;
}
.sonic-mt-5 {
  margin-top: 5rem;
}
.sonic-text-s0 {
  font-size: 10px;
}
.sonic-text-s1 {
  font-size: 12px;
}
.sonic-text-s2 {
  font-size: 14px;
}
.sonic-text-s3 {
  font-size: 16px;
}
.sonic-text-s4 {
  font-size: 18px;
}
.sonic-font-w1 {
  font-weight: 100;
}
.sonic-font-w2 {
  font-weight: 200;
}
.sonic-font-w3 {
  font-weight: 300;
}
.sonic-font-w4 {
  font-weight: 400;
}
.sonic-font-w5 {
  font-weight: 500;
}
.sonic-font-w6 {
  font-weight: 600;
}
.sonic-font-w7 {
  font-weight: 700;
}
.sonic-font-w8 {
  font-weight: 800;
}
.sonic-font-w9 {
  font-weight: 900;
}
/** buttons */
.sonic-btn {
  cursor: pointer;
  padding: 6px 12px;
  margin-top: 10px;
  border-radius: 6px;
  display: inline-block;
}
.sonic-btn-primary {
  background: #11224e;
  color: #fff;
}
.sonic-btn-danger {
  background: #e74c3c;
  color: #fff;
}
.sonic-btn-success {
  background: #59ac77;
  color: #fff;
}
.sonic-btn-warning {
  background: #f1c40f;
  color: #fff;
}
.sonic-btn-info {
  background: #0073aa;
  color: #fff;
}
/** badge */
.sonic-badge {
  padding: 0px 3px;
  border-radius: 4px;
}
.sonic-badge-success {
  background: #59ac77;
  color: #fff;
}
.sonic-badge-danger {
  background: #e74c3c;
  color: #fff;
}
.sonic-badge-warning {
  background: #f1c40f;
  color: #fff;
}
.sonic-badge-info {
  background: #0073aa;
  color: #fff;
}
.sonic-badge-primary {
  background: #11224e;
  color: #fff;
}

/* docs status  */
.sonic-docstatus-data-pending {
  background-color: #253b8e;
  color: #fff;
}
.sonic-docstatus-data-completed {
  background-color: #28a745;
  color: #fff;
}
.sonic-docstatus-data-reject {
  background-color: #b22222;
  color: #fff;
}
.sonic-docstatus-data-processing {
  background-color: #3959ce;
  color: #fff;
}
.sonic-docstatus-data-on-hold {
  background-color: #999999;
  color: #fff;
}
.sonic-docstatus-data {
  font-size: 12px;
  padding: 5px;
  border-radius: 4px;
  font-weight: 500;
}
span.sonic-title {
  font-size: 15px;
  font-weight: 600;
}
input#aria_upload_files {
  /* width: 100%; */
}

.sonic--upload-item img {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sonic--upload-item {
  position: relative;
  width: 85px;
  height: 85px;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  margin: 0px;
  display: inline-block;
}
.sonic--delete-btn {
  position: absolute;
  top: 3px;
  right: 3px;
  background: #333;
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 2px 6px;
  font-size: 12px;
  width: 20px;
  height: 20px;
  border-radius: 4px;
}

/* popup  */
/* Overlay background */
.sonic-popup-overlay {
  display: none; /* hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

/* Popup box */
.sonic-popup-content {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.3s ease;
}

/* Close button */
.sonic-close-btn {
  position: absolute;
  top: 5px;
  left: 15px;
  font-size: 22px;
  cursor: pointer;
  color: #555;
}
.sonic-btn {
  cursor: pointer;
  padding: 6px 12px;
}

/* Simple animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.sonic-docdetalis-wrapper {
  background-color: #fff;
  border: 1px solid #ebebeb;
  padding: 10px;
  border-radius: 8px;
}
.sonic-docstatus-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;

  background-color: #fff;
  border: 1px solid #ebebeb;
  padding: 10px;
  border-radius: 8px;
}

.sonic-admin-message-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
}

.sonic-admin-message {
  background: #fafafa;
  border-radius: 8px;
  border: 1px solid #ededed;
  padding: 15px;
}
.sonic-admin-message-img img {
  border-radius: 8px;
}
.sonic-admin-message-header-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.sonic-admin-message-body {
  color: #333;
}

.sonic-docstatus-title {
  display: flex;
  flex-direction: row;
  align-content: center;
  gap: 5px;
}
span.sonic-woo-field-label {
  font-weight: 600;
}
.sonic-woo-field-wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  text-align: justify;
}
.sonic-text-left {
  text-align: left;
}
.sonic-text-admin-num {
  direction: ltr;
  unicode-bidi: embed;
  display: inline-block;
  text-align: left;
  margin: 2px 5px 0 5px;
}
.ctc-copy-card {
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 12px;
}
.ctc-field-radio-group-wrapper {
  position: relative;
}

.ctc-copy-card {
  cursor: pointer;
  padding: 6px 12px;
  background: #0073aa;
  color: #fff;
  border-radius: 4px;
  user-select: none;
}

.has-error,
.has-error:focus {
  border-color: #e74c3c !important;
}
.ctc-error-message {
  color: #e74c3c;
  font-size: 13px;
  margin-top: 4px;
  display: block;
}

.ctc-radio-label-wrapper {
  display: flex;
  align-content: center;
  align-items: center;
  flex-direction: row;
  justify-content: flex-start;
  margin-bottom: 10px;
  cursor: pointer;
}
.ctc-radio-label-wrapper.checked {
  border: 2px solid #59ac77;

  background: #59ac7727;
}

.ctc-radio-label-wrapper {
  border: 2px solid #d4d4d4;
  border-radius: 4px;
  padding: 10px 7px;
  transition: all 0.2s ease;
}
.ctc-field-radio[type="radio"] {
  display: none;
}
.ctc-field-radio[type="radio"]:checked + .ctc-radio-label-wrapper {
  border: 1px solid #59ac77;
}

.ctc-radio-label-wrapper.checked:before {
  content: "";
  width: 15px;
  height: 15px;
  background: #59ac77;
  border: 1px solid #59ac77;
  border-radius: 4px;
}
.ctc-radio-label-wrapper:before {
  content: "";
  width: 15px;
  height: 15px;
  background: #d4d4d4;
  border: 1px solid #d4d4d4;
  border-radius: 4px;
  transition: all 0.2s ease;
}

div#admin_card-wrapper {
  width: 100%;
}

span.ctc-radio-text {
  position: relative;
  font-size: 12px;
  font-weight: 600;
}

.ctc-loader {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  position: relative;
  animation: rotate 0.8s linear infinite;
}
.ctc-loader::before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  inset: 0px;
  border-radius: 50%;
  border: 3px solid #fff;
  animation: prixClipFixCtc 2s linear infinite;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes prixClipFixCtc {
  0% {
    clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0);
  }
  25% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0);
  }
  50% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%);
  }
  75% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%);
  }
  100% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0);
  }
}

.ctc-loader-wrapper {
  background: #333c42;
  width: 100%;
  height: 100%;
  position: absolute;
  display: none;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
}

.ctc-loader {
  position: absolute;
}
/* Wrapper with dashed border */
.sonic-custom-upload-wrapper {
  border: 2px dashed #d4d4d4; /* Dashed border */
  border-radius: 8px; /* Rounded corners */

  text-align: center;
  cursor: pointer;
  transition: border-color 0.3s, background-color 0.3s;
  display: inline-block;
  width: 100%;
  position: relative;
}

/* Hover effect */
.sonic-custom-upload-wrapper:hover {
  border-color: #555;
  background-color: #f9f9f9;
}

/* Hide the default file input */
.sonic-custom-file-input {
  display: none;
}

/* Label styling */
.sonic-custom-file-label {
  font-size: 16px;
  color: #c1c1c1;
  display: block;
  width: 100%;
  height: 100%;
  padding: 50px;
  cursor: pointer;
}

div#sonic-ajax-save-wrapper {
  background: #fff;
  padding: 5px 15px 10px 15px;
  border-radius: 8px;
}
fieldset.sonic-payment-fields {
  padding: 0;
  border: unset;
}

.ctc-form-field label {
  display: block;
  width: 100%;
}
.ctc-form-field input,
.ctc-form-field textarea {
  width: 100%;
}

label.ctc-radio-label {
  width: auto;
}

.ctc-radio-label-wrapper {
  flex-wrap: wrap;
  color: #333;
}
h3.sonic-form-title {
  font-size: 16px;
  font-weight: 600;
  margin-top: 10px;
}
p.sonic-form-subtitle {
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid #e1e1e1;
  padding-bottom: 5px;
  margin-bottom: 5px !important;
}
span.sonic--delete-btn {
  line-height: 18px;
}
div#sonic--heelo-iam-safiajidajp-wrapper {
  width: 100%;
}
