.cg-notice-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 15px;
}

.cg-notice-box {
  background: #ffffff;
  width: 100%;
  max-width: 900px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 45px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

.cg-notice-header {
  position: relative;
  background: #d71920;
  color: #ffffff;
  padding: 22px 20px;
  text-align: center;
}

.cg-notice-header h2 {
  margin: 0;
  font-size: clamp(16px, 3vw, 22px);
  letter-spacing: 1px;
}

.cg-notice-logo {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  max-width: 130px;
  width: 25vw;
  height: auto;
}

.cg-notice-content {
  padding: 18px 20px;
  font-size: clamp(13px, 2.6vw, 22px);
  line-height: 1.7;
  color: #333;
  overflow-y: auto;
  max-height: 65vh;
}

.cg-notice-footer {
  padding: 15px;
  background: #f5f5f5;
  text-align: center;
}

.cg-notice-footer button {
  background: #d71920;
  color: #ffffff;
  border: none;
  padding: 10px 26px;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
}

.cg-notice-footer button:hover {
  background: #b5151b;
}

@media (max-width: 767px) {
  .cg-notice-content {
    font-size: clamp(13px, 2.6vw, 24px);
  }
}

@media (max-width: 600px) {
  .cg-notice-logo {
    position: static;
    transform: none;
    display: block;
    margin: 0 auto 10px;
    width: 140px;
  }

  .cg-notice-header {
    padding: 15px;
  }

  .cg-notice-content {
    font-size: clamp(13px, 2.6vw, 24px);
  }
}