@charset "utf-8";

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid #888;
  /* width:80%; */
  max-width: 16000px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.close {
  color: #fff;
  background-color: #a00;
  float: right;
  font-size: 26px;
  width:32px;
  height:32px;
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  border-radius: 50%;
  opacity: 1;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.file-type-icons {
  display: flex;
  justify-content: space-around;
  margin: 20px 0;
}

.icon-container {
  text-align: center;
}

.icon-container img {
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.file-info {
  background-color: #f0f0f0;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 20px;
}

.file-drop-area {
  border: 2px dashed #ccc;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
  margin-top: 5px;;
  transition: background-color 0.3s ease;
}

.file-drop-area.highlight {
  background-color: #f0f0f0;
}

.file-previews {
  max-height: 70vh;
  overflow-y: auto;
  margin-bottom: 20px;
}

.file-preview {
  display: flex;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid #eee;
  margin-bottom: 15px;
}

.file-preview-image,
.file-preview-audio,
.file-preview-video {
  width: 100%;
  height: 100autopx;
  object-fit: cover;
  margin-right: 15px;
}

.file-icon {
  font-size: 3em;
  margin-right: 15px;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0f0f0;
}

.file-details {
  flex-grow: 1;
}

.file-name {
  font-weight: bold;
}

.file-size {
  color: #666;
  font-size: 0.9em;
}

.file-caption {
  font-style: italic;
}

.remove-file,
.edit-file {
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  color: #333;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.2em;
  margin-left: 5px;
}

.file-progress-container {
  width: 100%;
  background-color: #f0f0f0;
  height: 5px;
  margin-top: 5px;
}

.file-progress-bar {
  width: 0;
  height: 100%;
  background-color: #4CAF50;
  transition: width 0.3s ease;
}

.edit-file-section {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 5px;
  margin-bottom: 20px;
}

.edit-file-section input {
  width: 100%;
  padding: 5px;
  margin-bottom: 10px;
}

.edit-buttons {
  text-align: right;
}

.upload-progress {
  width: 100%;
  background-color: #f0f0f0;
  height: 10px;
  margin-bottom: 20px;
}

.progress-bar {
  width: 0;
  height: 100%;
  background-color: #4CAF50;
  transition: width 0.3s ease;
}

.file-count {
  text-align: right;
  margin-bottom: 10px;
}

.modal-buttons {
  text-align: right;
}

.update-button,
.reset-button,
.option-button {
  padding: 10px 20px;
  margin-left: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.update-button {
  background-color: #2196F3;
  color: white;
}

.reset-button {
  background-color: #ff9800;
  color: white;
}

.option-button {
  background-color: #4CAF50;
  color: white;
}

.option-button,
.icon-container,
.update-button,
.reset-button,
.option-buttons button {
  transition: none !important;
}

.option-button:hover,
.icon-container:hover,
.update-button:hover,
.reset-button:hover,
.option-buttons button:hover {
  opacity: 1 !important;
  background-color: #4CAF50 !important;
  color: white !important;
  transform: none !important;
  transition: none !important;
}

.recording-modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
}

.waveform, .timeline {
    width: 100%;
    height: 100px;
    background-color: #f0f0f0;
    margin-bottom: 10px;
}

.recording-controls {
    display: flex;
    justify-content: space-around;
}
.recording-controls button{
  background-color: #4CAF50;
}
.recording-info {
    text-align: center;
    font-weight: bold;
}

.file-input-wrapper {
  display: inline-block;
  position: relative;
}

.file-input-overlay {
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  cursor: pointer;
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 200px;
}

.file-input-wrapper {
  display: inline-block;
  position: relative;
}

.custom-file-button {
  display: inline-block;
  padding: 6px 12px;
  cursor: pointer;
  background-color: #f8f9fa;
  border: 1px solid #ced4da;
  border-radius: 4px;
}

.file-name-display {
  margin-left: 10px;
}

.error-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.error-content {
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  max-width: 80%;
  max-height: 80%;
  overflow-y: auto;
}

.close-error {
  float: right;
  cursor: pointer;
  font-size: 20px;
}

.file-preview {
  border-bottom: 1px solid #eee;
  margin-bottom: 15px;
}

.filename-container {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.filename-input {
  border: 1px solid #ccc;
  padding: 5px;
  margin-right: 5px;
  border-radius: 4px;
  flex-grow: 1;
}

.filename-extension {
  color: #666;
  font-size: 14px;
}

.caption-input {
  width: 100%;
  border: 1px solid #ccc;
  padding: 5px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.input-modified {
  border-color: #007bff;
}

.accordion-header {
  display: block; /* Change from flex to block */
  width: 100%;
  padding: 15px;
  cursor: pointer;
}

.accordion-content {
  display: block;
  padding: 15px;
  width: 100%;
  border-top: 1px solid #eee; /* Optional: adds separation between header and content */
}

.file-preview {
  display: block; /* Change from flex to block */
  width: 100%;
  margin-bottom: 15px;
}

/* Maintain horizontal alignment for elements within the header */
.accordion-header {
  display: flex;
  align-items: center;
}

.toggle-icon, .file-name, .file-size {
  /* Keep these as they are */
  margin-right: 10px;
}

.file-name, .file-size {
  margin-right: 10px;
}

.toggle-icon {
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.accordion-header.active .toggle-icon {
  transform: rotate(90deg);
}

.validation-tooltip {
  position: absolute;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  margin-top: 5px;
  z-index: 1000;
}

.input-modified {
  background-color: #fff3cd;
  border-color: #ffeeba;
}

.filename-extension {
  color: #666;
  margin-left: 5px;
}

.recording {
  animation: pulse 1s infinite;
}

.recording-modal {
  position: fixed;
  z-index: 1001;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  height: 100%;
  max-width: 600px;
  background-color: rgba(0,0,0,0.4);
}

.recording-controls {
  display: flex;
  gap: 10px;
  align-items: center;
}

.recording-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  margin-left: 10px;
}

.recording-indicator.active {
  background-color: #ff4444;
  animation: flash-recording 1s infinite;
}

.recording-indicator.active.video-recording {
  background-color: #ff0000;
  box-shadow: 0 0 5px #ff0000;
}

.recording-indicator.paused {
  background-color: #ffaa00;
  animation: none;
}

.recording-preview {
  width: 100%;
  max-width: 500px;
  height: auto;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.validation-message,
.error-message {
    display: none;
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    margin-top: 5px;
    z-index: 1000;
}

.validation-message.show,
.error-message.show {
    display: block;
}

.error-message {
    background: rgba(255, 0, 0, 0.8);
}

.hidden {
    display: none;
}

.visible {
    display: block;
}
/* .document-download-btn, button.download-all-button{
  background-color: #000;
  transition: all 0.3s;
  display: inline-block;
}
.document-download-btn:hover, button.download-all-button:hover{
  background-color: #888;
} */
.document-icon{
  max-width: 32px;
  margin-right: 1rem;;
}
/* dialog{
  position: relative !important;
} */
.file-previews button, .file-upload-modal button{
  background-color: #000;
  transition: all 0.3s;
  display: inline-block;
}
.file-previews button:hover, .file-upload-modal button:hover{
  background-color: #888;
}
@keyframes flash-recording {
  0% { opacity: 1; }
  50% { opacity: 0.3; }
  100% { opacity: 1; }
}


@keyframes pulse {
  0% {
      transform: scale(1);
  }
  50% {
      transform: scale(1.1);
  }
  100% {
      transform: scale(1);
  }
}

.loading-indicator {
  font-size: 16px;
  color: #666;
  text-align: center;
  padding: 10px;
  display: none; /* Hidden by default, shown during loading */
}

.loading-indicator::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 8px;
  border: 2px solid #666;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/*  put in file upload */

body .modal {
  resize: both;
  overflow: auto;
  /* width: 80vw; 
  height: 80vh;  */
  max-width: 98vw;
  max-height: 90vh;
  min-width: 200px;
  min-height: 200px;
  border: 1px solid #ccc;
  padding: 1rem;
  background: #333;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* body .modal {
    resize: both;
    overflow: auto;
    width: clamp(200px, 80vw, 90vw);
    height: clamp(200px, 80vh, 90vh);
    padding: 1rem;
    background: #000;
    align-items: center;
    justify-content: center;
} */

body .modal video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}
.recording-overlay {
    top: 0;
    position: fixed;
    background: #ddd;
    width: 100%;
}
.recording-overlay button{
    padding:5px 10px;
}

/* ============================================================
   File Upload Handler (file_upload_handler.js) styles
   fuh- prefix — modal, tabs, preview, screenshot, recording
   ============================================================ */
.fuh-text-input {
    cursor: pointer;
    background-color: #f8f9fa;
    border: 2px dashed #dee2e6;
    padding: 12px;
    border-radius: 6px;
    min-height: 44px;
    transition: all 0.2s ease;
}
.fuh-text-input:hover {
    border-color: #007bff;
    background-color: #e7f1ff;
}
.fuh-text-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}
.fuh-text-input.has-files {
    border-style: solid;
    border-color: #28a745;
    background-color: #d4edda;
}

.fuh-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(2px);
}
.fuh-modal-overlay.active {
    display: flex;
}

.fuh-modal {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: fuh-modal-appear 0.2s ease-out;
}
@keyframes fuh-modal-appear {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.fuh-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e9ecef;
}
.fuh-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #212529;
}
.fuh-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6c757d;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}
.fuh-modal-close:hover {
    color: #212529;
}

.fuh-modal-body {
    padding: 20px;
}

.fuh-tab-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.fuh-tab-btn {
    flex: 1;
    min-width: 120px;
    padding: 12px 16px;
    border: 2px solid #dee2e6;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.fuh-tab-btn:hover {
    border-color: #007bff;
    background-color: #e7f1ff;
}
.fuh-tab-btn.active {
    border-color: #007bff;
    background-color: #007bff;
    color: white;
}
.fuh-tab-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.fuh-tab-btn svg {
    width: 20px;
    height: 20px;
}

.fuh-tab-content {
    display: none;
}
.fuh-tab-content.active {
    display: block;
}

.fuh-drop-zone {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}
.fuh-drop-zone:hover,
.fuh-drop-zone.dragover {
    border-color: #007bff;
    background-color: #e7f1ff;
}
.fuh-drop-zone-icon {
    font-size: 48px;
    margin-bottom: 12px;
}
.fuh-drop-zone-text {
    color: #6c757d;
    margin-bottom: 8px;
}
.fuh-drop-zone-hint {
    font-size: 12px;
    color: #adb5bd;
}

.fuh-hidden-input {
    display: none;
}

.fuh-preview-area {
    margin-top: 16px;
}
.fuh-preview-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 8px;
}
.fuh-preview-item img,
.fuh-preview-item video {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}
.fuh-preview-info {
    flex: 1;
    min-width: 0;
}
.fuh-preview-name {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fuh-preview-size {
    font-size: 12px;
    color: #6c757d;
}
.fuh-preview-remove {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 12px;
}
.fuh-preview-remove:hover {
    background: #c82333;
}

.fuh-screenshot-area {
    text-align: center;
}
.fuh-screenshot-btn {
    background: #17a2b8;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}
.fuh-screenshot-btn:hover {
    background: #138496;
}

.fuh-record-area {
    text-align: center;
}
.fuh-record-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}
.fuh-record-btn:hover {
    background: #c82333;
}
.fuh-record-btn.recording {
    background: #28a745;
    animation: fuh-pulse 1.5s infinite;
}
@keyframes fuh-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.fuh-record-timer {
    font-size: 24px;
    font-weight: bold;
    margin: 16px 0;
    font-family: monospace;
}

.fuh-record-preview {
    margin-top: 16px;
}
.fuh-record-preview video {
    max-width: 100%;
    border-radius: 8px;
}

.fuh-or-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: #6c757d;
}
.fuh-or-divider::before,
.fuh-or-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #dee2e6;
}
.fuh-or-divider span {
    padding: 0 16px;
    font-size: 14px;
}

.fuh-upload-alt-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}
.fuh-upload-alt-btn:hover {
    background: #5a6268;
}

.fuh-hint-text {
    margin-top: 16px;
    font-size: 13px;
    color: #6c757d;
    text-align: center;
}

.fuh-image-placeholder,
.fuh-video-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px dashed #dee2e6;
}

.fuh-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e9ecef;
    border-top-color: #007bff;
    border-radius: 50%;
    animation: fuh-spin 1s linear infinite;
}

@keyframes fuh-spin {
    to { transform: rotate(360deg); }
}

.fuh-load-error {
    color: #dc3545;
    font-size: 14px;
    padding: 20px;
}

.fuh-upload-progress {
    margin-top: 16px;
}
.fuh-progress-bar {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}
.fuh-progress-fill {
    height: 100%;
    background: #007bff;
    transition: width 0.3s;
}
.fuh-progress-text {
    font-size: 12px;
    color: #6c757d;
    margin-top: 4px;
    text-align: center;
}

.fuh-modal-footer {
    padding: 16px 20px;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}
.fuh-btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}
.fuh-btn-secondary {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
}
.fuh-btn-secondary:hover {
    background: #e9ecef;
}
.fuh-btn-primary {
    background: #007bff;
    border: 1px solid #007bff;
    color: white;
}
.fuh-btn-primary:hover {
    background: #0056b3;
}
.fuh-btn-primary:disabled {
    background: #6c757d;
    border-color: #6c757d;
    cursor: not-allowed;
}

.fuh-file-list {
    margin-top: 8px;
}
.fuh-file-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e9ecef;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 13px;
    margin: 2px;
}
.fuh-file-chip-remove {
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    font-size: 16px;
    line-height: 1;
}
.fuh-file-chip-remove:hover {
    color: #dc3545;
}

.fuh-status-message {
    padding: 12px;
    border-radius: 6px;
    margin-top: 12px;
    font-size: 14px;
}
.fuh-status-message.success {
    background: #d4edda;
    color: #155724;
}
.fuh-status-message.error {
    background: #f8d7da;
    color: #721c24;
}
.fuh-status-message.info {
    background: #cce5ff;
    color: #004085;
}

.fuh-view-area {
    padding: 10px 0;
}
.fuh-existing-file {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid #e9ecef;
}
.fuh-existing-file:hover {
    background: #e9ecef;
    border-color: #dee2e6;
}
.fuh-existing-file-icon {
    font-size: 32px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}
.fuh-existing-file-info {
    flex: 1;
    min-width: 0;
}
.fuh-existing-file-name {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}
.fuh-existing-file-type {
    font-size: 12px;
    color: #6c757d;
}
.fuh-existing-file-actions {
    display: flex;
    gap: 8px;
}
.fuh-file-action-btn {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    border: 1px solid #dee2e6;
    background: white;
    color: #333;
    transition: all 0.2s;
}
.fuh-file-action-btn:hover {
    background: #e9ecef;
    color: #333;
}
.fuh-file-action-btn.primary {
    background: #007bff;
    color: white;
    border-color: #007bff;
}
.fuh-file-action-btn.primary:hover {
    background: #0056b3;
}
.fuh-file-action-btn.danger {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}
.fuh-file-action-btn.danger:hover {
    background: #c82333;
}
.fuh-file-action-btn.danger:disabled {
    background: #6c757d;
    border-color: #6c757d;
    cursor: not-allowed;
}

.fuh-file-viewer {
    text-align: center;
    padding: 20px 0;
}
.fuh-file-viewer img {
    max-width: 100%;
    max-height: 60vh;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.fuh-file-viewer video {
    max-width: 100%;
    max-height: 60vh;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.fuh-viewer-filename {
    margin-top: 12px;
    font-size: 14px;
    color: #6c757d;
}
.fuh-viewer-actions {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.fuh-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    margin-bottom: 16px;
    transition: all 0.2s;
}
.fuh-back-btn:hover {
    background: #e9ecef;
}

.fuh-no-files {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}
.fuh-no-files-icon {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.fuh-file-viewer-inline {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e9ecef;
}
.fuh-file-viewer-inline:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.fuh-viewer-image {
    cursor: pointer;
    transition: opacity 0.2s;
}
.fuh-viewer-image:hover {
    opacity: 0.9;
}

.fuh-fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fuh-fade-in 0.2s ease-out;
}
@keyframes fuh-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
.fuh-fullscreen-content {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.fuh-fullscreen-content img {
    max-width: 95vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
}
.fuh-fullscreen-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 36px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s;
}
.fuh-fullscreen-close:hover {
    opacity: 1;
}
.fuh-fullscreen-filename {
    color: white;
    margin-top: 12px;
    font-size: 14px;
    opacity: 0.8;
}

.fuh-paste-hint {
    margin-top: 10px;
    font-size: 13px;
    color: #6c757d;
}
.fuh-paste-hint kbd {
    display: inline-block;
    padding: 2px 6px;
    font-size: 12px;
    font-family: monospace;
    background: #f8f9fa;
    border: 1px solid #ced4da;
    border-bottom-width: 2px;
    border-radius: 4px;
    color: #495057;
}