/* Phase 4 – Toast Notification Styles */

.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  max-width: 400px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  background: #fff;
  border-left: 4px solid;
  pointer-events: auto;
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.3s ease;
}

.toast-show {
  transform: translateX(0);
  opacity: 1;
}

.toast-hide {
  transform: translateX(100%);
  opacity: 0;
}

.toast-success {
  border-left-color: #29c51b;
  background: #f8fff8;
}

.toast-error {
  border-left-color: #dc3545;
  background: #fff8f8;
}

.toast-warning {
  border-left-color: #ffc107;
  background: #fffef8;
}

.toast-info {
  border-left-color: #17a2b8;
  background: #f8fcff;
}

.toast-content {
  flex: 1;
  font-size: 14px;
  line-height: 1.4;
}

.toast-message {
  color: #333;
  font-weight: 500;
}

.toast-close {
  background: none;
  border: none;
  font-size: 18px;
  color: #666;
  cursor: pointer;
  padding: 0;
  margin-left: 12px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast-close:hover {
  color: #333;
}

@media (max-width: 480px) {
  .toast-container {
    left: 20px;
    right: 20px;
    max-width: none;
  }
}
