/* Path: /css/member_page/dashboard.css — Group member dashboard */

@charset "UTF-8";

.member-page .member_page {
    max-width: 720px;
    margin: 0 auto;
}

.member_page_header_card,
.member_page_menu_card,
.member_page_invite_card,
.member_page_members_card,
.member_page_dashboard_tabs_card,
.member_page_denied_card {
    margin-top: 8px;
}

.member_page_group_icon {
    border-radius: 16px;
    object-fit: cover;
}

.member_page_invite_lead {
    margin: 0 0 16px;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.7;
}

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

.member_page_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid #d5dde6;
    border-radius: 10px;
    background: #fff;
    color: #222;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.member_page_btn:hover {
    background: #f5f7fa;
}

.member_page_btn--primary {
    border-color: #2f6fed;
    background: #2f6fed;
    color: #fff;
}

.member_page_btn--primary:hover {
    background: #245fd4;
}

.member_page_btn--ghost {
    background: transparent;
}

.member_page_member_details {
    margin-top: 8px;
}

.member_page_member_summary {
    cursor: pointer;
    font-weight: 600;
    color: #333;
}

.member_page_member_list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.member_page_member_row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid #e8ecf0;
    border-radius: 10px;
    background: #fafbfc;
    color: #222;
    text-decoration: none;
}

.member_page_member_row:hover {
    background: #f0f4f8;
}

.member_page_member_icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.member_page_member_name {
    font-size: 0.9rem;
    font-weight: 600;
}

.mypage_menu_section + .mypage_menu_section {
    margin-top: 14px;
}

.member_page_post_owner_hint {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.78rem;
    color: #5c6b7a;
}

.mypage_menu_section_label {
    margin: 0 0 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #5c6b7a;
    letter-spacing: 0.04em;
}

.member_page_dm_card,
.member_page_invite_manage_card {
    margin-top: 8px;
}

.member_page_dm_room_list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 10px 0 16px;
}

.member_page_dm_room_row {
    display: block;
    padding: 10px 12px;
    border: 1px solid #e8ecf0;
    border-radius: 10px;
    background: #fafbfc;
    color: #222;
    text-decoration: none;
    font-weight: 600;
}

.member_page_dm_room_row:hover {
    background: #f0f4f8;
}

.member_page_dm_create_details {
    margin: 8px 0 16px;
}

.member_page_dm_create_form {
    margin-top: 10px;
}

.member_page_invite_candidate_list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.member_page_invite_candidate {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #e8ecf0;
    border-radius: 10px;
    background: #fff;
}

.member_page_invite_candidate_body {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    cursor: pointer;
}

.member_page_invite_candidate_status {
    font-size: 0.78rem;
    color: #5c6b7a;
    white-space: nowrap;
}

.mypage_setting_item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    text-align: left;
    font: inherit;
    cursor: pointer;
}

.member_page_dashboard_tabs_card {
    margin-top: 8px;
    padding-top: 12px;
}

.member_page_main_tab_box {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    margin-bottom: 14px;
    padding: 4px;
    border-radius: 12px;
    background: #eef2f6;
}

.member_page_main_tab {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    padding: 8px 12px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #5c6b7a;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
}

.member_page_main_tab.is-active {
    color: #1f2a37;
}

.member_page_main_tab_badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #e53935;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
}

.member_page_main_tab_bar {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 6px);
    height: calc(100% - 8px);
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, width 0.3s ease;
    pointer-events: none;
}

.member_page_main_tab_viewport {
    overflow: hidden;
    touch-action: pan-y;
}

.member_page_main_tab_track {
    display: flex;
    width: 200%;
    transition: transform 0.3s ease;
    will-change: transform;
}

.member_page_main_tab_panel {
    flex: 0 0 50%;
    width: 50%;
    box-sizing: border-box;
}

.member_page_timeline_list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.member_page_timeline_list .content_list_div {
    margin-top: 0;
}

.member_page_timeline_sentinel {
    height: 1px;
}

.member_page_dashboard_empty {
    margin: 8px 0 0;
}

.member_page_dashboard_panel_footer {
    margin: 12px 0 0;
    font-size: 0.85rem;
}

.member_page_dashboard_room_list {
    margin-top: 0;
}

.member_page_dashboard_room_row .member_page_dm_room_row_link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #e8ecf0;
    border-radius: 10px;
    background: #fafbfc;
    color: #222;
    text-decoration: none;
}

.member_page_dashboard_room_row .member_page_dm_room_row_link:hover {
    background: #f0f4f8;
}

.member_page_dashboard_room_body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.member_page_dashboard_room_meta {
    font-size: 0.78rem;
    font-weight: 500;
    color: #5c6b7a;
}

.member_page_dm_room_icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.member_page_dm_room_label {
    font-size: 0.92rem;
    font-weight: 700;
}

.member_page_dm_room_badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.member_page_dm_room_badge--unread {
    background: #e53935;
    color: #fff;
}

.member_page_activity_card {
    margin-top: 0;
}

.member_page_activity_head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.member_page_activity_icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.member_page_activity_lead {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.6;
    color: #333;
}

.member_page_activity_author {
    font-weight: 700;
    color: #222;
    text-decoration: none;
}

.member_page_activity_title {
    display: block;
    margin-top: 10px;
    font-size: 1rem;
    font-weight: 700;
    color: #1f2a37;
    text-decoration: none;
}

.member_page_activity_title:hover {
    text-decoration: underline;
}

.member_page_activity_date {
    margin-top: 8px;
    font-size: 0.78rem;
    color: #5c6b7a;
}

.member_page_activity_work_wrap {
    position: relative;
}

.member_page_activity_badge {
    display: inline-block;
    margin-bottom: 6px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #eef4ff;
    color: #2f6fed;
    font-size: 0.72rem;
    font-weight: 700;
}

.member_page_activity_work_wrap .feed_work_card {
    margin-top: 0;
}
