*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Noto Sans","Noto Sans KR", "Noto Sans JP",sans-serif;
}

html{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    height: 100%;
}

body{
    max-width: 1920px;
    width: 100%;
    height: 100%;
    margin: auto;
}

.top_banner{
    background-color: black;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(230, 230, 230);
    height: 55px;
    font-weight: 500;
}

input[type="search"], 
input[type="tel"], 
input[type="password"], 
input[type="email"], 
input[type="text"] {
    -webkit-border-radius:0;   
    -webkit-appearance: none;
}

input[type="search"] {
    -webkit-appearance: none;
    background-color: white;
}

.header{
    width: 100%;
    margin: auto;
    background-color: white;
    top: 0;
    left: 0;
}

.m_headerlogo{
    display: none;
}

.header_div{
    padding: 25px 70px;
    max-height: 88px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
}

.header_logo{
    max-width: 80px;
    width: 100%;
    cursor: pointer
}

.header_logo img{
    width: 100%;
}

.upload_btn{
    padding: 10px 0px;
    background-color: black;
    color: white;
    text-align: center;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    max-width: 110px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.m_uploadbtn,.m_requestbtn{
    display: none;
}

.search{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-bottom: 1px solid rgb(50, 50, 50);
    height: 41px;
    position: relative;
}

.search_input{
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
}

.search_input::placeholder{
    color: rgb(200, 200, 200);
    font-size: 16px;
}

.search_btn{
    font-size: 16px;
    cursor: pointer;
}

.cart_btn{
    font-size: 16px;
    cursor: pointer;
}

.my_btn{
    font-size: 20px;
    cursor: pointer;
    position: relative;
}

.drop_box{
    display: none;
}

.drop_box.activate{
    position: absolute;
    display: flex;
    flex-direction: column;
    bottom: -140px;
    right: 0px;
    text-align: center;
    width: fit-content;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    padding: 8px 0;
    z-index: 3;
}

.drop_box div{
    white-space: nowrap;
    padding: 6px 28px;
    width: 100%;
    font-size: 14px;
    font-weight: 500;
}

.drop_box div:hover{
    color: #b8b8b8;
    color: white;
    /* font-weight: 600; */
    background-color: black;
}

.search_history {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    border: none;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
  }

  .search_history span {
    display: inline-block;
    background-color: white;
    color: #333;
    padding: 5px 10px;
    margin: 5px;
    border-radius: 20px;
    border: 1px solid #333;
    cursor: pointer;
  }

  .search_history span:hover {
    background-color: #ddd;
    border: none;
    padding: 6px 11px;
  }

#loadMore{
    display:flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 15px 25px;
    color: rgb(80, 80, 80);
    margin: 20px auto;
    border: 1px solid rgb(80, 80, 80);
    cursor: pointer;
    width: fit-content;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
}

#loadMore i{
    font-size: 32px;
}

/* loading bar  */
.loading_bar{
    position: fixed;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(7, 7, 7, 0.60);
    z-index: 9999999;
  }
  
  @keyframes ldio-x6kf0jqti8h {
    0% {
      top: 44px;
      left: 44px;
      width: 0;
      height: 0;
      opacity: 1;
    }
    100% {
      top: 7px;
      left: 7px;
      width: 74px;
      height: 74px;
      opacity: 0;
    }
  }
  
  .ldio-x6kf0jqti8h div {
    position: absolute;
    border-width: 6px;
    border-style: solid;
    opacity: 1;
    border-radius: 50%;
    animation: ldio-x6kf0jqti8h 1s cubic-bezier(0,0.2,0.8,1) infinite;
  }.ldio-x6kf0jqti8h div:nth-child(1) {
    border-color: #ffffff;
    animation-delay: 0s;
  }
  .ldio-x6kf0jqti8h div:nth-child(2) {
    border-color: #b9b9b9;
    animation-delay: -0.5s;
  }
  .loadingio-spinner-ripple-3965e52tnvr {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-60%);
    width: 90px;
    height: 90px;
    display: inline-block;
    overflow: hidden;
    background: rgba(1, 1, 1, 0);
  }
  .ldio-x6kf0jqti8h {
    width: 100%;
    height: 100%;
    position: relative;
    transform: translateZ(0) scale(0.9);
    backface-visibility: hidden;
    transform-origin: 0 0; /* see note above */
  }
  .ldio-x6kf0jqti8h div { box-sizing: content-box; }
  /* generated by https://loading.io/ */

.request_list {
  max-width: 720px;
  margin: 0 auto;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.03);
  /* padding: 4px 0; */
  border: 1px solid #eee;
  overflow: hidden;
}

/* 개별 카드 */
.request_item {
  padding: 14px 20px;
  border-bottom: 1px solid #f3f3f3;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: default;
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  cursor: pointer;
}

.request_item:last-child {
  border-bottom: none;
}

/* 페이지네이션용 hidden */
.request_item.hidden {
  display: none;
}

/* hover 효과 */
.request_item:hover {
  background-color: #fafafa;
  /* transform: translateY(-1px); */
}

/* 상단: 제목 영역 */
.request_header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.request_title {
  font-size: 15px;
  font-weight: 600;
  color: #222;
  line-height: 1.5;
  word-break: break-word;

  /* 최대 2줄까지만 보이고 넘치면 ... */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 하단: 메타 정보 줄 */
.request_meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* 프로필 영역 */
.request_profile {
  display: flex;
  align-items: center;
  gap: 8px;
}

.request_profile-image {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #eee;
  object-fit: cover;
}

.request_profile-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.request_profile-name {
  font-size: 13px;
  font-weight: 500;
  color: #333;
}

/* 서브텍스트 넣고 싶으면 (직업/한줄소개 등) */
/*
.request_profile-sub {
  font-size: 11px;
  color: #999;
}
*/

/* 날짜 영역 */
.request_date-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 오늘 칩 */
.request_chip {
  font-size: 11px;
  color: #2563eb;
  background: #e0edff;
  border-radius: 999px;
  padding: 2px 8px;
  font-weight: 500;
}

.request_time {
  font-size: 12px;
  color: #555;
}

.request_date {
  font-size: 12px;
  color: #888;
}

/* 빈 리스트 */
.no-items {
  text-align: center;
  padding: 24px 0;
  font-size: 14px;
  color: #777;
}

/* 페이지네이션 */
/* .pagination {
  text-align: center;
  margin-top: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.pagination button {
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 999px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.pagination button:hover:not(:disabled) {
  background: #f5f5f5;
  border-color: #ccc;
}

.pagination button:disabled {
  opacity: 0.4;
  cursor: default;
} */

#reqPageInfo {
  font-size: 13px;
  color: #666;
}


  @media screen and (max-width: 768px){
    .top_banner{
        font-size: 12px;
    }

    .header_div{
        padding: 25px 30px;
        max-height: 88px;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 30px;
        width: 100%;
    }

    .header_logo{
        display: none;
    }

    .upload_btn{
        display: none;
    }

    .m_headerlogo{
        display: block;
        width: 80px;
        cursor: pointer;
        margin: auto;
        padding: 25px 0 0 0;
    }

    .m_headerlogo img{
        width: 100%;
    }
    
    .m_uploadbtn{
        display: flex;
        width: 95%;
        align-items: center;
        justify-content: center;
        background-color: #8C52FF;
        color: white;
        font-size: 14px;
        font-weight: 600;
        text-align: center;
        position: fixed;
        bottom: 5px;
        left: 50%;
        transform: translateX(-50%);
        padding: 10px 0;
        z-index: 99;
        cursor: pointer;
        border-radius: 8px;
    }

    .m_requestbtn{
        display: flex;
        width: 95%;
        align-items: center;
        justify-content: center;
        background-color: #BD8F53;
        color: white;
        font-size: 14px;
        font-weight: 600;
        text-align: center;
        position: fixed;
        bottom: 50px;
        left: 50%;
        transform: translateX(-50%);
        padding: 10px 0;
        z-index: 99;
        cursor: pointer;
        border-radius: 8px;
    }

    #loadMore{
        display:flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        padding: 5px 20px;
        color: rgb(80, 80, 80);
        margin: 20px auto;
        border: 1px solid rgb(80, 80, 80);
        cursor: pointer;
        width: fit-content;
        border-radius: 30px;
        font-size: 12px;
        font-weight: 500;
    }

    #loadMore i{
        font-size: 22px;
    }
  }

  @media screen and (max-width : 500px) {
    .detail_img_area {
        padding: 0;
    }
  }