.select2-dropdown {
    background-color: white;
    border: 1px solid #334066;
    border-radius: 4px;
    box-sizing: border-box;
    display: block;
    position: absolute;
    left: -100000px;
    width: 100%;
    z-index: 1051; }


.form-group .select2-container {
    position: relative;
    z-index: 2;
    float: left;
    width: 100% !important;
    margin-bottom: 0;
    display: table;
    table-layout: fixed;
}

.select2-container .select2-selection--single {
    height: 34px;
}

.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #334066;
    border-radius: 4px; }
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #444;
    line-height: 34px; }
.select2-container--default .select2-selection--single .select2-selection__clear {
    cursor: pointer;
    float: right;
    font-weight: bold; }
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #999; }
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 32px;
    position: absolute;
    top: 1px;
    right: 1px;
    width: 20px; }
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #334066 transparent transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    height: 0;
    left: 50%;
    margin-left: -4px;
    margin-top: -2px;
    position: absolute;
    top: 50%;
    width: 0; }

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #334066;
    color: white;
}

.select2-drop-active {
    border: 1px solid #334066;
    border-top: none;
}

.select2-drop.select2-drop-above.select2-drop-active {
    border-top: 1px solid #334066;
}

.select2-container-active .select2-choice,
.select2-container-active .select2-choices {
    border: 1px solid #334066;
    outline: none;

    -webkit-box-shadow: 0 0 10px #334066;
    box-shadow: 0 0 10px #418ee2;
}

.inputs input, .inputs select, .inputs textarea {
    border-width: 1px !important;
}

.form-control {
    border-color: #334066 !important;
}

.form-group {
    margin-bottom: 15px !important;
}

.error { color: #b22c3f }

/* Tracking — form
-------------------------------------------------- */
.df-tracking-form {
  max-width: 500px;
  margin: 0 auto 30px;
}

.df-tracking-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.df-tracking-input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #334066;
  border-radius: 4px;
  font-size: 16px;
  outline: none;
}

.df-tracking-input:focus {
  border-color: #b22c3f;
}

.df-tracking-btn {
  padding: 12px 24px;
  background: #b22c3f;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  white-space: nowrap;
}

.df-tracking-btn:hover {
  background: #8f1f32;
}

.df-tracking-loading {
  text-align: center;
  color: #666;
  font-style: italic;
}

.df-tracking-error {
  text-align: center;
  padding: 30px 20px;
  color: #b22c3f;
}

.df-tracking-result {
  max-width: 780px;
  margin: 0 auto;
}

/* Tracking — progress bar (5-step CAEX style)
-------------------------------------------------- */
.df-progress {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 40px 0 50px;
  padding: 0 10px;
}

.df-progress::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 40px;
  right: 40px;
  height: 4px;
  background: #e0e0e0;
  z-index: 0;
}

.df-progress-line {
  position: absolute;
  top: 20px;
  left: 40px;
  height: 4px;
  background: #4caf50;
  z-index: 1;
  transition: width 0.5s;
}

.df-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  flex: 1;
}

.df-progress-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: #e0e0e0;
  border: 3px solid #e0e0e0;
  transition: all 0.3s;
  margin-bottom: 8px;
}

.df-progress-step.done .df-progress-circle {
  background: #4caf50;
  border-color: #4caf50;
}

.df-progress-step.active .df-progress-circle {
  background: #fff;
  border-color: #b22c3f;
  color: #b22c3f;
  box-shadow: 0 0 0 4px rgba(178, 44, 63, 0.2);
}

.df-progress-label {
  font-size: 11px;
  text-align: center;
  color: #999;
  line-height: 1.3;
  max-width: 90px;
}

.df-progress-step.done .df-progress-label {
  color: #4caf50;
  font-weight: 600;
}

.df-progress-step.active .df-progress-label {
  color: #b22c3f;
  font-weight: 700;
}

/* Tracking — summary cards
-------------------------------------------------- */
.df-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 0 0 35px;
}

.df-summary-card {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 14px 18px;
}

.df-summary-card .label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  color: #999;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.df-summary-card .value {
  font-size: 14px;
  color: #333;
  font-weight: 600;
}

/* Tracking — vertical timeline
-------------------------------------------------- */
.df-timeline {
  position: relative;
  padding-left: 30px;
  margin: 0 0 30px;
}

.df-timeline::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 10px;
  width: 3px;
  background: #e0e0e0;
  border-radius: 2px;
}

.df-timeline-event {
  position: relative;
  padding: 0 0 28px 20px;
}

.df-timeline-event:last-child {
  padding-bottom: 0;
}

.df-timeline-dot {
  position: absolute;
  left: -24px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e0e0e0;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #e0e0e0;
}

.df-timeline-event:last-child .df-timeline-dot {
  background: #b22c3f;
  border-color: #fff;
  box-shadow: 0 0 0 2px #b22c3f;
}

.df-timeline-movement {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin: 0 0 2px;
}

.df-timeline-event:last-child .df-timeline-movement {
  color: #b22c3f;
}

.df-timeline-meta {
  font-size: 12px;
  color: #999;
}

.df-timeline-back {
  text-align: center;
  margin-top: 10px;
}

.df-timeline-back a {
  color: #b22c3f;
  text-decoration: underline;
  font-size: 13px;
}