body {
  font-size: 15px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0;
  padding: 20px;
  max-width: 700px;
  margin: 60px auto;
  align-content: center;
  flex-direction: row;
  flex-wrap: wrap;
  justify-items: center;
  justify-content: center;
}

.main_text {
  font-size: 0.8rem;
  position: relative;
  top: 13px;
}

.grid button {
  margin: 0px 0 5px 0;
  display: flex;
  padding: 10px;
  font-size: 15px;
  background-color: #ffffff00;
  border: 0px solid #ccc;
  border-radius: 208px;
  cursor: pointer;
  /* box-shadow: 0 3px 6px rgb(0 0 0 / 62%); */
  transition: all 0.2s ease-in-out;
  white-space: normal;
  width: 4rem;
  flex-direction: column;
  justify-content: flex-start;
}

.grid button:hover {
  background-color: #f9f9f9;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

/* 팝업 배경 (반투명 블랙) */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  backdrop-filter: blur(2px);
}

/* 팝업 본체 */
.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ffffff;
  padding: 17px 16px;
  border-radius: 32px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  z-index: 10001;
  max-height: 90%;
  overflow: auto;

}

.popup h3 {
  margin-top: 0;
  font-size: 20px;
  text-align: center;
  color: #333;
}

.popup input {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  margin-bottom: 20px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.popup-buttons {
  display: flex;
  justify-content: space-between;
}

.popup-buttons button {
  flex: 1;
  margin: 0 5px;
  padding: 10px;
  font-size: 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.popup-buttons button:first-child {
  background-color: #4caf50;
  color: white;
}

.popup-buttons button:first-child:hover {
  background-color: #43a047;
}

.popup-buttons button:last-child {
  background-color: #f44336;
  color: white;
}

.popup-buttons button:last-child:hover {
  background-color: #e53935;
}



.icon-main {
  /* height: 4rem; */
  display: flex;
  border: 0;
  justify-content: center;
  align-items: center;
  position: relative;
  /* top: -125px; */
  left: 50%;
  transform: translateX(-50%);
  font-size: 5rem;
}

.icon-lock {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 40%;

  left: 50%;
  transform: translateX(-50%);
  font-size: 5rem;
}

#xxx_btn {
  border: 0;
  font-size: 2rem;
  /* padding: 14px 9px; */
  position: fixed;
  top: 0px;
  right: 19px;
  background: #cdcdcd00;

}

h1 {
  font-weight: bolder;
  font-size: 1.2rem;
  color: #2c3e50;
  margin-bottom: 20px;
  text-align: center;
}

p {
  line-height: 1.6;
  margin-bottom: 16px;
}

.highlight {
  background-color: #ffeaa7;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: bold;
}

.link-box {
  margin-top: 12px;
}

.link-box input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  background-color: #f1f2f6;
  color: #2d3436;
}

.png_main {
  width: 6rem;
}

/* a.button {
    display: block;
    background-color: #03c75a;
    color: white;
    text-align: center;
    text-decoration: none;
    padding: 14px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.2s ease;
  } */

a.button:hover {
  background-color: #02b050;
}

.below-link {
  margin-top: 12px;
  font-size: 14px;
  text-align: center;
  word-break: break-all;
  color: #666;
}

ul {
  padding-left: 20px;
}

li {
  margin-bottom: 8px;
}

.copy-button {
  margin-left: 8px;
  padding: 6px 10px;
  font-size: 13px;
  background-color: #e0e0e0;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.copy-button:hover {
  background-color: #d1d1d1;
}






/* popup.css - 공통 CSS */



.container {
  position: relative;
  /* 아이콘을 컨테이너 기준으로 배치 */
  background: #fff;
  /* padding: 40px 20px 20px; */
  border-radius: 12px;
  /* box-shadow: 0 8px 24px rgba(0,0,0,0.2); */

  max-width: 400px;
  /* margin: 24px auto; */
}



ul {
  padding-left: 20px;
  list-style: none;
}

li {
  margin-bottom: 16px;
  color: #8d8d8d;
}

.highlight {
  background-color: #fff3cd00;
  color: #040010;
  /* padding: 2px 6px; */
  margin: 0 10px 5px;
  border-radius: 4px;
  font-weight: bold;
}

.important {
  color: #c0392b;
  font-weight: bold;
}

a.button {
  display: inline-block;
  margin: 0 0px 15px;
  padding: 12px 20px;
  /* 패딩 증가: 버튼 영역 확대 */

  /* 1. 배경색 변경: 더 밝고 시선을 끄는 색상 */
  background-color: #00A859;
  color: #ffffff;

  /* 2. 글자 크기 증가: 가독성 개선 */
  font-size: 0.8rem;
  font-weight: bold;
  text-decoration: none;
  width: 100%;

  /* 3. 테두리 강조 */
  border: 2px solid #005F30;
  border-radius: 8px;
  /* 모서리 부드럽게 */

  /* 4. 그림자 추가: 버튼을 화면에서 살짝 띄워 뚜렷하게 만듦 */
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

a.button:hover {
  background-color: #02a84e;
}

.copy-button {
  padding: 6px 10px;
  font-size: 13px;
  background-color: #03c75a;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-left: 6px;
}

.copy-button:hover {
  background-color: #02a84e;
}

.inline-button {
  padding: 4px 8px;
  font-size: 13px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #f1f1f1;
  margin: 2px 2px;
  cursor: pointer;
  transition: background 0.2s;
}

.inline-button:hover {
  background-color: #e0e0e0;
}

.notice-list a {
  color: #03c75a;
  text-decoration: underline;
  font-size: 13.5px;
}

.below-link {
  margin-top: 8px;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}