    .tool-title-container {
  text-align: center;
  padding: 2rem 1rem;
  margin-bottom: -3rem;
}

.tool-title-container h1 {
  font-size: 3.1rem;
  color: #1a202c;
  font-weight: 800; 
  margin-bottom: 0rem;
  line-height: 1.2;
  word-wrap: break-word;
}
@media (max-width: 1024px) {
  .tool-title-container h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .tool-title-container {
    padding: 1.5rem 1rem;
  }
  .tool-title-container h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .tool-title-container {
    padding: 1rem 0.75rem;
  }
  .tool-title-container h1 {
     font-size: 2.3rem;
  }
}


  .post-outer-article.page-type-static_page h1.post-title-heading.entry-title {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
  }

  .fi-rr-images {
    font-size: 32px;
    color: #6f55ff;
    margin-right: 8px; 
  }

  .zenfied-subtitle {
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 10px;
  }

  .zenfied-subtitle .highlight-text {
    color: #6f55ff;
  }

  .tool-header {
    text-align: center;
    margin-top: 0rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
  }

  .tool-header h2 {
    color: #6f55ff;
    font-size: 1.8rem;
    margin: 0 0 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }

  .tool-header h2 i {
    font-size: 1.5em;
    vertical-align: -3px;
  }

  .tool-header .subtitle {
    color: #555;
    font-size: 1.05rem;
    margin: 0;
  }

  .zenfied-tool {
    background: white;
    border-radius: 16px;
    padding: 0rem;
    max-width: 900px;
    margin: 1rem auto 2rem auto;
  }

  .tool-content-area {
    padding: 0rem 1.5rem 0rem 1.5rem;
  }

  
  .loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; 
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .loading-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  html:has(.loading-overlay.active) {
    overflow: hidden;
  }

  .loading-content {
    text-align: center;
    max-width: 300px;
    width: 90%;
    box-sizing: border-box;
  }

  
  .loading-spinner {
    display: none;
    
  }

  .loading-text {
    color: #6f55ff;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
    min-height: 1.2em;
    
  }

  
  .loading-text.fade-out {
    opacity: 0;
  }

  
  .loading-text.complete-state {
    display: block;
    
  }

  
  .loading-content .progress-bar-container {
    width: 70%;
    
    margin: 0 auto;
    
    height: 10px;
    
    background-color: #e0e0e0;
    border-radius: 5px;
    
    margin-top: 1.5rem;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: block;
    position: relative;
    
  }

  .loading-content .progress-bar-container.show-progress {
    opacity: 1;
    visibility: visible;
  }

  .loading-content .progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #6f55ff, #9d8bfd);
    transition: width 0.3s ease-out;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    
  }

  
  .loading-content .progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.6) 20%,
      rgba(255, 255, 255, 0.6) 80%,
      rgba(255, 255, 255, 0) 100%
    );
    transform: translateX(-100%);
    animation: shimmer 1.8s infinite linear;
  }

  @keyframes shimmer {
    0% {
      transform: translateX(-100%);
    }

    100% {
      transform: translateX(100%);
    }
  }

  
  #fullscreenDragOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(123, 44, 191, 0.95);
    
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9998; 
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 0;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    
  }

  #fullscreenDragOverlay.show {
    display: flex;
    opacity: 1;
  }

  .drop-area {
    background-color: #eeecf9;
    border-radius: 4px;
    border: 4px dashed #cec6fb;
    min-height: 225px;
    margin: 2rem auto;
    padding: 1.5rem;
    width: 100%;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease,
      transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    box-sizing: border-box;
    overflow: visible;
  }

  
  .drop-area.drag-over {
    border-color: #6f55ff;
    background-color: #6f55ff;
    box-shadow: 0 0 25px rgba(123, 44, 191, 0.4);
    
    transform: scale(1.01);
  }

  
  #initialDropContent {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    gap: 0px;
    
  }

  .upload-icon {
    font-size: 3rem;
    color: #6f55ff;
    margin-bottom: 10px;
    transition: all 0.3s ease;
  }

  .drop-text {
    color: #6f55ff;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
  }

  .terms-text {
    color: #555;
    font-size: 0.95rem;
    margin-top: 0;
    margin-bottom: 0 !important; 
  }

  .terms-text a {
    color: #6f55ff;
    
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
  }

  .terms-text a:hover {
    color: #6f55ff;
  }

  .file-input {
    display: none;
  }

  
  .drop-area.has-file {
    background-color: #ece9fb; 
    background-image: linear-gradient(
        45deg,
        rgba(204, 204, 204, 0.4) 25%,
        transparent 25%
      ),
      linear-gradient(-45deg, rgba(204, 204, 204, 0.4) 25%, transparent 25%),
      linear-gradient(45deg, transparent 75%, rgba(204, 204, 204, 0.4) 75%),
      linear-gradient(-45deg, transparent 75%, rgba(204, 204, 204, 0.4) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    border-color: #cec6fb;
    min-height: unset;
    padding: 1.5rem;
    justify-content: flex-start;
    align-items: flex-start;
    cursor: default;
    margin-bottom: 0;
  }

  
  #fileLoadedContent,
  #convertedFilesList {
    width: 100%;
    display: flex;
    flex-direction: column;
    
    gap: 1rem;
    padding-right: 0;
    
    padding-bottom: 0;
    
    box-sizing: border-box;
  }

  
  @media (min-width: 769px) {
    #fileLoadedContent.scrollable-vertical,
    #convertedFilesList.scrollable-vertical {
      max-height: 330px;
      
      overflow-y: auto;
      padding-right: 15px;
      
    }
  }

  
  #fileLoadedContent.scrollable-vertical::-webkit-scrollbar,
  #convertedFilesList.scrollable-vertical::-webkit-scrollbar,
  #fileLoadedContent.scrollable-horizontal::-webkit-scrollbar,
  #convertedFilesList.scrollable-horizontal::-webkit-scrollbar {
    width: 8px;
    
    height: 8px;
    
  }

  #fileLoadedContent.scrollable-vertical::-webkit-scrollbar-track,
  #convertedFilesList.scrollable-vertical::-webkit-scrollbar-track,
  #fileLoadedContent.scrollable-horizontal::-webkit-scrollbar-track,
  #convertedFilesList.scrollable-horizontal::-webkit-scrollbar-track {
    background: #f1f1f1;
    
    border-radius: 10px;
  }

  #fileLoadedContent.scrollable-vertical::-webkit-scrollbar-thumb,
  #convertedFilesList.scrollable-vertical::-webkit-scrollbar-thumb,
  #fileLoadedContent.scrollable-horizontal::-webkit-scrollbar-thumb,
  #convertedFilesList.scrollable-horizontal::-webkit-scrollbar-thumb {
    background: #9d8bfd;
    
    border-radius: 10px;
  }

  #fileLoadedContent.scrollable-vertical::-webkit-scrollbar-thumb:hover,
  #convertedFilesList.scrollable-vertical::-webkit-scrollbar-thumb:hover,
  #fileLoadedContent.scrollable-horizontal::-webkit-scrollbar-thumb:hover,
  #convertedFilesList.scrollable-horizontal::-webkit-scrollbar-thumb:hover {
    background: #6f55ff;
    
  }

  .file-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    width: 100%;
    
    box-sizing: border-box;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .converted-file-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 10px 15px;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
    width: 100%;
    
  }

  .file-details-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-grow: 1;
    min-width: 0;
  }

  .file-icon-wrapper {
    width: 55px;
    height: 55px;
    background-color: transparent;
    
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    
    border: 1px solid #e0e0e0;
    
  }

  .file-icon-wrapper i {
    font-size: 35px; 
    color: #6f55ff; 
    margin: 2px 0; 
    line-height: 0;
  }

  
  .file-thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    
    display: block;
    
  }

  .file-info-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
    min-width: 120px;
  }

  .file-name-line {
    display: flex;
    align-items: baseline;
    gap: 8px;
    width: 100%;
    overflow: hidden;
  }

  .file-name {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 70px);
    line-height: 1.3;
  }

  .file-preview-text {
    font-size: 0.85rem;
    color: #6f55ff;
    font-weight: 500;
    flex-shrink: 0;
    white-space: nowrap;
  }

  .file-size {
    font-size: 0.85rem;
    color: #555;
    margin-top: 2px;
  }

  .file-status-and-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .file-status-indicator {
    font-weight: 600;
    font-size: 0.95rem;
    color: #51a537;
    text-align: right;
    flex-shrink: 0;
    white-space: nowrap;
    min-width: 60px;
  }

  .file-status-indicator.success {
    color: #33cc38;
  }

  .file-status-indicator.error {
    color: #f44336;
  }

  .file-status-indicator.info {
    color: #2196f3;
  }

  .file-status-indicator.neutral {
    
    color: #888;
  }

  .file-action-buttons {
    display: flex;
    gap: 0.8rem;
    flex-shrink: 0;
  }

  .delete-file-btn {
    background-color: #fde2e4;
    border: 1px solid #e63946;
    
    color: #b00020;
    padding: 1px 6px;
    
    border-radius: 3px;
    
    font-weight: 500;
    font-size: 11px;
    
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    box-sizing: border-box;
    transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease,
      border-color 0.2s ease;
  }

  .delete-file-btn:hover:not(:disabled) {
    background-color: #dc3545;
    color: #fff;
    border-color: #dc3545;
    transform: scale(1.02);
  }

  .convert-and-download-btn {
    background: linear-gradient(135deg, #6f55ff, #6f55ff);
    color: white;
    box-shadow: 0 4px 15px rgba(111, 85, 255, 0.4); 
    
    padding: 6px 14px;
    
    border: none;
    border-radius: 6px;
    font-size: 14px;
    
    font-weight: 500;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  }

  
  .convert-and-download-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(111, 85, 255, 0.6); 
    background: linear-gradient(135deg, #6f55ff, #6f55ff);
  }

  
  .tool-actions-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    gap: 1rem;
    
  }

  .tool-actions-footer .action-btn {
    flex-shrink: 0;
  }

  
  .action-btn.text-link-btn {
    background: none;
    border: none;
    color: #6f55ff;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 0;
    box-shadow: none;
    text-decoration: none;
  }

  .action-btn.text-link-btn:hover:not(:disabled) {
    background-color: transparent;
    color: #6f55ff;
    transform: scale(1.05);
    box-shadow: none;
    text-decoration: none;
  }

  .action-btn.text-link-btn i {
    font-size: 0.9em;
    margin-right: 0.3em;
  }

  
  .action-btn {
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem; 
  }

  .action-btn svg {
    
    width: 1.2em; 
    height: 1.2em;
    fill: currentColor; 
    flex-shrink: 0; 
    transition: transform 0.2s ease;
  }

  .action-btn:hover:not(:disabled) svg {
    transform: scale(1.1);
  }

  .action-btn:disabled {
    background: #ccc !important;
    color: #777 !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    transform: none !important;
    opacity: 0.7;
  }

  .primary-btn {
    background: #6f55ff;
    color: white;
    box-shadow: 0 8px 20px rgba(111, 85, 255, 0.4); 
  }

  .primary-btn:hover:not(:disabled) {
    box-shadow: 0 8px 20px rgba(111, 85, 255, 0.2); 
    background: #FFB840;
  }
    
    .primary-btn:active:not(:disabled) {
  background: #FFB840;
  box-shadow: 0 4px 10px rgba(255, 184, 64, 0.4);
}
  .secondary-btn {
    background: white;
    border: 2px solid #6f55ff;
    color: #6f55ff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .secondary-btn:hover:not(:disabled) {
    background: #f9f5ff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(123, 44, 191, 0.2);
  }

  
  .conversion-result-wrapper {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background-color: #f3e9ff;
    border-radius: 12px;
    border: 2px solid #9d8bfd;
    box-shadow: inset 0 0 10px rgba(123, 44, 191, 0.1);
    
  }

  .conversion-result-wrapper h2 {
    text-align: center;
    color: #6f55ff;
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
  }

  #convertedFilesList {
    margin-bottom: 1.5rem;
  }

  .converted-file-item {
    margin-bottom: 0;
    
  }

  
  .converted-file-item .file-thumbnail {
    width: 70px;
    
    height: 70px;
    object-fit: contain;
    
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    flex-shrink: 0;
  }

  .converted-file-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 0;
  }

  .converted-file-name {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .converted-file-size {
    font-size: 0.85rem;
    color: #555;
    margin-top: 2px;
  }

  .converted-file-actions {
    display: flex;
    justify-content: flex-end;
    
    flex-shrink: 0;
  }

  .converted-file-actions .download-converted-btn {
    padding: 8px 15px;
    
    font-size: 0.9rem;
  }

  
  .action-btn.delete-all-btn {
    background-color: #fde2e4;
    
    color: #b00020;
    padding: 0.9rem 1rem;
    
    border-radius: 6px;
    font-weight: 600;
    
    white-space: nowrap;
    
    display: inline-flex;
    
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease,
      border-color 0.2s ease;
  }

  .action-btn.delete-all-btn:hover:not(:disabled) {
    background-color: #dc3545;
    
    color: #fff;
    border-color: #dc3545;
    transform: scale(1.02);
    
  }

  
  .batch-actions-right {
    display: flex;
    gap: 1rem;
    
    align-items: center;
  }

  @media (max-width: 600px) {
    #fullscreenDragOverlay {
      font-size: 1.5rem;
      
      padding: 20px;
      
      text-align: center;
      
    }
  }

  
  .file-source-options {
    display: flex;
    gap: 10px; 
    margin-top: 20px; 
    justify-content: center; 
    flex-wrap: wrap; 
    align-items: center;
  }

  .main-choose-file-btn {
    min-width: 180px;
    padding: 1rem 2rem; 
    border-radius: 6px; 
    font-size: 1.1rem; 
    font-weight: 600; 
  }

  .file-source-options-row {
    
    display: flex;
    justify-content: center;
    gap: 10px; 
    
    align-items: center; 
  }

  .circle-icon-btn {
    width: 50px; 
    height: 50px; 
    border-radius: 0px 50px 50px 50px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  }
    
   .circle-icon-btn:active:not(:disabled) {
  background: #FFB840;
  box-shadow: 0 4px 10px rgba(255, 184, 64, 0.4);
}

  .circle-icon-btn i {
    
    font-size: 1.5rem;
    
    color: #fff; 
    transition: transform 0.2s ease, color 0.2s ease; 
  }

  .circle-icon-btn svg {
    width: 1.4rem;
    height: 1.4rem;
    color: white !important; 
    transition: transform 0.2s ease;
  }

  .circle-icon-btn:hover i,
  .circle-icon-btn:hover svg {
    transform: scale(1.1);
  }

  @media (max-width: 700px) {
    .delete-file-btn {
      background-color: transparent !important;
      border: none !important;
      padding: 0.5rem !important;
      width: 36px; 
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .delete-file-btn i {
      font-size: 18px !important;
      margin: 0 !important;
      color: #e00;
    }

    .convert-and-download-btn {
      order: 1;
      padding: 0.5rem 1.2rem; 
      font-size: 0.85rem;
      min-width: 120px; 
      max-width: 70%; 
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .button-group {
      display: flex;
      flex-direction: row;
      gap: 0.5rem;
      width: 100%;
      justify-content: center;
    }
    .file-icon-wrapper {
      width: 200px;
      height: 200px;
    }
    
    .tool-content-area {
      padding: 0rem 1rem 1.5rem 1rem;
    }

    .tool-header h2 {
      font-size: 1.6rem;
    }

    #conversionResultFooterContainer {
      flex-direction: column;
      gap: 0.8rem;
    }

    #processBatchConvertBtn {
      
       
      padding: 0.9rem 2rem; 
    }

    .action-btn {
      
      
      padding: 0.9rem 1rem; 
    }

    
    .file-source-options {
      flex-direction: column; 
      gap: 15px; 
    }

    .main-choose-file-btn {
      width: 250px; 
      height: 70px; 
      max-width: none; 
      max-height: none; 
      margin-left: 0;
      margin-right: 0;
      font-size: 20px;
    }
    
    .file-source-options-row {
      
      
      
    }

    .circle-icon-btn {
      width: 50px;
      height: 50px;
      border-radius: 0px 50px 50px 50px;
    }
    .circle-icon-btn i,
    .circle-icon-btn svg {
      font-size: 1.2rem; 
      
    }

    
    #fileLoadedContent.scrollable-horizontal,
    #convertedFilesList.scrollable-horizontal {
      flex-direction: row;
      flex-wrap: nowrap;
      overflow-x: auto;
      padding-bottom: 15px;
    }

    #fileLoadedContent.scrollable-horizontal .file-item-row {
      flex-direction: column;
      align-items: center;
      min-width: 280px;
      flex-shrink: 0;
      max-width: 70%;
      margin-right: 1rem;
    }

    #fileLoadedContent.scrollable-horizontal .file-item-row:last-child {
      margin-right: 0;
    }

    #convertedFilesList.scrollable-horizontal .converted-file-item {
      flex-direction: column;
      align-items: center;
      min-width: 280px;
      flex-shrink: 0;
      max-width: 70%;
      margin-right: 1rem;
    }

    #convertedFilesList.scrollable-horizontal .converted-file-item:last-child {
      margin-right: 0;
    }

    .file-item-row {
      flex-direction: column;
      align-items: center;
      gap: 1rem;
    }

    .file-details-left {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .file-name-line {
      flex-direction: column;
      align-items: center;
      text-align: center;
      max-width: 100%;
    }

    .file-name {
      max-width: 100%;
    }

    .file-info-container {
      align-items: center;
      text-align: center;
    }

    .file-status-and-actions {
      width: 100%;
      flex-direction: column;
      gap: 1rem;
      margin-left: 0;
    }

    .file-status-indicator {
      text-align: center;
      width: 100%;
    }

    .file-action-buttons {
      width: 100%;
      justify-content: center;
      flex-direction: column;
    }

    .file-action-buttons .action-btn {
      
      width: 100%;
    }

    .converted-file-item {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .converted-file-info {
      align-items: center;
    }

    .converted-file-actions {
      width: 100%;
      margin-left: 0;
      justify-content: center;
    }

    .tool-actions-footer {
      flex-direction: column;
      align-items: stretch;
      gap: 1rem;
    }

    .batch-actions-right {
      width: 100%;
      flex-direction: column;
      gap: 0.8rem;
      align-items: stretch;
    }

    .batch-actions-right .action-btn {
      width: 100%;
    }
  }

  @media (max-width: 480px) {
    .tool-content-area {
      padding: 0rem 1rem 1.2rem 1rem;
    }

    .tool-header h2 {
      font-size: 1.4rem;
    }

    .drop-area {
      padding: 1rem;
      min-height: 150px;
    }

    .loading-text {
      font-size: 1.1rem;
    }

    .file-icon-label {
      font-size: 1.7rem;
    }

    .file-preview-text {
      display: none;
    }

    .file-name {
      font-size: 0.9rem;
      max-width: 100%;
    }

    .file-size {
      font-size: 0.75rem;
    }

    .action-btn.icon-btn.text-icon-btn {
      padding: 0.6rem 1rem;
      font-size: 0.8rem;
    }

    .action-btn.icon-btn.text-icon-btn i {
      font-size: 0.9rem;
      margin-right: 0.3rem;
    }

    .converted-file-item .file-thumbnail {
      width: 50px;
      height: 50px;
    }

    .converted-file-name {
      font-size: 0.9rem;
    }

    .converted-file-size {
      font-size: 0.7rem;
    }

    
    #fileLoadedContent.scrollable-horizontal .file-item-row,
    #convertedFilesList.scrollable-horizontal .converted-file-item {
      min-width: 250px;
    }
  }

  @media (max-width: 600px) {
    .drop-text {
      font-size: 15px;
    }
  }

  
  .toast-message {
    position: fixed;
    
    bottom: 20px;
    left: 50%;

    width: 100%;
    max-width: 420px; 
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);

    display: flex;
    align-items: center;
    padding: 1rem;

    opacity: 0;
    
    transform: translateX(-50%) translateY(150px);

    transition: transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1),
      opacity 0.4s ease, background-color 0.3s ease;
    z-index: 10000;
    pointer-events: none;
  }

  .toast-message.show {
    
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  
  .toast-message.success {
    background-color: #4caf50;
  }
  .toast-message.error {
    background-color: #d32f2f;
  }
  .toast-message.info {
    background-color: #1976d2;
  }

  
  .toast-icon {
    font-size: 1.6rem;
    margin-right: 15px;
    flex-shrink: 0;
    line-height: 0;
  }

  
  .toast-text {
    flex-grow: 1;
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: 600;
    position: relative;
    padding-left: 1rem;
  }

  .toast-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 70%;
    background-color: rgba(255, 255, 255, 0.4);
  }

  
  .toast-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 0 0 0 15px;
    line-height: 1;
    transition: color 0.2s ease;
    flex-shrink: 0;
  }

  .toast-close-btn:hover {
    color: #fff;
  }

  
@media (max-width: 480px) {
  .toast-message {
    bottom: 10px;
    left: 50%;
    right: auto;
    width: 100%;
    max-width: 95vw; 
    transform: translateX(-50%) translateY(150px);
    box-sizing: border-box;
    padding: 0.9rem;
  }

  .toast-message.show {
    transform: translateX(-50%) translateY(0);
  }
}
  
  #urlModalOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    
    backdrop-filter: blur(5px);
    
    -webkit-backdrop-filter: blur(5px);
    
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 8000; 
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  #urlModalOverlay.active {
    opacity: 1;
    visibility: visible;
  }

  .url-modal-content {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    border: 2px solid #6f55ff;
    transform: translateY(-20px) scale(0.95);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    position: relative;
    
  }

  #urlModalOverlay.active .url-modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
  }

  .url-modal-content h3 {
    color: #6f55ff;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.5rem;
  }

  .url-modal-content input[type='url'] {
    width: calc(100% - 20px);
    padding: 12px 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 0 0 6px rgba(111, 85, 255, 0.2);
  }

  .url-modal-content input[type='url']:focus {
    outline: none;
    border: 2px solid #6F55FF;
  }

  .url-modal-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
  }

  .url-modal-buttons .action-btn {
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  
  .url-modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2.5rem; 
    color: #777;
    cursor: pointer;
    line-height: 1;
    padding: 10px; 
    transition: color 0.2s ease, transform 0.2s ease;
  }

  .url-modal-close-btn:hover {
    color: #f44336;
    transform: rotate(90deg) scale(1.1);
  }

  
  .scroll-indicator {
    position: absolute;
    right: 10px;
    
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(123, 44, 191, 0.7);
    
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 10;
    
    pointer-events: none;
    
  }

  .scroll-indicator.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .scroll-indicator i {
    color: white;
    font-size: 1.2rem;
  }

  
  @keyframes bounceHorizontal {
    0%,
    100% {
      transform: translateX(0);
    }

    50% {
      transform: translateX(5px);
    }
  }

  .scroll-indicator.animate i {
    animation: bounceHorizontal 1s infinite;
  }

  @media (max-width: 768px) {
    .toast-message {
      left: 50%;
      transform: translateX(-50%) translateY(120px); 
      width: calc(100% - 32px); 
      max-width: unset;
      font-size: 0.85rem;
      padding: 10px 16px;
      border-radius: 14px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
      text-align: center;
    }
  }

  
  .zenfied-tooltip {
    position: absolute;
    background-color: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.4;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0s linear 0.2s,
      transform 0.2s ease;
    transform: translateY(5px) scale(0.95);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    pointer-events: none;

    
    
    left: -9999px;
    top: -9999px;
  }

  .zenfied-tooltip.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    transition: opacity 0.2s ease, visibility 0s linear 0s, transform 0.2s ease;
    
  }

  
  .zenfied-tooltip::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    top: 100%; 
    border-color: #333 transparent transparent transparent; 
  }

  
  .zenfied-tooltip.tooltip-bottom::after {
    top: auto;
    bottom: 100%; 
    border-color: transparent transparent #333 transparent; 
  }

  @media (max-width: 768px) {
    .zenfied-tooltip {
      
      display: none !important;
    }
  }
  .post-insights.webp-to-bmp-converter-explanation {
    min-height: 250px; 
    display: block; 
    margin-top: 30px; 
  }

  .tool-actions-footer .file-source-options {
    justify-content: flex-start; 
    flex-grow: 1; 
  }

  
  .tool-actions-footer .main-choose-file-btn {
    padding: 0.8rem 1.2rem; 
    font-size: 0.9rem; 
    height: auto; 
    min-width: auto; 
    max-width: none; 
    width: auto; 
  }

  
  .tool-actions-footer .circle-icon-btn {
    width: 42px; 
    height: 42px; 
    border-radius: 0px 20px 20px 20px; 
  }

  
  .tool-actions-footer .circle-icon-btn svg {
    width: 1.1rem; 
    height: 1.1rem; 
  }

  .file-icon-wrapper {
    cursor: pointer;
    position: relative; 
  }

  .file-icon-wrapper .fi-rr-eye {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    
    background-color: rgba(0, 0, 0, 0.5);

    
    color: white;
    font-size: 2rem;

    
    display: flex;
    justify-content: center;
    align-items: center;

    
    border-radius: 8px;
    transition: opacity 0.3s ease;
    pointer-events: none;

    
    opacity: 0;
  }

  
  .file-icon-wrapper:hover .fi-rr-eye {
    opacity: 1;
  }
  
  #imagePreviewOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
  }

  #imagePreviewOverlay.active {
    opacity: 1;
    visibility: visible;
  }

  
  .image-preview-content {
    position: relative; 
    background-color: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    max-width: 95vw; 
    max-height: 95vh; 
    display: flex;
  }

  
  #previewImage {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    
  }

  
  .image-preview-close-btn {
    position: absolute;
    top: 5px; 
    right: 5px; 
    background: none;
    border: none;
    font-size: 2rem; 
    color: #555; 
    cursor: pointer;
    line-height: 1;
    transition: transform 0.2s ease, color 0.2s ease;
    z-index: 10; 
  }

  .image-preview-close-btn:hover {
    color: #f44336; 
    transform: scale(1.1);
  }

  #confirmationModalOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10001; 
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  #confirmationModalOverlay.active {
    opacity: 1;
    visibility: visible;
  }

  .confirmation-modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1),
      opacity 0.3s ease;
    opacity: 0;
  }

  #confirmationModalOverlay.active .confirmation-modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
  }

  .confirmation-modal-content i {
    font-size: 3rem;
    color: #f44336;
    margin-bottom: 1rem;
  }

  .confirmation-modal-content h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #333;
  }

  .confirmation-modal-content p {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: #555;
  }

  .confirmation-modal-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
  }

  
  .danger-btn {
    background: #f44336;
    color: white;
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.4);
  }

  .danger-btn:hover:not(:disabled) {
    background: #d32f2f; 
    box-shadow: 0 8px 20px rgba(244, 67, 54, 0.5);
    transform: translateY(-2px);
  }

  .output-format-selector {
    position: relative;
  }

  .selected-format-display {
    display: flex;
    align-items: center;
    justify-content: flex-start; 
    gap: 8px; 
    background-color: #f7f5ff;
    border: 1px solid #dcd6ff;
    border-radius: 6px;
    padding: 6px 12px;
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s;
    font-weight: 600;
    color: #6f55ff;
    white-space: nowrap; 
  }

  .selected-format-display:hover {
    background-color: #efebff;
    border-color: #6f55ff;
  }

  .output-format-selector.open .selected-format-display {
    box-shadow: 0 0 0 3px rgba(111, 85, 255, 0.25);
    border-color: #6f55ff;
  }

  .selected-format-display .fi {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    line-height: 0;
  }

  .output-format-selector.open .selected-format-display .fi {
    transform: rotate(180deg);
  }

.format-options-wrapper {
    display: none;
    position: fixed; 
    
    width: 260px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid #e0e0e0;
    z-index: 50 !important; 
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .output-format-selector.open .format-options-wrapper {
    display: block; 
    opacity: 1;
    transform: translateY(0);
  }

  
  .format-options-container {
    flex-grow: 1;
    padding: 8px;
    max-height: 220px;
    overflow-y: auto;
  }

  .format-options-grid.active {
    display: grid;
  }

  
  .format-categories {
    width: 130px;
    border-right: 1px solid #eee;
    padding: 8px;
    flex-shrink: 0;
  }

  .category-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 8px 10px;
    border: none;
    background: none;
    text-align: left;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
  }

  .category-btn:hover,
  .category-btn.active {
    background-color: #f0edff;
    color: #6f55ff;
  }

  
  .format-options-container {
    flex-grow: 1;
    padding: 8px;
    
    max-height: 220px; 
    overflow-y: auto; 
  }

  .format-options-grid {
    display: none; 
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 8px;
  }

  .format-options-grid.active {
    display: grid; 
  }

  .format-option {
    padding: 10px;
    text-align: center;
    border-radius: 4px;
    background-color: #f4f4f5;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s, color 0.2s, transform 0.2s;
    font-size: 0.9rem;
  }

  .format-option:hover {
    background-color: #6f55ff;
    color: white;
    transform: scale(1.05);
  }

  
  .format-option.disabled {
    background-color: #e9ecef;
    color: #adb5bd;
    cursor: not-allowed;
    text-decoration: line-through;
  }

  .format-option.disabled:hover {
    transform: none;
    background-color: #e9ecef;
    color: #adb5bd;
  }

  .format-search-input {
    width: calc(100% - 16px); 
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 8px; 
    box-sizing: border-box;
    display: block;
  }

  .format-search-input:focus {
    outline: none;
    border-color: #6f55ff;
    box-shadow: 0 0 0 2px rgba(111, 85, 255, 0.2);
  }

  

  .output-control-group {
    display: flex;
    align-items: center;
    gap: 8px; 
  }

  .output-label {
    font-weight: 500;
    color: #555;
    font-size: 0.9rem;
    white-space: nowrap; 
  }

  
  .selected-format-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f7f5ff;
    border: 1px solid #dcd6ff;
    border-radius: 6px;
    
    padding: 6px 10px;
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s;
    font-weight: 600;
    color: #6f55ff;
    
  }

  
  .output-format-selector {
    position: relative;
    
    
  }
  .format-option.selected {
    background-color: #6f55ff;
    color: white;
    font-weight: 700; 
  }

  
  .file-icon-wrapper.tiff-no-preview {
  cursor: default; 
}

.file-icon-wrapper.tiff-no-preview i {
  font-size: 2.5rem; 
  color: #6f55ff;
}


.file-icon-wrapper.tiff-no-preview:hover .fi-rr-eye {
  opacity: 0;
}
