body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #f0f2f5;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}
.container {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 600px;
    text-align: center;
}
h1 {
    color: #1a73e8;
    margin-bottom: 1.5rem;
}
.panel {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.status-box {
    background-color: #e8f0fe;
    color: #1a73e8;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}
input[type="file"], input[type="text"] {
    width: calc(100% - 22px);
    padding: 10px;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}
button {
    background-color: #1a73e8;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
    width: 100%;
}
button:hover {
    background-color: #1558b3;
}
button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}
.code-display {
    margin-top: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: #d93025;
    letter-spacing: 2px;
    padding: 10px;
    background: #f1f3f4;
    border-radius: 4px;
}
.progress-container {
    margin-top: 1.5rem;
    display: none; /* Initially hidden */
}
progress {
    width: 100%;
    height: 20px;
    border-radius: 10px;
}
#progressText, #speedText {
    margin-top: 0.5rem;
    font-weight: 500;
}
