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

.notice-name h1 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-medium);
  color: #FFFFFF;
}

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

.notice-content {
  max-width: 100%;
  text-align: left;
}

.notice-content p {
  text-align: left;
}

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

.notice-container .notice-name {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: var(--spacing-3);
}

.notice-content-button p {
  margin: 0;
  font-size: var(--font-size-sm);
}

#register-notice {
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-sm);
  box-shadow: none;
  min-height: 40px;
}

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

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

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

/* Close button styles */
.close-event-box {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(20, 16, 50, 0.88);
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.32);
  transition: all 0.3s ease;
  z-index: 10;
}

.close-event-box:hover {
  background: var(--main-hover, #c95711);
  transform: scale(1.1);
}

.close-event-box:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 2px;
}

.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: var(--radius-full);
  padding: 10px 20px;
  cursor: pointer;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  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);
}
