body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(145deg, #1f1f1f, #333333);
    font-family: "Arial", sans-serif;
}
.container {
    display: flex;
    align-items: center;
    background: #2d2d2d;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    color: white;
    width: 800px;
    gap: 20px;
}
.thumbnail-container {
    flex-shrink: 0;
}
.thumbnail {
    width: 300px;
    max-width: 100%;
}
.info-container {
    flex-grow: 1;
}
.input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}
input {
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    border: none;
    font-size: 16px;
}
button {
    padding: 10px;
    background-color: #f56565;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
button:hover {
    background-color: #e53e3e;
}
.resolutions {
    margin-top: 20px;
}
.resolutions ul {
    list-style-type: none;
    padding: 0;
}
.resolutions li {
    background: #333;
    padding: 10px;
    margin-bottom: 5px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.resolutions button {
    background-color: #48bb78;
    padding: 5px 10px;
    margin-left: 20px;
}
.resolutions button:hover {
    background-color: #38a169;
}
.progress-wrapper {
    display: none;
    margin-top: 20px;
}
.progress-bar {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    height: 20px;
}
.progress {
    height: 100%;
    background-color: #48bb78;
    border-radius: 5px;
    width: 0%;
    transition: width 0.4s ease-in-out;
}
.progress-text {
    text-align: center;
    color: white;
    font-size: 14px;
    margin-top: 5px;
}

.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #f56565; /* Change color as desired */
    margin-top: 20px;
}

.spinner {
    border: 6px solid #f3f3f3; /* Light gray */
    border-top: 6px solid #f56565; /* Red */
    border-radius: 50%;
    width: 30px; /* Spinner size */
    height: 30px; /* Spinner size */
    animation: spin 1s linear infinite; /* Animation */
    margin-right: 10px; /* Space between spinner and text */
}

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

.logo-container {
    margin-bottom: 20px; /* Space between logo and search bar */
    display: flex; /* Use flex for better alignment if needed */
    justify-content: center; /* Center the logo horizontally */
    width: 100%; /* Full width to center */
}

.site-logo {
    width: 500px; /* Adjust the width as necessary */
    height: auto; /* Maintain aspect ratio */
}

@media (max-width: 600px) {
    .container {
        flex-direction: column; /* Stack vertically on small screens */
        width: 90%; /* Make it responsive */
    }

    .thumbnail-container {
        margin-top: 20px; /* Add space above the thumbnail */
    }

    .site-logo {
        width: 250px; /* Smaller logo for smaller screens */
    }

    .input-group {
        display: flex;
        flex-direction: column;
        align-items: stretch; /* Stack input and button */
        gap: 10px; /* Add space between input and button */
        width: 100%;
    }

    input {
        padding: 10px;
        border-radius: 5px;
        border: none;
        font-size: 16px;
        width: 100%; /* Ensure full width on smaller screens */
    }
}
