header {min-height: 80px; display: flex; align-items: center; justify-content: center;}
nav .nav-item button {min-width:100px;}
nav .nav-item input::placeholder {opacity: 30%;}
.flex-wrap-hide-last span {padding:0 0.3em;}

main {min-height: calc(100vh - var(--main_mh));}
.main-center {display:flex; flex-direction: column; justify-content: center;}

/* main - index */
section.main-content {background: url('/_data/images/main_fla.png') no-repeat;background-size: cover;background-position: center;border-radius: 20px;color: white;text-align: center;}
section.main-content .main-item {  display: flex;  flex-direction: column;  align-items: center;  justify-content: flex-end;}
section.main-content .main-item .item-image {  flex: 1;  display: flex;  align-items: center;}
.item-text>* { margin: 0 5px;}
article.main-menu-link {  background: #1f4a99;  color: white;  padding: 20px;  border-radius: 20px;}
article.main-menu-link .col {  padding: 5px;}
article.main-menu-link .col a {  background: #fff;  color: #1f4a99;  text-align: center;  border-radius: 5px;  padding: 10px 0;}
.btn-down, .btn-up {  display: inline-block;  width: 30px;  height: 30px;  background: #fff;  border-radius: 5px;  vertical-align: middle;  font-weight: bold;  line-height: normal;  font-size: 1.2rem;  cursor: pointer;border: 1px solid #aaa;}
.btn-down {  color: blue;}
.btn-up {  color: red;}


/* auth - join */
.auth_warp input::placeholder {opacity: 30%; text-align:center;}
.auth_warp .form-group {margin:10px 0;}
.auth_warp .form-button {display: flex; justify-content: space-between; }
.auth_warp .form-button button { flex: auto; }
.auth_warp .form-button button + button {margin-left: 10px;}
.auth_warp .auth_title { border-bottom: 1px solid; border-color: #8059c6; }
.auth_warp .form-control:focus {border-color: #8059c6; box-shadow: 0 4px 12px 0 rgba(128, 89, 198, 0.15); }

.btn-purple {
  --bs-btn-color: #fff;
  --bs-btn-bg: #8059c6;
  --bs-btn-border-color: #8059c6;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #6d47b6;
  --bs-btn-hover-border-color: #6d47b6;
  --bs-btn-focus-shadow-rgb: 128, 89, 198;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #5a3996;
  --bs-btn-active-border-color: #5a3996;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(128, 89, 198, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #8059c6;
  --bs-btn-disabled-border-color: #8059c6;
}
@media (min-width: 768px) {
  .border-md-end {
    border-right: 1px solid #dee2e6 !important; /* Bootstrap 기본 border 색상 */
  }
  .border-md-bottom-0 {
    border-bottom: 0 !important;
  }
}
.dot:after {content: "·";}


/* 모바일 하단 고정 메뉴바 */
.mobile-bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1050; background: #fff; border-top: 1px solid #eee; box-shadow: 0 -2px 12px rgba(0,0,0,0.07); display: flex;  justify-content: space-around; align-items: center; height: 60px; padding-bottom: env(safe-area-inset-bottom, 0); /* iOS notch 대응 */ transition: bottom 0.2s;}
.mobile-bottom-nav a { flex: 1 1 0; text-align: center; font-size: 1.1rem; padding: 8px 0 0 0; text-decoration: none;}
@media (min-width: 768px) {
  .mobile-bottom-nav { display: none; }
}
@media (max-width: 767px) {
  body { padding-bottom: 70px; /* 메뉴바 높이만큼 여백 확보 */ }

  .responsive-table thead { display: none;}
  .responsive-table tr { display: block; margin-bottom: 1.5rem; border: 1px solid #eee; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); padding: 1rem }
  .responsive-table td {    display: flex;    justify-content: flex-start;    align-items: center;    padding: .5rem 0;    border: none;    font-size: 1rem;  }
  .responsive-table td:last-child {    border-bottom: none;  }
  .responsive-table td[data-label]::before {    content: attr(data-label);    font-weight: bold;    margin-right: 1rem;    min-width: 130px;    display: inline-block;  }
}
