/* DESK FORM */
.ark-desk-wrapper * {
  box-sizing: border-box;
}

.ark-desk-wrapper {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1rem;
  background-image: linear-gradient(to bottom right, #eff6ff, #fff, #eef2ff);
}

.ark-desk-wrapper .border-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  color: #fff;
  background-color: #2563eb;
}

.ark-desk-header {
  text-align: center;
  margin-bottom: 2rem;
}

.ark-desk-header .border-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto;
  margin-bottom: 1rem;
}

.ark-desk-header h1 {
  font-size: 2.25rem;
  line-height: 2.5rem;
  color: #111827;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}

.ark-desk-header h2 {
  color: #4b5563;
  font-size: 1.25rem;
  line-height: 1.75rem;
  margin: 0 0 0.5rem 0;
}

.ark-desk-header p {
  color: #6b7280;
  margin: 0;
  font-size: 1rem;
}

.ark-desk-notices {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid #bfdbfe;
  background-color: #eff6ff;
  margin-bottom: 2rem;
}

.ark-desk-notices .border-icon {
  width: 2rem;
  height: 2rem;
}

.ark-desk-notices h3 {
  color: #1e3a8a;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.ark-desk-notices ul {
  color: #1e40af;
  font-size: 0.875rem;
  line-height: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 500;
}

.ark-desk-notices ul li+li {
  margin-top: 0.25rem;
}

.ark-desk-form-wrapper {
  max-width: 56rem;
  width: 100%;
  margin: 0 auto;
  border-radius: 0.5rem;
  background-color: #fff;
  border-color: 1px solid #e4e4e7;
  box-shadow: 0 0 #0000, 0 0 #0000, 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.ark-desk-form-wrapper h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  margin-top: 0;
}

.loading {
  transition: 0.5s ease-in-out;
  opacity: 0.6;
  pointer-events: none;
}

.desk-form-header {
  color: #fff;
  padding: 1.5rem;
  border-radius: 0.5rem 0.5rem 0 0;
  background-image: linear-gradient(to right, #2563eb, #4f46e5);
}

.desk-form-header h2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  line-height: 2rem;
  margin: 0;
}

.desk-form-header p {
  margin: 0.375rem 0 0;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.desk-form-body {
  padding: 2rem;
}

.desk-form-body form>div+div {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e4e4e7;
}

.desk-form-body h3 {
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: #111827;
}

.desk-form-body h3 i {
  color: #2563eb;
}

.desk-submit-wrapper {
  text-align: center;
}

.desk-form-footer {
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.25rem;
  padding-top: 1rem;
  padding-bottom: 2rem;
}

.ark-desk-footer {
  text-align: center;
  margin-top: 3rem;
  color: #6b7280;
}

.ark-desk-footer p {
  font-size: 0.875rem;
  line-height: 1.25rem;
  margin: 0 0 0.25rem 0;
}

.ark-desk-footer small {
  display: block;
  font-size: 0.75rem;
  line-height: 1rem;
}

.ark-desk-submit {
  cursor: pointer;
  border: 0 !important;
  color: #fff;
  font-weight: 600;
  display: inline-flex;
  gap: 0.5rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  padding: 0.75rem 2rem;
  transition: 0.2s ease-in-out;
  border-radius: calc(0.5rem - 2px);
  background-image: linear-gradient(to right, #2563eb, #4f46e5);
  box-shadow: 0 0 #0000, 0 0 #0000, 0 0 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.ark-desk-submit:hover {
  background-image: linear-gradient(to right, #1d4ed8, #4338ca);
}

/* FORMS */
.postbox .form-header,
.postbox .form-row {
  max-width: 700px;
  margin: 0 auto;
  box-sizing: border-box;
}

.form-header {
  padding: 1.5rem 0;
}

.form-header h2 {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  padding: 0 !important;
}

.form-header p {
  margin-top: 4px !important;
  margin-bottom: 0 !important;
}

.form-card,
.card-row {
  border-radius: 0.5rem;
  border: 1px solid #e4e4e7;
  padding: 1.5rem;
}

.form-row+.form-row,
.card-row+.card-row {
  margin-top: 1.5rem;
}

.form-row p+p {
  margin-top: 0.25rem;
}

.form-row h3 {
  color: #111827 !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.5rem 0;
}

.form-row h4 {
  font-size: 1rem;
  color: #111827 !important;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.form-row label {
  color: #111827 !important;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  display: block;
  margin-bottom: 0.5rem;
}

.form-row label span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #18181b;
  font-weight: 600;
  font-size: 0.75rem;
  margin-left: 0.5rem;
  padding: 0.125rem 0.625rem;
  background-color: #f4f4f5;
  border-radius: 9999px;
}

.form-row input[type=text],
.form-row input[type=number],
.form-row input[type=email],
.form-row input[type=date],
.form-row input[type=time],
.form-row input[type=file],
.form-row input[type=url],
.form-row input[type=password],
.form-row select,
.form-row textarea {
  color: #000;
  height: 2.5rem;
  width: 100%;
  max-width: 100%;
  font-size: 0.875rem;
  line-height: 1.25rem;
  padding: 0.5rem 0.75rem;
  background-color: #fff;
  border: 1px solid #e4e4e7;
  border-radius: calc(0.5rem - 2px);
  margin: 0;
}

.form-row textarea:not(.select2-search__field) {
  height: auto;
  min-height: 80px;
  resize: vertical;
  font-family: inherit;
}

.form-row input[type=date] {
  cursor: pointer;
}

.form-row input[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-row .select2-selection {
  min-height: 2.5rem !important;
  border: 1px solid #e4e4e7 !important;
  border-radius: calc(0.5rem - 2px) !important;
  padding: 0.5rem 0.75rem !important;
}

.form-row .select2-selection--multiple {
  align-items: center;
  flex-wrap: wrap;
}

.form-row .select2-selection__choice {
  margin-top: 4px !important;
  margin-bottom: 4px !important;
}

.form-row .select2-search--inline {
  min-width: 200px;
}

.form-row .select2-search__field {
  margin-top: 0 !important;
  font-size: 0.875rem !important;
  font-family: inherit !important;
}

.form-row .select2-selection--clearable .select2-search__field {
  margin-bottom: 4px !important;
}

.form-row .select2-selection__rendered {
  color: #000 !important;
  font-size: 0.875rem;
  line-height: 1.25rem !important;
  padding-left: 0 !important;
}

.form-row .select2-selection__placeholder {
  color: inherit !important;
}

.form-row .select2-selection__arrow {
  top: 6px !important;
}

.form-row p {
  font-size: 0.875rem;
  line-height: 1.25rem;
  margin: 0;
}

.form-row small {
  display: block;
  font-size: 0.75rem;
  line-height: 1rem;
  margin-top: 0.5rem;
}

.link-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.ark-button {
  cursor: pointer;
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 500;
  align-items: center;
  gap: 0.5rem;
  height: 2.25rem;
  padding: 0.25rem 0.75rem;
  color: #000;
  border: 1px solid #e4e4e7;
  background-color: #fff;
  box-sizing: border-box;
  text-decoration: none;
  border-radius: calc(0.5rem - 2px);
  transition: 0.3s ease-in-out !important;
}

.ark-button:hover {
  color: #000;
  background-color: #f4f4f5;
}

.ark-button.button-big {
  height: 2.5rem;
  padding: 0.5rem 1rem;
}

.ark-button.primary {
  color: #fff;
  border-color: #18181b;
  background-color: #18181b;
}

.ark-button.primary:hover {
  background-color: #18181be6;
}


.ark-drop-file {
  cursor: pointer;
  position: relative;
  text-align: center;
  padding: 1.5rem;
  border-radius: 0.5rem;
  transition: 0.2s ease-in-out;
  border: 2px dashed #d1d5db;
}

.ark-drop-file i {
  color: #9ca3af;
}

.ark-drop-file p {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
  color: #2563eb;
  margin-top: 0.5rem;

}

.ark-drop-file input {
  position: absolute;
  top: 0;
  left: 0;
  height: 0 !important;
  opacity: 0;
  z-index: -1;
}

.ark-drop-file:hover {
  border-color: #60a5fa;
}

/* BOOTS */

.hidden {
  display: none !important;
}

.grid {
  display: grid;
  gap: 1rem;
}

.flex {
  display: flex !important;
  align-items: center;
}

.flex-wrap {
  flex-wrap: wrap;
}

.j-between {
  justify-content: space-between;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.fs-4 {
  font-size: 1rem;
}

.fs-5 {
  font-size: 1.25rem;
}

.fs-6 {
  font-size: 1.5rem;
}

.fs-8 {
  font-size: 2rem;
}

.fw-500 {
  font-weight: 500;
}

.mt-0 {
  margin-top: 0 !important;
}

.ml-auto {
  margin-left: auto;
}

.col-span-2 {
  grid-column: span 2;
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ICONS */

@font-face {
  font-family: 'icomoon';
  src: url('../fonts/icomoon.eot?kb7xxn');
  src: url('../fonts/icomoon.eot?kb7xxn#iefix') format('embedded-opentype'),
    url('../fonts/icomoon.ttf?kb7xxn') format('truetype'),
    url('../fonts/icomoon.woff?kb7xxn') format('woff'),
    url('../fonts/icomoon.svg?kb7xxn#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"],
[class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-send:before {
  content: "\e917";
}

.icon-plus:before {
  content: "\e915";
}

.icon-document-alt:before {
  content: "\e916";
}

.icon-arrow-left:before {
  content: "\e913";
}

.icon-balance:before {
  content: "\e914";
}

.icon-delete:before {
  content: "\e90f";
}

.icon-table:before {
  content: "\e910";
}

.icon-edit:before {
  content: "\e911";
}

.icon-download:before {
  content: "\e912";
}

.icon-money:before {
  content: "\e90e";
}

.icon-upload:before {
  content: "\e909";
}

.icon-lock:before {
  content: "\e90a";
}

.icon-red:before {
  content: "\e90b";
}

.icon-camera:before {
  content: "\e90c";
}

.icon-link:before {
  content: "\e90d";
}

.icon-calendar:before {
  content: "\e904";
}

.icon-clock:before {
  content: "\e905";
}

.icon-eye:before {
  content: "\e906";
}

.icon-user-group:before {
  content: "\e907";
}

.icon-user-check:before {
  content: "\e908";
}

.icon-email:before {
  content: "\e900";
}

.icon-document:before {
  content: "\e901";
}

.icon-shield:before {
  content: "\e902";
}

.icon-user:before {
  content: "\e903";
}


/* MATCH */

.icon-ark_secretaria::before {
  content: "\e902";
}

.icon-ark_demandante::before {
  content: "\e908";
}

.icon-ark_demandado::before {
  content: "\e907";
}

.icon-ark_arbitro::before {
  content: "\e906";
}

.icon-arrow-left.top {
  transform: rotate(90deg);
}

.icon-arrow-left.down {
  transform: rotate(-90deg);
}

.icon-location::before {
  content: '';
  display: block;
  width: 0.75rem;
  height: 0.75rem;
  mask-repeat: no-repeat;
  mask-size: contain;
  background-color: currentColor;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='lucide lucide-map-pin h-3 w-3 text-muted-foreground'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'%3E%3C/path%3E%3Ccircle cx='12' cy='10' r='3'%3E%3C/circle%3E%3C/svg%3E");
}