html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}
#container {
  display: flex;
  height: 100vh;
}
.left-panel {
  width: 600px;
  min-width: 400px;
  background: #f8f8f8;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.right-panel {
  flex: 1 1 0;
  position: relative;
  min-width: 0;
  min-height: 0;
  height: 100%;
}
#map {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0px; /* 혹은 px/vh로 명시 */
}

.map-nav {
    position: absolute;
    top: 16px;
    right: 20px;
    z-index: 200; /* 지도 컨트롤(gis zoom 등)보다 앞에 뜰 수 있게 충분히 높게 */
    display: flex;
    gap: 8px;
}
.map-tab-btn {
    background: #f7fafc;
    color: #3b4252;
    border: 1px solid #d2d5da;
    border-radius: 6px;
    padding: 7px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.14s, color 0.14s;
}
.map-tab-btn.active,
.map-tab-btn:hover {
    background: #3867ff;
    color: #fff;
    border-color: #2957e7;
}


.upload-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  width: 100%;
  max-width: 550px;
  max-height: 1000px;
  overflow-y: auto;  /* 세로 스크롤바를 자동으로 표시 */
  margin: 5px auto;
  padding: 18px 12px 20px 12px;
  box-sizing: border-box;
  align-self: flex-start;
}

.upload-title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;  /* 12px → 8px */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 0 0;
}

.upload-title .required {
  color: #e74c3c;
  margin-left: 4px;
  font-size: 16px;
  font-weight: 700;
}

.sample-link {
  font-size: 13px;
  color: #1976d2;
  text-decoration: none;
  font-weight: 500;
}

.upload-tabs {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

.upload-tabs {
  display: flex;
  flex-direction: column; /* ⭐ 세로 방향으로 배치 */
  align-items: center;     /* 가운데 정렬 */
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

.upload-tab.active {
  background: #fff;
  color: #1976d2;
  border-bottom: 2px solid #1976d2;
  font-weight: 700;
}

.upload-dropzone {
  border: 2px dashed #b0b8c1;
  border-radius: 8px;
  background: #fafbfc;
  text-align: center;
  padding: 24px 0 22px 0;  /* 38px 0 36px 0 → 24px 0 22px 0 */
  margin: 20px auto 0 auto;  /* 30px auto 0 auto → 20px auto 0 auto */
  width: 90%;
  min-height: 70px;  /* 90px → 70px */
  position: relative;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.upload-dropzone.dragover {
  border-color: #1976d2;
  background: #f0f7ff;
}

.upload-dropzone .message {
  color: #888;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 400;
}

input[type="file"] {
  display: none;
}

