body {
    font-family: 'Segoe UI';
    background: #f4f6fb;
    text-align: center;
}

.title {
    margin: 30px;
    font-size: 32px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 200px);
    gap: 20px;
    justify-content: center;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-decoration: none;
    color: black;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px) scale(1.05);
}

.icon {
    font-size: 40px;
}
.preview {
    margin-top: 10px;
}

.file-item {
    background: #f1f1f1;
    padding: 8px;
    margin: 5px 0;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
}

.progress {
    width: 100%;
    height: 8px;
    background: #ddd;
    margin-top: 10px;
    border-radius: 5px;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: #28a745;
    transition: 0.3s;
}
.top-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.btn {
    padding: 8px 15px;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.back {
    background: #6c757d;
    color: white;
}

.reload {
    background: #007bff;
    color: white;
}

.btn:hover {
    opacity: 0.9;
}
.choose-btn {
    background: #007bff;
    color: white;
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s;
}

.choose-btn:hover {
    background: #0056b3;
}
/* ===== PDF EDITOR ===== */

.editor-container {
    position: relative;
    width: fit-content;
    margin: 20px auto;
}

#pdf-canvas {
    display: block;
    border: 1px solid #ccc;
}

#draw-canvas {
    position: absolute;
    top: 0;
    left: 0;
}

/* tombol editor */
.editor-toolbar {
    margin-top: 20px;
}

.editor-toolbar button {
    padding: 10px 16px;
    margin: 5px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    background: #28a745;
    color: white;
    transition: 0.3s;
}

.editor-toolbar button:hover {
    background: #218838;
}