/* ==========================================
   MODERN NOTIFICATION SYSTEM
   ========================================== */

/* Notification Toast */
.modern-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  opacity: 0;
  transform: translateX(400px);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.modern-notification.show {
  opacity: 1;
  transform: translateX(0);
}

.modern-notification.fade-out {
  opacity: 0;
  transform: translateX(400px);
}

.notification-content {
  color: white;
  padding: 18px 24px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 320px;
  max-width: 450px;
  animation: slideIn 0.3s ease;
}

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

.notification-content i {
  font-size: 24px;
  flex-shrink: 0;
}

.notification-content span {
  flex: 1;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
}

.notification-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 24px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  padding: 0;
  line-height: 1;
}

.notification-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

/* ==========================================
   CONFIRM DIALOG
   ========================================== */
.confirm-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.confirm-overlay.show {
  opacity: 1;
}

.confirm-overlay.fade-out {
  opacity: 0;
}

.confirm-dialog {
  background: white;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 90%;
  overflow: hidden;
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.confirm-dialog.show {
  transform: scale(1);
  opacity: 1;
}

.confirm-dialog.fade-out {
  transform: scale(0.8);
  opacity: 0;
}

.confirm-header {
  background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
  color: white;
  padding: 24px 30px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.confirm-header i {
  font-size: 32px;
}

.confirm-header h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}

.confirm-body {
  padding: 30px;
}

.confirm-body p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

.confirm-footer {
  padding: 20px 30px 30px 30px;
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}

.confirm-btn {
  padding: 12px 28px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.confirm-cancel {
  background: #f5f5f5;
  color: #666;
}

.confirm-cancel:hover {
  background: #e0e0e0;
  color: #333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.confirm-ok {
  background: linear-gradient(135deg, #00cc66 0%, #00aa55 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 204, 102, 0.3);
}

.confirm-ok:hover {
  background: linear-gradient(135deg, #00aa55 0%, #008844 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 204, 102, 0.4);
}

/* Mobile Responsive */
@media screen and (max-width: 767px) {
  .modern-notification {
    right: 10px;
    left: 10px;
    top: 10px;
  }

  .notification-content {
    min-width: auto;
    max-width: none;
  }

  .confirm-dialog {
    width: 95%;
    margin: 20px;
  }

  .confirm-header {
    padding: 20px;
  }

  .confirm-header h3 {
    font-size: 20px;
  }

  .confirm-body {
    padding: 20px;
  }

  .confirm-footer {
    padding: 15px 20px 20px 20px;
    flex-direction: column-reverse;
  }

  .confirm-btn {
    width: 100%;
    justify-content: center;
  }
}
