
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 16px;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 800px;
  margin: 0 auto;
}

h1 {
  text-align: center;
  color: #2c5f41;
  margin-bottom: 24px;
  font-size: 24px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
}

.language-selector {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  gap: 8px;
}

.lang-btn {
  background: none;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 12px;
  cursor: pointer;
  color: #666;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  background: #f0f0f0;
  border-color: #ccc;
}

.lang-btn.active {
  background: #2c5f41;
  color: white;
  border-color: #2c5f41;
}

.register {
  background: white;
  border-radius: 12px;
  border: 2px solid rgba(0, 0, 0, 0.15);
  padding: 16px;
  margin: 16px 8px;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  position: relative;
}

.register:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.register-header {
  margin-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 12px;
}

.event-title {
  font-weight: bold;
  font-size: 18px;
  color: #333;
  margin-bottom: 4px;
  line-height: 1.3;
}

.location-subtitle {
  font-size: 12px;
  color: #666;
  margin-bottom: 8px;
}

.created-date {
  position: absolute;
  top: 16px;
  right: 16px;
  color: #888;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.9);
  padding: 4px 8px;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
}

.section {
  margin-bottom: 16px;
}

.section:last-child {
  margin-bottom: 0;
}

.section-title {
  font-weight: 600;
  color: #444;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  font-size: 14px;
}

.section-title .material-symbols-outlined {
  margin-right: 8px;
  font-size: 18px;
  color: #666;
}

.content {
  color: #555;
  line-height: 1.5;
  margin-bottom: 0;
  font-size: 14px;
  white-space: pre-wrap;
  word-break: break-word;
}

.event-description {
  color: #666;
  font-size: 14px;
  margin-bottom: 12px;
  line-height: 1.4;
}

.chip {
  display: inline-block;
  background: #f5f5f5;
  color: #333;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 12px;
  margin: 2px 4px 2px 0;
  border: 1px solid #e0e0e0;
  font-weight: 500;
}

.emotions-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.emotions-wrap .chip {
  margin: 0;
}

.time-badge {
  font-size: 12px;
  color: #666;
  font-weight: 500;
  margin-left: auto;
}

.loading {
  text-align: center;
  color: #666;
  font-style: italic;
  padding: 40px;
  background: white;
  border-radius: 12px;
  margin: 16px 8px;
}

.error {
  color: #d32f2f;
  text-align: center;
  padding: 20px;
  background: #ffebee;
  border-radius: 12px;
  border: 2px solid #ffcdd2;
  margin: 16px 8px;
}

.empty {
  text-align: center;
  color: #666;
  font-style: italic;
  padding: 40px;
  background: white;
  border-radius: 12px;
  margin: 16px 8px;
}

/* Responsive design */
@media (max-width: 600px) {
  body {
    padding: 8px;
  }
  
  .register {
    margin: 8px 4px;
    padding: 12px;
  }
  
  .created-date {
    position: static;
    margin-top: 8px;
    text-align: right;
    background: none;
    border: none;
    padding: 0;
  }
  
  .event-title {
    font-size: 16px;
  }
  
  h1 {
    font-size: 20px;
    margin-bottom: 16px;
    flex-direction: column;
    gap: 12px;
  }
  
  .language-selector {
    position: static;
    justify-content: center;
  }
  
  .content {
    font-size: 13px;
  }
}