.single-tools #content div#primary main#main {margin: 50px 0 !important;}
.image-container:hover button.remove-button {
    background: red;
}
div#imagePreview {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    gap: 10px;
}
.image-container {
    width: 100%;
    height: auto;
    position: relative;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    max-width: calc(45% - 15px);
    border-radius: 5px;
    font-weight: 500;
}
.remove-button {
    position: absolute;
    top: -5px;
    right: -5px;
    cursor: pointer;
    font-size: 25px;
    width: 25px;
    height: 25px;
    line-height: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 5px;
}
#page2 h2 {
    font-size: 30px !important;
    margin: 0 auto 0 0;
    text-transform: capitalize;
    font-weight: 600;
}
button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.prev-img-col button {
    background-image: linear-gradient(to right, #093028 0%, #237A57  51%, #093028  100%);
}
button {
    background-color: #117eef;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
}
.prev-img-col {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
div#page1 {
    display: block;
    width: 100%;
    max-width: 550px;
    text-align: center;
    padding: 25px;
    box-shadow: 0 0 15px 0px #0002;
    border-radius: 10px;
    margin: 10px auto 30px;
}
.textWatermarkDiv {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.file-input {
    color: #0e65bf;
    cursor: pointer;
    border-radius: 10px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 3px;
    font-family: system-ui;
    font-size: 24px;
    min-height: 225px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 2px dashed;
    margin: auto;
}
input#imageInput {
    display: none;
}
button#downloadLink {
    background-image: linear-gradient(to right top, #18daaf, #00d395, #00cb79, #00c259, #0fb933);
    color: #fff !important;
    text-align: center;
    padding: 10px 20px;
    border-radius: 5px;
    margin: 0;
    font-weight: 500;
}
div#page2 {
    text-align: center;
}



.watermark-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  gap: 10px;
}

.tab-button {
    background: #117eef3b;
    border-bottom: none;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 500;
    border-radius: 5px 5px 0 0;
    transition: background 0.3s;
}

.tab-button.active {
   background-image: linear-gradient(to right, #16222A 0%, #3A6073  51%, #16222A  100%);
    color: #ffffff;
    font-weight: bold;
}

.tab-content {
  display: none;
  text-align: center;
}

.tab-content.active {
  display: block;
  margin-bottom: 20px;
}

.tab-input {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  width: 250px;
}

#page2 .image-container canvas {
    width: 100%;
    height: auto;
}


@media(max-width:460px){
.prev-img-col {
    flex-direction: column;
}
.prev-img-col button {
    width: calc(50% - -70px);
}
    }

@media(max-width:767px){
    .prev-img-col {
    font-size: 14px;
}
}




@media(max-width:991px){
    .image-container {
    max-width: calc(55% - 15px);
}

.prev-img-col {
    flex-direction: column;
}
.prev-img-col button {
    width: 60%;
}
    
}

@media(max-width:450px){
    
.prev-img-col button {
    font-size:12px !important;
}  
button.tab-button {
    font-size: 12px;
}
button#downloadLink {
    padding: 10px;
}
.prev-img-col button {
    width: 65%;
}
    
}



/*  --------------   */


.file-input.drop-zone {
    display: flex;
    flex-direction:column;
    padding: 40px;
    border: 2px dashed #0e65bf;
    border-radius: 10px;
    text-align: center;
    color: #0e65bf;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    position: relative;
}

.file-input.drop-zone.drag-over {
    background-color: #eef;
    border-color: #007bff;
    color: #0e65bf;
}

.drag-drop-hint {
    font-size: 16px;
    color: #0e65bf;
    margin-top: 8px;
    display: inline-block;
}



.upload-btn-wrapper {
  position: relative;
  overflow: hidden;
  display: inline-block;
}
.waterImage {
  border: 2px solid #117eef;
  color: #fff;
  background-color: #117eef;
  padding: 6px 15px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.upload-btn-wrapper input[type=file] {
  font-size: 100px;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
}


.buttonsDivContraol {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}
.opacityDiv {
    display: flex;
    gap: 8px;
    justify-content: center;
}
span#opacityValue {
    min-width: 40px;
}