html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}


.family-tree {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.tree-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.member-card {
    width: 140px;
    text-align: center;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 10px;
    background: #fff;
    transition: 0.3s;
}

    .member-card:hover {
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

.member-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 3px solid #f8f9fa;
}

.connector {
    height: 30px;
    width: 2px;
    background: #adb5bd;
    margin: 0 auto;
}

.family-tree {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.tree-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.member-card {
    width: 150px;
    height: 220px;
    border-radius: 15px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #dee2e6;
}

.main-member-card {
    border: 2px solid #0d6efd !important;
}

.member-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f8f9fa;
}

.member-icon {
    font-size: 40px;
    color: #6c757d;
    margin: 10px 0;
}

.connector {
    height: 30px;
    width: 2px;
    background: #adb5bd;
    margin: 0 auto;
}
.pagination-sm .page-link {
    padding: 0.35rem 0.7rem;
    font-size: 0.85rem;
}
