.notice-container {
  background-image: var(--background-image);
  background-color: var(--background-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 16px;
  color: var(--baseFg);
  padding: 10px;
}

.notice-name h1 {
  font-size: 26px;
  font-weight: 500;
}

.notice-sub-title {
  font-size: 14px;
  color: var(--noice-btn);
  font-weight: 800;
  margin-bottom: 3px;
}

.notice-content {
  max-width: 60%;
}

.notice-content-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.notice-content-button p {
  margin: 0;
  font-size: 14px;
}

#register-notice {
  font-weight: 700;
  font-size: 14px;
  box-shadow: none;
}

@media screen and (max-width: 1200px) {
  .notice-content {
    max-width: 100%;
  }
}

@media screen and (max-width:820px) {
  .notice-content-button p {
    width: 100%;
  }
}

@media screen and (max-width:485px) {
  #register-notice {
    width: 100%;
  }
}

/* Close button styles */
.close-event-box {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  z-index: 10;
}

.close-event-box:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.close-event-box::before {
  content: '-';
  line-height: 1;
}

/* Notice container positioning */
.notice-container {
  position: relative;
}

/* Hidden state */
.notice-container.hidden {
  display: none;
}

/* Show notice button (for when user wants to see it again) */
.show-notice-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #007cba;
  color: white;
  border: none;
  border-radius: 25px;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 1000;
}

.show-notice-button:hover {
  background: #005a87;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}