@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Space+Grotesk:wght@700&display=swap");

/* ==========================================================================
   BAT TECH CYBER-IT ALERT & TOAST SYSTEM
   ========================================================================== */
.alert-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 0 auto;
  left: 0;
  top: 0;
  overflow: hidden;
  position: fixed;
  background: rgba(4, 7, 17, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999999;
}

@keyframes batCyberModalIn {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.92);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.alert-frame {
  background: linear-gradient(165deg, rgba(11, 18, 36, 0.96) 0%, rgba(7, 11, 25, 0.98) 100%);
  min-height: 340px;
  width: 340px;
  border: 1px solid rgba(0, 229, 255, 0.38);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 32px rgba(0, 210, 255, 0.18);
  border-radius: 20px;
  overflow: hidden;
  animation: batCyberModalIn 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}

.alert-header {
  display: flex;
  flex-direction: row;
  height: 135px;
  position: relative;
  background: radial-gradient(circle at 50% 60%, rgba(0, 229, 255, 0.2) 0%, rgba(37, 99, 235, 0.08) 60%, transparent 100%) !important;
  border-bottom: 1px solid rgba(0, 210, 255, 0.16);
}

.alert-img {
  height: 64px;
  position: absolute;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  align-self: center;
  filter: drop-shadow(0 0 14px rgba(0, 229, 255, 0.65));
}

.alert-close,
.alert-close-circle {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #94A3B8;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.22s ease;
  margin-left: auto;
  margin-right: 12px;
  margin-top: 12px;
  z-index: 3;
}

.alert-close:hover,
.alert-close-circle:hover {
  background: rgba(0, 229, 255, 0.2);
  color: #FFFFFF;
  border-color: #00E5FF;
}

.alert-body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.alert-title {
  font-size: 1.15rem !important;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  margin-bottom: 12px;
  color: #FFFFFF;
  align-self: center;
}

.alert-message {
  font-size: 0.9rem !important;
  color: #CBD5E1;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 500;
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.55;
  align-self: center;
}

.alert-button,
.confirm-button {
  min-width: 140px;
  height: 42px;
  border-radius: 12px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: #FFFFFF;
  background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 45%, #00D2FF 100%) !important;
  border: 1px solid rgba(0, 229, 255, 0.45);
  box-shadow: 0 8px 20px -4px rgba(0, 210, 255, 0.45);
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0 20px;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.alert-button:hover,
.confirm-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -4px rgba(0, 229, 255, 0.7);
  filter: brightness(1.08);
}

.question-buttons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
}

.cancel-button {
  min-width: 110px;
  height: 42px;
  border-radius: 12px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: #E2E8F0;
  background: rgba(30, 41, 59, 0.85) !important;
  border: 1px solid rgba(148, 163, 184, 0.3);
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cancel-button:hover {
  background: rgba(244, 63, 94, 0.22) !important;
  border-color: #F43F5E;
  color: #FFFFFF;
}

/* ==========================================================================
   BAT TECH CYBER HUD TOAST (cuteToast)
   ========================================================================== */
@keyframes batCyberToastIn {
  0% {
    opacity: 0;
    transform: translateX(48px) scale(0.92);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.toast-container {
  top: 20px;
  right: 22px;
  overflow: hidden;
  position: fixed;
  border-radius: 15px !important;
  background: linear-gradient(135deg, rgba(7, 12, 28, 0.95) 0%, rgba(15, 23, 42, 0.93) 100%) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border: 1px solid rgba(0, 229, 255, 0.48) !important;
  border-left: 4px solid #00E5FF !important;
  box-shadow: 0 18px 42px -8px rgba(0, 0, 0, 0.78),
              0 0 26px rgba(0, 210, 255, 0.24),
              inset 0 0 18px rgba(0, 210, 255, 0.08) !important;
  animation: batCyberToastIn 0.34s cubic-bezier(0.22, 1, 0.36, 1) !important;
  z-index: 999999;
}

.toast-container.success-bg {
  border-color: rgba(0, 229, 255, 0.52) !important;
  border-left: 4px solid #00E5FF !important;
  box-shadow: 0 18px 42px -8px rgba(0, 0, 0, 0.8), 0 0 28px rgba(0, 229, 255, 0.28) !important;
}

.toast-container.error-bg {
  border-color: rgba(244, 63, 94, 0.52) !important;
  border-left: 4px solid #F43F5E !important;
  box-shadow: 0 18px 42px -8px rgba(0, 0, 0, 0.8), 0 0 28px rgba(244, 63, 94, 0.28) !important;
}

.toast-container.warning-bg {
  border-color: rgba(245, 158, 11, 0.52) !important;
  border-left: 4px solid #F59E0B !important;
  box-shadow: 0 18px 42px -8px rgba(0, 0, 0, 0.8), 0 0 28px rgba(245, 158, 11, 0.26) !important;
}

.toast-container.info-bg,
.toast-container.question-bg {
  border-color: rgba(59, 130, 246, 0.52) !important;
  border-left: 4px solid #3B82F6 !important;
}

.toast-frame {
  padding: 12px 16px !important;
  display: flex;
  min-width: 270px;
  height: auto !important;
  min-height: 58px;
  align-items: center;
  flex-wrap: nowrap !important;
  gap: 12px;
}

.toast-img {
  height: 28px !important;
  width: 28px !important;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.7));
}

.toast-container.error-bg .toast-img {
  filter: drop-shadow(0 0 10px rgba(244, 63, 94, 0.75));
}

.toast-container.warning-bg .toast-img {
  filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.75));
}

.toast-message {
  font-size: 0.92rem !important;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-weight: 700 !important;
  color: #F8FAFC !important;
  margin-left: 0 !important;
  letter-spacing: 0.1px;
  text-shadow: 0 1px 10px rgba(0, 210, 255, 0.2);
  flex: 1;
}

.toast-close {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #94A3B8 !important;
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-weight: 700;
  font-size: 12px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.22s ease;
  margin-left: 8px !important;
  flex-shrink: 0;
}

.toast-close:hover {
  background: rgba(0, 229, 255, 0.2);
  border-color: #00E5FF;
  color: #FFFFFF !important;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.45);
}

@keyframes timer {
  0% {
    width: 100%;
  }
  100% {
    width: 0%;
  }
}

.toast-timer {
  width: 1%;
  height: 3px !important;
  border-radius: 0 2px 2px 0;
}

.success-timer {
  background: linear-gradient(90deg, #2563EB 0%, #00E5FF 100%) !important;
  box-shadow: 0 0 12px #00E5FF !important;
}

.error-timer {
  background: linear-gradient(90deg, #E11D48 0%, #FB7185 100%) !important;
  box-shadow: 0 0 12px #F43F5E !important;
}

.warning-timer {
  background: linear-gradient(90deg, #D97706 0%, #FBBF24 100%) !important;
  box-shadow: 0 0 12px #F59E0B !important;
}

.info-timer {
  background: linear-gradient(90deg, #1D4ED8 0%, #38BDF8 100%) !important;
  box-shadow: 0 0 12px #38BDF8 !important;
}
