.notice-container {
  max-width: 420px;
  width: 100%;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 8rem auto 0;
  /* margin-bottom: 0; */
  overflow: hidden;
  border-left: 4px solid var(--secondary);
  position: relative;
  border: 2px solid var(--Accent-color);
}

.notice-header {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    rgba(32, 77, 47, 0.9) 100%
  );
  padding: 1rem 1.5rem;
  position: relative;
}

.notice-header::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: var(--Accent-color);
  border-radius: 50%;
  transform: translate(50%, -50%);
  opacity: 0.1;
}

.notice-title {
  font-family: var(--logo-font);
  font-size: 1.25rem;
  color: white;
  margin-bottom: 0.25rem;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
}

.notice-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.notice-content {
  padding: 1.5rem;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(
    135deg,
    var(--secondary) 0%,
    var(--Accent-color) 100%
  );
  color: var(--primary);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(230, 182, 53, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: var(--transition);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(230, 182, 53, 0.4);
}

.cta-button:hover::before {
  left: 100%;
}

.warning-icon {
  color: var(--secondary);
  font-size: 1.25rem;
  margin-right: 0.75rem;
  vertical-align: middle;
}

.notice-footer {
  background: var(--light-accent);
  padding: 0.75rem 1.5rem;
  border-top: 1px solid #e1e7ef;
  font-size: 0.8rem;
  color: var(--Neutral-Accent);
  text-align: center;
}

@media (max-width: 450px) {
  .notice-container {
    max-width: 100%;
    /* margin: 0; */
    border-left-width: 3px;
    border-width: 1px;
  }

  .notice-header {
    padding: 0.75rem 1rem;
  }

  .notice-header::after {
    width: 60px;
    height: 60px;
  }

  .notice-title {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    letter-spacing: 0.5px;
  }

  .notice-subtitle {
    font-size: 0.75rem;
  }

  .notice-content {
    padding: 1rem;
  }

  .cta-button {
    width: 100%;
    text-align: center;
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
    display: block;
  }

  .notice-footer {
    padding: 0.6rem 1rem;
    font-size: 0.75rem;
  }

  .warning-icon {
    font-size: 1.1rem;
    margin-right: 0.5rem;
  }
}

.pulse-animation {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 1;
  }
}
