.message {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  max-width: 600px;
  border: 1px solid #d0d0d0;
  padding: 10px 40px 10px 15px;
  opacity: 0.95;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.message-notice {
  background-color: #ffeec2;
  border-color: #ffba08
}

.message-alert {
  background-color: #ffd2d2;
  border-color: #d00000;
}

.message-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.5;
  padding: 0;
  color: inherit;
}

.message-close:hover {
  opacity: 1;
}