/* Centering the content */
.outerbox {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers content horizontally */
    justify-content: center; /* Centers content vertically */
    height: 100vh; /* Full viewport height */
    text-align: center; /* Center text within the container */
}

/* Styling the form group */
.form-group {
    margin: 15px 0;
}

/* Styling the file input field */
.upload {
    padding: 10px;
    font-size: 16px;
    width: 250px; /* Adjust as per your preference */
    margin-top: 10px;
}

/* Styling the watermark input field */
#watermark-text {
    padding: 10px;
    font-size: 16px;
    width: 250px; /* Adjust as per your preference */
    margin-top: 10px;
}

/* Styling for the "Add Watermark" button */
button {
    padding: 10px 20px;
    background-color: #007BFF; /* Button background color */
    color: white; /* Button text color */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
}

button:hover {
    background-color: #0056b3; /* Darker shade for hover effect */
}

/* Centering the download link */
.download-link {
    display: none;
    margin-top: 20px;
    padding: 10px 20px;
    background: linear-gradient(90deg, #4caf50, #2e7d32); /* Green color for download button */
    color: white; /* Text color */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none; /* Remove underline */
    font-size: 25px;
    text-align: center;
}

.download-link:hover {
    background: linear-gradient(90deg, #66bb6a, #388e3c);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Loading spinner styling */
.spinner {
    display: none;
    border: 4px solid #f3f3f3; /* Light grey */
    border-top: 4px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 2s linear infinite;
}

/* Spinner animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
