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;
}

.profile-about {
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.member-card {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

    .member-card:hover {
        transform: translateY(-3px);
    }

.member-card-image,
.member-card-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
}

.member-card-image {
    object-fit: cover;
}

.member-card-placeholder {
    background: var(--bs-tertiary-bg);
    color: var(--bs-secondary-color);
}

.profile-image-preview {
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    background: var(--bs-tertiary-bg);
}

.profile-image-placeholder {
    width: 100%;
    min-height: 320px;
    background: var(--bs-tertiary-bg);
    color: var(--bs-secondary-color);
}

.member-message-content {
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.unread-message {
    border-left: 5px solid var(--bs-primary) !important;
    background-color: rgba( var(--bs-primary-rgb), 0.035);
}

.profile-action-panel {
    top: 5.5rem;
    z-index: 10;
}

.profile-action-panel {
    position: sticky;
    top: 5.5rem;
}

    .profile-action-panel .btn {
        text-align: left;
        padding: 0.75rem 1rem;
    }

@media (max-width: 991.98px) {
    .profile-action-panel {
        position: static;
    }

        .profile-action-panel .d-grid {
            display: flex !important;
            flex-wrap: wrap;
        }

        .profile-action-panel .btn {
            width: auto;
            text-align: center;
        }
}

.profile-action-panel .card {
    border-radius: 0.9rem;
}

.profile-action-panel .btn {
    line-height: 1.35;
}