.side-container{
    display:flex;

}

.slime-list-content{
    width: 1600px;
     /*margin: 30px auto 0; 중앙정렬 */
    margin: 30px;
    /*border: 1px solid #ece8e8; */
    border-radius: 0.6em;
    height: 890px;
    font-size: 18px;
    position: relative;
    flex-shrink: 0;
}

/*

.slime-list-search {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}
*/
.input-box {
    position: relative;
    display: inline-block;
}

.search-box{
    width: 700px;
    height: 36px;
    border-radius: 1em;
    border: 1px solid #d1cdcd;
    padding-left: 10px;
    padding-right: 30px;
    box-sizing: border-box;
}

.bi-x {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    fill: #999;
    transition: fill 0.2s;
}

.slime-list-search-btn{
    margin-left: 10px;
    background-color: rgb(235, 180, 208);
    width: 80px;
    height: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: white;
    border-radius: 0.6em;
}

.cards {
    display: flex;
    flex-wrap: wrap;              /* 줄바꿈 허용 */
    justify-content: flex-start;  /* 왼쪽부터 정렬 (중앙정렬 원하면 center) */
    gap: 39px;               /* 카드 간격 */
    max-width: 1600px;            /* 한 줄에 들어갈 최대 너비 */
    margin: 0 auto;               /* 가운데 정렬 */
}

.card {
    width: calc((100% - 80px) / 5);  /* 5개씩 정렬, gap 고려 */
    min-width: 250px;                /* 너무 작아지지 않게 */
    box-sizing: border-box;
}

.ranking_text{
    display: flex;
    position: absolute;
    width: 50px;
    height: 40px;
    background-color: rgb(243, 220, 231);
    font-size: 22px;
    opacity: 0.8;
    align-items: center;
    justify-content: center;
    border-bottom-right-radius:  0.5em;
}

.card-img-top{
    height: 200px;
    background-color: gainsboro;
}

.card_top{
    display: flex;
    justify-content: space-between;
}

.empty_heart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    cursor: pointer;
    vertical-align: middle;
}

.bi-heart, .bi-heart-fill {
    display: block;
}

.card_info{
    display: flex;
    flex-direction: column;
    margin-top: 5px;
}

.card_bottom{
    margin-top: 30px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.Source{
    display: flex;
    margin-left: 10px;
    width: 170px;
    height: 35px;
    background-color: lightblue;
    align-items: center;
    border-radius: 0.9em;
}

.Source_img{
    margin-left: 10px;
    background-color: gainsboro;
    width: 28px;       /* 원하는 크기 */
    height: 28px;
    border-radius: 50%; /* 핵심! 원형으로 만들기 */
    object-fit: cover;  /* 이미지 비율 유지하면서 꽉 채움 */
    order: 2px solid #ccc; /* 원 테두리 (선택사항) */
}

.source_market_name{
    margin-left: 10px;
    cursor: pointer;
}

.slime-list-search {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background: #fafafa;
    margin-bottom: 15px;
    width: max-content;
}

.search-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.search-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.search-group {
  display: flex;
  flex-direction: column;
  min-width: 180px;
}

.search-group label {
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 14px;
}

.radio-wrap {
  display: flex;
  gap: 10px;
  align-items: center;
}

.date-group .date-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-btn-box {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.card-info-right {
    display: flex;
    align-items: center;
}

.card-info-right span{
    margin-right: 5px;
}

.card-name{
    cursor:pointer;
}

.card-glue{
    height:54px;
}

#context-menu {
  position: absolute;
  z-index: 9999;
  background: white;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  display: none;
}


#context-menu ul {
  list-style: none;
  margin: 0;
  padding: 5px 0;
}

#context-menu li {
  padding: 8px 12px;
  cursor: pointer;
}

#context-menu li:hover {
  background-color: #f2f2f2;
}

.choices{
    width: 600px;
}

.choices__input {
    min-width: 16ch !important;
    display: inline-block;
    vertical-align: baseline;
    background-color: #fff;
    font-size: 14px;
    margin-bottom: 5px;
    border: 0;
    border-radius: 0;
    max-width: 100%;
    padding: 4px 0px 10px 2px;
}

.choices__inner {
    display: inline-block;
    vertical-align: top;
    width: 100%;
    background-color: #fff;
    /* padding: 7.5px 7.5px 0px; */
    padding-top: 12px;
    border: 1px solid #ddd;
    border-radius: var(--bs-border-radius);
    font-size: 14px;
    min-height: 33px;
    overflow: hidden;
    /* height: 38px;  */
    height: auto;
    padding-left: 5px;
}

.ad-adInquiries-paging{
    position: absolute;
    left: 50%;
    z-index: 1000;
    margin-top: 30px;
    top: 1650px;
}

.slime-count{
    margin-bottom: 10px;
    color: gray;
}

.no-scroll {
  overflow: hidden;
}

.card-top-div{
    display:flex;
}

.card-top-div h5{
    margin-right: 10px;
}

.today-slime{
    display: flex !important;
    border: 1px solid;
    color: #f27474;
    border-radius: 10px;
    width: 50px;
    justify-content: center !important;
    margin-bottom: 5px;
}

.card {
    position: relative;
}

.wish-overlay-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.85);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ccc;
    transition: all 0.15s;
    z-index: 1;
}

.wish-overlay-btn:hover {
    background: rgba(255, 255, 255, 0.98);
    color: #A594F9;
}

.wish-overlay-btn.saved {
    background: rgba(255, 255, 255, 0.98);
    color: #A594F9;
}

.wish-popup {
    position: fixed;
    z-index: 9999;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    width: 220px;
    padding: 12px 0;
    display: none;
}

.wish-popup-title {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    padding: 0 14px 8px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 6px;
}

.wish-popup-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 14px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.1s;
}

.wish-popup-item:hover { background: #f8f5ff; }

.wish-popup-item.saved { color: #A594F9; font-weight: 600; }

.wish-popup-new-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 7px 14px;
    cursor: pointer;
    font-size: 13px;
    color: #A594F9;
    border-top: 1px solid #f0f0f0;
    margin-top: 4px;
}

.wish-popup-new-btn:hover { background: #f8f5ff; }

.wish-popup-add {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px 0;
}

.wish-popup-add input {
    flex: 1;
    padding: 4px 8px;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    font-size: 13px;
    outline: none;
}

.wish-popup-add button {
    padding: 4px 10px;
    background: #A594F9;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
}

.wish-popup-empty {
    padding: 10px 14px;
    font-size: 13px;
    color: #aaa;
    text-align: center;
}