/* ver 2.5 2025_0418 - IP 관리 스타일 통합 */

body {
  font-family: "IBM Plex Sans KR", sans-serif;
  font-size: 16px;
  color: #555555;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  padding-top: 80px; /* Fixed navbar를 위한 상단 여백 추가 */
}

/* navbar css 시작*/

.navbar {
  --bs-navbar-padding-y: 0rem;
}

.custom-navbar {
  height: 80px;
  display: flex;
  align-items: center;
  background-color: #f0f8ff; /* 연한 하늘색 배경 */
  border-bottom: 1px solid #a0ceed; /* 진한 파란색 선 */
  position: fixed; /* Fixed 포지션 추가 */
  top: 0;
  width: 100%;
  z-index: 1000;
}

.navbar-fixed {
  top: 0;
  width: 100%;
  height: 70px; /* navbar 높이 통일 */
  z-index: 1000;
}

.navbar-brand {
  font-weight: 700;
  color: #555555 !important;
  text-decoration: none;
}

.navbar-brand:hover {
  color: #007acc !important;
}

.nav-link {
  color: #555555 !important;
  transition: color 0.3s ease;
  font-weight: 700; 
  font-size: 1.2rem;
}

.nav-link:hover {
  color: #007acc !important;
}

.dropdown-menu {
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.dropdown-item:hover {
  background-color: #f0f8ff;
  color: #007acc;
}

/* 데스크톱에서 좌우 여백 추가 - content_padding과 일치 */
@media (min-width: 992px) {
  .navbar-brand {
    margin-left: 230px; /* content_padding의 250px에 맞춤 */
  }

  .navbar-nav.ms-auto {
    margin-right: 230px !important;
  }
}

/* 태블릿 */
@media (max-width: 991px) and (min-width: 769px) {
  .navbar-brand {
    margin-left: 80px; /* section padding 100px에 맞춤 */
  }

  .navbar-nav.ms-auto {
    margin-right: 80px !important;
  }

  .navbar-collapse {
    margin-top: 0.5rem;
  }

  .custom-navbar {
    height: auto;
    min-height: 80px;
  }
}

/* 모바일 */
@media (max-width: 768px) {
  .custom-navbar {
    height: auto;
    min-height: 80px;
    padding: 0.5rem 1rem;
  }

  .navbar-brand {
    margin-left: 0;
    font-size: 1.5rem !important;
  }

  .navbar-nav.ms-auto {
    margin-right: 0 !important;
  }

  .navbar-collapse {
    margin-top: 1rem;
    padding: 1rem 0;
    background-color: #f0f8ff;
    border-radius: 8px;
    margin-top: 10px;
  }

  .nav-item {
    text-align: center;
    margin: 0.25rem 0;
  }

  .dropdown-menu {
    position: static !important;
    float: none;
    width: 100%;
    margin-top: 0;
    background-color: rgba(240, 248, 255, 0.9);
    border: none;
    box-shadow: inset 0 1px 0 rgba(0, 122, 204, 0.15);
  }

  .dropdown-item {
    text-align: center;
    padding: 0.75rem 1rem;
    color: #555555;
  }

  /* 모바일에서 body padding-top 조정 */
  body {
    padding-top: 100px !important;
  }
}

/* 아주 작은 모바일 */
@media (max-width: 576px) {
  .navbar-brand {
    font-size: 1.25rem !important;
  }

  .nav-link {
    font-size: 1rem;
  }

  .small {
    font-size: 0.85rem !important;
  }

  .custom-navbar {
    padding: 0.5rem 0.75rem;
  }
}

/* navbar css 종료*/

.offset-left-custom {
  margin-left: 20px;
}

.section {
  padding: 0 100px; /* 좌우 100px, 상하 0 */
  box-sizing: border-box;
}

.content_padding {
  padding-left: 250px;
  padding-right: 250px;
}

/* 각 카드를 의미*/
.service {
  width: 300px;
  height: 350px;
  padding: 16px;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
}

html {
  font-size: 16px;
}

.logo-img {
  width: 50px;
  height: 50px;
  margin-right: 8px;
  vertical-align: middle; /* 텍스트와 수직 정렬이 필요할 때 */
  object-fit: contain; /* 이미지 비율 유지하면서 크기에 맞춤 */
}

.service-major-topic {
  font-size: 16px;
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset: 4px; /* 밑줄을 글자에서 4px 아래로 */
}

.service-middle-topic {
  font-size: 12px;
  color: #555;
}

.container_main {
  width: 100%;
}

/* 이미지 사용시 경로 지정
/static/css/images/top03_1920_200.jpg
*/
.top_menu_img {
  width: 100%;
  height: 200px;
  background-image: url("./images/top06_1920_200.jpg");
  margin-bottom: 0px;
}

/* 화면 상단에 출력할 타이틀 */
.top_menu_label {
  position: relative; /* 속해 있는 부모 태그 기준 설정 */
  top: 80%;
  left: 0.5%;
  color: #ffffff;
  font-size: 2em;
}

.top_menu {
  position: relative; /* 부모 태그 기준, 화면 상단 기준*/
  top: 52%;
  background-color: rgba(50, 50, 50, 0.3); /* 0.1: Alpha, 투명도 */
  color: white;
  padding-top: 2px;
  padding-left: 10px;
  height: 22px;
}

/* 화면 상단 메뉴 세로 구분선
    <span class='top_menu_sep'> </span> */
.top_menu_sep {
  background: url("/css/images/gray.jpg") center center no-repeat;
  background-size: 1px;
  width: 1px;
  margin-left: 5px;
  margin-right: 5px;
}

.menu_line {
  width: 100%;
  border-bottom: dotted 1px #777777;
  margin: 2px 0px 10px 0px; /* top -> right -> bottom -> left */
  clear: both;
}

.left_menu {
  width: 15%;
  float: left;
}

.content {
  width: 90%;
  margin: 10px auto;
}

.content_body {
  position: relative; /* Fixed navbar로 인해 absolute에서 relative로 변경 */
  /* top: 56px; 제거 - body padding으로 대체 */
  bottom: 50px; /* footer 높이만큼 띄우기 */
  left: 0;
  right: 0;
  overflow-y: auto;
  padding: 20px;
}

/* 화면 내용 하단 메뉴 우측 배치 */
.content_body_bottom {
  clear: both;
  padding-top: 20px;
  padding-right: 20px;
  padding-bottom: 20px;
  text-align: center;
  width: 100%;
  background-color: white;
}

.content_bottom {
  width: 90%;
  margin: 10px auto;
}

.bottom_menu {
  position: fixed;
  height: 40px;
  bottom: 0;
  width: 100%;
  background-color: #f0f8ff;
  text-align: center;
  padding: 10px 0;
  font-size: 0.9rem;
  color: #666;
  border-top: 1px solid #ccc;
}

.bottom_menu_fixed {
  bottom: 0;
  width: 100%;
  height: 40px; /* navbar 높이 통일 */
  z-index: 1000;
}

.aside_left {
  float: left;
  font-size: 1.3em;
}

/** 본래의 A 태그의 크기를 제거하고 부모의 가변 크기를 사용 */
.aside_left a {
  font-size: 1em;
}

.aside_right {
  float: right;
  font-size: 0.9em; /* 부모 글꼴 크기 대비 90%로 출력 */
}

.aside_right a {
  font-size: 1em;
}

/* ASIDE 메뉴 세로 구분선 */
.menu_divide {
  /* 서브 메뉴의 세로 구분선 */
  color: #aaaaaa;
  font-size: 0.8em; /* 부모 글자 크기에 비해서 80%로 출력 */
  vertical-align: 0%; /* 0%는 bottom 기준 */
}

.copyright {
  margin-top: 10px;
  border-top: solid 1px #999999;
  text-align: center;
  clear: both; /* 앞쪽 태그의 float 효과를 제거함. */
}

.li_none {
  list-style: none;
  text-align: center;
  margin: 15px 10px;
}

.li_none_left {
  text-align: left;
  list-style: none;
  margin: 15px 10px;
}

.li_warning {
  /* 경고 메시지 */
  list-style: none;
  margin: 15px 10px;
  color: #ff6600;
}

.li_error {
  /* 에러 메시지 */
  list-style: none;
  margin: 15px 10px;
  color: #ff0000;
}

.li_right {
  text-align: right;
  list-style: none;
  margin: 20px auto;
  padding-right: 20px;
}

.fieldset_basic {
  width: 90%;
  margin: 10px auto;
  border-top: none;
  border-right: none;
  border-bottom: none;
  border-left: none;
  padding: 10px;
}

.legend_basic {
  margin-left: 30px;
  border: solid 1px #999999;
  background-color: #a6c2ff;
  color: #ffffff;
}

.input_basic {
  border-top: none;
  border-right: none;
  border-bottom: solid 1px #999999;
  border-left: none;
  padding-left: 2px;
}

.textarea_basic {
  border-top: solid 1px #999999;
  border-right: solid 1px #999999;
  border-bottom: solid 1px #999999;
  border-left: solid 1px #999999;
  padding-left: 2px;
}

.title_line {
  text-align: left;
  border-bottom: solid 3px #555555;
  width: 100%;
  margin: 20px auto;
  font-size: 20px;
}

.title_line_text {
  font-size: 20px;
}

.title_link:link {
  /* 방문전 상태 */
  font-size: 20px;
  text-decoration: none; /* 밑줄 삭제 */
}

.title_link:visited {
  /* 방문후 상태 */
  font-size: 20px;
  text-decoration: none; /* 밑줄 삭제 */
}

.title_link:hover {
  /* A 태그에 마우스가 올라간 상태 */
  font-size: 20px;
  text-decoration: none; /* 밑줄 삭제 */
}

.title_link:active {
  /* A 태그를 클릭한 상태 */
  font-size: 20px;
  text-decoration: none; /* 밑줄 삭제 */
}

.sub_menu {
  text-align: right;
  width: 100%;
}

.table_basic {
  border-collapse: collapse;
  margin: 2px auto;
  width: 100%;
}

/* 1em 기본값 : 16px, 주변 태그의 글자크기를 1em으로 인식
    DIV 태그가 20px 일경우 자식태그가 0.5em이면 최종적으로 10px이 적용됨.
    DIV 태그가 20px 일경우 자식태그가 1em이면 최종적으로 20px이 적용됨.
    DIV 태그가 20px 일경우 자식태그가 1.5em이면 최종적으로 30px이 적용됨.
*/
.th_basic {
  font-size: 0.8em;
  border-bottom: solid 3px #dddddd;
}

.th_left {
  font-size: 0.8em;
  border-bottom: solid 3px #dddddd;
  text-align: left;
}

.th_bs {
  text-align: center;
}

.td_basic {
  border-top: none;
  border-right: none;
  border-bottom: solid 1px #dddddd;
  border-left: none;
  text-align: center;
}

.td_left {
  border-top: none;
  border-right: none;
  border-bottom: solid 1px #dddddd;
  border-left: none;
  text-align: left;
}

.td_bs {
  text-align: center;
  vertical-align: middle;
}

.td_bs_left {
  text-align: left;
  vertical-align: middle;
}

a:link {
  /* 방문전 상태 */
  text-decoration: none; /* 밑줄 삭제 */
  color: #555555;
}

a:visited {
  /* 방문후 상태 */
  text-decoration: none; /* 밑줄 삭제 */
  color: #555555;
}

a:hover {
  /* A 태그에 마우스가 올라간 상태 */
  text-decoration: underline; /* 밑줄 출력 */
  color: #7777ff;
}

a:active {
  /* A 태그를 클릭한 상태 */
  text-decoration: underline; /* 밑줄 출력 */
  color: #7777ff;
}

.menu_link:link {
  /* 방문전 상태 */
  text-decoration: none; /* 밑줄 삭제 */
  color: white;
}

.menu_link:visited {
  /* 방문후 상태 */
  text-decoration: none; /* 밑줄 삭제 */
  color: white;
}

.menu_link:hover {
  /* A 태그에 마우스가 올라간 상태 */
  text-decoration: underline; /* 밑줄 출력 */
  color: white;
}

.menu_link:active {
  /* A 태그를 클릭한 상태 */
  text-decoration: underline; /* 밑줄 출력 */
  color: white;
}

.recom_link:link {
  /* 방문전 상태 */
  text-decoration: none; /* 밑줄 삭제 */
  color: #555555;
  font-size: 0.8em;
}

.recom_link:visited {
  /* 방문후 상태 */
  text-decoration: none; /* 밑줄 삭제 */
  color: #555555;
  font-size: 0.8em;
}

.recom_link:hover {
  /* A 태그에 마우스가 올라간 상태 */
  text-decoration: none; /* 밑줄 출력 */
  color: #7777ff;
  font-size: 0.8em;
}

.recom_link:active {
  /* A 태그를 클릭한 상태 */
  text-decoration: none; /* 밑줄 출력 */
  color: #7777ff;
  font-size: 0.8em;
}

.content_title {
  border-top: none;
  border-right: none;
  border-bottom: solid 1px #dddddd;
  border-left: none;
  margin-bottom: 20px;
}

.content_bottom {
  border-top: none;
  border-right: none;
  border-bottom: none;
  border-left: none;
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: right;
  font-size: 0.9em;
}

.li_left_menu_1 {
  /* 화면 좌측 대분류 */
  list-style: none;
  margin-top: 25px;
  background: url(/css/images/li_left_menu_1.png) left center no-repeat;
  background-size: 16px;
  padding-left: 25px;
  line-height: 15px;
}

.li_left_menu_2 {
  /* 화면 좌측 중분류 */
  list-style: none;
  margin: 15px 10px;
  background: url(/css/images/li_left_menu_2.png) left center no-repeat;
  background-size: 16px;
  padding-left: 25px;
  line-height: 15px;
}

.label_basic {
  width: 200px;
  background-color: #99cc00;
  color: #ffffff;
  font-weight: normal;
  display: inline-block; /* DIV 태그처럼 한줄의 영역을 블럭 영역으로 확장 표시 */
  text-align: right;
  padding-right: 10px;
}

/* 기타 메시지 */
.message {
  font-weight: bold;
  width: 70%;
  border: none;
  margin: 30px auto;
  text-align: center;
  background-color: #fafafa;
  padding: 30px;
}

/* 알림 메시지 */
.span_info {
  color: #ffffff;
  background-color: rgba(0, 150, 0, 0.6);
  padding: 2px;
  margin-top: 2px;
}

/* 주의 메시지 */
.span_alert {
  color: #ffffff;
  background-color: rgba(0, 0, 200, 0.6);
  padding: 2px;
  margin-top: 2px;
}

/* 경고 메시지
    background-color: rgba(255, 0, 0, 0.6); */
.span_warning {
  color: #ff0000;
  padding: 2px;
  margin-top: 2px;
}

/* 처리 성공 메시지 */
.msg_success {
  color: #10b981;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 12px 20px;
  margin: 10px 0;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.05));
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 12px;
  display: inline-block;
  position: relative;
  text-shadow: 0 1px 2px rgba(16, 185, 129, 0.1);
  animation: successPulse 2s ease-in-out infinite;
}

.msg_success::before {
  content: '✓';
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: #10b981;
  font-weight: bold;
  font-size: 1.2rem;
}

/* 처리 실패 메시지 */
.msg_fail {
  color: #ef4444;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 12px 20px 12px 35px;
  margin: 10px auto; /* auto로 변경하여 좌우 중앙 정렬 */
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.05));
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 12px;
  display: block; /* inline-block에서 block으로 변경 */
  width: fit-content; /* 내용에 맞는 너비 */
  position: relative;
  text-shadow: 0 1px 2px rgba(239, 68, 68, 0.1);
  animation: failShake 0.6s ease-in-out;
  text-align: center; /* 텍스트도 중앙 정렬 */
}

.msg_fail::before {
  content: '⚠';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #ef4444;
  font-weight: bold;
  font-size: 1.2rem;
}

@keyframes successPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.02);
  }
}

@keyframes failShake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-3px); }
  20%, 40%, 60%, 80% { transform: translateX(3px); }
}



.msg_warning {
  color: #ff0000;
  padding: 2px;
  margin: 10px auto;
  text-align: center;
  width: 80%;
  margin-top: 2px;
}

.msg-container {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.9));
  backdrop-filter: blur(20px);
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 50px 40px;
  width: 100%;
  height: 100vh;
  margin: 30px auto 50px auto;
  animation: slideUpFade 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.msg-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
  transparent,
  rgba(99, 102, 241, 0.6),
  rgba(168, 85, 247, 0.6),
  transparent
  );
  animation: shimmer 3s ease-in-out infinite;
}


@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* 처리 성공 메시지 */
.span_success {
  color: #49e659;
  padding: 2px;
  margin-top: 2px;
}

/* 처리 실패 메시지 */
.span_fail {
  font-weight: bold;
  background: url("/css/images/url8.png") left center no-repeat;
  background-size: 10px;
  padding-top: 0px;
  padding-left: 20px;
  margin-top: 2px;
  color: #ff0000;
}


.cart_label {
  width: 50%;
  text-align: left;
  float: left;
  font-size: 1.5em; /* 부모 태그 대비 150%로 글꼴 확대 */
}
.cart_price {
  width: 50%;
  text-align: right;
  float: left;
  font-size: 1.5em;
}

.icon {
  width: 16px;
}

.form_input {
  margin-top: 5px;
  margin-bottom: 5px;
}

.form_input_bottom {
  margin-top: 15px;
  margin-bottom: 5px;
  text-align: center;
}

.display_table {
  color: #ffffff;
  background-color: #ffffff;
  width: 50%;
  height: 200px;
  margin: 0px auto;
  text-align: center;
  padding: 0px;
  display: table;
}

.display_table_cell {
  color: #000000;
  background-color: #ffffff;
  display: table-cell;
  vertical-align: middle;
}

.mypage .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.mypage .header {
  background: white;
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding-top: 20px;
}

.mypage .logo {
  font-size: 2.5em;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin-bottom: 10px;
  text-shadow: none;
}

.mypage .welcome-text {
  text-align: center;
  color: #666;
  font-size: 1.1em;
  padding-bottom: 15px;
}

.mypage .myprofile-section {
  display: flex;
  align-items: center; /* 세로 중앙 정렬 */
  gap: 12px;            /* 아바타와 텍스트 사이 간격 */
}

.mypage .profile-info {
  padding-left: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;  /* 세로 중앙 정렬 핵심 */
  height: 100%;             /* 필요 시 명시 */
}

.mypage .profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(45deg, #4ade80, #86efac);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  color: white;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.mypage .profile-info h3 {
  color: #333;
  font-size: 1.5em;
  margin-bottom: 5px;
  font-weight: 600;
}

.mypage .profile-info p {
  color: #666;
  margin-bottom: 5px;
  font-weight: 600;
}

.mypage .menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

#chat-box {
  position: fixed;
  bottom: 130px;
  right: 30px;
  width: 600px;
  max-height: 800px;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 10px;
  display: none;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 1001;
}

.mypage .menu-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.mypage .menu-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #86efac, #4ade80);
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-message {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.4;
  word-break: break-word;
  margin: 4px 0;
}

.chat-message.bot {
  background-color: #f0f0f0;
  align-self: flex-start;
}

.chat-message.user {
  background-color: #007acc;
  color: white;
  align-self: flex-end;
}

.chat-input-container {
  display: flex;
  padding: 10px;
  border-top: 1px solid #eee;
}

.chat-input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 5px;
  outline: none;
}

#chat-send {
  padding: 8px 15px;
  margin-left: 10px;
  background-color: #007acc;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#chat-close {
  cursor: pointer;
  font-size: 20px;
}

.main-logo {
  width: 45%;
  height: auto;
  margin-right: 8px;
  vertical-align: middle;    /* 텍스트와 수직 정렬이 필요할 때 */
  object-fit: contain;       /* 이미지 비율 유지하면서 크기에 맞춤 */
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.2s ease-out forwards;

}

.mypage .menu-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.mypage .menu-icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.mypage .menu-card:hover .menu-icon {
  transform: scale(1.1) rotate(5deg);
}

.mypage .personal-info .menu-icon {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.mypage .diet-management .menu-icon {
  background: linear-gradient(135deg, #34d399, #10b981);
}

.mypage .health-plan .menu-icon {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.mypage .subscription .menu-icon {
  background: linear-gradient(135deg, #fb7185, #f43f5e);
}

.mypage .my-posts .menu-icon {
  background: linear-gradient(135deg, #a855f7, #9333ea);
}

.mypage .AI-trainer .menu-icon {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.mypage .personal-info::before {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.mypage .diet-management::before {
  background: linear-gradient(135deg, #34d399, #10b981);
}

.mypage .health-plan::before {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.mypage .subscription::before {
  background: linear-gradient(135deg, #fb7185, #f43f5e);
}

.mypage .my-posts::before {
  background: linear-gradient(135deg, #a855f7, #9333ea);
}

.mypage .AI-trainer::before {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.mypage .menu-title {
  font-size: 1.3em;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.mypage .menu-description {
  width: 310px;
  height: 52px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
}

.mypage .menu-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid #f3f4f6;
}

.mypage .stat-item {
  text-align: center;
}

.mypage .stat-number {
  font-size: 1.2em;
  font-weight: bold;
  color: #333;
}

.mypage .stat-label {
  font-size: 0.9em;
  color: #666;
}

.mypage .quick-actions {
  gap: 25px;
  margin-top: 15px;
  display: flex; 
  justify-content: center;
  text-align: center;
}

.mypage .action-btn {
  padding: 10px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f7fafc;
  color: #4a5568;
  font-size: 0.9em;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  flex: 1;
  min-width: 100px;
  font-weight: 500;
}

.mypage .action-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  color: #4a5568;
  text-decoration: none;
  background: #f7fafc;
}

.mypage .action-btn2 {
  padding: 10px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f7fafc;
  color: #4a5568;
  font-size: 0.9em;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  flex: 1;
  min-width: 100px;
  font-weight: 500;
}

.mypage .action-btn2:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  color: #4a5568;
  text-decoration: none;
  background: #edf2f7;
}

.mypage .notification-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #10b981;
  color: white;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8em;
  font-weight: bold;
}

@media (max-width: 768px) {
  .mypage .menu-grid {
    grid-template-columns: 1fr;
  }

  .mypage .container {
    padding: 15px;
  }

  .mypage .profile-section {
    flex-direction: column;
    text-align: center;
  }
}

.update.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.update.header {
  background: white;
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid rgba(16, 185, 129, 0.08);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.update.logo {
  font-size: 2.5em;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.update.page-title {
  color: #666;
  font-size: 1.1em;
  margin-bottom: 20px;
}

.update.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #10b981;
  font-size: 0.9em;
}

.update.breadcrumb span {
  color: #666;
}

.update.form-container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.update.form-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #10b981, #34d399, #10b981);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%,
  100% {
    background-position: 200% 0;
  }
  50% {
    background-position: -200% 0;
  }
}

.update.form-title {
  font-size: 1.8em;
  font-weight: bold;
  color: #333;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}

.update.form-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(45deg, #10b981, #34d399);
  border-radius: 2px;
}

.update.profile-preview {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: linear-gradient(45deg, #f0fdf4, #ecfdf5);
  border-radius: 12px;
  margin-bottom: 30px;
}

.update.profile-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(45deg, #10b981, #34d399);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
  color: white;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.update.profile-info h3 {
  color: #333;
  font-size: 1.3em;
  margin-bottom: 5px;
}

.update.profile-info p {
  color: #666;
  font-size: 0.9em;
}

.update.menu-cards-container {
  display: grid;
  gap: 25px;
  margin-bottom: 30px;
}

.update.menu-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.update.menu-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(16, 185, 129, 0.05),
    transparent
  );
  transition: left 0.5s;
}

.update.menu-card:hover::before {
  left: 100%;
}

.update.menu-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  border-color: #10b981;
}

.update.menu-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.update.menu-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  transition: all 0.3s ease;
}

.update.password-card .update.menu-card-icon {
  background: linear-gradient(45deg, #f0fdf4, #ecfdf5);
  color: #047857;
  border: 1px solid #a7f3d0;
}

.update.personal-card .update.menu-card-icon {
  background: linear-gradient(45deg, #f0fdf4, #ecfdf5);
  color: #047857;
  border: 1px solid #a7f3d0;
}

.update.body-card .update.menu-card-icon {
  background: linear-gradient(45deg, #f0fdf4, #ecfdf5);
  color: #047857;
  border: 1px solid #a7f3d0;
}

.update.menu-card-title {
  font-size: 1.2em;
  font-weight: bold;
  color: #333;
  margin: 0;
}

.update.menu-card-description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
  font-size: 0.9em;
}

.update.btn {
  padding: 15px 30px;
  border: none;
  border-radius: 12px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.update.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
}

.update.btn:hover::before {
  left: 100%;
}

.update.btn-primary {
  background: linear-gradient(45deg, #10b981, #34d399);
  color: white;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.update.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.update.btn-secondary {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
  margin-bottom: 20px;
  width: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.update.btn-secondary:hover {
  background: #e5e7eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .update.container {
    padding: 15px;
  }

  .update.form-container {
    padding: 25px;
  }

  .update.menu-card {
    padding: 20px;
  }
}

/* 로딩 상태 */
.update.loading {
  opacity: 0.7;
  pointer-events: none;
}

.update.loading .update.btn-primary::after {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  display: inline-block;
  animation: spin 1s linear infinite;
  margin-left: 8px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ---------------------------------------------------------------------- */
/* Bootstrap div input 태그 수평, 수직 center 정렬 시작               */
/* ---------------------------------------------------------------------- */
.flex_div_center {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column; /* 태그를 컬럼으로 출력, 한줄에 여러개의 태그가 출력됨 */
  width: 100%;
  margin: 0 auto;
}

.flex_div_center form {
  /* class가 "panel_flex_center"인 태그의 자식 태그 form 태그를 나타냄 */
  display: flex;
  flex-wrap: wrap; /* 화면이 좁으면 다음으로 태그를 출력함 */
  justify-content: center;
}

.flex_div_center form div {
  margin: 0px;
}

/* 화면 크기가 768 이하인 경우 적용할 style */
@media (max-width: 768px) {
  .flex_div_center form div {
    width: 100%;
  }

  .flex_div_center form div input {
    width: 100%;
  }
}

/* FIT4U 회원정보 수정 페이지 통합 스타일 */

/* 공통 컨테이너 및 레이아웃 */
.update-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.update-header {
  background: white;
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid rgba(16, 185, 129, 0.08);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.update-logo {
  font-size: 2.5em;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.update-page-title {
  color: #666;
  font-size: 1.1em;
  margin-bottom: 20px;
}

.update-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #10b981;
  font-size: 0.9em;
}

.update-breadcrumb span {
  color: #666;
}

/* 폼 컨테이너 */
.update-form-container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.update-form-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #10b981, #34d399, #10b981);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 200% 0; }
  50% { background-position: -200% 0; }
}

.update-form-title {
  font-size: 1.8em;
  font-weight: bold;
  color: #333;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}

.update-form-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(45deg, #10b981, #34d399);
  border-radius: 2px;
}

/* 폼 요소들 */
.update-form-grid {
  display: grid;
  gap: 25px;
}

.update-form-group {
  position: relative;
}

.update-form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 0.95em;
}

.update-form-label.required::after {
  content: " *";
  color: #ef4444;
  font-weight: bold;
}

.update-form-input {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #f3f4f6;
  border-radius: 12px;
  font-size: 1em;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
}

.update-form-input:focus {
  outline: none;
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
  background: white;
  transform: translateY(-2px);
}

.update-form-input:disabled {
  background: #f9fafb;
  color: #6b7280;
  cursor: not-allowed;
}

.update-form-textarea {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #f3f4f6;
  border-radius: 12px;
  font-size: 1em;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
  resize: vertical;
  min-height: 100px;
}

.update-form-textarea:focus {
  outline: none;
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
  background: white;
  transform: translateY(-2px);
}

.update-form-select {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #f3f4f6;
  border-radius: 12px;
  font-size: 1em;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
  cursor: pointer;
}

.update-form-select:focus {
  outline: none;
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
  background: white;
  transform: translateY(-2px);
}

/* 아이콘 및 특수 입력 요소 */
.update-input-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #10b981;
  font-size: 1.2em;
  pointer-events: none;
}

.update-password-toggle {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  font-size: 1.1em;
  padding: 5px;
  border-radius: 4px;
  transition: color 0.3s ease;
}

.update-password-toggle:hover {
  color: #10b981;
}

/* 레이아웃 */
.update-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* 프로필 사진 업로드 */
.update-photo-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 25px;
  border: 2px dashed #d1d5db;
  border-radius: 12px;
  background: rgba(249, 250, 251, 0.5);
  transition: all 0.3s ease;
}

.update-photo-upload:hover {
  border-color: #10b981;
  background: rgba(240, 253, 244, 0.5);
}

.update-photo-preview {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(45deg, #10b981, #34d399);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  color: white;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
  overflow: hidden;
}

.update-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.update-photo-upload-btn {
  background: linear-gradient(45deg, #10b981, #34d399);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9em;
  transition: all 0.3s ease;
}

.update-photo-upload-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

/* 정보 카드 */
.update-info-card {
  background: linear-gradient(45deg, #f0fdf4, #ecfdf5);
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 25px;
}

.update-info-card-title {
  font-weight: bold;
  color: #047857;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.update-info-card-content {
  color: #065f46;
  font-size: 0.9em;
  line-height: 1.5;
}

/* 프로필 미리보기 */
.update-profile-preview {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: linear-gradient(45deg, #f0fdf4, #ecfdf5);
  border-radius: 12px;
  margin-bottom: 30px;
}

.update-profile-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(45deg, #10b981, #34d399);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
  color: white;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.update-profile-info h3 {
  color: #333;
  font-size: 1.3em;
  margin-bottom: 5px;
}

.update-profile-info p {
  color: #666;
  font-size: 0.9em;
}

/* 버튼 */
.update-button-group {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 40px;
}

.update-btn {
  padding: 15px 30px;
  border: none;
  border-radius: 12px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.update-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
}

.update-btn:hover::before {
  left: 100%;
}

.update-btn-primary {
  background: linear-gradient(45deg, #10b981, #34d399);
  color: white;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.update-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.update-btn-secondary {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
}

.update-btn-secondary:hover {
  background: #e5e7eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* 메시지 및 유효성 검사 */
.update-validation-message {
  margin-top: 5px;
  font-size: 0.85em;
  color: #ef4444;
  display: none;
}

.update-validation-message.show {
  display: block;
}

.update-success-message {
  background: #d1fae5;
  border: 1px solid #a7f3d0;
  color: #047857;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: none;
}

.update-success-message.show {
  display: block;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 반응형 디자인 */
@media (max-width: 768px) {
  .update-container {
    padding: 15px;
  }

  .update-form-container {
    padding: 25px;
  }

  .update-form-row {
    grid-template-columns: 1fr;
  }

  .update-button-group {
    flex-direction: column;
  }

  .update-btn {
    width: 100%;
  }
}

/* ============================================ */
/* 마이페이지 전용 스타일 추가 (style.css 하단에 추가) */
/* ============================================ */

/* 마이페이지 전체 컨테이너 개선 */
.mypage-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}

/* 프로필 섹션 개선 */
.profile-section {
  background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 4px 20px rgba(0, 122, 204, 0.1);
  border: 1px solid rgba(0, 122, 204, 0.1);
}

.myprofile-section {
  display: flex;
  background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
  border-radius: 16px;
  padding: 15px;
}

.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(45deg, #10b981, #34d399);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5em;
  font-weight: bold;
  color: white;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  transition: all 0.3s ease;
}

.profile-avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* 서비스 카드 그리드 개선 */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

/* 서비스 카드 기본 스타일 개선 */
.service {
  background: white;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.service::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 122, 204, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}

.service:hover::before {
  left: 100%;
}

.service:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 35px rgba(0, 122, 204, 0.15);
  border-color: rgba(0, 122, 204, 0.2);
}

/* 서비스 아이콘 개선 */
.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2em;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transition: all 0.4s ease;
  transform: translate(-50%, -50%);
}

.service:hover .service-icon::after {
  width: 100px;
  height: 100px;
}

/* 알림 배지 스타일 */
.notification-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(45deg, #ef4444, #dc2626);
  color: white;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8em;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* 통계 섹션 개선 */
.stats-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid #e5e7eb;
  margin-top: 20px;
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-value {
  font-weight: bold;
  color: #374151;
  font-size: 1.1em;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.85em;
  color: #6b7280;
}

/* 버튼 스타일 개선 */
.action-buttons {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 10px 18px;
  border: none;
  border-radius: 25px;
  background: linear-gradient(45deg, #007acc, #0ea5e9);
  color: white;
  font-size: 0.9em;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 122, 204, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(45deg, #0ea5e9, #007acc);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 122, 204, 0.3);
}

.btn-secondary {
  padding: 10px 18px;
  border: 2px solid #e5e7eb;
  border-radius: 25px;
  background: white;
  color: #374151;
  font-size: 0.9em;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: #007acc;
  background: #f0f8ff;
  color: #007acc;
}

/* 반응형 디자인 개선 */
@media (max-width: 1200px) {
  .content_padding {
    padding-left: 150px;
    padding-right: 150px;
  }
}

@media (max-width: 992px) {
  .content_padding {
    padding-left: 80px;
    padding-right: 80px;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }

  .profile-section {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .content_padding {
    padding-left: 20px;
    padding-right: 20px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service {
    padding: 20px;
  }

  .profile-section {
    padding: 20px;
    text-align: center;
  }

  .profile-section > div:first-child {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .stats-section {
    flex-direction: column;
    gap: 15px;
  }

  .action-buttons {
    justify-content: center;
  }
}

/* 로딩 애니메이션 */
.loading-shimmer {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* 스크롤 개선 */
.mypage-container {
  scroll-behavior: smooth;
}

/* 접근성 개선 */
.service:focus {
  outline: 2px solid #007acc;
  outline-offset: 2px;
}

.btn-primary:focus,
.btn-secondary:focus {
  outline: 2px solid #007acc;
  outline-offset: 2px;
}

/* ---------------------------------------------------------------------- */
/* Bootstrap div input 태그 수평 center 정렬 종료                          */
/* ---------------------------------------------------------------------- */

/* ---------------------------------------------------------------------- */
/* 페이징 박스 구현                                                        */
/* ---------------------------------------------------------------------- */
#paging {
  text-align: center;
  margin-top: 5px;
  font-size: 1em;
}
#paging a:link {
  text-decoration: none;
  color: black;
  font-size: 1em;
}
#paging a:hover {
  text-decoration: none;
  background-color: #ffffff;
  color: black;
  font-size: 1em;
}
#paging a:visited {
  text-decoration: none;
  color: black;
  font-size: 1em;
}
.span_box_1 {
  /* 현재 페이지가 아닌 경우 */
  text-align: center;
  font-size: 1em;
  border: 1px;
  border-style: solid;
  border-color: #cccccc;
  padding: 1px 6px 1px 6px; /*위, 오른쪽, 아래, 왼쪽*/
  margin: 1px 2px 1px 2px; /*위, 오른쪽, 아래, 왼쪽*/
}
.span_box_2 {
  /* 현재 페이지인 경우 */
  text-align: center;
  background-color: #668db4;
  color: #ffffff;
  font-size: 1em;
  border: 1px;
  border-style: solid;
  border-color: #cccccc;
  padding: 1px 6px 1px 6px; /*위, 오른쪽, 아래, 왼쪽*/
  margin: 1px 2px 1px 2px; /*위, 오른쪽, 아래, 왼쪽*/
}

/*채팅*/
#chat-button {
  position: fixed;
  bottom: 50px;
  right: 30px;
  background-color: #007acc;
  color: white;
  padding: 15px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

#chat-box {
  position: fixed;
  bottom: 130px;
  right: 30px;
  width: 300px;
  max-height: 400px;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 10px;
  display: none;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 1001;
}

.chat-header {
  background-color: #007acc;
  color: white;
  padding: 10px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  display: flex;
  justify-content: space-between;
}

.chat-body {
  padding: 10px;
  height: 300px;
  overflow-y: auto;
}

.main-logo {
  width: 45%;
  height: auto;
  margin-right: 8px;
  vertical-align: middle; /* 텍스트와 수직 정렬이 필요할 때 */
  object-fit: contain; /* 이미지 비율 유지하면서 크기에 맞춤 */
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.2s ease-out forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand-name {
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 60px;
  font-weight: bold;
  color: #333;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.brand-name span {
  opacity: 0;
  transform: translateY(20px);
  animation: charFade 0.8s ease-out forwards;
  animation-delay: calc(0.2s * var(--i)); /* 각 글자마다 시간 차이 */
}

@keyframes charFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------------------------------------------------------------------- */
/* 회원가입 폼 관련 클래스 추가 */
/* ---------------------------------------------------------------------- */


/* 회원가입 컨테이너 */
.signup-container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  padding: 40px;
  width: 100%;
  max-width: 700px;
  margin: 20px auto 40px auto;
  animation: slideUp 0.6s ease-out;
}


@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 폼 헤더 */
.form-header {
  text-align: center;
  margin-bottom: 30px;
}

.form-header h1 {
  color: #333;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-header p {
  color: #666;
  font-size: 14px;
}

/* 폼 그룹 - 기존 form_input과 유사하지만 더 현대적 */
.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 600;
  font-size: 14px;
}
.form-label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 14px;

}

.required {
  color: #e74c3c;
}

/* 입력 컨테이너 */
.input-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  align-items: stretch; /* 자식 요소들의 높이를 동일하게 맞춤 */
}

/* 폼 컨트롤 - 기존 input_basic을 현대적으로 개선 */
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e1e8ed;
  border-radius: 10px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #fff;
  height: 46px; /* 명시적 높이 설정 */
  box-sizing: border-box; /* 패딩 포함 높이 계산 */
}

.form-control:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  transform: translateY(-1px);
}

.form-control:hover {
  border-color: #c1c8cd;
}

/* 버튼 스타일 - 기존 버튼 클래스 확장 */
.btn {
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex; /* flexbox 사용 */
  align-items: center; /* 수직 중앙 정렬 */
  justify-content: center; /* 수평 중앙 정렬 */
  text-align: center;
  height: 46px; /* form-control과 동일한 높이 */
  box-sizing: border-box; /* 패딩 포함 높이 계산 */
}

.btn-sm {
  padding: 12px 20px; /* 좌우 패딩을 16px에서 20px로 증가 */
  font-size: 13px;
  height: 46px; /* form-control과 동일한 높이 */
  line-height: 1.4;
  display: flex; /* flexbox 사용 */
  align-items: center; /* 수직 중앙 정렬 */
  justify-content: center; /* 수평 중앙 정렬 */
  min-width: 120px; /* 최소 너비 설정 */
}

.btn-login {
  padding: 10px 10px; /* 좌우 패딩을 16px에서 20px로 증가 */
  font-size: 1.2rem;
  height: 46px; /* form-control과 동일한 높이 */
  line-height: 1.4;
  display: flex; /* flexbox 사용 */
  align-items: center; /* 수직 중앙 정렬 */
  justify-content: center; /* 수평 중앙 정렬 */
}

.btn-login:hover {
  text-decoration: none;
}

/* 마이페이지 버튼용 */
.btn-outline-info.no-fill:hover {
  background-color: transparent !important;
  border-width: 2px;
  color: #a0ceed;
  border-color: #a0ceed;
  box-shadow: 0 0 0 2px;      /* 테두리만 부드럽게 강조 */
}

/* 로그아웃 버튼용 */
.btn-outline-danger.no-fill:hover {
  background-color: transparent !important;
  border-width: 2px;
  color: #dc3545;
  border-color: #dc3545;
  box-shadow: 0 0 0 2px;      /* 테두리만 부드럽게 강조 */
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
  background: #f8f9fa;
  color: #333;
  border: 2px solid #e1e8ed;
}

.btn-secondary:hover {
  background: #e9ecef;
  transform: translateY(-1px);
}

.btn-check {
  min-width: 120px; /* 기존 100px에서 120px로 증가 */
  white-space: nowrap;
}

/* 메시지 - 기존 span_info, span_warning 확장 */
.message {
  margin-top: 8px;
  font-size: 12px;
  min-height: 16px;
}

/* 도움말 텍스트 */
.help-text {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
}

/* 주소 관련 */
.postcode-section {
  margin-bottom: 20px;
}

.postcode-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.postcode-input {
  flex: 1;
}

.address-full {
  width: 100%;
}

/* 폼 액션 버튼 영역 - 기존 content_body_bottom과 유사 */
.form-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e1e8ed;
}

.form-actions .btn {
  min-width: 120px;
}

/* 진행 상태 표시 */
.progress-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #667eea;
}

.progress-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #e1e8ed;
  border-top: 2px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Fixed navbar를 위한 상단 패딩 래퍼 */
.navbar-padding-wrapper {
  padding-top: 100px;
}

/* 반응형 디자인 - 모바일 */
@media (max-width: 600px) {
  .signup-container {
    padding: 30px 20px;
    margin: 10px auto 40px auto;
  }

  .input-container {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-check {
    margin-top: 10px;
  }

  .form-actions {
    flex-direction: column;
  }

  .section {
    padding: 0 20px; /* 모바일에서 좌우 패딩 줄임 */
  }

  .content_padding {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* DAUM 우편번호 API 스타일 개선 */
#wrap {
  border: 2px solid #e1e8ed;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ---------------------------------------------------------------------- */

.food-container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.1);
  padding: 40px;
  width: 100%;
  max-width: 1200px;
  margin: 20px auto 40px auto;
  animation: food-slideUp 0.6s ease-out;
}

@keyframes food-slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.food-header {
  background: linear-gradient(135deg, #4caf50, #45a049);
  color: white;
  padding: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  margin-bottom: 30px;
}

.food-header::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M20 20c0 11.046-8.954 20-20 20s-20-8.954-20-20 8.954-20 20-20 20 8.954 20 20zm10 0c0-16.569-13.431-30-30-30s-30 13.431-30 30 13.431 30 30 30 30-13.431 30-30z'/%3E%3C/g%3E%3C/svg%3E")
    repeat;
  animation: food-float 20s linear infinite;
}

@keyframes food-float {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.food-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.food-header p {
  font-size: 1.1rem;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.food-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.food-form-group {
  position: relative;
}

.food-form-group.food-full-width {
  grid-column: 1 / -1;
}

.food-label {
  display: block;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  font-size: 1rem;
}

.food-required {
  color: #e74c3c;
}

.food-input,
.food-select,
.food-textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: white;
}

.food-input:focus,
.food-select:focus,
.food-textarea:focus {
  outline: none;
  border-color: #4caf50;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
  transform: translateY(-2px);
}

.food-input-with-unit {
  position: relative;
}

.food-input-with-unit .food-unit {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  font-weight: 500;
  pointer-events: none;
}

.food-radio-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.food-radio-item {
  position: relative;
}

.food-radio-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.food-radio-item .food-radio-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 12px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-weight: 500;
  margin-bottom: 0;
}

.food-radio-item input[type="radio"]:checked + .food-radio-label {
  background: #4caf50;
  color: white;
  border-color: #4caf50;
  transform: scale(1.05);
}

.food-textarea {
  resize: vertical;
  min-height: 120px;
}

.food-submit-section {
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e0e0e0;
}

.food-submit-btn {
  background: linear-gradient(135deg, #57e189, #4ade80, #22c55e);
  color: white;
  border: none;
  padding: 18px 50px;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
  position: relative;
  overflow: hidden;
}

.food-submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.food-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.food-submit-btn:hover::before {
  left: 100%;
}

.food-submit-btn:active {
  transform: translateY(-1px);
}

.food-form-section {
  margin-bottom: 35px;
}

.food-section-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #4caf50;
  position: relative;
}

.food-section-title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: #45a049;
}

@media (max-width: 768px) {
  .food-container {
    margin: 10px;
    border-radius: 15px;
    padding: 20px;
  }

  .food-header {
    padding: 20px;
  }

  .food-header h1 {
    font-size: 2rem;
  }

  .food-form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .food-radio-group {
    flex-direction: column;
  }
}

.food-padding-wrapper {
  padding-top: 40px;
}

/* 간단한 로딩 애니메이션 스타일 */
.loading-container {
  display: none;
  text-align: center;
  margin: 20px 0;
  padding: 20px;
}

.loading-spinner {
  width: 30px;
  height: 30px;
  margin: 0 auto 15px;
  border: 3px solid #e8f4f8;
  border-top: 3px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loading-text {
  color: #2c3e50;
  font-size: 16px;
  font-weight: 500;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.fresult-container {
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.fresult-header {
  background: linear-gradient(135deg, #57e189, #4ade80, #22c55e);
  color: white;
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 24px;
}

.fresult-header h1 {
  font-size: 24px;
  font-weight: 600;
  margin-top: 12px;
  margin-bottom: 8px;
}

.fresult-header p {
  font-size: 16px;
  opacity: 0.9;
}

.user-info {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 24px;
}

.user-info h2 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 12px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
}

.info-item {
  text-align: center;
}

.info-label {
  font-size: 14px;
  color: #666;
  margin-bottom: 4px;
}

.info-value {
  font-size: 16px;
  font-weight: 600;
  color: #4caf50;
}

.week-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  background: #f8f9fa;
  padding: 12px;
  border-radius: 12px;
}

.week-btn {
  flex: 1;
  min-width: 80px;
  padding: 12px 8px;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 0.9rem;
  color: #666;
  text-align: center;
  white-space: nowrap;
}

.week-btn.active {
  background: linear-gradient(135deg, #57e189, #4ade80, #22c55e);
  color: white;
  box-shadow: 0 2px 8px rgba(102, 187, 106, 0.3);
}

.meal-schedule {
  display: grid;
  gap: 16px;
}

.day-card {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  background: white;
}

.day-header {
  background: linear-gradient(135deg, #57e189, #4ade80, #22c55e);
  color: white;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
}

.meals-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.meal-section {
  padding: 16px;
  border-right: 1px solid #e0e0e0;
}

.meal-section:last-child {
  border-right: none;
}

.meal-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  text-align: center;
  padding: 6px 12px;
  border-radius: 20px;
}

.breakfast .meal-title {
  background: #fff3e0;
  color: #f57c00;
}

.lunch .meal-title {
  background: #e8f5e8;
  color: #2e7d32;
}

.dinner .meal-title {
  background: #e3f2fd;
  color: #1976d2;
}

.meal-items {
  list-style: none;
}

.meal-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  padding: 4px 0;
  font-size: 13px;
  border-bottom: 1px solid #f0f0f0;
}

.meal-meta {
  display: flex;
  gap: 8px; /* amount 와 calories 사이 여유 */
}

.food-amount {
  margin: 0 auto;
  text-align: center;
  white-space: nowrap;
}

.calories {
  text-align: right;
  white-space: nowrap;
}

.meal-item:last-child {
  border-bottom: none;
}

.food-name {
  color: #333;
}

.calories {
  color: #666;
  font-size: 12px;
  background: #f5f5f5;
  padding: 2px 6px;
  border-radius: 10px;
}

.daily-total {
  background: #f8f9fa;
  padding: 12px 16px;
  text-align: center;
  font-weight: 600;
  color: #333;
  border-top: 1px solid #e0e0e0;
}

.total-calories {
  color: #4caf50;
  font-size: 16px;
}

.summary-card {
  background: linear-gradient(135deg, #ff9800, #f57c00);
  color: white;
  padding: 20px;
  border-radius: 12px;
  margin-top: 24px;
  text-align: center;
}

.summary-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.summary-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.state-item {
  text-align: center;
}

.state-value {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}

.state-label {
  font-size: 12px;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .fresult-container {
    margin: 10px;
    padding: 16px;
  }

  .meals-container {
    grid-template-columns: 1fr;
  }

  .meal-section {
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
  }

  .meal-section:last-child {
    border-bottom: none;
  }

  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .summary-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .week-nav {
    gap: 4px;
    padding: 8px;
    margin-bottom: 16px;
  }

  .week-btn {
    min-width: 0;
    padding: 8px 4px;
    font-size: 0.75rem;

    flex: 1;
  }

}

/* ========================================
   IP 관리 페이지 전용 스타일 추가
   ======================================== */

/* IP 관리 페이지 컨테이너 */
.ip-container {
  max-width: 1400px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  overflow: hidden;
  animation: slideUp 0.6s ease-out;
}

/* IP 관리 페이지 헤더 */
.ip-header {
  background: linear-gradient(135deg, #2c3e50, #3498db);
  color: white;
  padding: 30px;
  text-align: center;
}

.ip-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: 700;
}

.ip-header p {
  opacity: 0.9;
  font-size: 1.1rem;
}

/* 검색 섹션 */
.ip-search-section {
  padding: 30px;
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid #e0e0e0;
}

/* 결과 섹션 */
.ip-results-section {
  padding: 30px;
}

#results-tbody tr:hover {
    background-color: #f2f2f2;
}

/* 검색 탭 시스템 */
.search-tabs {
  display: flex;
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-tab {
  flex: 1;
  padding: 12px 20px;
  background: #f8f9fa;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  border-right: 1px solid #dee2e6;
  font-weight: 600;
}

.search-tab:last-child {
  border-right: none;
}

.search-tab.active {
  background: #007bff;
  color: white;
  transform: translateY(-2px);
}

.search-tab:hover:not(.active) {
  background: #e9ecef;
}

/* 검색 컨텐츠 */
.search-content {
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.search-form {
  display: grid;
  gap: 20px;
}

/* 폼 그리드 레이아웃 */
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

/* 검색 버튼 영역 */
.search-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 25px;
}

/* IP 주소 전용 스타일 */
.ip-address {
  font-family: "Courier New", monospace;
  font-weight: bold;
  color: #007bff;
}

/* 국가 플래그 */
.country-flag {
  display: inline-block;
  width: 20px;
  height: 15px;
  background: #ddd;
  border-radius: 2px;
  margin-right: 8px;
  vertical-align: middle;
}

/* 상태 배지 시스템 */
.status-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.status-danger {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.status-secondary {
  background: #e2e3e5;
  color: #383d41;
  border: 1px solid #d6d8db;
}

.status-warning {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

.status-info {
  background: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

/* 페이지네이션 전용 스타일 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  gap: 10px;
}

.pagination button {
  padding: 10px 15px;
  border: 2px solid #dee2e6;
  background: white;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.pagination button:hover:not(:disabled) {
  background: #007bff;
  color: white;
  border-color: #007bff;
  transform: translateY(-1px);
}

.pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination .active {
  background: #007bff;
  color: white;
  border-color: #007bff;
}

.pagination .paging_span_box_1 a {
  display: inline-block;
  padding: 10px 15px;
  border: 2px solid #dee2e6;
  background: white;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  color: #000;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pagination .paging_span_box_1 a:hover {
  background: #007bff;
  color: white;
  border-color: #007bff;
  transform: translateY(-1px);
}

.pagination .paging_span_box_2 {
  display: inline-block;
  padding: 10px 15px;
  background: #007bff;
  color: white;
  border-radius: 8px;
  border: 2px solid #007bff;
  font-weight: 600;
}

/* 결과 표시 영역 */
.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 20px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 10px;
}

.results-info {
  font-size: 1.1rem;
  color: #495057;
  font-weight: 600;
}

/* 테이블 컨테이너 */
.table-container {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* 페이지 크기 선택 */
.page-size-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 20px;
}

/* 테이블 행 효과 */
.table_basic tr:hover {
  background-color: rgba(0, 123, 255, 0.05);
}

.table_basic tr:nth-child(even) {
  background-color: #f8f9fa;
}

/* 유틸리티 클래스 */
.hidden {
  display: none;
}

.fade-in {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 반응형 디자인 */
@media (max-width: 768px) {
  /* 폼 그리드를 단일 컬럼으로 변경 */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* 검색 버튼을 세로로 배치 */
  .search-buttons {
    flex-direction: column;
  }

  /* 결과 헤더를 세로로 배치 */
  .results-header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  /* 테이블 가로 스크롤 */
  .table-container {
    overflow-x: auto;
  }

  /* 페이지네이션 줄바꿈 허용 */
  .pagination {
    flex-wrap: wrap;
  }

  /* 페이지 크기 선택을 위로 이동 */
  .page-size-selector {
    margin-left: 0;
    margin-top: 10px;
  }
  /* 폼 그리드를 단일 컬럼으로 변경 */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* 검색 버튼을 세로로 배치 */
  .search-buttons {
    flex-direction: column;
  }

  /* 결과 헤더를 세로로 배치 */
  .results-header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  /* 테이블 가로 스크롤 */
  .table-container {
    overflow-x: auto;
  }

  /* 페이지네이션 줄바꿈 허용 */
  .pagination {
    flex-wrap: wrap;
  }

  /* 페이지 크기 선택을 위로 이동 */
  .page-size-selector {
    margin-left: 0;
    margin-top: 10px;
  }

}



/* 사진을 통한 음식 인식 css 블록  시작 ----------------------------------- */

.food-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.food-item {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 15px;
    padding: 25px;
    border-left: 4px solid #667eea;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.food-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.food-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.food-name {
    /*font-size: 1.3rem;*/
    font-weight: 600;
    color: #333;
}

.food-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}
        
.edit-btn {
    background: #f8f9fa;
    color: #333;
    border: 2px solid #e1e8ed;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    box-sizing: border-box;
}

.edit-btn:hover {
    background: #e9ecef;
    transform: translateY(-1px);
}

.delete-btn {
    background: #f8f9fa;
    color: #dc3545;
    border: 2px solid #f5c6cb;
    padding: 8px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    box-sizing: border-box;
}

.delete-btn:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-1px);
}

.edit-form {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #e1e8ed;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    display: none;
}

.edit-form.active {
    display: block;
    animation: slideDown 0.3s ease;
}        

.analysis-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.image-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 30px;
    align-items: center;
}

.image-container {
    display: flex;
    flex-direction: column;
}

.food-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    margin-bottom: 15px;
}

.image-info {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

.quick-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.stat-card {
    background: rgba(102, 126, 234, 0.1);
    padding: 15px;
    border-radius: 12px;
    text-align: center;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.85rem;
    color: #666;
}

.results-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.analysis-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
}

.confidence-badge {
        background: linear-gradient(135deg, #4caf50, #45a049);
        color: white;
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: 500;
    }

    .add-food-section {
        background: rgba(255, 255, 255, 0.95);
        border-radius: 20px;
        padding: 25px;
        backdrop-filter: blur(10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        margin-bottom: 20px;
        border: 2px solid #e1e8ed;
    }

    .add-food-btn {
        width: 100%;
        padding: 12px 20px;
        background: #f8f9fa;
        color: #333;
        border: 2px solid #e1e8ed;
        border-radius: 10px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        height: 46px;
        box-sizing: border-box;
    }

    .add-food-btn:hover {
        background: #e9ecef;
        transform: translateY(-1px);
    }

    .nutrition-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
        margin-bottom: 20px;
    }

    .nutrition-item {
        background: white;
        padding: 18px;
        border-radius: 12px;
        text-align: center;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
        transition: transform 0.2s ease;
    }

    .nutrition-item:hover {
        transform: translateY(-3px);
    }

    .nutrition-value {
        font-size: 1.6rem;
        font-weight: 700;
        color: #667eea;
        margin-bottom: 5px;
    }

    .nutrition-label {
        font-size: 0.9rem;
        color: #666;
        font-weight: 500;
    }

    .health-tips {
        background: rgba(76, 175, 80, 0.1);
        border-radius: 12px;
        padding: 20px;
        border-left: 4px solid #4caf50;
    }

    .tips-title {
        font-weight: 600;
        color: #2e7d32;
        margin-bottom: 10px;
        font-size: 1rem;
    }

    .tips-content {
        font-size: 0.95rem;
        color: #555;
        line-height: 1.6;
    }

    @media (max-width: 1024px) {
        .image-section {
            grid-template-columns: 1fr;
            gap: 20px;
            text-align: center;
        }
        
        .nutrition-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 768px) {
        .image-section {
            padding: 20px;
        }
        
        .nutrition-grid {
            grid-template-columns: 1fr;
        }
    }

/* ---------------------------------------------------------------------- */

.exercise-container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.1);
  padding: 40px;
  width: 100%;
  max-width: 1200px;
  margin: 20px auto 40px auto;
  animation: exercise-slideUp 0.6s ease-out;
}

@keyframes exercise-slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.exercise-header {
  background: linear-gradient(135deg, #00d2d3, #54a0ff);
  color: white;
  padding: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.exercise-header::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M20 20c0 11.046-8.954 20-20 20s-20-8.954-20-20 8.954-20 20-20 20 8.954 20 20zm10 0c0-16.569-13.431-30-30-30s-30 13.431-30 30 13.431 30 30 30 30-13.431 30-30z'/%3E%3C/g%3E%3C/svg%3E")
    repeat;
  animation: exercise-float 20s linear infinite;
}

@keyframes exercise-float {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.exercise-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.exercise-header p {
  font-size: 1.1rem;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.exercise-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.exercise-form-group {
  position: relative;
}

.exercise-form-group.exercise-full-width {
  grid-column: 1 / -1;
}

.exercise-label {
  display: block;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  font-size: 1rem;
}

.exercise-required {
  color: #e74c3c;
}

.exercise-input,
.exercise-select,
.exercise-textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: white;
}

.exercise-input:focus,
.exercise-select:focus,
.exercise-textarea:focus {
  outline: none;
  border-color: #00d2d3;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
  transform: translateY(-2px);
}

.exercise-input-with-unit {
  position: relative;
}

.exercise-input-with-unit .exercise-unit {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  font-weight: 500;
  pointer-events: none;
}

.exercise-radio-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.exercise-radio-item {
  position: relative;
}

.exercise-radio-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.exercise-radio-item .exercise-radio-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 12px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-weight: 500;
  margin-bottom: 0;
}

.exercise-radio-item input[type="radio"]:checked + .exercise-radio-label {
  background: #00d2d3;
  color: white;
  border-color: #00d2d3;
  transform: scale(1.05);
}

.exercise-textarea {
  resize: vertical;
  min-height: 120px;
}

.exercise-submit-section {
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e0e0e0;
}

.exercise-submit-btn {
  background: linear-gradient(135deg, #00d2d3, #54a0ff);
  color: white;
  border: none;
  padding: 18px 50px;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 210, 211, 0.3);
  position: relative;
  overflow: hidden;
}

.exercise-submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.exercise-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 210, 211, 0.4);
}

.exercise-submit-btn:hover::before {
  left: 100%;
}

.exercise-submit-btn:active {
  transform: translateY(-1px);
}

.exercise-form-section {
  margin-bottom: 35px;
}

.exercise-section-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #00d2d3;
  position: relative;
}

.exercise-section-title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: #54a0ff;
}

@media (max-width: 768px) {
  .exercise-container {
    margin: 10px;
    border-radius: 15px;
    padding: 20px;
  }

  .exercise-header {
    padding: 20px;
  }

  .exercise-header h1 {
    font-size: 2rem;
  }

  .exercise-form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .exercise-radio-group {
    flex-direction: column;
  }
}

.exercise-padding-wrapper {
  padding-top: 40px;
}

.exercise-amount {
  margin: 0 auto;
  text-align: center;
  white-space: nowrap;
}

.exercise-name {
  color: #333;
}

.exercise-fresult-container {
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.exercise-fresult-header {
  background: linear-gradient(135deg, #4caf50, #45a049);
  color: white;
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 24px;
}

.exercise-fresult-header {
  background: linear-gradient(135deg, #00d2d3, #54a0ff);
  color: white;
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 24px;
}

.exercise-fresult-header h1 {
  font-size: 24px;
  font-weight: 600;
  margin-top: 12px;
  margin-bottom: 8px;
}

/* list.css - 회원 목록 페이지 전용 스타일 */

.list-reset * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.list-body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

.list-header {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 0 20px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.list-logo {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
}

.list-search-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.list-search-box {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px 12px;
    width: 300px;
}

.list-search-box input {
    border: none;
    outline: none;
    background: transparent;
    flex: 1;
    font-size: 14px;
    color: #333;
}

.list-search-box input::placeholder {
    color: #999;
}

.list-search-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.list-search-btn:hover {
    background-color: #0056b3;
}

.list-admin-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
}

.list-admin-badge {
    background-color: #28a745;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.list-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.list-page-title {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.list-page-title h1 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 8px;
}

.list-page-title p {
    color: #666;
    font-size: 14px;
}

.list-stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.list-stat-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.list-stat-number {
    font-size: 32px;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 8px;
}

.list-stat-label {
    color: #666;
    font-size: 14px;
}

.list-user-table-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

.list-table-header {
    background-color: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.list-table-title {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
}

.list-result-count {
    font-size: 14px;
    color: #666;
}

.list-user-table {
    width: 100%;
    border-collapse: collapse;
}

.list-user-table th,
.list-user-table td {
    padding: 12px 20px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.list-user-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

.list-user-table td {
    font-size: 14px;
    color: #333;
}

.list-user-table tr:hover {
    background-color: #f8f9fa;
}

.list-status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.list-status-active {
    background-color: #d4edda;
    color: #155724;
}

.list-status-inactive {
    background-color: #f8d7da;
    color: #721c24;
}

.list-action-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    margin-right: 5px;
}

.list-action-btn:hover {
    background-color: #0056b3;
}

.list-action-btn.danger {
    background-color: #dc3545;
}

.list-action-btn.danger:hover {
    background-color: #c82333;
}

.list-no-results {
    text-align: center;
    padding: 40px;
    color: #666;
}

.list-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    gap: 10px;
}

/* 페이징 스타일 */
.list-Bottom_menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.list-paging {
    display: flex;
    align-items: center;
    gap: 5px;
}

.list-span_box_1 a, .list-span_box_2 {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    min-width: 35px;
    text-align: center;
}

.list-span_box_1 a:hover {
    background-color: #f8f9fa;
    border-color: #007bff;
    color: #007bff;
}

.list-span_box_2 {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
    font-weight: bold;
}
