html, body {
  height: 100%;
  margin: 0;
}

.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

/* 푸터 기본 텍스트 스타일 */
footer {
  font-size: 0.9rem;
  color: #555;
  padding: 20px 0;
  background-color: #f8f9fa;
}

/* 푸터 내부 링크 스타일 */
footer a {
  color: #FF6400;
  text-decoration: none;
  font-weight: 500;
}

footer a:hover {
  color: #FF6400;
  text-decoration: underline;
}

.logo img {
  height: 38px;
}

nav ul.nav {
  justify-content: center;
  padding-top: 20px;
  font-size: 20px;
  margin: 0;
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-link {
  color: #333 !important;
  text-decoration: none !important;
  transition: color 0.3s ease;  
}

.nav-link:hover,
.nav-link:focus {
  color: #FF6400 !important;
  text-decoration: none !important;
}

.nav-link.text-warning {
  color: #FF6400 !important;
}

.table-hover tbody tr:hover {
  --bs-table-hover-bg: transparent;
  background-color: transparent !important;
}

a {
  color: #FF6400;
  text-decoration: none;
}

a:hover, a:focus {
  color: #FF6400;
  text-decoration: none;
}

:root {
  --key-color: #FF6400;
}

.btn-login {
  color: var(--key-color);
  border: 1px solid var(--key-color);
  background-color: transparent;
}

.btn-login:hover {
  color: var(--key-color);
  background-color: transparent;
  border-color: var(--key-color);
  box-shadow: none;
}

.btn-signup {
  color: #fff;
  background-color: var(--key-color);
  border: 1px solid var(--key-color);
}

.btn-signup:hover {
  color: #fff;
  background-color: var(--key-color);
  border-color: var(--key-color);
  box-shadow: none;
}

.dropdown {
  position: relative;
}

.dropdown-toggle {
  border: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  color: var(--key-color) !important;
  text-decoration: none;
}

.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0;
  border: 1px solid #dee2e6;
  z-index: 1000;
}

.dropdown-menu .dropdown-item {
  color: #333;
  text-decoration: none;
}

.mobile-footer-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  border-top: 1px solid #ccc;
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
  z-index: 9999;
}

.mobile-footer-nav .footer-btn {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  color: var(--key-color);
  font-weight: bold;
  text-decoration: none;
  border-right: 1px solid #eee;
}

.mobile-footer-nav .footer-btn:last-child {
  border-right: none;
}

.mobile-footer-nav .footer-btn:hover {
  background-color: #fff;
  color: var(--key-color);
}

/* 로그인 및 회원가입 박스 스타일 */
.card-login-box {
  border: 1px solid #fff3cd !important;  /* 키컬러 테두리 */
  border-radius: 1rem !important;        /* 둥근 모서리 */
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
}

/* 모바일 햄버거 버튼 */
.mobile-menu-toggle {
  background: none;
  border: none;
  position: absolute;
  top: 18px;
  right: 15px;
}

/* 모바일 슬라이드 메뉴 */
.mobile-side-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 260px;
  height: 100vh;
  background-color: #fff;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  z-index: 10000;
  transition: right 0.3s ease-in-out;
}

.mobile-side-menu.active {
  right: 0;
}

/* 닫기 버튼 */
.mobile-side-menu .close-menu {
  background: none;
  border: none;
  font-size: 28px;
  color: #333;
}

/* 모바일 메뉴 링크 */
.mobile-link {
  display: block;
  padding: 12px 0;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid #eee;
}

.mobile-link:hover {
  color: #FF6400;
}

/* 모바일 메뉴 오버레이 */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);  /* 회색 블러 느낌 */
  z-index: 9999;
  display: none;
  backdrop-filter: blur(2px);
}

/* 메뉴가 열렸을 때 보이게 */
.mobile-side-menu.active + .mobile-overlay {
  display: block;
}
/* 버튼 위치 고정 */
.menu-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
}

/* 모바일 메뉴 슬라이딩 */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease-in-out;
  z-index: 10000;
  padding: 20px;
}

/* 메뉴 내용 */
.mobile-menu .menu-link {
  display: block;
  padding: 10px 0;
  color: #000;
  text-decoration: none;
  border-bottom: 1px solid #eee;
}

.mobile-menu .menu-link:hover {
  background: #f9f9f9;
}

/* 메뉴 열림 상태 */
.mobile-menu.open {
  right: 0;
}

/* 배경 회색 블러 처리 */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(2px);
  z-index: 9999;
}

/* 닫기 버튼 숨기기 기본 */
#menuClose.d-none {
  display: none;
}
.btn-outline-keycolor {
  color: #FF6400;
  border: 1px solid #FF6400;
  background-color: transparent;
  transition: all 0.2s ease-in-out;
}

.btn-outline-keycolor:hover,
.btn-outline-keycolor:focus {
  background-color: #FF6400;
  color: #fff;
  border-color: #FF6400;
}
.hidden {
  display: none;
}
/* PC */
@media (min-width: 768px) {
  .mobile-menu-toggle,
  #mobileSideMenu {
    display: none !important;
  }  
  .mobile-footer-nav {
    display: none;
  }
}
/* 모바일 */
@media (max-width: 576px) {
  header .logo img {
    height: 30px !important;
  }
  .container {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
  }
	.form-check-label{
		font-size: 13px;
	}	

  .nav-link {
    font-size: 13px;
    padding: 0.25rem 0.5rem;
    white-space: nowrap;
    min-width: 70px; /* 최소 너비를 줘서 메뉴가 너무 작게 안 보이도록 */
    text-align: center;
  }
  .img-fluid {
    max-height: 20px !important;
  }
  .list-unstyled.text-muted {
    text-align: center;
  }
  nav ul.nav {
    padding-top: 10px;
	}
	 .form-control {
    font-size: 13px !important;
  }
	.modal-title{
		font-size: 16px;
	}
	.bg-warning-subtle.py-3.mb-3{
     padding-top: 0 !important; 
	}
	.bg-warning-subtle.py-4.mt-1{
         padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
	}
	.nav {
    justify-content: center !important;
    text-align: center;
  }

  .nav .nav-item {
    display: inline-block;
    float: none;
  }
  select {
    font-size: 13px !important; /* 원하는 크기로 조절하세요 */
  }
  .h5, h5, .btn  {
    font-size: 1rem;
}
 body, .btn {
    font-size: 13px !important;
  }
}