/* Toast container */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

/* Individual toast */
.toast {
  min-width: 250px;
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: var(--radius);
  background-color: var(--color-white);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: slideIn 0.3s ease-in-out;
}

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

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

.toast__message {
  margin-right: 10px;
}

.toast__close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-gray-500);
  font-size: 18px;
}

.toast__close:hover {
  color: var(--color-gray-700);
}

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

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

/* User session info */
.user-session {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.user-greeting {
  color: var(--color-gray-700);
  font-size: var(--font-size-sm);
}

.loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-gray-200);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}