body {
    font-family: Arial, sans-serif;
    background-color: #f0f4f8;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 80%;
    max-width: 600px;
    text-align: center;
}

h2 {
    color: #333333;
}

.upload-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.upload-form input[type="file"] {
    padding: 10px;
    border-radius: 10px;
    border: 2px solid #c8d1e0;
    background-color: #f7f9fc;
    color: #333333;
}

.upload-form input[type="submit"] {
    padding: 10px 20px;
    border-radius: 10px;
    background-color: #6c5ce7;
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.upload-form input[type="submit"]:hover {
    background-color: #5a4bcc;
}

.progress {
    display: none;
    margin-top: 20px;
    width: 100%;
    background-color: #f3f4f6;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    width: 0;
    height: 20px;
    background-color: #6c5ce7;
    transition: width 0.4s ease;
}

.info-box {
    margin-top: 20px;
    display: none;
    padding: 15px;
    background-color: #f7f9fc;
    border-radius: 10px;
    border: 2px solid #c8d1e0;
    text-align: left;
    color: #333333;
    font-size: 14px;
    white-space: pre-line;
}

.download-link {
    display: none;
    margin-top: 20px;
}

.btn-primary {
    background-color: #6c5ce7;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #5a4bcc;
}
/* Tambahan style untuk preview box */
.button-group {
    display: flex;
    gap: 20px; /* Increased gap between buttons */
    margin-top: 30px; /* Added margin to push buttons lower */
    justify-content: center; /* Center the buttons */
}
.preview-box h3 {
    margin-top: 0;
    font-size: 1.5em;
    color: #333;
}
.preview-box p {
    font-size: 1.1em;
    color: #555;
}
.preview-box ul {
    padding-left: 20px;
    list-style-type: disc;
}
.preview-box ul li {
    margin-bottom: 8px;
    color: #666;
}
.preview-box em {
    color: #888;
    font-style: italic;
}