.mw-exchange-widget {
  padding: 28px;
}

.mw-exchange-widget--inline {
  text-align: left;
  margin: 0 auto;
  max-width: 640px;
}

.mw-exchange-widget--inline .mw-section-title {
  font-size: 1.8rem;
}

.mw-exchange-widget__head {
  margin-bottom: 18px;
}

.mw-exchange-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mw-exchange-submit {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow:
    0 10px 24px rgba(59, 130, 246, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  font-weight: 700;
}

.mw-exchange-submit:hover {
  box-shadow:
    0 14px 30px rgba(59, 130, 246, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.mw-exchange-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mw-exchange-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mw-exchange-field label {
  font-size: 14px;
  color: #c9d1d9;
}

.mw-exchange-select-wrap {
  position: relative;
}

.mw-currency-logo {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  object-fit: cover;
  display: none;
}

.mw-exchange-select-wrap select {
  width: 100%;
  border-radius: 999px;
  color: #d7dde3;
  padding: 12px 14px !important;
  padding-left: 33px !important;
}

.mw-exchange-form input,
.mw-exchange-form select,
.mw-exchange-form textarea {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgb(55 65 81) !important;
  color: #ffffff;
  padding: 12px 14px;
}

.mw-exchange-form input:hover,
.mw-exchange-form input:focus,
.mw-exchange-form input:active,
.mw-exchange-form textarea:hover,
.mw-exchange-form textarea:focus,
.mw-exchange-form textarea:active {
  color: #ffffff !important;
  background: #000000 !important;
  border: 1px solid rgb(55 65 81) !important;
  outline: none !important;
  box-shadow: none !important;
}

.mw-exchange-form select {
  background: #000000 !important;
  color: #ffffff !important;
}

.mw-exchange-form select option {
  background: #000000;
  color: #ffffff;
}

.mw-exchange-form textarea {
  background: #000000 !important;
  color: #ffffff !important;
}

.mw-exchange-form textarea::placeholder {
  color: #6b7280 !important;
  opacity: 1 !important;
}

.mw-exchange-form input::placeholder {
  color: #6b7280 !important;
  opacity: 1 !important;
}

.mw-exchange-rate {
  color: #9ca3af;
  font-size: 14px;
}

.mw-exchange-rate .mw-rate-value {
  color: #e7edf2;
  font-weight: 600;
}

.mw-exchange-profile-note,
.mw-exchange-widget__success {
  padding: 14px;
  border-radius: 16px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.26);
}

.mw-exchange-widget__success p,
.mw-exchange-profile-note p {
  margin: 0;
}

.mw-exchange-widget__success p + p,
.mw-exchange-profile-note p + p {
  margin-top: 8px;
}

.mw-exchange-guest-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.mw-dashboard-form {
  display: grid;
  gap: 14px;
}

.mw-dashboard-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mw-dashboard-form input,
.mw-dashboard-form select,
.mw-dashboard-form textarea {
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgb(55 65 81) !important;
  color: #ffffff !important;
  background: #000000 !important;
  padding: 12px 14px;
}

.mw-dashboard-form input:hover,
.mw-dashboard-form input:focus,
.mw-dashboard-form input:active,
.mw-dashboard-form select:hover,
.mw-dashboard-form select:focus,
.mw-dashboard-form select:active,
.mw-dashboard-form textarea:hover,
.mw-dashboard-form textarea:focus,
.mw-dashboard-form textarea:active {
  color: #ffffff !important;
  background: #000000 !important;
  border: 1px solid rgb(55 65 81) !important;
  outline: none !important;
  box-shadow: none !important;
}

.mw-dashboard-form input::placeholder,
.mw-dashboard-form textarea::placeholder {
  color: #6b7280 !important;
  opacity: 1 !important;
}

.mw-dashboard-form select option {
  background: #000000;
  color: #ffffff;
}

.mw-dashboard-form select,
.mw-exchange-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 42px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23e5e7eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.mw-dashboard-orders {
  margin-top: 24px;
}

.mw-order-page .mw-card {
  max-width: 760px;
  margin: 0 auto;
}

.mw-dashboard-table {
  width: 100%;
  border-collapse: collapse;
}

.mw-dashboard-table th,
.mw-dashboard-table td {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mw-order-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 991px) {
  .mw-exchange-form__row,
  .mw-dashboard-form-row {
    grid-template-columns: 1fr;
  }

  .mw-exchange-widget {
    padding: 18px;
  }

  .mw-exchange-widget--inline .mw-section-title {
    font-size: 1.45rem;
  }

  .mw-dashboard-table,
  .mw-dashboard-table tbody,
  .mw-dashboard-table tr,
  .mw-dashboard-table td {
    display: block;
    width: 100%;
  }

  .mw-dashboard-table thead {
    display: none;
  }

  .mw-dashboard-table td {
    padding: 8px 0;
    border-bottom: none;
  }

  .mw-dashboard-table tr {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}
