body {
  font-size: 14px;
}

.toast-container {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 11000;
  width: min(92vw, 360px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.app-toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  color: #fff;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: auto;
}

.app-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.app-toast.toast-hide {
  opacity: 0;
  transform: translateY(-8px);
}

.app-toast-message {
  flex: 1;
  line-height: 1.4;
  word-break: break-word;
}

.app-toast-close {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 18px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  opacity: 0.85;
}

.app-toast-close:hover {
  opacity: 1;
}

.app-toast-success {
  background: #00a65a;
}

.app-toast-info {
  background: #00c0ef;
}

.app-toast-warning {
  background: #f39c12;
}

.app-toast-error {
  background: #dd4b39;
}

.json-output {
  min-height: 260px;
  max-height: 540px;
  overflow: auto;
  background: #0b1f2a;
  color: #d7f3ff;
  padding: 16px;
  border-radius: 6px;
  margin: 0;
}

#accountsTableBody td {
  vertical-align: middle;
}

.btn-toolbar .btn {
  margin-right: 8px;
  margin-bottom: 8px;
}

.btn.is-loading {
  opacity: 0.9;
  cursor: wait;
}

#dropletCards .box {
  margin-bottom: 15px;
}

.droplet-selected {
  border: 2px solid #3c8dbc;
}

.droplet-selected .box-header {
  background: #eaf4fa;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-10 {
  margin-bottom: 10px;
}

.mt-10 {
  margin-top: 10px;
}

.qris-deposit-box .box-body {
  padding-top: 12px;
}

.qris-deposit-left {
  border-right: 1px solid #ecf0f5;
}

.qris-deposit-qr-image {
  max-width: 280px;
  width: 100%;
  height: auto;
  border: 1px solid #d6dde6;
  border-radius: 4px;
  padding: 6px;
  background: #fff;
}

.deposit-history-pagination {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.deposit-history-pagination .btn {
  min-width: 110px;
}

.selected-account {
  margin-bottom: 12px;
}

.user-droplet-summary {
  margin-bottom: 14px;
}

.user-droplet-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

.user-droplet-summary-item {
  border: 1px solid #d7e4ef;
  border-radius: 8px;
  padding: 10px 12px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
}

.user-droplet-summary-item .summary-label {
  display: block;
  font-size: 12px;
  color: #63778c;
}

.user-droplet-summary-item .summary-value {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  color: #1f2d3d;
}

.user-droplet-cards {
  margin-top: 0;
}

.user-droplet-cards > [class*='col-'] {
  margin-bottom: 16px;
}

.user-droplet-card {
  height: 100%;
  border: 1px solid #d9e6ef;
  border-radius: 10px;
  padding: 14px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(16, 44, 66, 0.08);
}

.user-droplet-card.status-active {
  border-top: 4px solid #00a65a;
}

.user-droplet-card.status-disabled {
  border-top: 4px solid #95a5a6;
}

.user-droplet-card.status-expired {
  border-top: 4px solid #dd4b39;
}

.user-droplet-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.user-droplet-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: #1f2d3d;
}

.user-droplet-id {
  margin-top: 3px;
  font-size: 12px;
  color: #7b8d9f;
}

.user-droplet-spec {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef5fb;
  color: #2a4a63;
  font-size: 12px;
  font-weight: 600;
}

.user-droplet-ip-block {
  margin-bottom: 12px;
  border: 1px solid #d9e6ef;
  border-radius: 8px;
  padding: 8px 10px;
  background: #f8fbff;
}

.user-droplet-ip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.user-droplet-ip-label {
  font-size: 12px;
  font-weight: 700;
  color: #48627a;
  letter-spacing: 0.2px;
}

.user-droplet-ip-value {
  display: block;
  width: 100%;
  border-radius: 6px;
  padding: 6px 8px;
  background: #0b1f2a;
  color: #d7f3ff;
  font-size: 13px;
}

.user-droplet-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 10px;
  margin-bottom: 12px;
}

.user-droplet-meta > div {
  padding: 8px 9px;
  border: 1px solid #e2ebf3;
  border-radius: 7px;
  background: #fcfeff;
}

.user-droplet-meta span {
  display: block;
  font-size: 11px;
  color: #6f8398;
}

.user-droplet-meta strong {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: #263747;
  line-height: 1.35;
}

.user-droplet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.user-droplet-actions .btn {
  border-radius: 5px;
}

@media (max-width: 767px) {
  .qris-deposit-left {
    border-right: 0;
    border-bottom: 1px solid #ecf0f5;
    margin-bottom: 12px;
    padding-bottom: 12px;
  }

  .deposit-history-pagination {
    justify-content: flex-start;
  }

  .user-droplet-card {
    padding: 12px;
  }

  .user-droplet-meta {
    grid-template-columns: 1fr;
  }

  .user-droplet-ip-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
