

/*data-table styles*/

#membersListDiv {
    margin-top: 30px;
    height: 15vh;
}

#membersTable {
  width: 70% !important;
  margin: 0 auto !important;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

#membersTable th,
#membersTable td {
  padding: 8px 12px;
  border: 1px solid #ccc;
  text-align: left;
}

/* Header style */
#membersTable thead {
  background-color: #727070;
  color: white;
}

/* Zebra striping */
#membersTable tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Avatar icons if needed later */
#membersTable td img.avatar {
  width: 25px;
  height: 25px;
/*  border-radius: 50%;*/
  vertical-align: middle;
  margin-right: 8px;
}

#membersTable tbody tr {
    cursor: pointer;
    /*transition: background-color 0.2s ease-in-out;*/
}

#membersTable tbody tr:hover {
    background-color: yellow; /* light blue on hover */
}
#membersTable tbody tr.row-selected {
    background-color: yellow !important; /* selected stays yellow */
}


.mobile-table-member-item.selected {
    background-color: yellow !important; /* light highlight */
    /*border-left: 4px solid #007bff; /* accent border like desktop */
}


/* Search input */
.dataTables_filter input {
  border: 1px solid #ccc;
  padding: 6px 10px;
  border-radius: 4px;
  outline: none;
}


.dataTables_filter {
    float: none !important;
    text-align: left !important;
    margin: 0;
}


.custom-wrapper {
    width: 70%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: auto;
}


.dataTables_paginate {
    margin-bottom: 5px;
}


.th-highlight {
  background-color: #2d7bec !important;
}

.member-link {
  color: blue;
  text-decoration: none;
  cursor: pointer;
}


.member-link:hover {
  color: #5f5fff;
}

#since1880label {
    margin-left: 10px;
    font-size: 14px;
}

#since1880checkbox {
    position: relative;
    top: 2px;
}

#floatingFormPanel {
    display: none;
    color: #fff;
    position: fixed;
    right: 0;
    top: 62px;
    width: 450px;
    height: 90vh;
    z-index: 9999;
    overflow: auto;
    scrollbar-width: none; 
}
#floatingFormPanel::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

#floatingFormPanel #familyForm input {background: #000;}
#inviteRowEmail{background: #fff !important}
#floatingFormPanel #familyForm select {background: #000;}
#floatingFormPanel #familyForm textarea {background: #000;}
#floatingFormPanel #familyForm .f3-add-relative-btn {display: none;}
#floatingFormPanel #familyForm .tree-icon-redirect {
    display: inline-block;
    position: absolute;
    top: -4px;
    right: 325px;
    cursor: pointer;
}

.tree-icon-redirect {display: none;}



/* Desktop view - align marker to the right */
.member-link {
    display: flex;
    align-items: center;
    width: 100%;
}

.member-name-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0.5em;
}

/* Icons container - holds all member icons aligned from the right */
.member-icons-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.3em;
    flex-shrink: 0;
    margin-left: auto;
}

/* Individual icon/marker styles */
.member-icon {
    display: inline-block;
    font-size: 2.2em;
    vertical-align: middle;
    line-height: 1;
}

/* Deceased marker - black square */
.deceased-marker {
    color: black;
}

/* Assignee icons */
.assignee-invited-icon {
    color: #6c757d;
    font-size: 1.6em;
}

.assignee-reviewed-icon {
    color: #28a745;
    font-size: 1.6em;
}

/* Mobile view - ensure proper alignment */
.mobile-table-name {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0.5em;
}

.mobile-table-name .member-icons-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.3em;
    flex-shrink: 0;
    margin-left: auto;
}

