/* ================================================
   UI COMPONENTS STYLES
   Notification Toast, Form Messages, Confirmation Modal
   ================================================ */

/* Notification Toast Styles */
.notification-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  min-width: 300px;
  max-width: 400px;
  padding: 16px 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  opacity: 0;
  transform: translateX(400px);
  transition: all 0.3s ease;
}

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

.notification-toast.hide {
  opacity: 0;
  transform: translateX(400px);
}

.notification-toast.success {
  border-left: 4px solid #10b981;
}

.notification-toast.error {
  border-left: 4px solid #ef4444;
}

.notification-toast.info {
  border-left: 4px solid #3b82f6;
}

.notification-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  flex-shrink: 0;
}

.notification-toast.success .notification-icon {
  background: #10b981;
  color: #fff;
}

.notification-toast.error .notification-icon {
  background: #ef4444;
  color: #fff;
}

.notification-toast.info .notification-icon {
  background: #3b82f6;
  color: #fff;
}

.notification-content {
  flex: 1;
}

.notification-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
  color: #1f2937;
}

.notification-message {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.4;
}

.notification-close {
  background: none;
  border: none;
  font-size: 20px;
  color: #9ca3af;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.2s;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-close:hover {
  color: #374151;
}

/* Form Message Styles */
.form-message {
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 16px;
  display: none;
  font-size: 14px;
}

.form-message.success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #10b981;
}

.form-message.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #ef4444;
}

/* Confirmation Modal Styles */
.confirmation-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.confirmation-modal.show {
  display: flex;
  opacity: 1;
}

.confirmation-modal-content {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  max-width: 450px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
  text-align: center;
}

.confirmation-modal.show .confirmation-modal-content {
  transform: scale(1);
}

.confirmation-modal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: bold;
}

.confirmation-modal-icon.warning {
  background: #fef3c7;
  color: #d97706;
}

.confirmation-modal-icon.success {
  background: #d1fae5;
  color: #10b981;
}

.confirmation-modal-title {
  font-size: 24px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 12px;
}

.confirmation-modal-message {
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 24px;
  line-height: 1.5;
}

.confirmation-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.confirmation-modal-btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  min-width: 120px;
}

.confirmation-modal-btn-cancel {
  background: #f3f4f6;
  color: #374151;
}

.confirmation-modal-btn-cancel:hover {
  background: #e5e7eb;
}

.confirmation-modal-btn-confirm {
  background: #3b82f6;
  color: #fff;
}

.confirmation-modal-btn-confirm:hover {
  background: #2563eb;
}

.confirmation-modal-btn-danger {
  background: #ef4444;
  color: #fff;
}

.confirmation-modal-btn-danger:hover {
  background: #dc2626;
}

