/* Reset dan dasar */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(135deg, #4b6cb7, #182848);
  color: #f0f4f8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  position: relative;
}

.container {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  max-width: 400px;
  width: 100%;
  text-align: center;
  backdrop-filter: blur(10px);
  z-index: 1;
}

h2 {
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 1.8rem;
  color: #cce7ff;
  text-shadow: 1px 1px 3px #00000050;
}

input[type="text"] {
  width: 100%;
  padding: 12px 15px;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  margin-bottom: 15px;
  outline: none;
  transition: box-shadow 0.3s ease;
}

input[type="text"]:focus {
  box-shadow: 0 0 8px #a0c4ff;
  background-color: #e7f0ff;
  color: #182848;
}

button {
  width: 100%;
  padding: 12px 15px;
  font-size: 1.1rem;
  font-weight: 600;
  background-color: #2b6cb0;
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  box-shadow: 0 5px 15px #234f7aaa;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
  background-color: #1d4d8a;
  transform: scale(1.05);
  box-shadow: 0 8px 20px #1d4d8aee;
}

button:active {
  transform: scale(0.98);
}

.result {
  margin-top: 25px;
  background-color: rgba(255, 255, 255, 0.15);
  padding: 15px 20px;
  border-radius: 10px;
  font-size: 1rem;
  color: #cce7ff;
  min-height: 90px;
  box-shadow: inset 0 0 10px #94b9ff88;
  text-align: left;
  line-height: 1.4;
  word-break: break-word;
}

.error {
  color: #ff6b6b;
  font-weight: 600;
  text-align: center;
}

footer {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #a0bfff;
  user-select: none;
  text-align: center;
  z-index: 1;
}

.note {
  color: #ff9900;
  font-style: italic;
}

.short-address {
  font-size: 0.98em;
  letter-spacing: 0.5px;
  color: #a0bfff;
  word-break: break-all;
}

/* Tombol Telegram sticky di pojok kanan atas */
.telegram-button {
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 9999;
}

.telegram-button a {
  display: flex;
  align-items: center;
  background-color: #0088cc;
  color: white;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 0.95rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.telegram-button a:hover {
  background-color: #007ab8;
  transform: scale(1.05);
}

.telegram-button img {
  width: 18px;
  height: 18px;
  margin-right: 8px;
}
@media screen and (max-width: 600px) {
  .telegram-button {
    top: 10px;
    right: 10px;
  }

  .telegram-button a {
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  .telegram-button img {
    width: 16px;
    height: 16px;
    margin-right: 6px;
  }

  .container {
    padding: 20px 20px;
  }
}
.result-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.result-label {
  font-weight: 600;
  color: #a0bfff;
  min-width: 120px;
  flex-shrink: 0;
}

.result-value {
  text-align: right;
  flex: 1;
  color: #fff;
  word-break: break-word;
}

.task-wrapper {
  width: 100%;
  margin-top: 4px;
}

.task-label {
  font-weight: 600;
  color: #a0bfff;
  margin-bottom: 6px;
}

.task-list {
  list-style-type: disc;
  padding-left: 20px;
  margin: 0;
  color: #cce7ff;
  text-align: left;
  word-break: normal;
  white-space: normal;
}

.task-list li {
  margin-bottom: 4px;
  line-height: 1.5;
  font-size: 0.98rem;
}
@media (max-width: 500px) {
  .task-list li {
    font-size: 0.95rem;
  }
}
