/* 팝업 레이어 */
.popup-layer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  justify-content: left;
  align-items: flex-start;
  padding: 25px;
  box-sizing: border-box;
}

/* 팝업 본체 */
.popup-content {
  background-color: #ffffff;
  width: 90%;
  max-width: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.2s ease-in-out;
}

/* 팝업 본문 영역 */
.popup-body {
  text-align: center;
}

/* 하단 버튼 영역 */
.popup-footer {
  display: flex;
  border-top: 1px solid #eee;
  background-color: #fafafa;
}

.popup-footer button {
  flex: 1;
  padding: 14px 0;
  border: none;
  background: none;
  font-size: 14px;
  cursor: pointer;
  color: #555;
  transition: background-color 0.2s;
}

.popup-footer button:first-child {
  border-right: 1px solid #eee;
}

.popup-footer button:hover {
  background-color: #f0f0f0;
}

.popup-footer button.btn-close {
  font-weight: bold;
  color: #222;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
