body {
    font-family: 'Roboto', sans-serif;
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.tool-container {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    text-align: center;
}

h1 {
    font-weight: 500;
    margin-bottom: 15px;
}

p {
    margin-bottom: 25px;
}

.upload-section {
    margin-bottom: 20px;
}

#image-upload {
    margin-top: 10px;
    padding: 8px;
}

#file-info {
    margin-top: 5px;
    font-size: 14px;
    color: #555;
}

.settings, .format {
    margin-bottom: 20px;
}

input {
    padding: 10px;
    margin-top: 5px;
    width: 80%;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.format {
    text-align: left;  /* Align "Choose Format" and buttons to left */
    margin-top: 10px;
}

.format p {
    text-align: left;
    font-weight: 500;
}

.format-buttons {
    display: flex;
    justify-content: flex-start; /* Align buttons to the left */
    gap: 15px;
}

.format-btn {
    padding: 10px 25px;
    background-color: #aaa; /* Gray color */
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

.format-btn:hover {
    background-color: #888; /* Slightly darker gray */
}

.format-btn.active {
    background-color: #007BFF; /* Blue when selected */
}

button {
    padding: 12px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}

button:hover {
    background-color: #45a049;
}

#increase-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

#processing {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 500;
}

.download-section {
    margin-top: 20px;
}

#download-link {
    font-weight: 500;
    color: #4CAF50;
    text-decoration: none;
}

#download-link:hover {
    text-decoration: underline;
}

.notification {
    margin-top: 10px;
    font-size: 14px;
    color: green;
}
