﻿.te2 {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
}
.te2__card {
  background: #fff;
  border: 1px solid #c3c6d7;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: box-shadow 0.25s ease;
  margin-bottom: 20px;
  width: 49%;
}
.te2__card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.te2__card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #eef0fa;
  border-bottom: 1px solid rgba(195, 198, 215, 0.3);
  transition: background 0.15s;
}
.te2__card-head:hover {
  background: rgb(230.1181818182, 233.0454545455, 247.6818181818);
}
.te2__head-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  user-select: none;
}
.te2__card-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: #126;
}
.te2__body {
  padding: 16px 20px;
}
.te2__badge {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: lowercase;
}
.te2__badge--required {
  background: rgba(38, 55, 124, 0.08);
  color: #26377c;
}
.te2__badge--optional {
  background: rgba(107, 111, 138, 0.1);
  color: #6b6f8a;
}
.te2__lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: none;
  background: none;
  border-radius: 6px;
  cursor: pointer;
  color: rgba(107, 111, 138, 0.4);
  font-size: 12px;
  flex-shrink: 0;
  transition: color 0.15s, background 0.15s;
}
.te2__lock:hover {
  color: #6b6f8a;
  background: rgba(195, 198, 215, 0.15);
}
.te2__lock--active {
  color: #26377c;
}
.te2__lock--active:hover {
  color: #26377c;
  background: rgba(38, 55, 124, 0.08);
}
.te2__chevron {
  width: 18px;
  height: 18px;
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
}
.te2__chevron::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid #6b6f8a;
  border-bottom: 2px solid #6b6f8a;
  transform: translate(-50%, -65%) rotate(45deg);
  transition: transform 0.2s;
}
.te2__chevron--collapsed::before {
  transform: translate(-50%, -35%) rotate(-135deg);
}
.te2__chevron--locked {
  opacity: 0.3;
  cursor: default;
}
.te2__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.te2__dot--blue {
  background: #26377c;
}
.te2__dot--green {
  background: #22c55e;
}
.te2__dot--amber {
  background: #f59e0b;
}
.te2__field {
  margin-bottom: 14px;
}
.te2__field:last-child {
  margin-bottom: 0;
}
.te2__lbl {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #0a143c;
  margin-bottom: 4px;
  user-select: none;
}
.te2__ctrl {
  position: relative;
  width: 100%;
}
.te2__ctrl::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #26377c;
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}
.te2__ctrl:hover::after, .te2__ctrl:focus-within::after {
  transform: scaleX(1);
}
.te2__input {
  display: block;
  width: 100% !important;
  box-sizing: border-box !important;
  height: 34px !important;
  padding: 0 12px !important;
  font-size: 13px !important;
  color: #3a3f54 !important;
  background: #fff !important;
  border: 1px solid #ced4da !important;
  border-radius: 4px !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.te2__input::placeholder {
  color: rgba(107, 111, 138, 0.5);
}
.te2__input:focus {
  border-color: #26377c !important;
  box-shadow: 0 0 0 3px rgba(38, 55, 124, 0.06) !important;
}
.te2__input[readonly] {
  background: rgba(249, 250, 255, 0.5) !important;
  color: #6b6f8a !important;
}
.te2__input--area {
  height: auto !important;
  min-height: 100px;
  padding: 8px 12px !important;
  resize: vertical;
}
.te2 select.te2__input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6f8a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.te2__ctrl--tags .te2__tags-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  width: 100%;
  min-height: 34px;
  padding: 4px 10px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.te2__ctrl--tags .te2__tags-box:focus-within {
  border-color: #26377c;
  box-shadow: 0 0 0 3px rgba(38, 55, 124, 0.06);
}
.te2__ctrl--tags .te2__tags-input {
  flex: 1;
  min-width: 80px;
  border: none;
  outline: none;
  font-size: 13px;
  color: #3a3f54;
  background: transparent;
  padding: 4px 4px;
}
.te2__ctrl--tags .te2__tags-input::placeholder {
  color: rgba(107, 111, 138, 0.5);
}
.te2__dx--tags input {
  height: auto !important;
  min-height: 30px !important;
  padding: 0 10px !important;
}
.te2__row {
  display: flex;
  gap: 14px;
}
.te2__row > .te2__field {
  flex: 1;
  min-width: 0;
}
.te2__chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.te2__chip {
  border: 1.5px solid transparent;
  padding: 6px 16px;
  border-radius: 22px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  background: #fff;
  color: #6b6f8a;
  transition: all 0.15s;
}
.te2__chip--p1 {
  color: #16a34a;
  border-color: rgba(34, 197, 94, 0.3);
}
.te2__chip--p2 {
  color: #26377c;
  border-color: rgba(38, 55, 124, 0.3);
}
.te2__chip--p3 {
  color: #d97706;
  border-color: rgba(245, 158, 11, 0.3);
}
.te2__chip--p4 {
  color: #dc2626;
  border-color: rgba(220, 38, 38, 0.3);
}
.te2__chip--active.te2__chip--p1 {
  background: #22c55e;
  color: #fff;
  border-color: #22c55e;
}
.te2__chip--active.te2__chip--p2 {
  background: #26377c;
  color: #fff;
  border-color: #26377c;
}
.te2__chip--active.te2__chip--p3 {
  background: #f59e0b;
  color: #fff;
  border-color: #f59e0b;
}
.te2__chip--active.te2__chip--p4 {
  background: #dc2626;
  color: #fff;
  border-color: #dc2626;
}
.te2__chip:hover:not(.te2__chip--active) {
  filter: brightness(0.96);
}
.te2__field--warn .te2__input {
  border-color: rgba(245, 158, 11, 0.6);
  background: rgba(245, 158, 11, 0.03);
}
.te2__field--warn .dxbl-input-group,
.te2__field--warn .dxbl-dropdownedit,
.te2__field--warn .dxbl-edit,
.te2__field--warn [class*=dxbl-input],
.te2__field--warn [class*=dxbl-edit],
.te2__field--warn [class*=dxbl-dropdown] {
  border-color: rgba(245, 158, 11, 0.6) !important;
  background: rgba(245, 158, 11, 0.03) !important;
}
.te2__field--warn .te2__dx::after {
  background: #f59e0b;
  width: 100%;
  left: 0;
}
.te2__dx {
  width: 100%;
  position: relative;
}
.te2__dx > * {
  width: 100% !important;
  max-width: 100% !important;
}
.te2__dx > .dxbl-input-group,
.te2__dx > .dxbl-dropdownedit,
.te2__dx > .dxbl-edit,
.te2__dx > [class*=dxbl-edit],
.te2__dx > [class*=dxbl-dropdown] {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 34px;
  border-radius: 4px !important;
  border: 1px solid #ced4da !important;
  background: #fff !important;
  box-shadow: none !important;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.te2__dx > .dxbl-input-group:focus-within,
.te2__dx > .dxbl-dropdownedit:focus-within,
.te2__dx > .dxbl-edit:focus-within,
.te2__dx > [class*=dxbl-edit]:focus-within,
.te2__dx > [class*=dxbl-dropdown]:focus-within {
  border-color: #26377c !important;
  box-shadow: 0 0 0 3px rgba(38, 55, 124, 0.06) !important;
}
.te2__dx .dxbl-input-group .dxbl-input-group,
.te2__dx .dxbl-edit .dxbl-input-group,
.te2__dx .dxbl-edit .dxbl-btn-group {
  border: none !important;
  box-shadow: none !important;
  min-height: 0;
}
.te2__dx input {
  height: 34px !important;
  font-size: 13px !important;
  padding: 0 12px !important;
  border: none !important;
  background: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}
.te2__dx button,
.te2__dx .dxbl-btn {
  border: none !important;
  border-left: none !important;
  border-right: none !important;
  background: transparent !important;
  box-shadow: none !important;
}
.te2__dx .dxbl-btn-group,
.te2__dx .dxbl-input-group-append,
.te2__dx [class*=dxbl-btn] {
  border: none !important;
  border-left: none !important;
  box-shadow: none !important;
}
.te2__dx .dxbl-edit-btn-clear {
  padding: 0 4px !important;
  min-width: auto !important;
  width: auto !important;
  flex: 0 0 auto !important;
}
.te2__dx .dxbl-edit-input,
.te2__dx .dxbl-input {
  flex: 1 1 auto !important;
}
.te2__dx .dxbl-validation-icon,
.te2__dx .dxbl-edit-validation-icon,
.te2__dx [class*=validation-icon],
.te2__dx .input-group-text,
.te2__dx .dxbl-input-group-prepend,
.te2__dx .dxbl-input-group-text {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: 36px !important;
  min-width: 0 !important;
  padding: 0 6px !important;
}
.te2__dx::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #26377c;
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}
.te2__dx:hover::after, .te2__dx:focus-within::after {
  transform: scaleX(1);
}
.te2__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px 4px 12px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  margin: 2px 4px 2px 0;
  vertical-align: middle;
}
.te2__tag-text {
  white-space: nowrap;
}
.te2__tag-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: none;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s;
}
.te2__tag-x:hover {
  background: rgba(255, 255, 255, 0.45);
}
.te2 .dxbl-tag-box-container,
.te2 .dxbl-listbox {
  width: 100% !important;
}
.te2 .te2__dx--tags .dxbl-tag-box-container .dxbl-chip,
.te2 .te2__dx--tags .dxbl-tag-box-container .dxbl-tag {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.te2 .dxbl-tag-box-container .dxbl-chip,
.te2 .dxbl-tag-box-container .dxbl-tag {
  background: rgba(38, 55, 124, 0.08) !important;
  border: 1px solid rgba(38, 55, 124, 0.15) !important;
  border-radius: 14px !important;
  padding: 3px 6px 3px 10px !important;
  margin: 2px 3px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #26377c !important;
  line-height: 1.3 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  max-width: none !important;
  transition: background 0.15s, border-color 0.15s;
}
.te2 .dxbl-tag-box-container .dxbl-chip:hover,
.te2 .dxbl-tag-box-container .dxbl-tag:hover {
  background: rgba(38, 55, 124, 0.14) !important;
  border-color: rgba(38, 55, 124, 0.3) !important;
}
.te2 .dxbl-tag-box-container .dxbl-chip .dxbl-chip-remove-button,
.te2 .dxbl-tag-box-container .dxbl-chip button,
.te2 .dxbl-tag-box-container .dxbl-chip [class*=remove],
.te2 .dxbl-tag-box-container .dxbl-tag .dxbl-chip-remove-button,
.te2 .dxbl-tag-box-container .dxbl-tag button,
.te2 .dxbl-tag-box-container .dxbl-tag [class*=remove] {
  background: none !important;
  border: none !important;
  color: #26377c !important;
  opacity: 0.5;
  padding: 0 2px !important;
  font-size: 14px !important;
  cursor: pointer;
  transition: opacity 0.15s;
  display: inline-flex !important;
  align-items: center !important;
}
.te2 .dxbl-tag-box-container .dxbl-chip .dxbl-chip-remove-button:hover,
.te2 .dxbl-tag-box-container .dxbl-chip button:hover,
.te2 .dxbl-tag-box-container .dxbl-chip [class*=remove]:hover,
.te2 .dxbl-tag-box-container .dxbl-tag .dxbl-chip-remove-button:hover,
.te2 .dxbl-tag-box-container .dxbl-tag button:hover,
.te2 .dxbl-tag-box-container .dxbl-tag [class*=remove]:hover {
  opacity: 1;
}
.te2 .dxbl-tag-box-container .dxbl-chip .dxbl-chip-text,
.te2 .dxbl-tag-box-container .dxbl-chip span:not([class*=remove]):not(button),
.te2 .dxbl-tag-box-container .dxbl-tag .dxbl-chip-text,
.te2 .dxbl-tag-box-container .dxbl-tag span:not([class*=remove]):not(button) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 200px;
}
.te2 .markdown-editor {
  width: 100%;
  border: 1px solid #ced4da;
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.te2 .markdown-editor:focus-within {
  border-color: #26377c;
  box-shadow: 0 0 0 3px rgba(38, 55, 124, 0.06);
}
.te2 .markdown-editor .wrapper {
  background: #fff !important;
  border-bottom: 1px solid rgba(195, 198, 215, 0.25) !important;
  border-radius: 0 !important;
  padding: 4px 8px !important;
}
.te2 .markdown-editor .wrapper button {
  background: transparent !important;
  border: none !important;
  color: #3a3f54 !important;
  opacity: 0.7;
  transition: opacity 0.15s;
}
.te2 .markdown-editor .wrapper button:hover {
  opacity: 1;
}
.te2 .markdown-editor .wrapper ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}
.te2 .markdown-editor .wrapper li {
  display: inline-flex;
}
.te2 .markdown-editor textarea {
  border: none !important;
  border-radius: 0 !important;
  font-size: 13px !important;
  padding: 8px 12px !important;
  min-height: 100px;
  box-shadow: none !important;
  outline: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
  resize: vertical;
}
.te2 .validation-message {
  font-size: 10px;
  color: #ed1c24;
  margin-top: 2px;
  line-height: 1.2;
}

@media (max-width: 900px) {
  .te2__row--3 {
    flex-wrap: wrap;
  }
  .te2__row--3 > .te2__field {
    flex-basis: calc(50% - 7px);
  }
}
@media (max-width: 600px) {
  .te2__row,
  .te2__row--2,
  .te2__row--3 {
    flex-direction: column;
    gap: 0;
  }
  .te2__body {
    padding: 12px 14px;
  }
}
body .dxbl-popup-content,
body .dxbl-dropdown-area,
body .dxbl-drop-down-editor-popup {
  border-radius: 8px !important;
  border: 1px solid rgba(195, 198, 215, 0.25) !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04) !important;
  overflow: hidden !important;
}

body .dxbl-listbox .dxbl-listbox-item,
body .dxbl-listbox .list-group-item,
body .dxbl-listbox-dropdown .dxbl-listbox-item,
body .dxbl-listbox-dropdown .list-group-item {
  padding: 7px 14px !important;
  font-size: 13px !important;
  color: #3a3f54 !important;
  background: #fff !important;
  border: none !important;
  border-color: transparent !important;
  transition: background 0.1s;
}

body .dxbl-listbox .dxbl-listbox-item:hover,
body .dxbl-listbox .list-group-item:hover,
body .dxbl-listbox-dropdown .dxbl-listbox-item:hover,
body .dxbl-listbox-dropdown .list-group-item:hover {
  background: rgba(38, 55, 124, 0.05) !important;
  color: #3a3f54 !important;
}

body .dxbl-listbox .dxbl-listbox-item.active,
body .dxbl-listbox .dxbl-listbox-item.dxbl-active,
body .dxbl-listbox .list-group-item.active,
body .dxbl-listbox .list-group-item.dxbl-active,
body .dxbl-listbox-dropdown .dxbl-listbox-item.active,
body .dxbl-listbox-dropdown .list-group-item.active,
body .dxbl-listbox .dxbl-listbox-item[aria-selected=true],
body .dxbl-listbox .list-group-item[aria-selected=true] {
  background: rgba(38, 55, 124, 0.09) !important;
  color: #26377c !important;
  font-weight: 600 !important;
  border-color: transparent !important;
}

body .dxbl-listbox .dxbl-listbox-item.dxbl-focused,
body .dxbl-listbox .list-group-item.dxbl-focused,
body .dxbl-listbox .dxbl-listbox-item:focus,
body .dxbl-listbox .list-group-item:focus {
  background: rgba(38, 55, 124, 0.05) !important;
  outline: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
}

body .dxbl-listbox thead,
body .dxbl-listbox .dxbl-grid-header {
  background: #f9faff !important;
  border-bottom: 1px solid rgba(195, 198, 215, 0.25) !important;
}

body .dxbl-listbox thead th,
body .dxbl-listbox .dxbl-grid-header td {
  font-size: 10px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: #6b6f8a !important;
  padding: 6px 12px !important;
  border: none !important;
}

body .dxbl-listbox table td {
  padding: 7px 12px !important;
  font-size: 13px !important;
  color: #3a3f54 !important;
  border: none !important;
}

body .dxbl-listbox table tr:hover td {
  background: rgba(38, 55, 124, 0.05) !important;
}

body .dxbl-listbox table tr.dxbl-active td,
body .dxbl-listbox table tr[aria-selected=true] td {
  background: rgba(38, 55, 124, 0.09) !important;
  color: #26377c !important;
  font-weight: 600 !important;
}

body .dxbl-calendar {
  border-radius: 8px !important;
  font-size: 13px !important;
}

body .dxbl-calendar .dxbl-calendar-cell {
  border-radius: 6px !important;
  transition: background 0.1s;
}

body .dxbl-calendar .dxbl-calendar-cell:hover {
  background: rgba(38, 55, 124, 0.06) !important;
}

body .dxbl-calendar .dxbl-calendar-cell.dxbl-active,
body .dxbl-calendar .dxbl-calendar-cell.dxbl-selected {
  background: #26377c !important;
  color: #fff !important;
}

body .dxbl-calendar .dxbl-calendar-cell.dxbl-today {
  border: 1px solid #26377c !important;
  font-weight: 700 !important;
}

body .dxbl-calendar .dxbl-calendar-cell.dxbl-disabled {
  color: rgba(107, 111, 138, 0.3) !important;
}

body .dxbl-calendar .dxbl-calendar-header {
  font-weight: 700 !important;
  color: #0a143c !important;
}

body .dxbl-calendar .dxbl-calendar-footer {
  border-top: 1px solid rgba(195, 198, 215, 0.2) !important;
}
body .dxbl-calendar .dxbl-calendar-footer .btn,
body .dxbl-calendar .dxbl-calendar-footer button {
  font-size: 12px !important;
  color: #26377c !important;
  font-weight: 600 !important;
}

body .dxbl-listbox::-webkit-scrollbar {
  width: 6px;
}

body .dxbl-listbox::-webkit-scrollbar-track {
  background: transparent;
}

body .dxbl-listbox::-webkit-scrollbar-thumb {
  background: rgba(195, 198, 215, 0.35);
  border-radius: 3px;
}

body .dxbl-listbox::-webkit-scrollbar-thumb:hover {
  background: rgba(195, 198, 215, 0.55);
}

.ops-content--new .te2 {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
  align-items: start;
}
.ops-content--new .te2 .te2__card {
  width: 100%;
  margin-bottom: 0;
}
.ops-content--new .te2__card:not(.te2__card--params):not(.te2__card--dates) {
  grid-column: 1;
  grid-row: 1/span 2;
}
.ops-content--new .te2__card--params {
  grid-column: 2;
  grid-row: 1;
}
.ops-content--new .te2__card--dates {
  grid-column: 2;
  grid-row: 2;
}
