body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: linear-gradient(135deg, #141e30, #243b55);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  padding: 10px;
}

.container {
  background: rgba(255, 255, 255, 0.08);
  padding: 25px 20px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  width: 100%;
  max-width: 400px;
  text-align: center;
  backdrop-filter: blur(10px);
  animation: fadeIn 0.8s ease;
}

h2 {
  margin-bottom: 20px;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 1px;
}

#file-name {
  margin-bottom: 12px;
  font-style: italic;
  font-size: 0.9rem;
  color: #ccc;
  word-break: break-word;
}

.custom-file-upload {
  display: inline-block;
  padding: 12px 20px;
  cursor: pointer;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: bold;
  color: white;
  transition: 0.3s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.custom-file-upload:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

input[type="file"] {
  display: none;
}

button {
  margin-top: 15px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #28a745, #218838);
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 0.95rem;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  width: 100%;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

.progress-container {
  margin-top: 20px;
  width: 100%;
  background: rgba(255,255,255,0.15);
  border-radius: 12px;
  overflow: hidden;
  height: 14px;
}

.progress-bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  transition: width 0.4s ease;
}

#status {
  margin-top: 12px;
  font-size: 0.9rem;
  color: #ffd369;
  min-height: 20px;
}

#link-container {
  margin-top: 20px;
  display: none;
  text-align: left;
}

#file-link {
  width: 100%;
  padding: 8px;
  border-radius: 8px;
  border: none;
  text-align: center;
  font-size: 0.9rem;
  margin-top: 8px;
}

.copy-btn {
  margin-top: 10px;
  padding: 10px;
  background: linear-gradient(135deg, #ffc107, #e0a800);
  color: black;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
  width: 100%;
}

.copy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0,0,0,0.4);
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* Notifikasi */
.toast-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 20px;
  border-radius: 10px;
  color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  transform: translateY(-100%);
  font-weight: 500;
  z-index: 1000;
  display: flex;
  align-items: center;
  max-width: 90%;
}

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

.telegram-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0088cc, #005f99);
  color: white;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 136, 204, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  margin-top: 15px;
  width: 90%;
  justify-content: center;
}

.telegram-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 136, 204, 0.6);
}

.telegram-btn i {
  font-size: 1.3em;
}

/* --- Responsif --- */
@media (max-width: 480px) {
  h2 { font-size: 1.2rem; }
  .custom-file-upload, button, .copy-btn, .telegram-btn {
    font-size: 0.9rem;
    padding: 10px;
  }
}