/* Pinned messages styling */

#pinned-messages {
  margin-bottom: 15px;
}

.pinned-message {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  border: 1px solid #ff8c42;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 10px;
  position: relative;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
  animation: slideIn 0.3s ease-out;
}

.pinned-message.maintenance {
  background: linear-gradient(135deg, #ffc107, #ff9800);
  border-color: #ffb74d;
  box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

.pinned-message.info {
  background: linear-gradient(135deg, #61dafb, #21a9f1);
  border-color: #4fc3f7;
  box-shadow: 0 2px 8px rgba(97, 218, 251, 0.3);
}

.pinned-message.warning {
  background: linear-gradient(135deg, #ff5722, #d84315);
  border-color: #ff6f42;
  box-shadow: 0 2px 8px rgba(255, 87, 34, 0.3);
}

.message-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.message-title {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.message-close {
  background: rgba(0,0,0,0.2);
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: background-color 0.2s;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.message-close:hover {
  background: rgba(0,0,0,0.4);
}

.message-content {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #fff;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.message-timestamp {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.8);
  margin-top: 6px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-10px); }
}