.adv-form-block {
  margin: 28px 0 20px;
  clear: both;
}

.adv-form-block .form_block {
  width: 100%;
  max-width: 560px;
  margin: 20px auto 0;
  text-align: left;
  scroll-margin-top: 140px;
}

.adv-form-block .form-official-header {
  background: #eb1e25;
  color: #fff !important;
  padding: 18px 20px;
  border-radius: 4px 4px 0 0;
  text-align: center;
}

.adv-form-block .form-official-header__title {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
  font-family: Arial, "Roboto Slab", sans-serif;
  font-weight: 700;
  color: #fff !important;
}

.adv-form-block .form-official-header__subtitle {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.4;
  font-family: Arial, sans-serif;
  color: #fff !important;
}

.adv-form-block .lead-form {
  display: flex !important;
  flex-direction: column;
  gap: 14px;
  padding: 22px 20px 24px;
  background: #fff !important;
  border: 1px solid #e6e8ef;
  border-top: none;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 4px 20px rgba(235, 30, 37, 0.08);
  box-sizing: border-box;
}

.adv-form-block .form-group {
  display: flex !important;
  flex-direction: column;
  gap: 6px;
}

.adv-form-block .form-group label {
  display: block !important;
  font-size: 15px;
  line-height: 1.4;
  font-family: Arial, sans-serif;
  font-weight: 700;
  color: #1d1d1d !important;
  margin: 0;
}

.adv-form-block .form-input {
  display: block !important;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #ced4da !important;
  border-radius: 4px;
  background: #fafbfc !important;
  color: #1d1d1d !important;
  font-family: Arial, sans-serif;
  font-size: 16px !important;
  line-height: 1.4;
  box-sizing: border-box;
}

.adv-form-block .form-input::placeholder {
  color: #8e95a3 !important;
}

.adv-form-block .form-input:focus {
  outline: none;
  border-color: #eb1e25 !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(235, 30, 37, 0.12);
}

.adv-form-block .form-input.input-error {
  border-color: #dc3545 !important;
}

.adv-form-block .form-error {
  display: block;
  font-size: 13px;
  color: #dc3545;
}

.adv-form-block .form-submit {
  display: block !important;
  width: 100%;
  margin: 10px 0 0;
  padding: 14px 20px;
  min-height: 54px;
  border: 0;
  border-radius: 4px;
  background-color: #eb1e25 !important;
  color: #fff !important;
  font-family: Arial, "Roboto Slab", sans-serif;
  font-size: 16px !important;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}

.adv-form-block .form-submit:hover {
  background-color: #c4181e !important;
}

.adv-form-block .form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.adv-form-block .form-legal-note {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.45;
  font-family: Arial, sans-serif;
  color: #687087;
  text-align: center;
}

#mcl-dashboard {
  background: #f7f8fb;
  color: #1a202c;
  font-family: Arial, sans-serif;
  max-width: 850px;
  margin: 24px auto;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px rgba(235, 30, 37, 0.06);
  border-radius: 8px;
  overflow: hidden;
}

.mcl-top-line {
  height: 5px;
  background: linear-gradient(90deg, #1d1d1d, #eb1e25);
}

.mcl-header-content {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #edf2f7;
  gap: 16px;
}

#mcl-dashboard .mcl-main-title {
  color: #1d1d1d;
  margin: 0 !important;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  font-family: Arial, "Roboto Slab", sans-serif;
}

.mcl-status {
  margin: 4px 0 0;
  font-size: 12px;
  color: #718096;
}

.mcl-dot {
  height: 8px;
  width: 8px;
  background: #38a169;
  border-radius: 50%;
  display: inline-block;
  margin-right: 5px;
  animation: mcl-pulse 2s infinite;
}

.mcl-btn-primary {
  background: #eb1e25;
  color: #fff !important;
  padding: 10px 20px;
  text-decoration: none !important;
  font-weight: 700;
  border-radius: 4px;
  font-size: 14px;
  text-align: center;
  white-space: nowrap;
  font-family: Arial, sans-serif;
}

.mcl-stats-bar {
  padding: 15px 20px;
  background: rgba(235, 30, 37, 0.04);
  border-bottom: 1px solid #edf2f7;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.mcl-joined-text {
  font-size: 14px;
  margin: 0;
  flex: 1;
  line-height: 1.4;
}

.mcl-badges {
  display: flex;
  gap: 8px;
}

.mcl-badge {
  background: #1d1d1d;
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  white-space: nowrap;
}

.mcl-voucher-box {
  padding: 20px;
  background: rgba(235, 30, 37, 0.05);
}

.mcl-voucher-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
  gap: 16px;
}

#mcl-dashboard .mcl-v-main {
  color: #1d1d1d;
  margin: 0 !important;
  font-size: 18px;
  font-weight: 800;
  font-family: Arial, "Roboto Slab", sans-serif;
}

.mcl-v-sub {
  margin: 5px 0 0 !important;
  font-size: 14px;
  color: #4a5568;
}

.mcl-v-expire {
  margin: 2px 0 0;
  font-size: 13px;
  color: #718096;
}

.mcl-t-label {
  font-size: 14px;
  color: #718096;
  font-weight: 600;
}

.mcl-t-val {
  font-size: 24px;
  font-weight: 800;
  color: #eb1e25;
  margin-left: 10px;
  font-family: monospace;
}

.mcl-progress-bg {
  height: 8px;
  background: #edf2f7;
  border-radius: 4px;
  overflow: hidden;
}

.mcl-progress-fill {
  height: 100%;
  width: 2%;
  background: #1d1d1d;
  transition: width 1s linear;
}

.mcl-activity-section {
  padding: 0 20px 20px;
}

#mcl-dashboard .mcl-section-title {
  font-size: 18px;
  color: #1d1d1d;
  margin: 0 0 15px !important;
  text-align: center;
  font-weight: 700;
  font-family: Arial, "Roboto Slab", sans-serif;
}

.mcl-table-header {
  display: grid;
  grid-template-columns: 100px 1fr 150px;
  padding: 10px 15px;
  background: #1d1d1d;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 4px 4px 0 0;
}

.mcl-scroll-box {
  height: 300px;
  overflow-y: auto;
  border: 1px solid #edf2f7;
  border-top: none;
}

.mcl-item {
  display: grid;
  grid-template-columns: 100px 1fr 150px;
  padding: 12px 15px;
  border-bottom: 1px solid #f7fafc;
  align-items: center;
  font-size: 14px;
}

.mcl-type-dep {
  color: #38a169;
  font-weight: 800;
  font-size: 11px;
}

.mcl-type-with {
  color: #e53e3e;
  font-weight: 800;
  font-size: 11px;
}

.mcl-amount {
  text-align: right;
  font-weight: 700;
  color: #2d3748;
  font-family: monospace;
  font-size: 15px;
}

@media (max-width: 780px) {
  .mcl-header-content,
  .mcl-stats-bar,
  .mcl-voucher-header {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 15px;
  }

  .mcl-badges {
    justify-content: center;
    flex-wrap: wrap;
  }

  .mcl-table-header {
    display: none;
  }

  .mcl-item {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "type amount" "user user";
    gap: 5px;
    text-align: left;
  }

  .mcl-item > span:nth-child(1) {
    grid-area: type;
  }

  .mcl-item > span:nth-child(2) {
    grid-area: user;
    color: #718096;
  }

  .mcl-item > span:nth-child(3) {
    grid-area: amount;
    text-align: right;
  }

  .mcl-v-timer {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@keyframes mcl-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@media (max-width: 600px) {
  .adv-form-block .lead-form {
    padding: 18px 16px 20px;
  }
}
