* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Roboto", sans-serif;
}
body {
    background-color: #F5F9F5;
    color: #1F1F1F;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    min-height: 100vh;
}
a, button{
    transition: all 0.5s ease-in-out;
}
.pdf-compressor{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 108px 0;
}
.pdf-compressor .container {
    margin: 0 auto;
    max-width: 928px;
    padding: 0 12px;
    width: 100%;
}
.pdf-compressor-row{
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 0 50px 0 rgba(87, 184, 83, 0.1);
    padding: 40px;
    position: relative;
    z-index: 1;
}
.pdf-compressor-row::after{
    background-color: #ECF8EC;
    border-radius: 50%;
    position: absolute;
    top: 0;
    right: 0;
    content: "";
    height: 180px;
    width: 180px;
    z-index: -1;
}
.pdf-compressor-top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 20px;
}
.pdf-compressor-icon-box img{
    max-height: 100px;
    max-width: 100px;
}
.pdf-compressor-title{
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.pdf-compressor-heading{
    color: #1F1F1F;
    font-family: "Space Grotesk", sans-serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 1;
    margin: 0;
}
.pdf-compressor-heading span{
    color: #57B853;
}
.pdf-compressor-title p{
    color: #1F1F1F;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    margin: 0;
}
.pdf-compressor-icon-box-right{
    margin-left: auto;
}
.pdf-compressor-icon-box-right img{
    max-height: 80px;
    max-width: 80px;
}
.pdf-compressor-bottom{
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 0 12px 0 rgba(31, 31, 31, 0.12);
    padding: 30px;
}
.pdf-compressor-bottom .form-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0 0 30px;
    width: 100%;
}
.file-label {
    color: #1F1F1F;
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
}
.label-number{
    background-color: #57B853;
    color: #ffffff;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    margin: 0 16px 0 0;
    width: 30px;
}
.compressor-label{
    color: #1F1F1F;
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
}
.range-val{
    color: #57B853;
    font-weight: 700;
    margin: 0 0 0 4px;
}
.range-quality{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.range-quality-label{
    color: #1F1F1F;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    margin: 0;
    width: 33.33%;
}
.range-quality-label:nth-child(2){
    text-align: center;
}
.range-quality-label:nth-child(3){
    text-align: right;
}
.pdf-compressor-bottom input[type="file"] {
    background-color: #F5F9F5;
    border: 1px dashed #57B853;
    border-radius: 6px;
    cursor: pointer;
    padding: 16px;
    width: 100%;
}
.compressor-range input{
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    width: 100%;
}
.compressor-range input::-webkit-slider-runnable-track{
    background-color: #D9D9D9;
    height: 10px;
    border-radius: 8px;
}
.compressor-range input::-moz-range-track{
    background-color: #D9D9D9;
    height: 10px;
    border-radius: 8px;
}
.compressor-range input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    background-color: #57B853;
    border-radius: 50%;
    height: 14px;
    margin-top: -2px;
    width: 14px;
}
.compressor-range input::-moz-range-thumb {
    -webkit-appearance: none;
    appearance: none;
    background-color: #57B853;
    border-radius: 50%;
    height: 14px;
    margin-top: -2px;
    width: 14px;
}
.pdf-compressor-btn {
    background-color: #57B853;
    border: 0;
    border-radius: 6px;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    height: 50px;
    transition: all 0.5s ease-in-out;
    width: 100%;
}
.pdf-compressor-btn:hover {
    background-color: #1F1F1F;
}
.pdf-compressor-btn img{
    max-width: 28px;
}
.compressor-note{
    color: #1F1F1F;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    margin: 20px 0 0;
}
.pdf-compressor-bottom button:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
}
.pdf-compressor-bottom .status-box {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    background: #f3f4f6;
    display: none;
}
.pdf-compressor-bottom .progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 10px;
}
.pdf-compressor-bottom .progress-fill {
    width: 0%;
    height: 100%;
    background-color: #57b853;
    transition: width 0.3s;
}
.pdf-compressor-bottom .results {
    color: #1F1F1F;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    font-size: 14px;
    margin-top: 15px;
}
.pdf-compressor-bottom .download-btn {
    background-color: #57B853;
    border: 0;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    display: inline-block;
    font-weight: 600;
    margin-top: 12px;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    width: 100%;
}
.pdf-compressor-bottom .download-btn:hover {
    background-color: #1F1F1F;
}

@media (max-width:991px){
    .pdf-compressor{
        padding: 50px 0;
    }
}
@media (max-width:767px){
    .pdf-compressor-row{
        padding: 30px;
    }
    .pdf-compressor-bottom{
        padding: 20px;
    }
    .pdf-compressor-icon-box img {
        max-height: 80px;
        max-width: 80px;
    }
    .pdf-compressor-icon-box-right img {
        max-height: 60px;
        max-width: 60px;
    }
    .pdf-compressor-heading{
        font-size: 30px;
    }
    .file-label,
    .compressor-label{
        font-size: 14px;
    }
    .label-number {
        margin: 0 10px 0 0;
    }
    .range-quality-label{
        font-size: 14px;
    }
    .range-quality-label span{
        display: none;
    }
}
@media (max-width:575px){
    .pdf-compressor {
        padding: 30px 0;
    }
    .pdf-compressor-icon-box-right{
        display: none;
    }
    .pdf-compressor-row {
        padding: 20px;
    }
    .pdf-compressor-top{
        align-items: start;
        flex-direction: column;
    }
    .pdf-compressor-icon-box img {
        max-height: 40px;
        max-width: 40px;
    }
    .pdf-compressor-bottom {
        padding: 0;
        box-shadow: none;
    }
    .file-label,
    .compressor-label {
        font-size: 12px;
    }
    .label-number{
        height: 24px;
        width: 24px;
    }
    .pdf-compressor-bottom .form-group{
        gap: 12px;
        margin: 0 0 20px;
    }
    .compressor-note{
        font-size: 14px;
    }
    .pdf-compressor-btn{
        height: 40px;
        font-size: 14px;
    }
    .pdf-compressor-btn img{
        max-width: 22px;
    }
    .pdf-compressor-bottom .results{
        align-items: start;
        flex-direction: column;
        gap: 10px;
    }
}


/* PDF Watermark Tool */

/* .container-water {
    background: #ffffff;
    width: 100%;
    max-width: 500px;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
input[type="file"],
input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    background: #f9fafb;
}
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
input[type="range"] {
    width: 100%;
}
.val-badge {
    font-weight: bold;
    color: #2563eb;
}
.color-picker {
    height: 40px;
    padding: 2px;
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    cursor: pointer;
}
button {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background-color: #2563eb;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}
button:hover {
    background-color: #1d4ed8;
}
button:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
}
.status-box {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    background: #f3f4f6;
    display: none;
    text-align: center;
}
.download-btn {
    display: inline-block;
    margin-top: 12px;
    text-align: center;
    background-color: #10b981;
    color: white;
    text-decoration: none;
    padding: 10px;
    border-radius: 6px;
    font-weight: 600;
    width: 100%;
}
.download-btn:hover {
    background-color: #059669;
} */