/* Notification System Styling - LinkNet Identity */
.notify-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.notify-toast {
  min-width: 320px;
  max-width: 450px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 10px 40px rgba(13, 27, 64, 0.12);
  display: flex;
  align-items: center;
  gap: 15px;
  pointer-events: auto;
  animation: slideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  border-left: 5px solid #0d1b40;
  position: relative;
  overflow: hidden;
}

.notify-toast.hiding {
  animation: slideOut 0.3s ease forwards;
}

.notify-toast .icon {
  font-size: 20px;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notify-toast .message {
  font-family:
    "Open Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 14px;
  color: #212529;
  line-height: 1.5;
  font-weight: 500;
  flex: 1;
}

.notify-toast .close-btn {
  margin-left: auto;
  cursor: pointer;
  opacity: 0.4;
  transition: all 0.2s;
  font-size: 14px;
  padding: 5px;
  border-radius: 4px;
}

.notify-toast .close-btn:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.05);
}

/* Types - Using LinkNet Colors */
.notify-toast.success {
  border-left-color: #28a745;
}
.notify-toast.success .icon {
  color: #28a745;
  background: rgba(40, 167, 69, 0.1);
}

.notify-toast.error {
  border-left-color: #dc3545;
}
.notify-toast.error .icon {
  color: #dc3545;
  background: rgba(220, 53, 69, 0.1);
}

.notify-toast.warning {
  border-left-color: #ff6f00;
}
.notify-toast.warning .icon {
  color: #ff6f00;
  background: rgba(255, 111, 0, 0.1);
}

.notify-toast.info {
  border-left-color: #2198ff;
}
.notify-toast.info .icon {
  color: #2198ff;
  background: rgba(33, 152, 255, 0.1);
}

/* Progress Bar */
.notify-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: rgba(0, 0, 0, 0.03);
  width: 100%;
}

.notify-progress::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: inherit;
  width: 100%;
  animation: progress linear forwards;
}

.notify-toast.success .notify-progress::after {
  background: #28a745;
}
.notify-toast.error .notify-progress::after {
  background: #dc3545;
}
.notify-toast.warning .notify-progress::after {
  background: #ff6f00;
}
.notify-toast.info .notify-progress::after {
  background: #2198ff;
}

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

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

@keyframes progress {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
  .notify-container {
    left: 10px;
    right: 10px;
    top: 10px;
  }

  .notify-toast {
    min-width: auto;
    max-width: none;
  }
}

/* Confirm Modal Styles */
.notify-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 27, 64, 0.4);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.notify-overlay.active {
  opacity: 1;
  visibility: visible;
}

.notify-confirm {
  background: #fff;
  width: 90%;
  max-width: 400px;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
}

.notify-overlay.active .notify-confirm {
  transform: translateY(0);
}

.notify-confirm-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 111, 0, 0.1);
  color: #ff6f00;
  font-size: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.notify-confirm-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0d1b40;
  margin-bottom: 12px;
}

.notify-confirm-message {
  font-family: "Open Sans", sans-serif;
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 30px;
}

.notify-confirm-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.notify-confirm-btns .btn {
  flex: 1;
  justify-content: center;
}
