/* ========================================
   Mypage Lab Favorite - 즐겨찾기 리스트
   ======================================== */

/* --- Page Background --- */
#mypage_lab_favorite {
    background-color: #f5f7fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- Content Area Layout --- */
#mypage_lab_favorite .mypage-content {
    width: 100%;
    max-width: 1200px;
    margin: 28px auto 80px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 0;
}

/* --- Main Content Card --- */
#mypage_lab_favorite .favorite-card {
    flex: 1;
    min-width: 0;
    background-color: var(--color-static-white, #fff);
    border: 1px solid var(--color-neutral-300, #dde2eb);
    border-radius: 8px;
    box-shadow: 0px 1px 4px 0px rgba(12, 12, 13, 0.05);
    overflow: hidden;
    padding-bottom: 8px;
}

/* --- Section Header --- */
#mypage_lab_favorite .favorite-card__header {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--color-neutral-300, #dde2eb);
    overflow: hidden;
}

#mypage_lab_favorite .favorite-card__header-title {
    flex: 1;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: -0.16px;
    color: var(--color-neutral-800, #484d5e);
    margin: 0;
}

/* --- Card Body --- */
#mypage_lab_favorite .favorite-card__body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 36px;
}

/* --- List Count --- */
#mypage_lab_favorite .favorite-card__count {
    display: flex;
    align-items: flex-end;
    padding: 0 4px;
}

#mypage_lab_favorite .favorite-card__count-text {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -0.16px;
    color: var(--color-neutral-700, #6c7286);
    text-align: center;
    white-space: nowrap;
    margin: 0;
}

/* --- Table Container --- */
#mypage_lab_favorite .favorite-table {
    width: 100%;
    background-color: var(--color-static-white, #fff);
    border: 1px solid var(--color-neutral-200, #e9eef5);
    border-radius: 16px;
    overflow: hidden;
}

/* --- Table Header Row --- */
#mypage_lab_favorite .favorite-table__header {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--color-neutral-100, #f2f6fa);
    border-radius: 4px;
}

#mypage_lab_favorite .favorite-table__header-star {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    padding: 12px;
    flex-shrink: 0;
}

#mypage_lab_favorite .favorite-table__header-star span,
#mypage_lab_favorite .favorite-table__header-lab span {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: -0.12px;
    color: var(--color-neutral-700, #6c7286);
    white-space: nowrap;
}

#mypage_lab_favorite .favorite-table__header-lab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 12px 16px;
    min-width: 0;
}

/* --- Table Data Row --- */
#mypage_lab_favorite .favorite-table__row {
    display: flex;
    align-items: center;
    border-top: 1px solid var(--color-neutral-100, #f2f6fa);
}

#mypage_lab_favorite .favorite-table__row-star {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    padding: 16px 0;
    flex-shrink: 0;
    align-self: stretch;
}

#mypage_lab_favorite .favorite-table__row-star img {
    width: 24px;
    height: 24px;
    display: block;
}

#mypage_lab_favorite .favorite-table__row-name {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 16px;
    min-width: 0;
}

#mypage_lab_favorite .favorite-table__row-name-text {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -0.16px;
    color: var(--color-static-black, #000);
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

#mypage_lab_favorite .favorite-table__row-email {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    flex-shrink: 0;
    align-self: stretch;
}

#mypage_lab_favorite .favorite-table__row-email span {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -0.16px;
    color: var(--color-neutral-700, #6c7286);
    text-align: center;
    white-space: nowrap;
}

#mypage_lab_favorite .favorite-table__row-date {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    flex-shrink: 0;
    align-self: stretch;
}

#mypage_lab_favorite .favorite-table__row-date span {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -0.16px;
    color: var(--color-neutral-700, #6c7286);
    text-align: center;
    white-space: nowrap;
}

/* --- Empty State --- */
#mypage_lab_favorite .favorite-table__empty {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 0;
}

#mypage_lab_favorite .favorite-table__empty-text {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -0.16px;
    color: var(--color-neutral-600, #949aac);
    text-align: center;
    white-space: nowrap;
    margin: 0;
}
