Sure, here's the merged CSS incorporating both the existing styles and the new changes for the Docker image details page:

```css
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;
  background-color: #f9f9f9;
  color: #333;
}

/* Navbar styles */
.navbar {
  padding: 0.5rem 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
  font-weight: 600;
  color: #333;
  padding-left: 0;
}

.navbar .dropdown-toggle {
  background-color: transparent;
  border: none;
  color: #666;
  padding: 0.25rem 0;
}

.navbar .dropdown-toggle:hover,
.navbar .dropdown-toggle:focus {
  color: #1976d2;
}

.user-dropdown {
  font-size: 0.9rem;
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
}

/* Alert styles */
.alert-primary {
  background-color: #1976d2;
  border-color: #1976d2;
  color: white;
  border-radius: 4px;
}

.alert-primary .btn-light {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: transparent;
  color: white;
}

.alert-primary .btn-light:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

/* Card styles */
.card {
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e0e0;
}

.card-title {
  font-weight: 600;
  margin-bottom: 1rem;
  color: #333;
}

/* Button styles */
.btn-outline-primary {
  color: #1976d2;
  border-color: #1976d2;
}

.btn-outline-primary:hover {
  background-color: #1976d2;
  border-color: #1976d2;
}

/* Footer */
.footer {
  background-color: white;
  padding: 1rem 0;
  font-size: 0.9rem;
  color: #666;
}

/* Typography */
h1.display-4 {
  font-weight: 500;
  color: #333;
  margin-bottom: 0.5rem;
}

.text-muted {
  color: #666 !important;
}

/* Icons */
.bi {
  display: inline-block;
  vertical-align: -0.125em;
}

/* Homepage specific styles */
.fs-3 {
  font-size: 1.75rem !important;
}

/* Images page styles */
.table > :not(caption) > * > * {
  padding: 0.75rem 1rem;
}

.table-hover tbody tr:hover {
  background-color: rgba(25, 118, 210, 0.05);
}

.pagination .page-link {
  color: #1976d2;
  border-color: #dee2e6;
}

.pagination .page-item.active .page-link {
  background-color: #1976d2;
  border-color: #1976d2;
}

.input-group-text {
  color: #666;
}

.btn-group .btn {
  margin-right: 2px;
}

.btn-group .btn:last-child {
  margin-right: 0;
}

.btn-outline-secondary {
  color: #666;
  border-color: #ccc;
}

.btn-outline-secondary:hover {
  background-color: #f0f0f0;
  color: #333;
  border-color: #ccc;
}

.btn-outline-danger {
  color: #dc3545;
  border-color: #dc3545;
}

.btn-outline-danger:hover {
  background-color: #dc3545;
  color: white;
}

/* Configuration page styles */
.list-group-item {
  border-radius: 0;
  padding: 0.75rem 1rem;
}

.list-group-item.active {
  background-color: #1976d2;
  border-color: #1976d2;
}

.list-group-item:first-child {
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}

.list-group-item:last-child {
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}

.list-group-item:not(.active):hover {
  background-color: #f8f9fa;
}

.card-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #e0e0e0;
  padding: 0.75rem 1rem;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  border-color: #1976d2;
  box-shadow: 0 0 0 0.25rem rgba(25, 118, 210, 0.25);
}

.form-check-input:checked {
  background-color: #1976d2;
  border-color: #1976d2;
}

.toast {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Expandable Docker Images Table Styles */
.image-row {
  cursor: pointer;
  transition: background-color 0.15s ease-in-out;
}

.image-row:hover {
  background-color: rgba(25, 118, 210, 0.08);
}

.image-row .toggle-icon {
  transition: transform 0.2s ease;
  color: #1976d2;
  font-size: 0.85rem;
}

.image-row[aria-expanded="true"] .toggle-icon {
  transform: rotate(180deg);
}

.image-name {
  font-weight: 500;
  color: #1976d2;
}

.tags-container {
  background-color: #f8f9fa;
  border-top: none;
}

.tags-container td {
  padding: 0 !important;
}

.tags-container .table {
  margin-bottom: 0;
  border: none;
}

.tags-container .table td, 
.tags-container .table th {
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
}

.tags-container .table th {
  background-color: #e9ecef;
  font-weight: 600;
  border-top: none;
}

.tags-container h6 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #495057;
}

/* Badges for tags */
.badge.bg-light.text-dark {
  background-color: #e9ecef !important;
  color: #495057 !important;
  font-weight: normal;
  font-size: 0.85rem;
  padding: 0.25rem 0.5rem;
}

.badge.bg-secondary {
  font-weight: normal;
  font-size: 0.85rem;
  padding: 0.25rem 0.5rem;
}

/* Animation for expanding/collapsing */
.collapse {
  transition: all 0.2s ease;
}

.tags-container.show {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Form styling for delete buttons */
form.d-inline {
  display: inline-block !important;
}

.tags-container form.d-inline button {
  height: 100%;
}

/* Clean up border styles for the nested table */
.tags-container .table-sm.table-bordered {
  border-color: #dee2e6;
}

.tags-container .table-sm.table-bordered th,
.tags-container .table-sm.table-bordered td {
  border-color: #dee2e6;
}

/* Estilos para imagens Docker com digests compartilhados */
.shared-digest {
    background-color: rgba(13, 110, 253, 0.05);
}

.shared-digest:hover {
    background-color: rgba(13, 110, 253, 0.1);
}

.tag-group {
    position: relative;
}

.primary-tag {
    font-weight: 500;
}

.shared-tags {
    position: relative;
    display: inline-block;
    margin-left: 8px;
}

.shared-tags-info {
    font-size: 0.8rem;
    margin-left: 3px;
    opacity: 0.8;
    cursor: help;
}

.other-tags {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    min-width: 200px;
    padding: 8px;
    margin-top: 5px;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 4px;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
}

/* Destacar as linhas da tabela com tags compartilhadas */
tr.shared-digest td:first-child::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #0d6efd;
    opacity: 0.6;
}

.bi-link {
    color: #0d6efd;
}

/* Melhorar o estilo dos tooltips */
.tooltip .tooltip-inner {
    max-width: 300px;
    padding: 8px 12px;
    color: #fff;
    background-color: #495057;
    border-radius: 4px;
    font-size: 0.85rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Estilos para detalhes da imagem - tags relacionadas */
.text-monospace {
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.85rem;
}

.related-tags-section .card-header {
    background-color: rgba(13, 110, 253, 0.05);
}

.related-tags-section .alert-info {
    background-color: rgba(13, 110, 253, 0.1);
    border-color: rgba(13, 110, 253, 0.2);
    color: #0a58ca;
}

.related-tags-section .badge.bg-info {
    background-color: #0dcaf0 !important;
}

/* Estilo para destacar o digest compartilhado */
.shared-digest-highlight {
    background-color: rgba(13, 110, 253, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    border: 1px solid rgba(13, 110, 253, 0.2);
}

/* Adicionando animação para as tags compartilhadas */
@keyframes pulse {
    0% { background-color: rgba(13, 202, 240, 0.1); }
    50% { background-color: rgba(13, 202, 240, 0.2); }
    100% { background-color: rgba(13, 202, 240, 0.1); }
}

.tag-highlight {
    animation: pulse 2s infinite ease-in-out;
}