/* Custom styles goes here */
.img_setfull {
  max-width: 1344px;
  max-height: 896px;
}

.audit-log-entry {
  background: #f6f8fa;
  border-left: 5px solid #0366d6;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

  .audit-log-entry h6 {
    font-size: 1rem;
    font-weight: 600;
  }

.audit-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.9rem;
}

  .audit-table th, .audit-table td {
    border: 1px solid #ddd;
    padding: 6px 12px;
  }

  .audit-table th {
    background-color: #f0f0f0;
    text-align: left;
  }

.diff-old {
  background-color: #ffeef0;
  color: #cb2431;
}

.diff-new {
  background-color: #e6ffed;
  color: #22863a;
}

pre {
  background-color: #f6f8fa;
  padding: 1rem;
  border-radius: 4px;
  overflow-x: auto;
}

.log-meta {
  font-size: 0.85rem;
  color: #6a737d;
}

/*Preview Hình Upload*/

.image-preview-container {
  position: relative;
  width: fit-content;
}

#imagePreview {
  border: 1px solid #ccc;
  display: block;
}

#removeIcon {
  position: absolute;
  top: 5px;
  right: 5px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 2px 6px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: bold;
  z-index: 10;
  line-height: 1;
  font-size: 16px;
  transition: transform 0.2s ease, background 0.2s ease;
}

#removeIcon:hover {
  background: red;
  transform: scale(1.1);
}

.fade-toggle {
  transition: all 0.3s ease-in-out;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
}

.fade-toggle.show {
  opacity: 1;
  max-height: 1000px; /* hoặc chiều cao đủ lớn */
}


#box3D {
  background-color: white;
}
#box3D canvas {
  background-color: white !important;
}
