﻿* {
      margin: 0;
      padding: 0;
      border: 0;
      box-sizing: border-box;
}
html, body {
      height: 100%;
      margin: 0; /* body의 기본 마진 제거 */
      padding: 0; /* body의 기본 패딩 제거 */
      overflow-x: hidden;
      
  }
  #menu_body {
    /* overflow: hidden; */

  }
input {
      border: 1px solid rgba(0, 0, 0, 0.685);
}
#login_title {
    margin-bottom: 20px; /* 상대적인 마진 설정 */
    font-size: 24px;
    font-weight: bold;
    color: #4621eb;
}
#login_info {
    flex-direction: column;   
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
}
#login_form {
      display: flex;
      align-items: center;
      justify-content: space-evenly;
      flex-direction: column;
      background-color: rgba(141, 185, 243, 0.274);
      border: 2px solid rgba(0, 0, 0, 0.322);
      border-radius: 20px;
      width: 80%;
      height: 170px;
}
#login_form input {
      height: 30px;
      font-size: 20px;
}
label {
      font-size: 20px;
      font-weight: bold;
}

.btn_login {
      width: 150px;
      height: 40px;
      background-color: #3498db; 
      color: white;
      font-weight: bold;
 
}
#input_area {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}
.input_style input {
    border-radius: 5px;
    padding-left: 10px;
    width: 50%;
}
::placeholder {
    font-size: 3vw;
}
.input_id {
    margin-bottom: 15px;
}
.btn_area {
    margin: 0 auto;
    text-align: center;
}
#login_form h1 {
   font-size: 20px; 
}
.menu {
      display: flex;
      flex-wrap: wrap; /* 버튼이 한 줄에 넘칠 때 다음 줄로 넘어감 */
      justify-content: space-around;
      margin-top: 60px;
      
    }
.menu_imp {
      display: flex;
      flex-wrap: wrap; /* 버튼이 한 줄에 넘칠 때 다음 줄로 넘어감 */
      justify-content: space-around;
      margin-top: 10px;
      
    }
    
    .menu button {
        width: 45%;
        height: 60px;
        margin-bottom: 10px; /* 버튼 사이 간격 조절을 위한 여백 */
        border: none;
        background-color: #3498db; /* 배경색 */
        color: white; /* 글자색 */
        font-size: 16px;
        font-weight: bold;
        cursor: pointer;
    }
    .menu_imp button {
        width: 45%;
        height: 40px;
        margin-bottom: 10px; /* 버튼 사이 간격 조절을 위한 여백 */
        border: none;
        background-color: #3498db; /* 배경색 */
        color: white; /* 글자색 */
        font-size: 16px;
        font-weight: bold;
        cursor: pointer;
    }

    .menu button:last-child {
      margin-bottom: 0; /* 마지막 버튼의 아래 여백 제거 */
    }


#top_menu_area {
      width: 100%;
      height: 50px;
      background-color: #34db5e;
      position: fixed;
      top: 0; /* 화면 상단에 고정 */
      left: 0; /* 좌측 정렬 */
      right: 0; /* 우측 정렬 */
      z-index: 999; /* 다른 요소들보다 위에 나타나도록 */
    
}
#top_menu {
      width: 98%;
      height: 50px;
      /* background-color: #344ddb; */
      justify-content: space-between;
      display: flex;
      align-items: center;
      margin: 0 auto; 
}
.btn {
      width: 70px;
      height: 40px;
}


/* 점검표 테이블 디자인 (gpt)  */
table {
      width: 98%;
      margin: 0px auto;
      
      border-collapse: collapse;
      font-family: Arial, sans-serif;
  }
  
  th, td {
      border: 1px solid #dddddd;
      /* padding-left: 10px;
      padding-right: 10px;
      padding-top: 5px;
      padding-bottom: 5px; */
      text-align: left;
      
  }
  
  th {
      background-color: #f2f2f2;
  }
  
  td input[type="checkbox"] {
      
      transform: scale(1.5); /* 체크박스 크기 조정 */
  }
  input[class="text_input"] {
      
      text-align: center;
  }
  
  td:last-child {
      text-align: center;
  }
  
 
 .table_chkbox {
      text-align: center; /* 텍스트를 수평 가운데 정렬 */
      
 }
 .table_chkbox input {
      margin: 5px;
 }
  .top_detail {
      display: flex;
      width: 100%;
      margin-left: 1%;
  }
  .top_detail_1 {
      display: flex;
      width: 250px;
  }
  
  .top_detail_cont_front {
      text-align: left; 
      width: 95px;
      margin-bottom: 5px;
  }
  .top_detail_cont_back {
      text-align: left; 
      width: 90px;
      margin-bottom: 5px;
  }
  .top_detail_cont_1 {
      text-align: left; 
      width: 80px;
      margin-bottom: 5px;
  }
  .top_detail_cont_2 {
      text-align: left; 
      width: 120px;
      margin-bottom: 5px;
  }
  #top_detail_area{
      margin-bottom: 10px;
      width: 100%;
  }
  @media screen and (max-width: 370px) {
      .top_detail_1 {
          display: block; /* 가로 정렬을 해제하여 세로로 배치 */
          
          margin: 0;
      }
      .top_detail_cont_front {
         
          margin-bottom: 5px; /* 요소 사이의 간격 설정 */
      }
      .top_detail_cont_back {
          
          margin-bottom: 10px; /* 요소 사이의 간격 설정 */
      }
      .top_detail_cont_1 {
            margin-bottom: 5px;
      }
      .top_detail_cont_2 {
      margin-bottom: 10px;
      }
      #top_detail_area{
            margin-bottom: 5px;
            
      }
  }
  


  
  .top_detail_title_cont {
      background-color: #3498dbbb;
      padding: 10px;
      margin-bottom: 10px;
      
  }
  .save_reset_btn_area {
      display: flex;
      justify-content: space-around;
      width: 100%;
      height: 50px;
      margin-top: 20px;
      margin-bottom: 20px;
  }
  .save_reset_btn_area > button {
      height: 50px;
      width: 40%;
  }
 
  #bt_img_area {
      width: 100%;
      text-align: center;
      margin-top: 10px;
    margin-bottom: 20px;

  }
  #bt_img_area img {
      width: 100%;
  }

#bt_btn_area {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: space-around;
    margin-bottom: 20px;
    /* z-index: 9999; */
}
#bt_btn_area button {
    width: 45%;
    height: 70px;
    margin-bottom: 10px; /* 버튼 사이 간격 조절을 위한 여백 */
    border: none;
    background-color: #3498db; /* 배경색 */
    color: white; /* 글자색 */
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

#bt_btn_area button:active {
    background-color: #2980b9; /* 눌렀을 때 배경색이 약간 어두워지도록 설정 */
}
button {
    z-index: 997;
    cursor: pointer;
    
}
.table_area td {
    padding: 5px;
}
/* 각 열의 너비 조절을 위한 클래스 */
.table_1 {
    width: 65%; /* 첫 번째 열의 너비 비율 */
}

.table_2 {
    width: 10%; /* 두 번째 열의 너비 비율 */
}

.table_3 {
    width: 15%; /* 세 번째 열의 너비 비율 */
}

.table_4 {
    width: 10%; /* 네 번째 열의 너비 비율 */
}



.imp_btn {
   
  
}
td {
    text-align: center;
}

#date_input {
    height: 30px;
    width: 100%;
}

@media screen and (max-width: 379px) {
    #date_input {
        height: 30px;
        width: 95px;
    }  
}

.top_detail_btn {
    display: flex; 
    justify-content: flex-end;
    align-items: center; 
    margin-top: 5px;
  
}
.top_detail_btn button {
    
    height: 40px;
    margin-bottom: 0px;
  
}
th {
    text-align: center;
}
  .bold {
      font-weight: bold;
  }
  .text20_center {
      font-size: 20px;
      text-align: center;
  }
  #btn_div {
      width: 70px;
  } 


  /* 모달 팝업 스타일 */
.modal {
    display: none; /* 초기에는 숨겨진 상태 */
    position: fixed;
    z-index: 9999999; /* 다른 요소 위에 표시될 수 있도록 설정 */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 반투명한 배경 레이어 */
  }
  
  /* 모달 팝업 내용 스타일 */
  .modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 화면 중앙에 정렬 */
    padding: 2px;
    border: 1px solid #888;
    max-width: 100%; /* 최대 너비 설정 */
    width: 98%; /* 팝업 너비 */
    
  }
  
  /* 팝업 닫기 버튼 스타일 */
  .close {
    color: #aaa;
    text-align: right;
    font-size: 30px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }
  #modalContentPlaceholder {
    max-height: 500px;
    overflow-y: auto; /* 세로 스크롤이 필요한 경우만 표시 */
    
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 1); /* 그림자 효과 추가 */
    padding-bottom: 20px;
}
.dateinput {
    height: 30px;
}

#imp_top_area {
    
    margin-top: 10px;
    height: 40px;
    display: flex;
    justify-content: space-around;
}
.imp_btn {
    height: 100%;
    
    width: 45%;
    background-color: #3498db;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}
#backButton_hidden {
    visibility: hidden;
}