.field-container {
    text-align: center;
    padding: 20px;
}
#jtp-file-input{
    margin: 10px 0;
}
#ptjc-input{
    margin: 10px 0;
}
#ptjc-download {
    margin-top: 15px;
    padding: 10px 20px;
    background: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}
#jtp-download-btn {
    margin-top: 15px;
    padding: 10px 20px;
    background: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

#downloadLink {
    margin-top: 15px;
    padding: 10px 20px;
    background: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}


.image-resizer-container {
    text-align: center;
    margin-top: 20px;
}

canvas {
    border: 1px solid #ccc;
    margin-top: 10px;
    max-width: 100%;
}

.itp-container {
    text-align: center;
    margin-top: 20px;
}

#itpDownloadLink {
    font-weight: bold;
    color: #fff;
    background: #0073aa;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
}

.pti-container {
    text-align: center;
    margin: 30px auto;
    max-width: 600px;
}

#ptiImageContainer img {
    margin: 15px 0;
    border: 1px solid #ccc;
    padding: 5px;
}

.toolsarea{
    border: 1px solid #ddd;
    border-radius: 1%;
}

#toolstitle {
    
    font-size: 20px;
    padding: 10px;
    background: #00738d;
    color: white;

}

.tool-container {
      max-width: 1000px;
      margin: 20px auto;
      padding: 20px;
      text-align: center;
    }

   

    p.description {
      color: #555;
      margin-bottom: 40px;
    }

    .tool-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 30px;
    }

   .tool-card {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 25px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 10px 0;
    transition: background 0.3s;
    background: #fff;
}

.tool-card:hover {
    background: #f9f9f9;
}

.tool-card img {
    width: 40px;
    height: 40px;
    margin-right: 5px;
}

.tool-card h4 {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.tool-card {
  text-decoration: none;
}


 .convert-container {
  max-width: 90%;
  margin: 40px auto;
  padding: 30px;
  background: #fff;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 8px;
}
.upload-icon img {
  width: 80px;
  margin-bottom: 20px;
}
.formats span {
  display: inline-block;
  margin: 0 4px;
  padding: 5px 10px;
  background-color: #ececec;
  border-radius: 4px;
  font-weight: bold;
}
.upload-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 30px;
  background-color: black;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}
.cloud-buttons img {
  width: 32px;
  margin: 10px 5px 0;
  cursor: pointer;
}


 .file-upload-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 300px;
}

.file-upload-button {
  display: block;
  width: 100%;
  padding: 12px 20px;
  background-color: #4a90e2;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s;
}

.file-upload-button:hover {
  background-color: #357bd8;
}

.file-upload-input {
  display: none;
}

.file-name-display {
  margin-top: 10px;
  font-style: italic;
  color: #555;
  font-size: 14px;
  text-align: center;
}

 #ic-format  {
  background: linear-gradient(135deg, #fff3e0, #e1ffb2);

 } 


 #input-back  {
  background: linear-gradient(135deg, #fff3e0, #e1ffb2);

 } 

 #ic-quality  {
  background: linear-gradient(135deg, #e1ffb2, #ffe0b2);
 } 
 #resizeWidth  {
  background: linear-gradient(135deg, #fff3e0, #e1ffb2);

 } 

 #resizeHeight {
  background: linear-gradient(135deg, #e1ffb2, #ffe0b2);
 }
 
 #modeSelect {
  background: linear-gradient(135deg, #e1ffb2, #ffe0b2);
 }
 
 #iconSize {
  background: linear-gradient(135deg, #e1ffb2, #ffe0b2);
 }

 #toolname-text{
  margin-top:5px !important;
  color:#1c1c1cc2 !important;
 }

/* keyword_density_checker css*/

.kdc-wrapper {
    max-width: 800px;
    margin: 20px auto;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px #ddd;
    font-family: Arial, sans-serif;
}
.kdc-wrapper textarea {
    width: 100%;
    padding: 10px;
    font-size: 14px;
}
.kdc-wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
.kdc-wrapper th, .kdc-wrapper td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
}
.kdc-wrapper th {
    background: #eee;
}

/*Qr code style*/

.atz-tabs {
            display: flex;
            flex-wrap: wrap;
            margin-bottom: 10px;
}

.atz-tabs button {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    background: #bfa2f7;
    cursor: pointer;
    border-radius: 8px;
    font-weight: bold;
}

.atz-tabs button.active {
    background: #0073aa;
    color: white;
}

.atz-tab-content {
    display: none;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 10px;
    background: #f9f9f9;
}

.atz-tab-content.active {
    display: block;
}

.qr-input {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
}

.qr-output {
    margin-top: 20px;
    text-align: center; /* Center content inside */
}

.qr-output div {
    display: inline-block; /* So the QR image behaves like inline content */
}

.qr-output button {
    display: inline-block;
}

.qr-section {
    margin-bottom: 20px;
}

.qr-style-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.qr-style-controls label {
  font-weight: bold;
  margin-right: 5px;
}

.qr-style-controls input[type="number"],
.qr-style-controls input[type="color"] {
  width: 80px;
  padding: 5px;
}

#qrPadding {
  background: linear-gradient(135deg, #fff3e0, #e1ffb2);
 } 

#qrColor {
  background: linear-gradient(135deg, #fff3e0, #e1ffb2);
 } 

#qrBG {
  background: linear-gradient(135deg, #fff3e0, #e1ffb2);
 } 


/*Barcode style*/

#barcode-input {
  background: linear-gradient(135deg, #fff3e0, #e1ffb2);
 } 

.barcodeColor {
  background: linear-gradient(135deg, #fff3e0, #e1ffb2);
 } 

.barcodeBG {
  background: linear-gradient(135deg, #fff3e0, #e1ffb2);
 } 
.barcodeWidth {
  background: linear-gradient(135deg, #fff3e0, #e1ffb2);
 } 

 .barcodeHeight {
  background: linear-gradient(135deg, #fff3e0, #e1ffb2);
 } 
 .barcodeFontSize {
  background: linear-gradient(135deg, #fff3e0, #e1ffb2);
 } 
 .barcodeFormat {
  background: linear-gradient(135deg, #fff3e0, #e1ffb2);
 } 
 .barcodeShowText {
  background: linear-gradient(135deg, #fff3e0, #e1ffb2);
 } 

 .tab-buttons button {
    margin-right: 10px;
    padding: 8px 16px;
    cursor: pointer;
  }
  .tab-content {
    margin-top: 20px;
  }
  .barcode-style-controls {
    margin-top: 15px;
  }
  .barcode-preview {
    margin-top: 20px;
    text-align: center;
  }

.barcode-output {
    margin-top: 20px;
    text-align: center; /* Center content inside */
}

.barcode-output div {
    display: inline-block; /* So the QR image behaves like inline content */
}

.barcode-output button {
    display: inline-block;
}

/*qr code scan*/

#qr-result {
  background: linear-gradient(135deg, #fff3e0, #e1ffb2);
 }

  #upload-qrcode{
  background: linear-gradient(135deg, #fff3e0, #e1ffb2);
 } 


/*pdf split */

 #pagesContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pageCanvas {
    border: 1px solid #ccc;
    cursor: pointer;
    transition: opacity 0.3s;
}

.pageCanvas.deleted {
    opacity: 0.3;
    border: 2px solid red;
}

#downloadBtn{
    display: none;
}

#loader {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    font-weight: bold;
    color: #333;
}

#loader::before {
    content: "";
    width: 20px;
    height: 20px;
    border: 3px solid #ccc;
    border-top: 3px solid #0073aa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


#pdfToImageContainer img {
  max-width: 100%;
  border: 1px solid #ddd;
  margin-bottom: 10px;
}





/*SEO CSS*/

 .mta-container {
        max-width: 600px;
        padding: 30px;
        border-radius: 12px;
        background: #f9f9f9;
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
        font-family: 'Arial', sans-serif;
        margin: 20px auto;
        transition: transform 0.3s ease-in-out;
    }

    .mta-container:hover {
        transform: scale(1.02);
    }

    .mta-title {
        margin-bottom: 20px;
        font-size: 1.5em;
        color: #333;
        text-align: center;
    }

    .mta-input {
        width: 100%;
        padding: 12px;
        border: 1px solid #ccc;
        border-radius: 8px;
        margin-bottom: 15px;
        font-size: 1.1em;
        transition: all 0.3s ease;
    }

    .mta-input:focus {
        border-color: #0073aa;
        outline: none;
    }

    .mta-button {
        background: #0073aa;
        color: #fff;
        border: none;
        padding: 12px 24px;
        font-size: 1.1em;
        border-radius: 8px;
        cursor: pointer;
        transition: background 0.3s ease;
        display: block;
        margin: 0 auto;
    }

    .mta-button:hover {
        background: #005177;
    }

    .mta-spinner {
        margin: 20px 0;
        width: 30px;
        height: 30px;
        border: 4px solid #ccc;
        border-top: 4px solid #0073aa;
        border-radius: 50%;
        animation: mta-spin 1s linear infinite;
        margin-left: auto;
        margin-right: auto;
    }

    @keyframes mta-spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    .mta-results {
        margin-top: 20px;
        padding: 15px;
        border: 1px solid #ddd;
        background: #fafafa;
        border-radius: 8px;
        white-space: pre-wrap;
        font-family: 'Courier New', monospace;
        font-size: 1em;
        display: none;
    }

    .mta-error {
        background-color: #ffe5e5;
        border: 1px solid #ff0000;
        color: #ff0000;
    }

    .mta-success {
        background-color: #e5ffe5;
        border: 1px solid #00ff00;
        color: #007300;
    }

    @media (max-width: 600px) {
        .mta-container {
            padding: 15px;
        }
        .mta-input, .mta-button {
            font-size: 1em;
        }
    }