body {
  background: linear-gradient(145deg, #c0c0c0, #a9a9a9);
  font-family: 'Tahoma', sans-serif;
  height: 100vh;
  margin: 0;
  padding: 0 20px;
  box-sizing: border-box;
  overflow: hidden;
}

.header {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.header button {
  padding: 8px 14px;
  font-size: 14px;
}

.spacer {
  display: none;
}

.window {
  background-color: #e0e0e0;
  border: 2px solid #000;
  width: 320px;
  box-shadow: 4px 4px 0 #000;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.title-bar {
  background: #000080;
  color: white;
  padding: 6px;
  font-weight: bold;
  text-align: center;
}

.content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.swap-section {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

input, select, button {
  padding: 8px;
  border: 2px solid #fff;
  border-bottom-color: #808080;
  border-right-color: #808080;
  background: #c0c0c0;
  font-weight: bold;
}

button {
  cursor: pointer;
}

button:active {
  border-top-color: #808080;
  border-left-color: #808080;
  border-bottom-color: #fff;
  border-right-color: #fff;
}

.swap-arrow {
  text-align: center;
  font-size: 20px;
}

.fee-info {
  text-align: center;
  font-size: 12px;
  color: #333;
}

.status-message {
  text-align: center;
  min-height: 1.2em;
  font-weight: bold;
}

#notification-container {
  position: fixed;
  top: 65px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.notification {
  width: auto;
  min-width: 250px;
  max-width: 300px;
  background: #c0c0c0;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #808080;
  border-right: 2px solid #808080;
  padding: 12px;
  font-size: 15px;
  box-shadow: 2px 2px 0 #000;
  animation: slide-in 0.3s ease-out;
}

.notification.success { color: #006400; }
.notification.error { color: #8B0000; }
.notification.warning { color: #8B0000; }

.notification p {
    margin: 0;
}

.notification p:only-child {
    text-align: center;
}

.notification-tx {
  font-size: 12px;
  margin-top: 10px;
  word-break: break-all;
}

.notification-tx a {
  color: #000080;
  text-decoration: none;
}
.notification-tx a:hover {
  text-decoration: underline;
}

@keyframes slide-in {
  from {
    transform: translateX(120%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
