/* Styles specific to the PDF Rename tool */

.drop-area {
    border: 2px dashed #4CAF50;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    background-color: #f7fbf7;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .drop-area:hover, .drop-area.active {
    background-color: #e8f5e9;
  }
  
  .drop-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .icon {
    font-size: 36px;
    color: #4CAF50;
    background-color: rgba(76, 175, 80, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 15px;
  }
  
  .drop-message p {
    color: #555;
    font-size: 16px;
    margin-bottom: 5px;
  }
  
  .supported-formats {
    color: #777;
    font-size: 12px;
    margin-top: 5px;
  }
  
  .pdf-rename-container {
    margin: 20px 0;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 20px;
  }
  
  .file-info {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 6px;
    border: 1px solid #eee;
  }
  
  .file-preview {
    width: 90px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
  }
  
  .pdf-icon {
    width: 70px;
    height: auto;
  }
  
  .file-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }
  
  .original-name, .file-size, .file-modified {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  
  .label {
    font-size: 12px;
    color: #666;
  }
  
  .value {
    font-size: 14px;
    color: #333;
    font-weight: 500;
  }
  
  #currentFilename {
    font-weight: 600;
    color: #1a1a1a;
    word-break: break-all;
  }
  
  .rename-options {
    margin-bottom: 25px;
  }
  
  .option-group {
    margin-bottom: 15px;
    position: relative;
  }
  
  .option-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
    font-size: 14px;
  }
  
  input[type="text"] {
    width: calc(100% - 46px); /* Accounting for the extension width */
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
    transition: border-color 0.2s;
  }
  
  input[type="text"]:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
  }
  
  .extension {
    position: absolute;
    right: 0;
    bottom: 0;
    background-color: #f2f2f2;
    border: 1px solid #ddd;
    border-left: none;
    border-radius: 0 4px 4px 0;
    padding: 10px 12px;
    color: #555;
    font-size: 14px;
  }
  
  .options-info {
    background-color: #f5f5f5;
    border-radius: 4px;
    padding: 12px;
    margin-top: 15px;
  }
  
  .options-info p {
    color: #666;
    font-size: 13px;
    margin: 0;
    display: flex;
    align-items: center;
  }
  
  .info-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #4CAF50;
    color: white;
    font-style: normal;
    text-align: center;
    line-height: 18px;
    font-size: 12px;
    margin-right: 8px;
  }
  
  .actions-container {
    display: flex;
    gap: 10px;
    margin-top: 20px;
  }
  
  .result-container {
    margin: 20px 0;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 20px;
  }
  
  .result-info {
    background-color: #e8f5e9;
    border-left: 4px solid #4caf50;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
  }
  
  .result-info p {
    color: #2e7d32;
    margin: 0;
  }
  
  .rename-summary {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
  }
  
  .summary-item {
    margin-bottom: 10px;
  }
  
  .summary-item:last-child {
    margin-bottom: 0;
  }
  
  .summary-item .label {
    font-weight: 500;
    color: #555;
    margin-right: 5px;
  }
  
  .summary-item .value {
    color: #333;
    word-break: break-all;
  }
  
  #summaryNewName {
    font-weight: 600;
    color: #1a1a1a;
  }
  
  @media (max-width: 650px) {
    .file-info {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
    
    .file-preview {
      margin-bottom: 15px;
    }
    
    .actions-container {
      flex-direction: column;
    }
    
    .primary-btn, .secondary-btn {
      width: 100%;
    }
  }