/* Styles specific to the Watermark PDF tool */

.drop-area {
    border: 2px dashed #E91E63;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    background-color: #fdf4f7;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .drop-area:hover, .drop-area.active {
    background-color: #fce4ec;
  }
  
  .drop-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .icon {
    font-size: 36px;
    color: #E91E63;
    background-color: rgba(233, 30, 99, 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;
  }
  
  .file-info {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: #fce4ec;
    border-radius: 8px;
    margin-bottom: 20px;
  }
  
  .file-preview {
    width: 50px;
    height: 70px;
    background-color: #E91E63;
    border-radius: 4px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  
  .file-preview img {
    max-width: 100%;
    max-height: 100%;
  }
  
  .file-details {
    flex-grow: 1;
  }
  
  .file-details h3 {
    margin-bottom: 5px;
    font-size: 16px;
    color: #333;
  }
  
  .file-details p {
    margin: 3px 0;
    font-size: 14px;
    color: #666;
  }
  
  .watermark-options {
    margin: 20px 0;
  }
  
  .option-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #f9f9f9;
  }
  
  .option-card h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
  }
  
  .radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .radio-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
  }
  
  .radio-group input[type="radio"] {
    margin-right: 10px;
    width: auto;
  }
  
  .radio-group input[disabled] + span {
    color: #999;
  }
  
  .option-section {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #f9f9f9;
  }
  
  .option-section h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
  }
  
  .note {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
  }
  
  .form-group {
    margin-bottom: 15px;
  }
  
  .form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
  }
  
  .form-group.half {
    flex: 1;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
  }
  
  input[type="text"],
  input[type="number"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
  }
  
  input[type="range"] {
    width: 100%;
    margin-right: 10px;
  }
  
  input[type="color"] {
    width: 50px;
    height: 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  #opacityValue, #angleValue, #imageWidthValue, #imageOpacityValue {
    font-size: 14px;
    color: #666;
    min-width: 40px;
    display: inline-block;
  }
  
  /* Image watermark styles */
  .image-upload-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .image-preview {
    width: 100%;
    height: 150px;
    border: 1px dashed #ddd;
    border-radius: 4px;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  
  .image-preview p {
    color: #999;
    font-size: 14px;
  }
  
  .image-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }
  
  .position-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    margin-top: 10px;
  }
  
  .position-btn {
    padding: 8px 5px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s ease;
  }
  
  .position-btn:hover {
    background-color: #e0f7fa;
    border-color: #00BCD4;
  }
  
  .position-btn.active {
    background-color: #E91E63;
    border-color: #E91E63;
    color: white;
  }
  
  .preview-container {
    width: 100%;
    height: 400px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin: 20px 0;
    overflow: hidden;
  }
  
  .preview-container iframe {
    width: 100%;
    height: 100%;
    border: none;
  }
  
  .actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
  }
  
  @media (max-width: 650px) {
    .drop-area {
      padding: 20px;
    }
    
    .file-info {
      flex-direction: column;
      align-items: flex-start;
    }
    
    .file-preview {
      margin-bottom: 10px;
    }
    
    .form-row {
      flex-direction: column;
      gap: 15px;
    }
    
    .position-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    
    .actions {
      flex-direction: column;
    }
    
    .primary-btn, .secondary-btn {
      width: 100%;
    }
  }