/* GIF to JPG Converter - Tool Specific CSS */
.tool-container {
    max-width: 500px;
    margin: auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: center;
}

.tool-container h2 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.upload-box {
    border: 2px dashed #007bff;
    padding: 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: bold;
    display: block;
    color: #007bff;
}

.upload-box:hover {
    background: rgba(0, 123, 255, 0.1);
}

.input-file {
    display: none;
}

.size-select {
    width: 100%;
    padding: 8px;
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

/* Progress Container */
.progress-container {
    margin-top: 15px;
    text-align: left;
}

.progress-label {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.progress-bar {
    width: 100%;
    background: #eee;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: #007bff;
    transition: width 0.5s ease-in-out;
}

.progress-text {
    font-size: 14px;
    margin-top: 5px;
    color: #555;
    text-align: right;
}

/* Buttons */
.convert-btn, .delete-btn, .download-btn {
    width: 100%;
    margin-top: 15px;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.convert-btn {
    background: #007bff;
    color: #fff;
}

.convert-btn:hover {
    background: #0056b3;
}

.delete-btn {
    background: #dc3545;
    color: white;
}

.delete-btn:hover {
    background: #b52b37;
}

/* Download Button (Centered) */
.download-btn {
    display: none;
    background: #28a745;
    color: white;
    font-weight: bold;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 5px;
    transition: 0.3s;
    text-align: center;
    margin: 20px auto;
    width: 60%;
}

.download-btn:hover {
    background: #218838;
}

/* Output Image */
.output-container {
    margin-top: 20px;
    display: none;
}

.output-image {
    max-width: 100%;
    margin-top: 10px;
    border-radius: 5px;
}
