@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;600;700&display=swap');

#sysupd-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  font-family: 'Kanit', sans-serif;
  animation: sysupd-fadeIn 0.3s ease-out;
}

#sysupd-popup {
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  padding: 40px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  animation: sysupd-scaleIn 0.3s ease-out;
  position: relative;
}

#sysupd-close-x {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  padding: 0;
  line-height: 1;
}

#sysupd-close-x:hover {
  background: #f5f5f5;
  color: #333;
}

#sysupd-popup h2 {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin: 0 0 20px 0;
}

#sysupd-popup p {
  font-size: 16px;
  font-weight: 400;
  color: #666;
  line-height: 1.6;
  margin: 0 0 30px 0;
}

#sysupd-btn {
  background: #F15A29;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  font-family: 'Kanit', sans-serif;
  cursor: pointer;
  transition: background 0.2s ease;
  box-shadow: none;
  width: 100%;
  max-width: 100%;
}

#sysupd-btn:hover {
  background: #d44d22;
  transform: none;
  box-shadow: none;
}

#sysupd-btn:active {
  background: #c24520;
  transform: none;
}

@keyframes sysupd-fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes sysupd-scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}